diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2010-06-25 11:09:28 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-07-06 10:36:28 -0500 |
commit | 01657c867d21bbabb1af22c6fe62ff80a2970446 (patch) | |
tree | 1bcf7eb0b2032c8c7e17e72d9813caab237291c1 /cpu-common.h | |
parent | 5fce2b3e46b697230996568e1fed39d02a6bedb2 (diff) | |
download | qemu-01657c867d21bbabb1af22c6fe62ff80a2970446.tar.gz qemu-01657c867d21bbabb1af22c6fe62ff80a2970446.tar.bz2 qemu-01657c867d21bbabb1af22c6fe62ff80a2970446.zip |
virtio-net: Incorporate a DeviceState pointer and let savevm track instances
Stuff a pointer to the DeviceState into the VirtIONet structure so that
we can easily remove the vmstate entry later. Also, let vmstate track
the instance number (it should always be zero internally since the
device path should now be unique).
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'cpu-common.h')
0 files changed, 0 insertions, 0 deletions