diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2011-01-04 12:38:02 -0700 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-01-05 12:14:02 +0200 |
commit | c574ba5a4ce0faee6a687412804d6045ef815327 (patch) | |
tree | 40a80713708d42612ec91598d1e06ef03b2bb25a /hw/pci.c | |
parent | 0ac8ef71329ee242951074eb2dc7136f99421d8c (diff) |
rtl8139: Use subsection to restrict migration after hotplug
rtl8139 includes a cpu_register_io_memory acquired value in it's
migration data. This is not only unecessary, but we should treat
these values as unique to the VM instances since the value depends
on call order. In most cases, this miraculously still works.
However, if devices are added or removed from the system, it may
represent an ordering change, which could cause the target rtl8139
device to make use of another device's cpu_register_io_memory value.
If we detect that a hot-add/remove has occured, include a subsection
to restrict migrations only to driver versions known to include this
fix.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci.c')
0 files changed, 0 insertions, 0 deletions