All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/12] SMM part 2: KVM and -machine enablement
@ 2015-06-05 14:31 Paolo Bonzini
  2015-06-05 14:31 ` [Qemu-devel] [PATCH 01/12] piix4/ich9: do not raise SMI on ACPI enable/disable commands Paolo Bonzini
                   ` (11 more replies)
  0 siblings, 12 replies; 14+ messages in thread
From: Paolo Bonzini @ 2015-06-05 14:31 UTC (permalink / raw)
  To: qemu-devel; +Cc: lersek, kraxel, mst

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

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [Qemu-devel] [PATCH for-2.4 00/12] pc: KVM support for SMRAM
@ 2015-06-18 16:23 Paolo Bonzini
  2015-06-18 16:30 ` [Qemu-devel] [PATCH 07/12] kvm-all: add support for multiple address spaces Paolo Bonzini
  0 siblings, 1 reply; 14+ messages in thread
From: Paolo Bonzini @ 2015-06-18 16:23 UTC (permalink / raw)
  To: qemu-devel; +Cc: lersek, mst

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-06-18 16:30 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-05 14:31 [Qemu-devel] [PATCH 00/12] SMM part 2: KVM and -machine enablement Paolo Bonzini
2015-06-05 14:31 ` [Qemu-devel] [PATCH 01/12] piix4/ich9: do not raise SMI on ACPI enable/disable commands Paolo Bonzini
2015-06-05 14:31 ` [Qemu-devel] [PATCH 02/12] target-i386: add support for SMBASE MSR and SMIs Paolo Bonzini
2015-06-05 14:31 ` [Qemu-devel] [PATCH 03/12] kvm-all: put kvm_mem_flags to more work Paolo Bonzini
2015-06-05 14:31 ` [Qemu-devel] [PATCH 04/12] kvm-all: remove useless typedef Paolo Bonzini
2015-06-05 14:31 ` [Qemu-devel] [PATCH 05/12] kvm-all: move internal types to kvm_int.h Paolo Bonzini
2015-06-05 14:31 ` [Qemu-devel] [PATCH 06/12] kvm-all: make KVM's memory listener more generic Paolo Bonzini
2015-06-05 14:31 ` [Qemu-devel] [PATCH 07/12] kvm-all: add support for multiple address spaces Paolo Bonzini
2015-06-05 14:31 ` [Qemu-devel] [PATCH 08/12] kvm-all: kvm_irqchip_create is not expected to fail Paolo Bonzini
2015-06-05 14:31 ` [Qemu-devel] [PATCH 09/12] target-i386: register a separate KVM address space including SMRAM regions Paolo Bonzini
2015-06-05 14:31 ` [Qemu-devel] [PATCH 10/12] pc_piix: rename kvm_enabled to smm_enabled Paolo Bonzini
2015-06-05 14:31 ` [Qemu-devel] [PATCH 11/12] ich9: add smm_enabled field and arguments Paolo Bonzini
2015-06-05 14:31 ` [Qemu-devel] [PATCH 12/12] pc: add SMM property Paolo Bonzini
2015-06-18 16:23 [Qemu-devel] [PATCH for-2.4 00/12] pc: KVM support for SMRAM Paolo Bonzini
2015-06-18 16:30 ` [Qemu-devel] [PATCH 07/12] kvm-all: add support for multiple address spaces Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.