KVM: x86: pass the whole hflags field to emulator and back
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 1 Apr 2015 16:18:53 +0000 (18:18 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Jun 2015 14:01:05 +0000 (16:01 +0200)
commita584539b24b87dc8be83a713006396cabec47833
tree6db65111b097aa218400c01451f963327646150a
parent609e36d372ad9329269e4a1467bd35311893d1d6
KVM: x86: pass the whole hflags field to emulator and back

The hflags field will contain information about system management mode
and will be useful for the emulator.  Pass the entire field rather than
just the guest-mode information.

Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c
arch/x86/kvm/x86.c