pc, pci, virtio: new features, cleanups, fixes
The following changes since commit 3913d3707e3debfbf0d2d014a1a793394993b088:
Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.7-20160718' into staging (2016-07-18 11:24:15 +0100)
are available in the git repository at:
git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
for you to fetch changes up to 1e66115107e0ea86054f91d3336f361405b16621:
virtio: Update migration docs (2016-07-19 01:23:25 +0300)
----------------------------------------------------------------
pc, pci, virtio: new features, cleanups, fixes
- interrupt remapping for intel iommus
- a bunch of virtio cleanups
- fixes all over the place
----------------------------------------------------------------
Dr. David Alan Gilbert (14):
virtio-net: Remove old migration version support
virtio-serial: Remove old migration version support
virtio: Migration helper function and macro
virtio-scsi: Wrap in vmstate
virtio-blk: Wrap in vmstate
virtio-rng: Wrap in vmstate
virtio-balloon: Wrap in vmstate
virtio-net: Wrap in vmstate
virtio-serial: Wrap in vmstate
9pfs: Wrap in vmstate
virtio-input: Wrap in vmstate
virtio-gpu: Use migrate_add_blocker for virgl migration blocking
virtio-gpu: Wrap in vmstate
virtio: Update migration docs
Fam Zheng (6):
virtio: Add typedef for handle_output
virtio: Introduce virtio_add_queue_aio
virtio-blk: Call virtio_add_queue_aio
virtio-scsi: Call virtio_add_queue_aio
Revert "mirror: Workaround for unexpected iohandler events during completion"
virtio-scsi: Replace HandleOutput typedef
Jan Kiszka (1):
intel_iommu: Add support for Extended Interrupt Mode
Marcel Apfelbaum (7):
tests/prom-env-test: increase the test timeout
hw/alpha: fix PCI bus initialization
hw/mips: fix PCI bus initialization
hw/apb: fix PCI bus initialization
hw/grackle: fix PCI bus initialization
hw/prep: realize the PCI root bus as part of the prep init hw/versatile: realize the PCI root bus as part of the versatile init
Peter Xu (25):
x86-iommu: introduce parent class
intel_iommu: rename VTD_PCI_DEVFN_MAX to x86-iommu
x86-iommu: provide x86_iommu_get_default
x86-iommu: introduce "intremap" property
acpi: enable INTR for DMAR report structure
intel_iommu: allow queued invalidation for IR
intel_iommu: set IR bit for ECAP register
acpi: add DMAR scope definition for root IOAPIC
intel_iommu: define interrupt remap table addr register
intel_iommu: handle interrupt remap enable
intel_iommu: define several structs for IOMMU IR
intel_iommu: add IR translation faults defines
intel_iommu: Add support for PCI MSI remap
q35: ioapic: add support for emulated IOAPIC IR
ioapic: introduce ioapic_entry_parse() helper
intel_iommu: add support for split irqchip
x86-iommu: introduce IEC notifiers
ioapic: register IOMMU IEC notifier for ioapic
intel_iommu: add SID validation for IR
kvm-irqchip: simplify kvm_irqchip_add_msi_route
kvm-irqchip: i386: add hook for add/remove virq
kvm-irqchip: x86: add msi route notify fn
kvm-irqchip: do explicit commit when update irq
kvm-all: add trace events for kvm irqchip ops
intel_iommu: disallow kernel-irqchip=on with IR
Radim Krčmář (1):
intel_iommu: support all masks in interrupt entry cache invalidation
Stefan Hajnoczi (1):
nvdimm: fix memory leak in error code path
Makefile.objs | 1 + hw/i386/intel_iommu_internal.h | 50 ++++- include/hw/acpi/acpi-defs.h | 13 ++ include/hw/i386/apic-msidef.h | 1 + include/hw/i386/intel_iommu.h | 170 ++++++++++++++- include/hw/i386/ioapic_internal.h | 3 + include/hw/i386/pc.h | 4 + include/hw/i386/x86-iommu.h | 100 +++++++++ include/hw/pci-host/q35.h | 8 + include/hw/pci/pci.h | 2 + include/hw/virtio/virtio-gpu.h | 2 + include/hw/virtio/virtio-scsi.h | 6 +- include/hw/virtio/virtio.h | 28 ++- include/sysemu/kvm.h | 21 +- block/mirror.c | 9 - hw/9pfs/virtio-9p-device.c | 14 +- hw/alpha/typhoon.c | 2 +- hw/block/virtio-blk.c | 18 +- hw/char/virtio-serial-bus.c | 62 ++---- hw/display/virtio-gpu.c | 36 ++-- hw/i386/acpi-build.c | 43 +++- hw/i386/intel_iommu.c | 439 +++++++++++++++++++++++++++++++++++++- hw/i386/kvm/pci-assign.c | 10 +- hw/i386/pc.c | 3 + hw/i386/x86-iommu.c | 128 +++++++++++ hw/input/virtio-input.c | 26 +-- hw/intc/ioapic.c | 135 ++++++++---- hw/mem/nvdimm.c | 1 + hw/mips/gt64xxx_pci.c | 2 +- hw/misc/ivshmem.c | 4 +- hw/net/virtio-net.c | 102 ++++----- hw/pci-host/apb.c | 15 +- hw/pci-host/grackle.c | 2 +- hw/pci-host/prep.c | 1 + hw/pci-host/versatile.c | 1 + hw/pci/pci.c | 15 ++ hw/scsi/virtio-scsi.c | 35 ++- hw/vfio/pci.c | 12 +- hw/virtio/virtio-balloon.c | 19 +- hw/virtio/virtio-pci.c | 10 +- hw/virtio/virtio-rng.c | 20 +- hw/virtio/virtio.c | 51 ++++- kvm-all.c | 19 +- kvm-stub.c | 6 +- target-arm/kvm.c | 11 + target-i386/kvm.c | 109 +++++++++- target-mips/kvm.c | 11 + target-ppc/kvm.c | 11 + target-s390x/kvm.c | 11 + tests/prom-env-test.c | 2 +- docs/virtio-migration.txt | 6 +- hw/i386/Makefile.objs | 2 +- hw/i386/trace-events | 3 + target-i386/trace-events | 7 + trace-events | 3 + 55 files changed, 1478 insertions(+), 347 deletions(-) create mode 100644 include/hw/i386/x86-iommu.h create mode 100644 hw/i386/x86-iommu.c create mode 100644 target-i386/trace-events