summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm_emulate.h
diff options
context:
space:
mode:
authorGleb Natapov2010-04-28 18:15:40 +0200
committerAvi Kivity2010-08-01 09:35:35 +0200
commitef050dc0390176ec6888f373edb776587c88be3d (patch)
tree1e205bbfa3d64385889e976181b086bf3618837e /arch/x86/include/asm/kvm_emulate.h
parentKVM: x86 emulator: advance RIP outside x86 emulator code (diff)
downloadkernel-qcow2-linux-ef050dc0390176ec6888f373edb776587c88be3d.tar.gz
kernel-qcow2-linux-ef050dc0390176ec6888f373edb776587c88be3d.tar.xz
kernel-qcow2-linux-ef050dc0390176ec6888f373edb776587c88be3d.zip
KVM: x86 emulator: set RFLAGS outside x86 emulator code
Removes the need for set_flags() callback. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_emulate.h')
-rw-r--r--arch/x86/include/asm/kvm_emulate.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_emulate.h b/arch/x86/include/asm/kvm_emulate.h
index b7e00cb21c6e..a87d95f09572 100644
--- a/arch/x86/include/asm/kvm_emulate.h
+++ b/arch/x86/include/asm/kvm_emulate.h
@@ -142,7 +142,6 @@ struct x86_emulate_ops {
ulong (*get_cr)(int cr, struct kvm_vcpu *vcpu);
int (*set_cr)(int cr, ulong val, struct kvm_vcpu *vcpu);
int (*cpl)(struct kvm_vcpu *vcpu);
- void (*set_rflags)(struct kvm_vcpu *vcpu, unsigned long rflags);
int (*get_dr)(int dr, unsigned long *dest, struct kvm_vcpu *vcpu);
int (*set_dr)(int dr, unsigned long value, struct kvm_vcpu *vcpu);
int (*set_msr)(struct kvm_vcpu *vcpu, u32 msr_index, u64 data);