qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 81ee17: vhost-user-scsi: Fix memleaks in vus_


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 81ee17: vhost-user-scsi: Fix memleaks in vus_proc_req()
Date: Wed, 09 Dec 2020 12:14:16 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 81ee17aa461d1bf05a45dddd7f9abfa9ab0b2036
      
https://github.com/qemu/qemu/commit/81ee17aa461d1bf05a45dddd7f9abfa9ab0b2036
  Author: Alex Chen <alex.chen@huawei.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M contrib/vhost-user-scsi/vhost-user-scsi.c

  Log Message:
  -----------
  vhost-user-scsi: Fix memleaks in vus_proc_req()

The 'elem' is allocated memory in vu_queue_pop(), and its memory should be
freed in all error branches after vu_queue_pop().
In addition, in order to free the 'elem' memory outside of while(1) loop, move
the definition of 'elem' to the beginning of vus_proc_req().

Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Alex Chen <alex.chen@huawei.com>
Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Message-Id: <20201125013055.34147-1-alex.chen@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 3b5ebf8532afdc1518bd8b0961ed802bc3f5f07c
      
https://github.com/qemu/qemu/commit/3b5ebf8532afdc1518bd8b0961ed802bc3f5f07c
  Author: Eugenio Pérez <eperezma@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/arm/smmu-common.c
    M hw/arm/smmuv3.c
    M hw/i386/intel_iommu.c
    M include/exec/memory.h
    M softmmu/memory.c

  Log Message:
  -----------
  memory: Rename memory_region_notify_one to memory_region_notify_iommu_one

Previous name didn't reflect the iommu operation.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20201116165506.31315-2-eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 5039caf3c449c49e625d34e134463260cf8e00e0
      
https://github.com/qemu/qemu/commit/5039caf3c449c49e625d34e134463260cf8e00e0
  Author: Eugenio Pérez <eperezma@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/arm/smmu-common.c
    M hw/arm/smmuv3.c
    M hw/i386/intel_iommu.c
    M hw/misc/tz-mpc.c
    M hw/ppc/spapr_iommu.c
    M hw/s390x/s390-pci-inst.c
    M hw/virtio/virtio-iommu.c
    M include/exec/memory.h
    M softmmu/memory.c

  Log Message:
  -----------
  memory: Add IOMMUTLBEvent

This way we can tell between regular IOMMUTLBEntry (entry of IOMMU
hardware) and notifications.

In the notifications, we set explicitly if it is a MAPs or an UNMAP,
instead of trusting in entry permissions to differentiate them.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20201116165506.31315-3-eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>


  Commit: b68ba1ca57677acf870d5ab10579e6105c1f5338
      
https://github.com/qemu/qemu/commit/b68ba1ca57677acf870d5ab10579e6105c1f5338
  Author: Eugenio Pérez <eperezma@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/i386/intel_iommu.c
    M hw/virtio/vhost.c
    M include/exec/memory.h

  Log Message:
  -----------
  memory: Add IOMMU_NOTIFIER_DEVIOTLB_UNMAP IOMMUTLBNotificationType

This allows us to differentiate between regular IOMMU map/unmap events
and DEVIOTLB unmap. Doing so, notifiers that only need device IOTLB
invalidations will not receive regular IOMMU unmappings.

Adapt intel and vhost to use it.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20201116165506.31315-4-eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: f7701e2c7983b680790af47117577b285b6a1aed
      
https://github.com/qemu/qemu/commit/f7701e2c7983b680790af47117577b285b6a1aed
  Author: Eugenio Pérez <eperezma@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/i386/intel_iommu.c

  Log Message:
  -----------
  intel_iommu: Skip page walking on device iotlb invalidations

Although they didn't reach the notifier because of the filtering in
memory_region_notify_iommu_one, the vt-d was still splitting huge
memory invalidations in chunks. Skipping it.

This improves performance in case of netperf with vhost-net:
* TCP_STREAM: From 1923.6Mbit/s to 2175.13Mbit/s (13%)
* TCP_RR: From 8464.73 trans/s to 8932.703333 trans/s (5.5%)
* UDP_RR: From 8562.08 trans/s to 9005.62/s (5.1%)
* UDP_STREAM: No change observed (insignificant 0.1% improvement)

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20201116165506.31315-5-eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 1804857f19f612f6907832e35599cdb51d4ec764
      
https://github.com/qemu/qemu/commit/1804857f19f612f6907832e35599cdb51d4ec764
  Author: Eugenio Pérez <eperezma@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M softmmu/memory.c

  Log Message:
  -----------
  memory: Skip bad range assertion if notifier is DEVIOTLB_UNMAP type

Device IOTLB invalidations can unmap arbitrary ranges, eiter outside of
the memory region or even [0, ~0ULL] for all the space. The assertion
could be hit by a guest, and rhel7 guest effectively hit it.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20201116165506.31315-6-eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 4aedda25e883c7c2e7cae911e39b84ad96ef4766
      
https://github.com/qemu/qemu/commit/4aedda25e883c7c2e7cae911e39b84ad96ef4766
  Author: John Levon <john.levon@nutanix.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/virtio/virtio.c

  Log Message:
  -----------
  virtio: reset device on bad guest index in virtio_load()

If we find a queue with an inconsistent guest index value, explicitly mark the
device as needing a reset - and broken - via virtio_error().

There's at least one driver implementation - the virtio-win NetKVM driver - that
is able to handle a VIRTIO_CONFIG_S_NEEDS_RESET notification and successfully
restore the device to a working state. Other implementations do not correctly
handle this, but as the VQ is not in a functional state anyway, this is still
worth doing.

Signed-off-by: John Levon <john.levon@nutanix.com>
Message-Id: <20201120185103.GA442386@sent>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: a0e2905b4106296eba396630d37bd3f146e721e1
      
https://github.com/qemu/qemu/commit/a0e2905b4106296eba396630d37bd3f146e721e1
  Author: Yubo Miao <miaoyubo@huawei.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/pci-host/gpex-acpi.c

  Log Message:
  -----------
  acpi/gpex: Extract two APIs from acpi_dsdt_add_pci

Extract two APIs acpi_dsdt_add_pci_route_table and
acpi_dsdt_add_pci_osc from acpi_dsdt_add_pci. The first
API is used to specify the pci route table and the second
API is used to declare the operation system capabilities.
These two APIs would be used to specify the pxb-pcie in DSDT.

Signed-off-by: Yubo Miao <miaoyubo@huawei.com>
Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Message-Id: <20201119014841.7298-2-cenjiahui@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 0abd38885ac0fcdb08653922f339849cad387961
      
https://github.com/qemu/qemu/commit/0abd38885ac0fcdb08653922f339849cad387961
  Author: Jiahui Cen <cenjiahui@huawei.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/i386/pc.c
    M hw/nvram/fw_cfg.c
    M include/hw/nvram/fw_cfg.h

  Log Message:
  -----------
  fw_cfg: Refactor extra pci roots addition

Extract extra pci roots addition from pc machine, which could be used by
other machines.

In order to make uefi get the extra roots, it is necessary to write extra
roots into fw_cfg. And only if the uefi knows there are extra roots,
the config spaces of devices behind the root could be obtained.

Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Signed-off-by: Yubo Miao <miaoyubo@huawei.com>
Message-Id: <20201119014841.7298-3-cenjiahui@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 09fad16744480938543c0e39cfbaecbbd162c39b
      
https://github.com/qemu/qemu/commit/09fad16744480938543c0e39cfbaecbbd162c39b
  Author: Jiahui Cen <cenjiahui@huawei.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/arm/virt.c
    M include/hw/arm/virt.h

  Log Message:
  -----------
  hw/arm/virt: Write extra pci roots into fw_cfg

Add bus property to virt machine for primary PCI root bus and use it to add
extra pci roots behind it.

Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Signed-off-by: Yubo Miao <miaoyubo@huawei.com>
Message-Id: <20201119014841.7298-4-cenjiahui@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 37d5c0a8ff812682c50865cd314348611319d872
      
https://github.com/qemu/qemu/commit/37d5c0a8ff812682c50865cd314348611319d872
  Author: Yubo Miao <miaoyubo@huawei.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/acpi/aml-build.c
    M hw/i386/acpi-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: Extract crs build form acpi_build.c

Extract crs build form acpi_build.c, the function could also be used
to build the crs for pxbs for arm. The resources are composed by two parts:
1. The bar space of pci-bridge/pcie-root-ports
2. The resources needed by devices behind PXBs.
The base and limit of memory/io are obtained from the config via two APIs:
pci_bridge_get_base and pci_bridge_get_limit

Signed-off-by: Yubo Miao <miaoyubo@huawei.com>
Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Message-Id: <20201119014841.7298-5-cenjiahui@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 6f9765fbad3d86de008f2e0f6821c29155eb0d85
      
https://github.com/qemu/qemu/commit/6f9765fbad3d86de008f2e0f6821c29155eb0d85
  Author: Yubo Miao <miaoyubo@huawei.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/arm/virt-acpi-build.c
    M hw/pci-host/gpex-acpi.c
    M include/hw/pci-host/gpex.h

  Log Message:
  -----------
  acpi/gpex: Build tables for pxb

The resources of pxbs are obtained by crs_build and the resources
used by pxbs would be moved from the resources defined for host-bridge.

The resources for pxb are composed of following two parts:
1. The bar space of the pci-bridge/pcie-root-port behined it
2. The config space of devices behind it.

Signed-off-by: Yubo Miao <miaoyubo@huawei.com>
Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Message-Id: <20201119014841.7298-6-cenjiahui@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 451b157041d265f94a4be668b9cd234b3e34fabb
      
https://github.com/qemu/qemu/commit/451b157041d265f94a4be668b9cd234b3e34fabb
  Author: Yubo Miao <miaoyubo@huawei.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/arm/virt-acpi-build.c

  Log Message:
  -----------
  acpi: Align the size to 128k

If table size is changed between virt_acpi_build and
virt_acpi_build_update, the table size would not be updated to
UEFI, therefore, just align the size to 128kb, which is enough
and same with x86. It would warn if 64k is not enough and the
align size should be updated.

Signed-off-by: Yubo Miao <miaoyubo@huawei.com>
Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Message-Id: <20201119014841.7298-7-cenjiahui@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 128e232281ec0626bfda158f7718921e59e94ac4
      
https://github.com/qemu/qemu/commit/128e232281ec0626bfda158f7718921e59e94ac4
  Author: Yubo Miao <miaoyubo@huawei.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M tests/qtest/bios-tables-test-allowed-diff.h

  Log Message:
  -----------
  unit-test: The files changed.

The unit-test is seperated into three patches:
1. The files changed and list in bios-tables-test-allowed-diff.h
2. The unit-test
3. The binary file and clear bios-tables-test-allowed-diff.h

The ASL diff would also be listed.
Sice there are 1000+lines diff, some changes would be omitted.

  * Original Table Header:
  *     Signature        "DSDT"
- *     Length           0x000014BB (5307)
+ *     Length           0x00001E7A (7802)
  *     Revision         0x02
- *     Checksum         0xD1
+ *     Checksum         0x57
  *     OEM ID           "BOCHS "
  *     OEM Table ID     "BXPCDSDT"
  *     OEM Revision     0x00000001 (1)

+        Device (PC80)
+        {
+            Name (_HID, "PNP0A08" /* PCI Express Bus */)  // _HID: Hardware ID
+            Name (_CID, "PNP0A03" /* PCI Bus */)  // _CID: Compatible ID
+            Name (_ADR, Zero)  // _ADR: Address
+            Name (_CCA, One)  // _CCA: Cache Coherency Attribute
+            Name (_SEG, Zero)  // _SEG: PCI Segment
+            Name (_BBN, 0x80)  // _BBN: BIOS Bus Number
+            Name (_UID, 0x80)  // _UID: Unique ID
+            Name (_STR, Unicode ("pxb Device"))  // _STR: Description String
+            Name (_PRT, Package (0x80)  // _PRT: PCI Routing Table
+            {
+                Package (0x04)
+                {
+                    0xFFFF,
+                    Zero,
+                    GSI0,
+                    Zero
+                },
+

Packages are omitted.

+                Package (0x04)
+                {
+                    0x001FFFFF,
+                    0x03,
+                    GSI2,
+                    Zero
+                }
+            })
+            Device (GSI0)
+            {
+                Name (_HID, "PNP0C0F" /* PCI Interrupt Link Device */)  // 
_HID: Hardware ID
+                Name (_UID, Zero)  // _UID: Unique ID
+                Name (_PRS, ResourceTemplate ()  // _PRS: Possible Resource 
Settings
+                {
+                    Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, 
,, )
+                    {
+                        0x00000023,
+                    }
+                })
+                Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource 
Settings
+                {
+                    Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, 
,, )
+                    {
+                        0x00000023,
+                    }
+                })
+                Method (_SRS, 1, NotSerialized)  // _SRS: Set Resource Settings
+                {
+                }
+            }

GSI1,2,3 are omitted.

+            Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
+            {
+                WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
+                    0x0000,             // Granularity
+                    0x0080,             // Range Minimum
+                    0x0080,             // Range Maximum
+                    0x0000,             // Translation Offset
+                    0x0001,             // Length
+                    ,, )
+            })
+            Name (SUPP, Zero)
+            Name (CTRL, Zero)
+            Method (_OSC, 4, NotSerialized)  // _OSC: Operating System 
Capabilities
+            {
+                CreateDWordField (Arg3, Zero, CDW1)
+                If ((Arg0 == ToUUID ("33db4d5b-1ff7-401c-9657-7441c03dd766") 
/* PCI Host Bridge Device */))
+                {
+                    CreateDWordField (Arg3, 0x04, CDW2)
+                    CreateDWordField (Arg3, 0x08, CDW3)
+                    SUPP = CDW2 /* \_SB_.PC80._OSC.CDW2 */
+                    CTRL = CDW3 /* \_SB_.PC80._OSC.CDW3 */
+                    CTRL &= 0x1F
+                    If ((Arg1 != One))
+                    {
+                        CDW1 |= 0x08
+                    }
+
+                    If ((CDW3 != CTRL))
+                    {
+                        CDW1 |= 0x10
+                    }
+
+                    CDW3 = CTRL /* \_SB_.PC80.CTRL */
+                    Return (Arg3)
+                }
+                Else
+                {
+                    CDW1 |= 0x04
+                    Return (Arg3)
+                }
+            }

