target-i386: add support for SMBASE MSR and SMIs
commitfc12d72e10828ca6ff75f2ad432b741f07a10cef
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Jun 2015 16:28:42 +0000 (18 18:28 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Jul 2015 15:59:43 +0000 (6 17:59 +0200)
tree6340f3a7faa68a9bc2ffc3b7a6ed060a197b2b39
parentafd6895b45f20eb43b7ff95f7a76cc5af8d36cd7
target-i386: add support for SMBASE MSR and SMIs

Apart from the MSR, the smi field of struct kvm_vcpu_events has to be
translated into the corresponding CPUX86State fields.  Also,
memory transaction flags depend on SMM state, so pull it from struct
kvm_run on every exit from KVM to userspace.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-i386/cpu.h
target-i386/kvm.c