From a83000f5e3fac30a7f213af1ba6a8f827622854d Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Thu, 18 Jul 2013 14:32:58 -0500 Subject: spapr-tce: make sPAPRTCETable a proper device Model TCE tables as a device that's hooked up as a child object to the owner. Besides the code cleanup, we get a few nice benefits: 1) free actually works now (it was dead code before) 2) the TCE information is visible in the device tree 3) we can expose table information as properties such that if we change the window_size, we can use globals to keep migration working. Signed-off-by: David Gibson Signed-off-by: Anthony Liguori Signed-off-by: Alexey Kardashevskiy Message-id: 1374175984-8930-6-git-send-email-aliguori@us.ibm.com [dwg: pseries: savevm support for PAPR TCE tables] Signed-off-by: Alexey Kardashevskiy [alexey: ppc kvm: fix to compile] Signed-off-by: Anthony Liguori --- hw/ppc/spapr.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'hw/ppc/spapr.c') diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index 48ae09283d..e340708371 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -848,9 +848,6 @@ static void ppc_spapr_init(QEMUMachineInitArgs *args) /* Set up EPOW events infrastructure */ spapr_events_init(spapr); - /* Set up IOMMU */ - spapr_iommu_init(); - /* Set up VIO bus */ spapr->vio_bus = spapr_vio_bus_init(); -- cgit v1.2.1