aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2017-06-08 19:27:43 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2017-06-09 12:35:46 +1000
commit593080936a06a04eacc589350e3a7ebc02f2ed8e (patch)
tree3df21d93af35f33f5a6c41cad49cc093ad65c71d /include/hw
parentb1fd36c363d73969841468146ebfb9fd84a5ee52 (diff)
downloadqemu-593080936a06a04eacc589350e3a7ebc02f2ed8e.zip
qemu-593080936a06a04eacc589350e3a7ebc02f2ed8e.tar.gz
qemu-593080936a06a04eacc589350e3a7ebc02f2ed8e.tar.bz2
Revert "spapr: fix memory hot-unplugging"
This reverts commit fe6824d12642b005c69123ecf8631f9b13553f8b. Conflicts hw/ppc/spapr_drc.c, because get_index() has been renamed spapr_get_index(). This didn't fix the problem. Once the hotplug has been started some memory is allocated and some structures are allocated. We don't free it when we ignore the unplug, and we can't because they can be in use by the kernel. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Tested-by: Daniel Barboza <danielhb@linux.vnet.ibm.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/ppc/spapr_drc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/ppc/spapr_drc.h b/include/hw/ppc/spapr_drc.h
index c487123..bc9f988 100644
--- a/include/hw/ppc/spapr_drc.h
+++ b/include/hw/ppc/spapr_drc.h
@@ -201,7 +201,6 @@ typedef struct sPAPRDRConnector {
bool awaiting_release;
bool signalled;
bool awaiting_allocation;
- bool awaiting_allocation_skippable;
/* device pointer, via link property */
DeviceState *dev;