* [Qemu-devel] [PATCH] Unregister savevm callback in eeprom93xx_free()
@ 2009-07-01 22:06 Mark McLoughlin
0 siblings, 0 replies; only message in thread
From: Mark McLoughlin @ 2009-07-01 22:06 UTC (permalink / raw)
To: qemu-devel
Otherwise if you hot remove an eepro100 NIC and then migrate,
you get:
Unknown savevm section or instance 'eeprom' 0
on the destination side.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
---
hw/eeprom93xx.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/eeprom93xx.c b/hw/eeprom93xx.c
index f91b0c9..cf778b7 100644
--- a/hw/eeprom93xx.c
+++ b/hw/eeprom93xx.c
@@ -329,6 +329,7 @@ void eeprom93xx_free(eeprom_t *eeprom)
{
/* Destroy EEPROM. */
logout("eeprom = 0x%p\n", eeprom);
+ unregister_savevm("eeprom", eeprom);
qemu_free(eeprom);
}
--
1.6.2.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-07-01 22:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-01 22:06 [Qemu-devel] [PATCH] Unregister savevm callback in eeprom93xx_free() Mark McLoughlin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).