projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae50b27
)
Unregister savevm callback in eeprom93xx_free()
author
Mark McLoughlin
<markmc@redhat.com>
Wed, 1 Jul 2009 22:06:19 +0000
(23:06 +0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Thu, 9 Jul 2009 21:58:08 +0000
(16:58 -0500)
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>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/eeprom93xx.c
patch
|
blob
|
history
diff --git
a/hw/eeprom93xx.c
b/hw/eeprom93xx.c
index f91b0c99c0ec0c0f4ecc5e4bd077e16321f32096..cf778b74102a9cd9e4b943f0c0362b461859945a 100644
(file)
--- 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);
}