OSDN Git Service

migration: Use vmstate_register_any() for eeprom93xx
authorJuan Quintela <quintela@redhat.com>
Fri, 20 Oct 2023 09:07:30 +0000 (11:07 +0200)
committerJuan Quintela <quintela@redhat.com>
Wed, 1 Nov 2023 15:13:58 +0000 (16:13 +0100)
commit7769fb81efeda6546f4c0fe3324bde91443aabec
tree40f7955175fb95a3cb397a064ab30ef6e1ab7927
parenta9500913ab96f59eb8f7e5fc79f80d5d66842102
migration: Use vmstate_register_any() for eeprom93xx

We can have more than one eeprom93xx.
For instance:

e100_nic_realize() -> eeprom93xx_new()

Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231020090731.28701-13-quintela@redhat.com>
hw/nvram/eeprom93xx.c