mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
Revert "spapr: fix memory hot-unplugging"
This reverts commit fe6824d126
.
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>
This commit is contained in:
parent
b1fd36c363
commit
593080936a
2 changed files with 3 additions and 18 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue