From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0sex-0006Tx-Va for qemu-devel@nongnu.org; Fri, 05 Jun 2015 10:31:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0seo-0007gl-32 for qemu-devel@nongnu.org; Fri, 05 Jun 2015 10:31:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0sen-0007gQ-SH for qemu-devel@nongnu.org; Fri, 05 Jun 2015 10:31:37 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 087803C1C18 for ; Fri, 5 Jun 2015 14:31:36 +0000 (UTC) From: Paolo Bonzini Date: Fri, 5 Jun 2015 16:31:21 +0200 Message-Id: <1433514693-19414-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 00/12] SMM part 2: KVM and -machine enablement List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: lersek@redhat.com, kraxel@redhat.com, mst@redhat.com 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