]> git.proxmox.com Git - mirror_qemu.git/commit
tests/libqos: rename qpci_init_pc and qpci_init_spapr functions
authorEmanuele Giuseppe Esposito <e.emanuelegiuseppe@gmail.com>
Thu, 19 Jul 2018 11:50:27 +0000 (13:50 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Mar 2019 15:50:04 +0000 (16:50 +0100)
commit143e6db6fa4ecd2a85de740cc3754aeb86d1e802
tree1c69142d63ac3924ea79347a586361c4cb95be53
parent34c977489dd85e3528b0e5c3a02157c834560efa
tests/libqos: rename qpci_init_pc and qpci_init_spapr functions

Rename qpci_init_pc in qpci_pc_new and qpci_init_spapr in qpci_spapr_new,
since these function actually allocate a new pci struct and initialize it
(compare to object_new and object_initialize).
Changed QOSOps field name from qpci_init to qpci_new.

Signed-off-by: Emanuele Giuseppe Esposito <e.emanuelegiuseppe@gmail.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
18 files changed:
tests/e1000e-test.c
tests/i440fx-test.c
tests/ide-test.c
tests/libqos/ahci.c
tests/libqos/libqos-pc.c
tests/libqos/libqos-spapr.c
tests/libqos/libqos.c
tests/libqos/libqos.h
tests/libqos/pci-pc.c
tests/libqos/pci-pc.h
tests/libqos/pci-spapr.c
tests/libqos/pci-spapr.h
tests/q35-test.c
tests/rtl8139-test.c
tests/sdhci-test.c
tests/tco-test.c
tests/usb-hcd-ehci-test.c
tests/vhost-user-test.c