diff options
| author | Alex Williamson <alex.williamson@redhat.com> | 2010-06-25 11:09:14 -0600 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-07-06 10:36:28 -0500 |
| commit | 7685ee6abcb939104801f84b3fe9645412528088 (patch) | |
| tree | e9e0d68ba279e968d981aade8e7bafcbef207262 /hw/eepro100.c | |
| parent | 0be71e324f774a77243f1a1487f468232d69542b (diff) | |
| download | focaccia-qemu-7685ee6abcb939104801f84b3fe9645412528088.tar.gz focaccia-qemu-7685ee6abcb939104801f84b3fe9645412528088.zip | |
savevm: Make use of DeviceState
For callers that pass a device we can traverse up the qdev tree and make use of the BusInfo.get_dev_path information for creating unique savevm id strings. This avoids needing to rely on the instance number, which can cause problems with device initialization order and hotplug. For compatibility, we also store away the old id string and instance so we can accept migrations from VMs as we add new get_dev_path implementations. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/eepro100.c')
0 files changed, 0 insertions, 0 deletions