Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
13db70ec
Commit
13db70ec
authored
Apr 20, 2011
by
Avi Kivity
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KVM: x86 emulator: drop x86_emulate_ctxt::vcpu
No longer used. Signed-off-by:
Avi Kivity
<
avi@redhat.com
>
parent
5197b808
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
arch/x86/include/asm/kvm_emulate.h
arch/x86/include/asm/kvm_emulate.h
+0
-2
arch/x86/kvm/x86.c
arch/x86/kvm/x86.c
+0
-1
No files found.
arch/x86/include/asm/kvm_emulate.h
View file @
13db70ec
...
...
@@ -269,8 +269,6 @@ struct x86_emulate_ctxt {
struct
x86_emulate_ops
*
ops
;
/* Register state before/after emulation. */
struct
kvm_vcpu
*
vcpu
;
unsigned
long
eflags
;
unsigned
long
eip
;
/* eip before instruction emulation */
/* Emulated execution mode, represented by an X86EMUL_MODE value. */
...
...
arch/x86/kvm/x86.c
View file @
13db70ec
...
...
@@ -4463,7 +4463,6 @@ static void init_emulate_ctxt(struct kvm_vcpu *vcpu)
kvm_x86_ops
->
get_cs_db_l_bits
(
vcpu
,
&
cs_db
,
&
cs_l
);
vcpu
->
arch
.
emulate_ctxt
.
vcpu
=
vcpu
;
vcpu
->
arch
.
emulate_ctxt
.
eflags
=
kvm_get_rflags
(
vcpu
);
vcpu
->
arch
.
emulate_ctxt
.
eip
=
kvm_rip_read
(
vcpu
);
vcpu
->
arch
.
emulate_ctxt
.
mode
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment