summary refs log tree commit diff stats
path: root/ui/input-linux.c
diff options
context:
space:
mode:
authorJeff Cody <jcody@redhat.com>2017-11-07 08:10:34 -0500
committerMax Reitz <mreitz@redhat.com>2017-11-14 18:06:25 +0100
commit6c7d390b993c4bbadd51ceeb41f7d2fdd68cb4fd (patch)
tree426bfba93492504910b6c625f9344ce5d4ada801 /ui/input-linux.c
parent7479bf07c452cc5a3ace46f8e33fd60b25d12234 (diff)
downloadfocaccia-qemu-6c7d390b993c4bbadd51ceeb41f7d2fdd68cb4fd.tar.gz
focaccia-qemu-6c7d390b993c4bbadd51ceeb41f7d2fdd68cb4fd.zip
block/parallels: Do not update header or truncate image when INMIGRATE
If we write or modify the image file while the QEMU run state is
INMIGRATE, then the BDRV_O_INACTIVE BDS flag is set.  This will cause
an assert, since the image is marked inactive.  Make sure we obey this
flag.

Tested-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Message-id: 3996c930fa8cde8570b7a63032720d76a28fd78b.1510059970.git.jcody@redhat.com
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'ui/input-linux.c')
0 files changed, 0 insertions, 0 deletions