diff options
author | Gleb Natapov <gleb@redhat.com> | 2010-04-28 12:15:40 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-08-01 03:35:35 -0400 |
commit | ef050dc0390176ec6888f373edb776587c88be3d (patch) | |
tree | 1e205bbfa3d64385889e976181b086bf3618837e /arch/x86/include/asm/kvm_emulate.h | |
parent | 95c5588652f7742a21c33d9dcce0e043e057d04f (diff) |
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.h | 1 |
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 { | |||
142 | ulong (*get_cr)(int cr, struct kvm_vcpu *vcpu); | 142 | ulong (*get_cr)(int cr, struct kvm_vcpu *vcpu); |
143 | int (*set_cr)(int cr, ulong val, struct kvm_vcpu *vcpu); | 143 | int (*set_cr)(int cr, ulong val, struct kvm_vcpu *vcpu); |
144 | int (*cpl)(struct kvm_vcpu *vcpu); | 144 | int (*cpl)(struct kvm_vcpu *vcpu); |
145 | void (*set_rflags)(struct kvm_vcpu *vcpu, unsigned long rflags); | ||
146 | int (*get_dr)(int dr, unsigned long *dest, struct kvm_vcpu *vcpu); | 145 | int (*get_dr)(int dr, unsigned long *dest, struct kvm_vcpu *vcpu); |
147 | int (*set_dr)(int dr, unsigned long value, struct kvm_vcpu *vcpu); | 146 | int (*set_dr)(int dr, unsigned long value, struct kvm_vcpu *vcpu); |
148 | int (*set_msr)(struct kvm_vcpu *vcpu, u32 msr_index, u64 data); | 147 | int (*set_msr)(struct kvm_vcpu *vcpu, u32 msr_index, u64 data); |