virtio, pc, pci: fixes, cleanups, tests
The following changes since commit a2a9d4adabe340617a24eb73a8b2a116d28a6b38:
Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-4.1-20190712' into staging (2019-07-12 11:06:48 +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 207efa18ac9eb7085a44cad24489d0da54bc5f65:
virtio pmem: remove transitional names (2019-07-12 10:57:27 -0400)
----------------------------------------------------------------
virtio, pc, pci: fixes, cleanups, tests
A bunch of fixes all over the place. ACPI tests will now run on more systems: might introduce new failure reports but that's for the best, isn't it?
----------------------------------------------------------------
Igor Mammedov (2):
tests: acpi: do not require IASL for dumping AML blobs
tests: acpi: do not skip tests when IASL is not installed
Michael S. Tsirkin (2):
xio3130_downstream: typo fix
pcie: consistent names for function args
Pankaj Gupta (3):
virtio pmem: fix wrong mem region condition virtio pmem: remove memdev null check virtio pmem: remove transitional names
Stefan Hajnoczi (1):
virtio-balloon: fix QEMU 4.0 config size migration incompatibility
include/hw/pci/pcie.h | 4 ++-- include/hw/virtio/virtio-balloon.h | 2 ++ hw/core/machine.c | 2 ++ hw/pci-bridge/xio3130_downstream.c | 2 +- hw/virtio/virtio-balloon.c | 28 +++++++++++++++++++++++++--- hw/virtio/virtio-pmem-pci.c | 4 +--- hw/virtio/virtio-pmem.c | 4 ++-- tests/bios-tables-test.c | 23 +++++++++++++++++------ 8 files changed, 52 insertions(+), 17 deletions(-)
[Qemu-devel] [PULL 1/8] xio3130_downstream: typo fix
slt ctl/status are passed in incorrect order.
Fix this up.
--- hw/pci-bridge/xio3130_downstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/pci-bridge/xio3130_downstream.c +1 -1
@@ -43,7 +43,7 @@ static void xio3130_downstream_write_config(PCIDevice *d, uint32_t address, {uint16_t slt_ctl, slt_sta; -pcie_cap_slot_get (d, &slt_sta, &slt_ctl); +pcie_cap_slot_get (d, &slt_ctl, &slt_sta);pci_bridge_write_config (d, address, val, len);pcie_cap_flr_write_config (d, address, val, len);pcie_cap_slot_write_config (d, slt_ctl, slt_sta, address, val, len);
Signature · 1 line
MST
[Qemu-devel] [PULL 2/8] pcie: consistent names for function args
In reply to Michael S. TsirkinThe function declarations for pci_cap_slot_get and pci_cap_slot_write_config call the argument "slot_ctl", but the function definitions and all the call sites drop the 'o' and call it "slt_ctl". Let's be consistent.
--- include/hw/pci/pcie.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/hw/pci/pcie.h +2 -2
@@ -107,9 +107,9 @@ void pcie_cap_lnkctl_reset(PCIDevice *dev);void pcie_cap_slot_init (PCIDevice *dev,uint16_t slot);void pcie_cap_slot_reset (PCIDevice *dev); -void pcie_cap_slot_get (PCIDevice *dev,uint16_t *slot_ctl,uint16_t *slt_sta); +void pcie_cap_slot_get (PCIDevice *dev,uint16_t *slt_ctl,uint16_t *slt_sta);void pcie_cap_slot_write_config (PCIDevice *dev, -uint16_t old_slot_ctl,uint16_t old_slt_sta, +uint16_t old_slt_ctl,uint16_t old_slt_sta,uint32_t addr,uint32_t val,int len);int pcie_cap_slot_post_load (void *opaque,int version_id);void pcie_cap_slot_push_attention_button (PCIDevice *dev);
Signature · 1 line
MST
Peter Maydell
AppliedQuoted 16 lines · Michael S. Tsirkin
The following changes since commit
a2a9d4adabe340617a24eb73a8b2a116d28a6b38:Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-4.1-20190712' into staging (2019-07-12 11:06:48 +0100)
are available in the Git repository at:
git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.gittags/for_upstreamfor you to fetch changes up to
207efa18ac9eb7085a44cad24489d0da54bc5f65:virtio pmem: remove transitional names (2019-07-12 10:57:27 -0400)
----------------------------------------------------------------
virtio, pc, pci: fixes, cleanups, tests
Quoted 7 lines
A bunch of fixes all over the place. ACPI tests will now run on more systems: might introduce new failure reports but that's for the best, isn't it?
Signed-off-by Michael S. Tsirkin <[email protected]>
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/4.1
for any user-visible changes.
-- PMM