From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5cc7-0004gy-PW for qemu-devel@nongnu.org; Thu, 18 Jun 2015 12:24:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5cc3-0008Fr-OC for qemu-devel@nongnu.org; Thu, 18 Jun 2015 12:24:27 -0400 Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]:34443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5cc3-0008Fg-GU for qemu-devel@nongnu.org; Thu, 18 Jun 2015 12:24:23 -0400 Received: by wgfq1 with SMTP id q1so21566469wgf.1 for ; Thu, 18 Jun 2015 09:24:22 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Thu, 18 Jun 2015 18:23:56 +0200 Message-Id: <1434644648-89776-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH for-2.4 00/12] pc: KVM support for SMRAM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: lersek@redhat.com, mst@redhat.com These are the new patches for SMRAM support, using multiple address spaces and, thus, multiple KVMMemoryListeners. No more layering violations, yay! The meat is in patches 6 and 7, which parameterize KVM's memory listener so that: 1) each memory listener handles its own array of memory slots; 2) each memory listener specifies an address space id for use in KVM_SET_USER_MEMORY_REGION and KVM_GET_DIRTY_LOG. The final three patches then add a "-machine smm=on|off|auto" option. Rebased on top of origin/master, no other difference from previous submissions. 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 | 9 +- 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 | 139 +++++++++++++++++++++++++-- 13 files changed, 381 insertions(+), 142 deletions(-) create mode 100644 include/sysemu/kvm_int.h -- 1.8.3.1