Skip to contentSkip to conversation

pc, pci, virtio: new features, cleanups, fixes

GIT PULL Michael S. Tsirkin 4 participants 8 messages Jul 18, 2016 – Jul 19, 2016

lore
Share & tools
lore
#0 lore raw

Should be last pull with features for 2.7.
I mulled including Igor's cpu hot-unplug series, but it appears Eduardo started merging these already.
We do want them in 2.7 I think so if I misunderstood, I might add them on top and do another pull request tomorrow. Hopefully not.

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
#1 lore raw
Quoted 6 lines · Michael S. Tsirkin

Should be last pull with features for 2.7.
I mulled including Igor's cpu hot-unplug series, but it appears Eduardo started merging these already.
We do want them in 2.7 I think so if I misunderstood, I might add them on top and do another pull request tomorrow. Hopefully not.

Any reason your pull requests aren't threaded normally? Message 00/55 lists Message-Id: <[email protected]>

but all of the other messages list References:
<[email protected]>

which don't match; and there is no In-Reply-To: header. As a result, the mail archives is not threading things (compare your thread to John's 0/4 PULL request just above):
https://lists.gnu.org/archive/html/qemu-devel/2016-07/threads.html#04022

Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
#3 lore raw
In reply to Michael S. Tsirkin
Quoted 6 lines · Michael S. Tsirkin

Should be last pull with features for 2.7.
I mulled including Igor's cpu hot-unplug series, but it appears Eduardo started merging these already.
We do want them in 2.7 I think so if I misunderstood, I might add them on top and do another pull request tomorrow. Hopefully not.

Hi, Michael,

I see that many s-o-b lines are duplicated in patches 9-35 (r-b lines as well), and without your s-o-b. Would that be a problem?

-- peterx

#4 lore raw
Quoted 8 lines · Peter Xu
Quoted 6 lines · Michael S. Tsirkin

Should be last pull with features for 2.7.
I mulled including Igor's cpu hot-unplug series, but it appears Eduardo started merging these already.
We do want them in 2.7 I think so if I misunderstood, I might add them on top and do another pull request tomorrow. Hopefully not.

Quoted 4 lines

Hi, Michael,

I see that many s-o-b lines are duplicated in patches 9-35 (r-b lines as well), and without your s-o-b. Would that be a problem?

Yes, a missing s-o-b line would be a problem. Michael, can you check and respin if necessary (or reply here if not necessary), please?

thanks
-- PMM

#2 lore raw
In reply to Eric Blake
Quoted 11 lines · Eric Blake
Quoted 6 lines · Michael S. Tsirkin

Should be last pull with features for 2.7.
I mulled including Igor's cpu hot-unplug series, but it appears Eduardo started merging these already.
We do want them in 2.7 I think so if I misunderstood, I might add them on top and do another pull request tomorrow. Hopefully not.

Any reason your pull requests aren't threaded normally? Message 00/55 lists Message-Id: <[email protected]>

Quoted 7 lines

but all of the other messages list References:
<[email protected]>

which don't match; and there is no In-Reply-To: header. As a result, the mail archives is not threading things (compare your thread to John's 0/4 PULL request just above):
https://lists.gnu.org/archive/html/qemu-devel/2016-07/threads.html#04022

You are right - update to Fedora 23 broke mutt's send hook handling that my scripts were relying on.
I'll fix it by the next pull req.

Quoted 5 lines
Signature · 3 lines
-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
#5 lore raw
In reply to Peter Maydell
Quoted 14 lines · Peter Maydell
Quoted 8 lines · Peter Xu
Quoted 6 lines · Michael S. Tsirkin

Should be last pull with features for 2.7.
I mulled including Igor's cpu hot-unplug series, but it appears Eduardo started merging these already.
We do want them in 2.7 I think so if I misunderstood, I might add them on top and do another pull request tomorrow. Hopefully not.

Quoted 4 lines

Hi, Michael,

I see that many s-o-b lines are duplicated in patches 9-35 (r-b lines as well), and without your s-o-b. Would that be a problem?

Quoted 6 lines

Yes, a missing s-o-b line would be a problem. Michael, can you check and respin if necessary (or reply here if not necessary), please?

thanks
-- PMM

Fedora 23 update broke all my scripts :( I'll fix it manually for now.

Signature · 1 line
MST
#6 lore raw
In reply to Peter Maydell
Quoted 14 lines · Peter Maydell
Quoted 8 lines · Peter Xu
Quoted 6 lines · Michael S. Tsirkin

Should be last pull with features for 2.7.
I mulled including Igor's cpu hot-unplug series, but it appears Eduardo started merging these already.
We do want them in 2.7 I think so if I misunderstood, I might add them on top and do another pull request tomorrow. Hopefully not.

Quoted 4 lines

Hi, Michael,

I see that many s-o-b lines are duplicated in patches 9-35 (r-b lines as well), and without your s-o-b. Would that be a problem?

Quoted 6 lines

Yes, a missing s-o-b line would be a problem. Michael, can you check and respin if necessary (or reply here if not necessary), please?

thanks
-- PMM

Done, sorry about messing it up.

Signature · 1 line
MST
#7 lore raw
In reply to Peter Maydell
Quoted 14 lines · Peter Maydell
Quoted 8 lines · Peter Xu
Quoted 6 lines · Michael S. Tsirkin

Should be last pull with features for 2.7.
I mulled including Igor's cpu hot-unplug series, but it appears Eduardo started merging these already.
We do want them in 2.7 I think so if I misunderstood, I might add them on top and do another pull request tomorrow. Hopefully not.

Quoted 4 lines

Hi, Michael,

I see that many s-o-b lines are duplicated in patches 9-35 (r-b lines as well), and without your s-o-b. Would that be a problem?

Quoted 6 lines

Yes, a missing s-o-b line would be a problem. Michael, can you check and respin if necessary (or reply here if not necessary), please?

thanks
-- PMM

All fixed now, and I finally fixed the broken threading. Took several tries unforunately so you might see multiple cover letters. Sorry about that. The tag for_upstream will give you the correct pull.

Signature · 1 line
MST