Patch 1 is a bugfix that fixes Windows with new kernels and "-machine smm=off" (e.g. old machine types).
Patches 2-9 let QEMU marshal/unmarshal the new MSR and struct kvm_vcpu_events fields; they then add support for the SMRAM address space to KVM. Patches 10-12 finally add "-machine smm", which is used to turn SMM support on or off. This is on top of the first part, for which I will be sending a pull request shortly. Thanks, Paolo Andrew Jones (1): kvm-all: put kvm_mem_flags to more work Paolo Bonzini (11): piix4/ich9: do not raise SMI on ACPI enable/disable commands target-i386: add support for SMBASE MSR and SMIs kvm-all: remove useless typedef kvm-all: move internal types to kvm_int.h kvm-all: make KVM's memory listener more generic kvm-all: add support for multiple address spaces kvm-all: kvm_irqchip_create is not expected to fail target-i386: register a separate KVM address space including SMRAM regions pc_piix: rename kvm_enabled to smm_enabled ich9: add smm_enabled field and arguments pc: add SMM property hw/acpi/ich9.c | 5 +- hw/acpi/piix4.c | 13 ++- hw/i386/pc.c | 51 ++++++++++ hw/i386/pc_piix.c | 7 +- hw/i386/pc_q35.c | 6 +- hw/isa/lpc_ich9.c | 7 +- include/hw/acpi/ich9.h | 3 +- include/hw/i386/ich9.h | 2 +- include/hw/i386/pc.h | 5 +- include/sysemu/kvm_int.h | 39 ++++++++ kvm-all.c | 243 ++++++++++++++++++++++++----------------------- target-i386/cpu.h | 1 + target-i386/kvm.c | 135 ++++++++++++++++++++++++-- 13 files changed, 375 insertions(+), 142 deletions(-) create mode 100644 include/sysemu/kvm_int.h -- 2.4.1