diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-05-15 18:02:50 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-05-22 17:47:16 +0200 |
commit | fb5e336b977086557739791ed51955c5913dc773 (patch) | |
tree | dd12314fe8a8e25775ec240ad1a97ca9ce043ccc /arch/x86/kvm | |
parent | 2356aaeb2f58f491679dc0c38bc3f6dbe54e7ded (diff) | |
download | talos-obmc-linux-fb5e336b977086557739791ed51955c5913dc773.tar.gz talos-obmc-linux-fb5e336b977086557739791ed51955c5913dc773.zip |
KVM: x86: drop set_rflags callback
Not needed anymore now that the CPL is computed directly
during task switch.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r-- | arch/x86/kvm/x86.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index fb313fc896dd..57eac309c22e 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -4646,11 +4646,6 @@ static int emulator_set_cr(struct x86_emulate_ctxt *ctxt, int cr, ulong val) return res; } -static void emulator_set_rflags(struct x86_emulate_ctxt *ctxt, ulong val) -{ - kvm_set_rflags(emul_to_vcpu(ctxt), val); -} - static int emulator_get_cpl(struct x86_emulate_ctxt *ctxt) { return kvm_x86_ops->get_cpl(emul_to_vcpu(ctxt)); @@ -4835,7 +4830,6 @@ static const struct x86_emulate_ops emulate_ops = { .set_idt = emulator_set_idt, .get_cr = emulator_get_cr, .set_cr = emulator_set_cr, - .set_rflags = emulator_set_rflags, .cpl = emulator_get_cpl, .get_dr = emulator_get_dr, .set_dr = emulator_set_dr, |