[Qemu-devel] [PATCH 02/12] target-i386: add support for SMBASE MSR and SMIs

2015-06-18 Thread Paolo Bonzini
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 --- target-i386/cpu.h

[Qemu-devel] [PATCH 02/12] target-i386: add support for SMBASE MSR and SMIs

2015-06-05 Thread Paolo Bonzini
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 --- target-i386/cpu.h