qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 391354f] Unregister savevm callback in eeprom93xx


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 391354f] Unregister savevm callback in eeprom93xx_free()
Date: Fri, 10 Jul 2009 19:16:42 -0000

From: Mark McLoughlin <address@hidden>

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 <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

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);
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]