[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PULL 20/73] pseries: Remove unused callbacks from sPAPR VIO
From: |
David Gibson |
Subject: |
[Qemu-ppc] [PULL 20/73] pseries: Remove unused callbacks from sPAPR VIO bus state |
Date: |
Fri, 28 Oct 2016 12:37:21 +1100 |
The original QOMification of the spapr VIO devices in 3954d33 "spapr:
convert to QEMU Object Model (v2)" moved some callbacks from the
VIOsPAPRBus structure to the VIOsPAPRDeviceClass. Except, that it
forgot to actually remove them from the VIOsPAPRBus structure (which
still exists, though it doesn't fulfill quite the same function as it
did pre-QOM).
This patch removes those now unused callback fields.
Signed-off-by: David Gibson <address@hidden>
Reviewed-by: Alexey Kardashevskiy <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
---
include/hw/ppc/spapr_vio.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/hw/ppc/spapr_vio.h b/include/hw/ppc/spapr_vio.h
index 40d0e5f..0b025fd 100644
--- a/include/hw/ppc/spapr_vio.h
+++ b/include/hw/ppc/spapr_vio.h
@@ -76,8 +76,6 @@ struct VIOsPAPRDevice {
struct VIOsPAPRBus {
BusState bus;
uint32_t next_reg;
- int (*init)(VIOsPAPRDevice *dev);
- int (*devnode)(VIOsPAPRDevice *dev, void *fdt, int node_off);
};
extern VIOsPAPRBus *spapr_vio_bus_init(void);
--
2.7.4
- [Qemu-ppc] [PULL 19/73] ppc: fix MSR_ME handling for system reset interrupt, (continued)
- [Qemu-ppc] [PULL 19/73] ppc: fix MSR_ME handling for system reset interrupt, David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 09/73] spapr_pci: advertise explicit numa IDs even when there's 1 node, David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 08/73] tests: enable virtio tests on SPAPR, David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 24/73] ppc/pnv: add skeleton PowerNV platform, David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 26/73] ppc/pnv: add a core mask to PnvChip, David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 10/73] nvram: Introduce helper functions for CHRP "system" and "free space" partitions, David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 06/73] tests: rename target_big_endian() as qvirtio_is_big_endian(), David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 15/73] target-ppc: implement xxbr[qdwh] instruction, David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 13/73] nvram: Rename openbios_firmware_abi.h into sun_nvram.h, David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 12/73] nvram: Move the remaining CHRP NVRAM related code to chrp_nvram.[ch], David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 20/73] pseries: Remove unused callbacks from sPAPR VIO bus state,
David Gibson <=
- [Qemu-ppc] [PULL 27/73] ppc/pnv: add a PIR handler to PnvChip, David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 18/73] ppc/xics: change the icp_ routines API to use an 'ICPState *' argument, David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 17/73] ppc/xics: add a XICSState backlink in ICPState, David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 07/73] tests: use qtest_pc_boot()/qtest_shutdown() in virtio tests, David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 23/73] configure, ppc64: Copy skiboot.lid to build directory when configuring, David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 34/73] pseries: Split device tree construction from device tree load, David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 40/73] pseries: Consolidate construction of /chosen device tree node, David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 25/73] ppc/pnv: add a PnvChip object, David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 38/73] pseries: Consolidate RTAS loading, David Gibson, 2016/10/27
- [Qemu-ppc] [PULL 46/73] spapr_ovec: initial implementation of option vector helpers, David Gibson, 2016/10/27