Unregister savevm callback in eeprom93xx_free()
commit391354f126afde449d679db67a7c6b64afdca0f9
authorMark McLoughlin <markmc@redhat.com>
Wed, 1 Jul 2009 22:06:19 +0000 (1 23:06 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 9 Jul 2009 21:58:08 +0000 (9 16:58 -0500)
tree1e1efb29f31611ef38ec8e49da4dbf81fe8981f4
parentae50b2747f77944faa79eb914272b54eb30b63b3
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 <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/eeprom93xx.c