aboutsummaryrefslogtreecommitdiff
path: root/cpus.h
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2010-06-25 11:09:14 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2010-07-06 10:36:28 -0500
commit7685ee6abcb939104801f84b3fe9645412528088 (patch)
treee9e0d68ba279e968d981aade8e7bafcbef207262 /cpus.h
parent0be71e324f774a77243f1a1487f468232d69542b (diff)
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 'cpus.h')
0 files changed, 0 insertions, 0 deletions