DSM is are omitted

         Device (PCI0)
         {
             Name (_HID, "PNP0A08" /* PCI Express Bus */)  // _HID: Hardware ID
                     WordBusNumber (ResourceProducer, MinFixed, MaxFixed, 
PosDecode,
                         0x0000,             // Granularity
                         0x0000,             // Range Minimum
-                        0x00FF,             // Range Maximum
+                        0x007F,             // Range Maximum
                         0x0000,             // Translation Offset
-                        0x0100,             // Length
+                        0x0080,             // Length

Signed-off-by: Yubo Miao <miaoyubo@huawei.com>
Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Message-Id: <20201119014841.7298-8-cenjiahui@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 1da638b165d5ede4a2079e5072c9b11fc760e9f1
      
https://github.com/qemu/qemu/commit/1da638b165d5ede4a2079e5072c9b11fc760e9f1
  Author: Yubo Miao <miaoyubo@huawei.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M tests/qtest/bios-tables-test.c

  Log Message:
  -----------
  unit-test: Add testcase for pxb

Add testcase for pxb to make sure the ACPI table is correct for guest.

Signed-off-by: Yubo Miao <miaoyubo@huawei.com>
Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Message-Id: <20201119014841.7298-9-cenjiahui@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: fe1127da11549953c0925f5db58f6c5f76c1cec5
      
https://github.com/qemu/qemu/commit/fe1127da11549953c0925f5db58f6c5f76c1cec5
  Author: Yubo Miao <miaoyubo@huawei.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    A tests/data/acpi/virt/DSDT.pxb
    M tests/qtest/bios-tables-test-allowed-diff.h

  Log Message:
  -----------
  unit-test: Add the binary file and clear diff.h

Add the binary file DSDT.pxb and clear bios-tables-test-allowed-diff.h

Signed-off-by: Yubo Miao <miaoyubo@huawei.com>
Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Message-Id: <20201119014841.7298-10-cenjiahui@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 1c775d65d4bff3a5a9876e398b2e689bc45aa1f7
      
https://github.com/qemu/qemu/commit/1c775d65d4bff3a5a9876e398b2e689bc45aa1f7
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c
    M softmmu/qdev-monitor.c

  Log Message:
  -----------
  failover: fix indentantion

Once there, remove not needed cast.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-3-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 587f2fcb93eddf69736e00731a2da018a0e0a726
      
https://github.com/qemu/qemu/commit/587f2fcb93eddf69736e00731a2da018a0e0a726
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c

  Log Message:
  -----------
  failover: Use always atomics for primary_should_be_hidden

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-4-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 78274682b79d48e8de76c817c67c3cfbb76dc2ee
      
https://github.com/qemu/qemu/commit/78274682b79d48e8de76c817c67c3cfbb76dc2ee
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c
    M include/hw/virtio/virtio-net.h

  Log Message:
  -----------
  failover: primary bus is only used once, and where it is set

Just remove the struct member.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-5-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 82ceb65799855efb0db965a6ef86d81ae1c8bcd7
      
https://github.com/qemu/qemu/commit/82ceb65799855efb0db965a6ef86d81ae1c8bcd7
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c

  Log Message:
  -----------
  failover: Remove unused parameter

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-6-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 594d308b9314b446ed2ccc42de7b4d57ba1b7118
      
https://github.com/qemu/qemu/commit/594d308b9314b446ed2ccc42de7b4d57ba1b7118
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c

  Log Message:
  -----------
  failover: Remove external partially_hotplugged property

It was only set "once", and with the wrong value. As far as I can see,
libvirt still don't use it.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-7-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 3d1c7a9782d19052505aabc8f2c134ccd6f3f3fb
      
https://github.com/qemu/qemu/commit/3d1c7a9782d19052505aabc8f2c134ccd6f3f3fb
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c

  Log Message:
  -----------
  failover: qdev_device_add() returns err or dev set

Never both.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-8-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: e2bde83e23d3cfc1d90911c74500fd2e3b0b04fa
      
https://github.com/qemu/qemu/commit/e2bde83e23d3cfc1d90911c74500fd2e3b0b04fa
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c
    M include/hw/virtio/virtio-net.h

  Log Message:
  -----------
  failover: Rename bool to failover_primary_hidden

You should not use passive naming variables.
And once there, be able to search for them.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-9-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 518eda9fda49da910d47f5baf66a1c0d1d30cebd
      
https://github.com/qemu/qemu/commit/518eda9fda49da910d47f5baf66a1c0d1d30cebd
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c

  Log Message:
  -----------
  failover: g_strcmp0() knows how to handle NULL

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-10-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 19e49bc2e984bd065719fc3595f35368b3ae87cd
      
https://github.com/qemu/qemu/commit/19e49bc2e984bd065719fc3595f35368b3ae87cd
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c
    M include/hw/virtio/virtio-net.h

  Log Message:
  -----------
  failover: Remove primary_device_opts

It was really only used once, in failover_add_primary().  Just search
for it on global opts when it is needed.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-11-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 4f0303aed87f83715055e558176046a8a3d9b987
      
https://github.com/qemu/qemu/commit/4f0303aed87f83715055e558176046a8a3d9b987
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c
    M include/hw/virtio/virtio-net.h

  Log Message:
  -----------
  failover: remove standby_id variable

We can calculate it, and we only use it once anyways.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-12-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 9673a88e97d1eb428872bd261dbf56a0f3c2fd71
      
https://github.com/qemu/qemu/commit/9673a88e97d1eb428872bd261dbf56a0f3c2fd71
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c
    M include/hw/virtio/virtio-net.h

  Log Message:
  -----------
  failover: Remove primary_device_dict

It was only used once.  And we have there opts->id, so no need for it.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-13-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 7b3dc2f8c0b817bbe78ba347130b3c99fe2c4470
      
https://github.com/qemu/qemu/commit/7b3dc2f8c0b817bbe78ba347130b3c99fe2c4470
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c

  Log Message:
  -----------
  failover: Remove memory leak

Two things, at this point:

* n->primary_device_id has to be set, otherwise
  virtio_net_find_primary don't work.  So we have a leak here.

* it has to be exactly the same that prim_dev->id because what
  qdev_find_recursive() does is just compare this two values.

So remove the unneeded assignment and leaky bits.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-14-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 7cf05b7ed8e84e89b873701e3dfcd56aa81b2d13
      
https://github.com/qemu/qemu/commit/7cf05b7ed8e84e89b873701e3dfcd56aa81b2d13
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c

  Log Message:
  -----------
  failover: simplify virtio_net_find_primary()

a - is_my_primary() never sets one error
b - If we return 1, primary_device_id is always set

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-15-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 89631fed27bd76b0292d8b2a78291ea96185c87d
      
https://github.com/qemu/qemu/commit/89631fed27bd76b0292d8b2a78291ea96185c87d
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/core/qdev.c
    M hw/net/virtio-net.c
    M include/hw/qdev-core.h

  Log Message:
  -----------
  failover: should_be_hidden() should take a bool

We didn't use at all the -1 value, and we don't really care.  It was
only used for the cases when this is not the device that we are
searching for.  And in that case we should not hide the device.

Once there, simplify virtio-Snet_primary_should_be_hidden.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-16-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: b91ad981b867e15171234efc3f2ab4074d377cef
      
https://github.com/qemu/qemu/commit/b91ad981b867e15171234efc3f2ab4074d377cef
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/core/qdev.c
    M hw/net/virtio-net.c
    M include/hw/qdev-core.h

  Log Message:
  -----------
  failover: Rename function to hide_device()

You should not use pasive.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-17-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 0763db4f2df3a92336d78e8b68a665f7d1a1bc66
      
https://github.com/qemu/qemu/commit/0763db4f2df3a92336d78e8b68a665f7d1a1bc66
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c

  Log Message:
  -----------
  failover: virtio_net_connect_failover_devices() does nothing

It just calls virtio_net_find_primary(), so just update the callers.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-18-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 85d3b93196e43c4493c118aa9e3a82fe657636b5
      
https://github.com/qemu/qemu/commit/85d3b93196e43c4493c118aa9e3a82fe657636b5
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c

  Log Message:
  -----------
  failover: Rename to failover_find_primary_device()

This commit:
* Rename them to failover_find_primary_devices() so
  - it starts with failover_
  - it don't connect anything, just find the primary device
* Create documentation for the function

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-19-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 5f2ef3b0d032797b6bad9449dfece3a8111a8529
      
https://github.com/qemu/qemu/commit/5f2ef3b0d032797b6bad9449dfece3a8111a8529
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M softmmu/qdev-monitor.c

  Log Message:
  -----------
  failover: simplify qdev_device_add() failover case

Just put allthe logic inside the same if.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-20-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 2e28095369f4eab516852fd49dde17c3bfd782f9
      
https://github.com/qemu/qemu/commit/2e28095369f4eab516852fd49dde17c3bfd782f9
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M softmmu/qdev-monitor.c

  Log Message:
  -----------
  failover: simplify qdev_device_add()

We don't need to walk the opts by hand.  qmp_opt_get() already does
that.  And then we can remove the functions that did that walk.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-21-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: fec037c1e2da0a7ea54eabce65cc14d461fdc5eb
      
https://github.com/qemu/qemu/commit/fec037c1e2da0a7ea54eabce65cc14d461fdc5eb
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c
    M softmmu/qdev-monitor.c

  Log Message:
  -----------
  failover: make sure that id always exist

We check that it exist at device creation time, so we don't have to
check anywhere else.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-22-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 0a0a27d66bcb275e5b984d8758880a7eff75464e
      
https://github.com/qemu/qemu/commit/0a0a27d66bcb275e5b984d8758880a7eff75464e
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c

  Log Message:
  -----------
  failover: remove failover_find_primary_device() error parameter

It can never give one error.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-23-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: f5e1847ba50a8d1adf66c0cf312e53c162e52487
      
https://github.com/qemu/qemu/commit/f5e1847ba50a8d1adf66c0cf312e53c162e52487
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c

  Log Message:
  -----------
  failover: split failover_find_primary_device_id()

So we can calculate the device id when we need it.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-24-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 3abad4a221e050d43fa8540677b285057642baaf
      
https://github.com/qemu/qemu/commit/3abad4a221e050d43fa8540677b285057642baaf
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c
    M include/hw/virtio/virtio-net.h

  Log Message:
  -----------
  failover: We don't need to cache primary_device_id anymore

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-25-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 0e9a65c5b168b993b845ec2acb2568328c2353da
      
https://github.com/qemu/qemu/commit/0e9a65c5b168b993b845ec2acb2568328c2353da
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c

  Log Message:
  -----------
  failover: Caller of this two functions already have primary_dev

Pass it as an argument.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-26-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 07a5d816d50f5f876d5fcd43724a6ff17cf59a4f
      
https://github.com/qemu/qemu/commit/07a5d816d50f5f876d5fcd43724a6ff17cf59a4f
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c

  Log Message:
  -----------
  failover: simplify failover_unplug_primary

We can calculate device just once.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-27-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 21e8709b29cd981c74565e75276ed476c954cbbf
      
https://github.com/qemu/qemu/commit/21e8709b29cd981c74565e75276ed476c954cbbf
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/net/virtio-net.c
    M include/hw/virtio/virtio-net.h

  Log Message:
  -----------
  failover: Remove primary_dev member

Only three uses remained, and we can remove them on that case.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-28-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 576a00bdeb5bf93275e1d8e923d71daa80935f21
      
https://github.com/qemu/qemu/commit/576a00bdeb5bf93275e1d8e923d71daa80935f21
  Author: Cornelia Huck <cohuck@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M hw/arm/virt.c
    M hw/core/machine.c
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/ppc/spapr.c
    M hw/s390x/s390-virtio-ccw.c
    M include/hw/boards.h
    M include/hw/i386/pc.h

  Log Message:
  -----------
  hw: add compat machines for 6.0

Add 6.0 machine types for arm/i440fx/q35/s390x/spapr.

Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20201109173928.1001764-1-cohuck@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 0ca293155b7bada98afdb250b74577fd5895f0bb
      
https://github.com/qemu/qemu/commit/0ca293155b7bada98afdb250b74577fd5895f0bb
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M contrib/libvhost-user/libvhost-user.c

  Log Message:
  -----------
  libvhost-user: replace qemu/bswap.h with glibc endian.h

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20201125100640.366523-2-marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 810033be083040591fee2fc09f2f294670ed1930
      
https://github.com/qemu/qemu/commit/810033be083040591fee2fc09f2f294670ed1930
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M contrib/libvhost-user/libvhost-user.c

  Log Message:
  -----------
  libvhost-user: replace qemu/memfd.h usage

Undo the damage from commit 5f9ff1eff3 ("libvhost-user: Support tracking
inflight I/O in shared memory") which introduced glib dependency through
osdep.h inclusion.

libvhost-user.c tries to stay free from glib usage.

Use glibc memfd_create directly when available (assumed so when
MFD_ALLOW_SEALING is defined). A following commit will make the project
standalone and check for memfd API at configure time, instead of a
panic at runtime.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20201125100640.366523-3-marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 7fa1d61695d92661c4800a7ee727ab7ae15a170b
      
https://github.com/qemu/qemu/commit/7fa1d61695d92661c4800a7ee727ab7ae15a170b
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M contrib/libvhost-user/libvhost-user.c

  Log Message:
  -----------
  libvhost-user: remove qemu/compiler.h usage

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20201125100640.366523-4-marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 3d22bd27acd93281354b10c6bf787b720685eb80
      
https://github.com/qemu/qemu/commit/3d22bd27acd93281354b10c6bf787b720685eb80
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M contrib/libvhost-user/libvhost-user-glib.c

  Log Message:
  -----------
  libvhost-user: drop qemu/osdep.h dependency

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20201125100640.366523-5-marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 0df750e9d3a5fea5e19f4750582121c9293a9d71
      
https://github.com/qemu/qemu/commit/0df750e9d3a5fea5e19f4750582121c9293a9d71
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M block/export/vhost-user-blk-server.c
    R contrib/libvhost-user/libvhost-user-glib.c
    R contrib/libvhost-user/libvhost-user-glib.h
    R contrib/libvhost-user/libvhost-user.c
    R contrib/libvhost-user/libvhost-user.h
    R contrib/libvhost-user/meson.build
    M contrib/vhost-user-blk/meson.build
    M contrib/vhost-user-blk/vhost-user-blk.c
    M contrib/vhost-user-gpu/meson.build
    M contrib/vhost-user-gpu/vugpu.h
    M contrib/vhost-user-input/main.c
    M contrib/vhost-user-input/meson.build
    M contrib/vhost-user-scsi/meson.build
    M contrib/vhost-user-scsi/vhost-user-scsi.c
    M include/qemu/vhost-user-server.h
    M meson.build
    A subprojects/libvhost-user/libvhost-user-glib.c
    A subprojects/libvhost-user/libvhost-user-glib.h
    A subprojects/libvhost-user/libvhost-user.c
    A subprojects/libvhost-user/libvhost-user.h
    A subprojects/libvhost-user/meson.build
    M tests/meson.build
    M tests/vhost-user-bridge.c
    M tools/virtiofsd/fuse_virtio.c
    M tools/virtiofsd/meson.build

  Log Message:
  -----------
  libvhost-user: make it a meson subproject

By making libvhost-user a subproject, check it builds
standalone (without the global QEMU cflags etc).

Note that the library still relies on QEMU include/qemu/atomic.h and
linux_headers/.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20201125100640.366523-6-marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: e0193568daf1785772c9d97a9825c401d463865f
      
https://github.com/qemu/qemu/commit/e0193568daf1785772c9d97a9825c401d463865f
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    A subprojects/libvhost-user/link-test.c
    M subprojects/libvhost-user/meson.build

  Log Message:
  -----------
  libvhost-user: add a simple link test without glib

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20201125100640.366523-8-marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: c4698e360cf9e29fdbd37d0bd0c248fe2e6d3c3b
      
https://github.com/qemu/qemu/commit/c4698e360cf9e29fdbd37d0bd0c248fe2e6d3c3b
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M .gitlab-ci.yml

  Log Message:
  -----------
  .gitlab-ci: add build-libvhost-user

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20201125100640.366523-9-marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: acb1f3c248a83fb66d705068ed7d098b898632b1
      
https://github.com/qemu/qemu/commit/acb1f3c248a83fb66d705068ed7d098b898632b1
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M contrib/vhost-user-blk/vhost-user-blk.c

  Log Message:
  -----------
  contrib/vhost-user-blk: avoid g_return_val_if() input validation

Do not validate input with g_return_val_if(). This API is intended for
checking programming errors and is compiled out with -DG_DISABLE_CHECKS.

Use an explicit if statement for input validation so it cannot
accidentally be compiled out.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20201118091644.199527-2-stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: fa77464ffe14be9532b861b33f57f5c1d63a4824
      
https://github.com/qemu/qemu/commit/fa77464ffe14be9532b861b33f57f5c1d63a4824
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M contrib/vhost-user-gpu/vhost-user-gpu.c

  Log Message:
  -----------
  contrib/vhost-user-gpu: avoid g_return_val_if() input validation

Do not validate input with g_return_val_if(). This API is intended for
checking programming errors and is compiled out with -DG_DISABLE_CHECKS.

Use an explicit if statement for input validation so it cannot
accidentally be compiled out.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20201118091644.199527-3-stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: a606169aca0f086d3835996ca74e2b7b87cd9df5
      
https://github.com/qemu/qemu/commit/a606169aca0f086d3835996ca74e2b7b87cd9df5
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M contrib/vhost-user-input/main.c

  Log Message:
  -----------
  contrib/vhost-user-input: avoid g_return_val_if() input validation

Do not validate input with g_return_val_if(). This API is intended for
checking programming errors and is compiled out with -DG_DISABLE_CHECKS.

Use an explicit if statement for input validation so it cannot
accidentally be compiled out.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20201118091644.199527-4-stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 552c2c4c101335e67ac8ae8ab022d88a8795f2ac
      
https://github.com/qemu/qemu/commit/552c2c4c101335e67ac8ae8ab022d88a8795f2ac
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M block/export/vhost-user-blk-server.c

  Log Message:
  -----------
  block/export: avoid g_return_val_if() input validation

Do not validate input with g_return_val_if(). This API is intended for
checking programming errors and is compiled out with -DG_DISABLE_CHECKS.

Use an explicit if statement for input validation so it cannot
accidentally be compiled out.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20201118091644.199527-5-stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 0657c657eb37bb48bfd9fe3ae8a323ae3455f47b
      
https://github.com/qemu/qemu/commit/0657c657eb37bb48bfd9fe3ae8a323ae3455f47b
  Author: Erich-McMillan <erich.mcmillan@hp.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M hw/i386/pc.c
    M hw/i386/pc_sysfw.c
    M include/hw/i386/pc.h

  Log Message:
  -----------
  hw/i386/pc: add max combined fw size as machine configuration option

At Hewlett Packard Inc. we have a need for increased fw size to enable testing 
of our custom fw.

Rebase v6 patch to d73c46e4

Signed-off-by: Erich McMillan <erich.mcmillan@hp.com>
Message-Id: <20201208155338.14-1-erich.mcmillan@hp.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 1e6107d901ca3cb31ee3dbf3d55b1778682f0979
      
https://github.com/qemu/qemu/commit/1e6107d901ca3cb31ee3dbf3d55b1778682f0979
  Author: Igor Mammedov <imammedo@redhat.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M docs/specs/acpi_cpu_hotplug.txt
    M hw/acpi/cpu.c
    M hw/acpi/trace-events
    M include/hw/acpi/cpu.h

  Log Message:
  -----------
  acpi: cpuhp: introduce 'firmware performs eject' status/control bits

Adds bit #4 to status/control field of CPU hotplug MMIO interface.
New bit will be used OSPM to mark CPUs as pending for removal by firmware,
when it calls _EJ0 method on CPU device node. Later on, when firmware
sees this bit set, it will perform CPU eject which will clear bit #4
as well.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201207140739.3829993-3-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 892aae74306c9a5e3859c1eef6ed430e1a759bfd
      
https://github.com/qemu/qemu/commit/892aae74306c9a5e3859c1eef6ed430e1a759bfd
  Author: Igor Mammedov <imammedo@redhat.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  x86: acpi: introduce AcpiPmInfo::smi_on_cpu_unplug

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201207140739.3829993-4-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 414aa64fda6099eefebb2fb7bd4a0350b34738cc
      
https://github.com/qemu/qemu/commit/414aa64fda6099eefebb2fb7bd4a0350b34738cc
  Author: Igor Mammedov <imammedo@redhat.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M tests/qtest/bios-tables-test-allowed-diff.h

  Log Message:
  -----------
  tests/acpi: allow expected files change

Change that will be introduced by following patch:

@@ -557,6 +557,7 @@ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPCDSDT", 
0x00000001)
                 CINS,   1,
                 CRMV,   1,
                 CEJ0,   1,
+                CEJF,   1,
                 Offset (0x05),
                 CCMD,   8
             }

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201207140739.3829993-5-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 69dea9d6b3d1070ee49498a18c9bee5b60d00619
      
https://github.com/qemu/qemu/commit/69dea9d6b3d1070ee49498a18c9bee5b60d00619
  Author: Igor Mammedov <imammedo@redhat.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M hw/acpi/cpu.c
    M hw/i386/acpi-build.c
    M include/hw/acpi/cpu.h

  Log Message:
  -----------
  x86: acpi: let the firmware handle pending "CPU remove" events in SMM

if firmware and QEMU negotiated CPU hotunplug support, generate
_EJ0 method so that it will mark CPU for removal by firmware and
pass control to it by triggering SMI.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201207140739.3829993-6-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: e2487e4028d76276eb63a450e27a059793a5ebf4
      
https://github.com/qemu/qemu/commit/e2487e4028d76276eb63a450e27a059793a5ebf4
  Author: Igor Mammedov <imammedo@redhat.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M tests/data/acpi/pc/DSDT
    M tests/data/acpi/pc/DSDT.acpihmat
    M tests/data/acpi/pc/DSDT.bridge
    M tests/data/acpi/pc/DSDT.cphp
    M tests/data/acpi/pc/DSDT.dimmpxm
    M tests/data/acpi/pc/DSDT.hpbridge
    M tests/data/acpi/pc/DSDT.hpbrroot
    M tests/data/acpi/pc/DSDT.ipmikcs
    M tests/data/acpi/pc/DSDT.memhp
    M tests/data/acpi/pc/DSDT.numamem
    M tests/data/acpi/pc/DSDT.roothp
    M tests/data/acpi/q35/DSDT
    M tests/data/acpi/q35/DSDT.acpihmat
    M tests/data/acpi/q35/DSDT.bridge
    M tests/data/acpi/q35/DSDT.cphp
    M tests/data/acpi/q35/DSDT.dimmpxm
    M tests/data/acpi/q35/DSDT.ipmibt
    M tests/data/acpi/q35/DSDT.memhp
    M tests/data/acpi/q35/DSDT.mmio64
    M tests/data/acpi/q35/DSDT.numamem
    M tests/data/acpi/q35/DSDT.tis
    M tests/qtest/bios-tables-test-allowed-diff.h

  Log Message:
  -----------
  tests/acpi: update expected files

update expected files with following change:

@@ -557,6 +557,7 @@ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPCDSDT", 
0x00000001)
                 CINS,   1,
                 CRMV,   1,
                 CEJ0,   1,
