summary refs log tree commit diff stats
path: root/hw/usb/dev-network.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2018-04-16 18:09:30 +0100
committerJuan Quintela <quintela@redhat.com>2018-06-04 05:46:15 +0200
commit0f073f44df109ea0910d67caede70dec95956ff6 (patch)
tree6f519df95f4f8f982fb81def32752746948fb8e2 /hw/usb/dev-network.c
parentb895de502717b83b4e5f089df617cb23530c4d2d (diff)
downloadfocaccia-qemu-0f073f44df109ea0910d67caede70dec95956ff6.tar.gz
focaccia-qemu-0f073f44df109ea0910d67caede70dec95956ff6.zip
migration: Don't activate block devices if using -S
Activating the block devices causes the locks to be taken on
the backing file.  If we're running with -S and the destination libvirt
hasn't started the destination with 'cont', it's expecting the locks are
still untaken.

Don't activate the block devices if we're not going to autostart the VM;
'cont' already will do that anyway.   This change is tied to the new
migration capability 'late-block-activate' that defaults to off, keeping
the old behaviour by default.

bz: https://bugzilla.redhat.com/show_bug.cgi?id=1560854
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'hw/usb/dev-network.c')
0 files changed, 0 insertions, 0 deletions