The following changes since commit fcb237e64f9d026c03d635579c7b288d0008a6e5:
Merge tag 'pull-vfio-20230710' of https://github.com/legoater/qemu into staging (2023-07-10 09:17:06 +0100) are available in the Git repository at: https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream for you to fetch changes up to d669b7bba22d45cb9e5926d63541e52bde1655dd: vdpa: Allow VIRTIO_NET_F_CTRL_RX_EXTRA in SVQ (2023-07-10 18:59:32 -0400) ---------------------------------------------------------------- pc,pci,virtio: cleanups, fixes, features vhost-user-gpu: edid vhost-user-scmi device vhost-vdpa: _F_CTRL_RX and _F_CTRL_RX_EXTRA support for svq cleanups, fixes all over the place. Signed-off-by: Michael S. Tsirkin <m...@redhat.com> ---------------------------------------------------------------- Akihiko Odaki (3): pcie: Release references of virtual functions pcie: Use common ARI next function number pcie: Specify 0 for ARI next function numbers Alex Bennée (6): include: attempt to document device_class_set_props include/hw: document the device_class_set_parent_* fns hw/virtio: fix typo in VIRTIO_CONFIG_IRQ_IDX comments include/hw/virtio: document virtio_notify_config include/hw/virtio: add kerneldoc for virtio_init include/hw/virtio: document some more usage of notifiers Ani Sinha (5): tests/acpi: allow changes in DSDT.noacpihp table blob tests/acpi/bios-tables-test: use the correct slot on the pcie-root-port tests/acpi/bios-tables-test: update acpi blob q35/DSDT.noacpihp tests/qtest/hd-geo-test: fix incorrect pcie-root-port usage and simplify test hw/pci: warn when PCIe device is plugged into non-zero slot of downstream port Bernhard Beschow (19): hw/i386/pc_q35: Resolve redundant q35_host variable hw/pci-host/q35: Fix double, contradicting .endianness assignment hw/pci-host/q35: Initialize PCMachineState::bus in board code hw/pci/pci_host: Introduce PCI_HOST_BYPASS_IOMMU macro hw/pci-host/q35: Initialize PCI_HOST_BYPASS_IOMMU property from board code hw/pci-host/q35: Make some property name macros reusable by i440fx hw/i386/pc_piix: Turn some local variables into initializers hw/pci-host/i440fx: Add "i440fx" child property in board code hw/pci-host/i440fx: Replace magic values by existing constants hw/pci-host/i440fx: Have common names for some local variables hw/pci-host/i440fx: Move i440fx_realize() into PCII440FXState section hw/pci-host/i440fx: Make MemoryRegion pointers accessible as properties hw/pci-host/i440fx: Add PCI_HOST_PROP_IO_MEM property hw/pci-host/i440fx: Add PCI_HOST_{ABOVE, BELOW}_4G_MEM_SIZE properties hw/pci-host/i440fx: Add I440FX_HOST_PROP_PCI_TYPE property hw/pci-host/i440fx: Resolve i440fx_init() hw/i386/pc_piix: Move i440fx' realize near its qdev_new() hw/pci/pci: Remove multifunction parameter from pci_create_simple_multifunction() hw/pci/pci: Remove multifunction parameter from pci_new_multifunction() Eric Auger (2): virtio-iommu: Fix 64kB host page size VFIO device assignment virtio-iommu: Rework the traces in virtio_iommu_set_page_size_mask() Erico Nunes (4): virtio-gpu: refactor generate_edid function to virtio_gpu_base docs: vhost-user-gpu: add protocol changes for EDID contrib/vhost-user-gpu: implement get_edid feature vhost-user-gpu: implement get_edid frontend feature Eugenio Pérez (1): vdpa: Remove status in reset tracing Hawkins Jiawei (13): vdpa: Return -EIO if device ack is VIRTIO_NET_ERR in _load_mac() vdpa: Return -EIO if device ack is VIRTIO_NET_ERR in _load_mq() vdpa: Return -EIO if device ack is VIRTIO_NET_ERR in _load_offloads() vdpa: Fix possible use-after-free for VirtQueueElement vdpa: Use iovec for vhost_vdpa_net_load_cmd() vdpa: Restore MAC address filtering state vdpa: Restore packet receive filtering state relative with _F_CTRL_RX feature vhost: Fix false positive out-of-bounds vdpa: Accessing CVQ header through its structure vdpa: Avoid forwarding large CVQ command failures vdpa: Allow VIRTIO_NET_F_CTRL_RX in SVQ vdpa: Restore packet receive filtering state relative with _F_CTRL_RX_EXTRA feature vdpa: Allow VIRTIO_NET_F_CTRL_RX_EXTRA in SVQ Laurent Vivier (1): vhost-vdpa: mute unaligned memory error report Leonardo Bras (1): pcie: Add hotplug detect state register to cmask Milan Zamazal (3): hw/virtio: Add boilerplate for vhost-user-scmi device hw/virtio: Add vhost-user-scmi-pci boilerplate tests/qtest: enable tests for virtio-scmi Tom Lonergan (2): vhost-user: Change one_time to per_device request vhost-user: Make RESET_DEVICE a per device message Viktor Prutyanov (2): vhost: register and change IOMMU flag depending on Device-TLB state virtio-net: pass Device-TLB enable/disable events to vhost Zhao Liu (4): machine: Add helpers to get cores/threads per socket hw/smbios: Fix smbios_smp_sockets caculation hw/smbios: Fix thread count in type4 hw/smbios: Fix core count in type4 docs/pcie_sriov.txt | 4 +- contrib/vhost-user-gpu/vugpu.h | 11 + include/hw/boards.h | 2 + include/hw/i386/pc.h | 4 + include/hw/pci-host/i440fx.h | 16 +- include/hw/pci-host/q35.h | 5 - include/hw/pci/pci.h | 6 +- include/hw/pci/pci_host.h | 2 + include/hw/pci/pcie.h | 2 +- include/hw/qdev-core.h | 36 +++ include/hw/virtio/vhost-user-scmi.h | 30 +++ include/hw/virtio/vhost.h | 1 + include/hw/virtio/virtio-gpu.h | 2 + include/hw/virtio/virtio-iommu.h | 2 + include/hw/virtio/virtio.h | 21 ++ tests/qtest/libqos/virtio-scmi.h | 34 +++ contrib/vhost-user-gpu/vhost-user-gpu.c | 73 +++++- contrib/vhost-user-gpu/virgl.c | 3 + hw/core/machine-smp.c | 10 + hw/core/machine.c | 1 + hw/display/vhost-user-gpu.c | 36 ++- hw/display/virtio-gpu-base.c | 17 ++ hw/display/virtio-gpu.c | 20 +- hw/i386/pc_piix.c | 62 +++-- hw/i386/pc_q35.c | 41 +-- hw/mips/boston.c | 3 +- hw/mips/fuloong2e.c | 2 +- hw/mips/malta.c | 2 +- hw/net/igb.c | 2 +- hw/net/igbvf.c | 2 +- hw/net/virtio-net.c | 5 +- hw/nvme/ctrl.c | 2 +- hw/pci-host/i440fx.c | 128 ++++----- hw/pci-host/q35.c | 13 +- hw/pci-host/sabre.c | 6 +- hw/pci/pci.c | 40 ++- hw/pci/pci_host.c | 2 +- hw/pci/pcie.c | 8 +- hw/pci/pcie_sriov.c | 1 + hw/ppc/pegasos2.c | 2 +- hw/smbios/smbios.c | 16 +- hw/sparc64/sun4u.c | 5 +- hw/virtio/vhost-shadow-virtqueue.c | 2 +- hw/virtio/vhost-stub.c | 4 + hw/virtio/vhost-user-fs.c | 4 +- hw/virtio/vhost-user-gpio.c | 2 +- hw/virtio/vhost-user-scmi-pci.c | 68 +++++ hw/virtio/vhost-user-scmi.c | 306 ++++++++++++++++++++++ hw/virtio/vhost-user.c | 19 +- hw/virtio/vhost-vdpa.c | 10 +- hw/virtio/vhost-vsock-common.c | 4 +- hw/virtio/vhost.c | 38 ++- hw/virtio/virtio-crypto.c | 4 +- hw/virtio/virtio-iommu.c | 50 +++- net/vhost-vdpa.c | 451 +++++++++++++++++++++++++++++++- tests/qtest/bios-tables-test.c | 4 +- tests/qtest/hd-geo-test.c | 18 +- tests/qtest/libqos/virtio-scmi.c | 174 ++++++++++++ tests/qtest/vhost-user-test.c | 44 ++++ MAINTAINERS | 7 + docs/interop/vhost-user-gpu.rst | 28 +- hw/virtio/Kconfig | 5 + hw/virtio/meson.build | 2 + hw/virtio/trace-events | 5 +- tests/data/acpi/q35/DSDT.noacpihp | Bin 8248 -> 8241 bytes tests/qtest/libqos/meson.build | 1 + 66 files changed, 1662 insertions(+), 268 deletions(-) create mode 100644 include/hw/virtio/vhost-user-scmi.h create mode 100644 tests/qtest/libqos/virtio-scmi.h create mode 100644 hw/virtio/vhost-user-scmi-pci.c create mode 100644 hw/virtio/vhost-user-scmi.c create mode 100644 tests/qtest/libqos/virtio-scmi.c