+                CEJF,   1,
                 Offset (0x05),
                 CCMD,   8
             }

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201207140739.3829993-7-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: cd89134e243405da4fccb96fd3100c7d9d7e2886
      
https://github.com/qemu/qemu/commit/cd89134e243405da4fccb96fd3100c7d9d7e2886
  Author: Igor Mammedov <imammedo@redhat.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M hw/isa/lpc_ich9.c

  Log Message:
  -----------
  x86: ich9: factor out "guest_cpu_hotplug_features"

it will be reused by next patch to check validity of unplug
feature.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201207140739.3829993-8-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 7ed3e1ebcbe542c74c32e842689af60d644fcee6
      
https://github.com/qemu/qemu/commit/7ed3e1ebcbe542c74c32e842689af60d644fcee6
  Author: Igor Mammedov <imammedo@redhat.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M hw/i386/pc.c
    M hw/isa/lpc_ich9.c

  Log Message:
  -----------
  x86: ich9: let firmware negotiate 'CPU hot-unplug with SMI' feature

Keep CPU hotunplug with SMI disabled on 5.2 and older and enable
it by default on newer machine types.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201207140739.3829993-9-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 8ad4e4519c6d0981bd511f7ad9107c16c7a94f5c
      
https://github.com/qemu/qemu/commit/8ad4e4519c6d0981bd511f7ad9107c16c7a94f5c
  Author: Zenghui Yu <yuzenghui@huawei.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M hmp-commands.hx

  Log Message:
  -----------
  pcie_aer: Fix help message of pcie_aer_inject_error command

