These are the patches that I would like to send a pull request as soon as possible. KVM support still needs to wait for the kernel code to be committed.
I asked Michael to let me send a pull request for this instead of going through the PC tree; this is to let him take a final look at the patches. Paolo Gerd Hoffmann (6): q35: fix ESMRAMC default q35: add config space wmask for SMRAM and ESMRAMC q35: implement SMRAM.D_LCK q35: add test for SMRAM.D_LCK q35: implement TSEG ich9: implement SMI_LOCK Paolo Bonzini (17): target-i386: introduce cpu_get_mem_attrs target-i386: Use correct memory attributes for memory accesses target-i386: Use correct memory attributes for ioport accesses target-i386: mask NMIs on entry to SMM target-i386: set G=1 in SMM big real mode selectors target-i386: wake up processors that receive an SMI pflash_cfi01: change big-endian property to BIT type pflash_cfi01: change to new-style MMIO accessors pflash_cfi01: add secure property vl: allow full-blown QemuOpts syntax for -global qom: add object_property_add_const_link vl: run "late" notifiers immediately target-i386: create a separate AddressSpace for each CPU hw/i386: add a separate region that tracks the SMRAME bit target-i386: use memory API to implement SMRAM hw/i386: remove smram_update q35: implement high SMRAM bsd-user/main.c | 4 - hw/acpi/ich9.c | 4 +- hw/block/pflash_cfi01.c | 204 +++++++++++----------------- hw/i386/pc.c | 21 --- hw/isa/lpc_ich9.c | 19 +++ hw/pci-host/pam.c | 20 --- hw/pci-host/piix.c | 44 +++--- hw/pci-host/q35.c | 142 +++++++++++++++++--- include/exec/memattrs.h | 4 +- include/hw/acpi/ich9.h | 1 + include/hw/i386/ich9.h | 6 + include/hw/i386/pc.h | 1 - include/hw/pci-host/pam.h | 4 - include/hw/pci-host/q35.h | 36 +++-- include/qom/object.h | 18 +++ linux-user/main.c | 4 - qdev-monitor.c | 18 ++- qemu-options.hx | 7 +- qom/object.c | 16 +++ target-i386/Makefile.objs | 2 - target-i386/cpu-qom.h | 3 + target-i386/cpu.c | 47 ++++++- target-i386/cpu.h | 40 ++++-- target-i386/helper.c | 135 ++++++++++++++++--- target-i386/helper.h | 12 +- target-i386/ioport-user.c | 60 --------- target-i386/kvm.c | 2 +- target-i386/machine.c | 3 + target-i386/misc_helper.c | 59 ++++++-- target-i386/seg_helper.c | 12 +- target-i386/smm_helper.c | 333 ++++++++++++++++++++++++---------------------- target-i386/svm_helper.c | 230 ++++++++++++++++---------------- target-i386/translate.c | 12 +- tests/Makefile | 3 + tests/q35-test.c | 91 +++++++++++++ vl.c | 6 + 36 files changed, 989 insertions(+), 634 deletions(-) delete mode 100644 target-i386/ioport-user.c create mode 100644 tests/q35-test.c -- 2.4.1