Unregister savevm callback in eeprom93xx_free()
PATCH 1/1 Unregister savevm callback in eeprom93xx_free()
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 <[email protected]>
--- hw/eeprom93xx.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
hw/eeprom93xx.c +1 -0
@@ -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); }
Signature · 1 line
1.6.2.2