There is an interesting typo in the help message of pcie_aer_inject_error
command. Use 'tlp' instead of 'tlb' to match the PCIe AER term.

Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Message-Id: <20201204030953.837-1-yuzenghui@huawei.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 06e97442420b03a1e0ff05e8eb554fac684ca736
      
https://github.com/qemu/qemu/commit/06e97442420b03a1e0ff05e8eb554fac684ca736
  Author: Andrew Melnychenko <andrew@daynix.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M hw/virtio/virtio-pci.c

  Log Message:
  -----------
  hw/virtio-pci Added counter for pcie capabilities offsets.

Removed hardcoded offset for ats. Added cap offset counter
for future capabilities like AER.

Signed-off-by: Andrew Melnychenko <andrew@daynix.com>
Message-Id: <20201203110713.204938-2-andrew@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: fdfa3b1d6f9edd97c807df496a0d8e9ea49240da
      
https://github.com/qemu/qemu/commit/fdfa3b1d6f9edd97c807df496a0d8e9ea49240da
  Author: Andrew Melnychenko <andrew@daynix.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M hw/virtio/virtio-pci.c
    M hw/virtio/virtio-pci.h

  Log Message:
  -----------
  hw/virtio-pci Added AER capability.

Added AER capability for virtio-pci devices.
Also added property for devices, by default AER is disabled.

Signed-off-by: Andrew Melnychenko <andrew@daynix.com>
Message-Id: <20201203110713.204938-3-andrew@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


  Commit: 5e7b204dbfae9a562fc73684986f936b97f63877
      
https://github.com/qemu/qemu/commit/5e7b204dbfae9a562fc73684986f936b97f63877
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M .gitlab-ci.yml
    M block/export/vhost-user-blk-server.c
    R contrib/libvhost-user/libvhost-user-glib.c
    R contrib/libvhost-user/libvhost-user-glib.h
    R contrib/libvhost-user/libvhost-user.c
    R contrib/libvhost-user/libvhost-user.h
    R contrib/libvhost-user/meson.build
    M contrib/vhost-user-blk/meson.build
    M contrib/vhost-user-blk/vhost-user-blk.c
    M contrib/vhost-user-gpu/meson.build
    M contrib/vhost-user-gpu/vhost-user-gpu.c
    M contrib/vhost-user-gpu/vugpu.h
    M contrib/vhost-user-input/main.c
    M contrib/vhost-user-input/meson.build
    M contrib/vhost-user-scsi/meson.build
    M contrib/vhost-user-scsi/vhost-user-scsi.c
    M docs/specs/acpi_cpu_hotplug.txt
    M hmp-commands.hx
    M hw/acpi/aml-build.c
    M hw/acpi/cpu.c
    M hw/acpi/trace-events
    M hw/arm/smmu-common.c
    M hw/arm/smmuv3.c
    M hw/arm/virt-acpi-build.c
    M hw/arm/virt.c
    M hw/core/machine.c
    M hw/core/qdev.c
    M hw/i386/acpi-build.c
    M hw/i386/intel_iommu.c
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/i386/pc_sysfw.c
    M hw/isa/lpc_ich9.c
    M hw/misc/tz-mpc.c
    M hw/net/virtio-net.c
    M hw/nvram/fw_cfg.c
    M hw/pci-host/gpex-acpi.c
    M hw/ppc/spapr.c
    M hw/ppc/spapr_iommu.c
    M hw/s390x/s390-pci-inst.c
    M hw/s390x/s390-virtio-ccw.c
    M hw/virtio/vhost.c
    M hw/virtio/virtio-iommu.c
    M hw/virtio/virtio-pci.c
    M hw/virtio/virtio-pci.h
    M hw/virtio/virtio.c
    M include/exec/memory.h
    M include/hw/acpi/aml-build.h
    M include/hw/acpi/cpu.h
    M include/hw/arm/virt.h
    M include/hw/boards.h
    M include/hw/i386/pc.h
    M include/hw/nvram/fw_cfg.h
    M include/hw/pci-host/gpex.h
    M include/hw/qdev-core.h
    M include/hw/virtio/virtio-net.h
    M include/qemu/vhost-user-server.h
    M meson.build
    M softmmu/memory.c
    M softmmu/qdev-monitor.c
    A subprojects/libvhost-user/libvhost-user-glib.c
    A subprojects/libvhost-user/libvhost-user-glib.h
    A subprojects/libvhost-user/libvhost-user.c
    A subprojects/libvhost-user/libvhost-user.h
    A subprojects/libvhost-user/link-test.c
    A subprojects/libvhost-user/meson.build
    M tests/data/acpi/pc/DSDT
    M tests/data/acpi/pc/DSDT.acpihmat
    M tests/data/acpi/pc/DSDT.bridge
    M tests/data/acpi/pc/DSDT.cphp
    M tests/data/acpi/pc/DSDT.dimmpxm
    M tests/data/acpi/pc/DSDT.hpbridge
    M tests/data/acpi/pc/DSDT.hpbrroot
    M tests/data/acpi/pc/DSDT.ipmikcs
    M tests/data/acpi/pc/DSDT.memhp
    M tests/data/acpi/pc/DSDT.numamem
    M tests/data/acpi/pc/DSDT.roothp
    M tests/data/acpi/q35/DSDT
    M tests/data/acpi/q35/DSDT.acpihmat
    M tests/data/acpi/q35/DSDT.bridge
    M tests/data/acpi/q35/DSDT.cphp
    M tests/data/acpi/q35/DSDT.dimmpxm
    M tests/data/acpi/q35/DSDT.ipmibt
    M tests/data/acpi/q35/DSDT.memhp
    M tests/data/acpi/q35/DSDT.mmio64
    M tests/data/acpi/q35/DSDT.numamem
    M tests/data/acpi/q35/DSDT.tis
    A tests/data/acpi/virt/DSDT.pxb
    M tests/meson.build
    M tests/qtest/bios-tables-test.c
    M tests/vhost-user-bridge.c
    M tools/virtiofsd/fuse_virtio.c
    M tools/virtiofsd/meson.build

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging

pc,pci,virtio: fixes, cleanups

Lots of fixes, cleanups.
CPU hot-unplug improvements.
A new AER property for virtio devices, adding a dummy AER capability.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

# gpg: Signature made Wed 09 Dec 2020 18:04:28 GMT
# gpg:                using RSA key 5D09FD0871C8F85B94CA8A0D281F0DB8D28D5469
# gpg:                issuer "mst@redhat.com"
# gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>" [full]
# gpg:                 aka "Michael S. Tsirkin <mst@redhat.com>" [full]
# Primary key fingerprint: 0270 606B 6F3C DF3D 0B17  0970 C350 3912 AFBE 8E67
#      Subkey fingerprint: 5D09 FD08 71C8 F85B 94CA  8A0D 281F 0DB8 D28D 5469

* remotes/mst/tags/for_upstream: (65 commits)
  hw/virtio-pci Added AER capability.
  hw/virtio-pci Added counter for pcie capabilities offsets.
  pcie_aer: Fix help message of pcie_aer_inject_error command
  x86: ich9: let firmware negotiate 'CPU hot-unplug with SMI' feature
  x86: ich9: factor out "guest_cpu_hotplug_features"
  tests/acpi: update expected files
  x86: acpi: let the firmware handle pending "CPU remove" events in SMM
  tests/acpi: allow expected files change
  x86: acpi: introduce AcpiPmInfo::smi_on_cpu_unplug
  acpi: cpuhp: introduce 'firmware performs eject' status/control bits
  hw/i386/pc: add max combined fw size as machine configuration option
  block/export: avoid g_return_val_if() input validation
  contrib/vhost-user-input: avoid g_return_val_if() input validation
  contrib/vhost-user-gpu: avoid g_return_val_if() input validation
  contrib/vhost-user-blk: avoid g_return_val_if() input validation
  .gitlab-ci: add build-libvhost-user
  libvhost-user: add a simple link test without glib
  libvhost-user: make it a meson subproject
  libvhost-user: drop qemu/osdep.h dependency
  libvhost-user: remove qemu/compiler.h usage
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/28db503fd7a7...5e7b204dbfae



reply via email to

[Prev in Thread] Current Thread [Next in Thread]