From: Olaf Hering <olaf@aepfle.de>
To: xen-devel@lists.xen.org
Subject: migration regression in xen-4.11 and qemu-2.11 and qcow2
Date: Mon, 7 May 2018 17:19:47 +0200 [thread overview]
Message-ID: <20180507151940.GA31926@aepfle.de> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1217 bytes --]
I assume OSS test does not test realworld live migration,
therefore the following regression remained unnoticed:
name="hvm"
builder="hvm"
memory=555
vcpus=4
serial="pty"
boot="c"
disk=[ 'qcow2:/nfs/vdisk.qcow2,hda,w', ]
device_model_version="qemu-xen"
xl create -cf hvm.cfg
sleep N
xl migrate hvm $host
On $host the domU becomes unusable, qemu reports:
xen be: qdisk-768: xen be: qdisk-768: error: Failed to get "write" lock
With qemu-2.10 the sender noticed the error somehow, and migration was aborted:
qemu-system-i386: Failed to get "write" lock
With qemu-2.11 the sender thinks everything is alright and the domU is moved.
What I gathered during debugging so far is that somehow qemu on the receiving side locks a region twice:
2018-05-07T09:49:45.810930Z qemu-system-i386: qemu_lock_fcntl: 39 c9 1 F_UNLCK>F_UNLCK 0 Success
2018-05-07T09:49:45.813717Z qemu-system-i386: qemu_lock_fcntl: 39 c9 1 F_RDLCK>F_RDLCK 0 Success
2018-05-07T09:49:45.814591Z qemu-system-i386: qemu_lock_fd_test: 39 c9 1 F_WRLCK>F_RDLCK 0 Success
raw_check_lock_bytes: fcntl on 39 returned -11/0
I do not know how raw_apply_lock_bytes() is supposed to be used. In its current form it does not work.
Anyone else seeing this?
Olaf
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 157 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next reply other threads:[~2018-05-07 15:19 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-07 15:19 Olaf Hering [this message]
2018-05-08 11:31 ` migration regression in xen-4.11 and qemu-2.11 and qcow2 Olaf Hering
2018-05-08 16:40 ` Olaf Hering
2018-05-09 12:23 ` Olaf Hering
2018-05-09 21:08 ` Stefano Stabellini
2018-05-09 21:13 ` Olaf Hering
2018-05-09 21:43 ` Stefano Stabellini
2018-05-10 6:04 ` Olaf Hering
2018-05-10 16:03 ` Stefano Stabellini
2018-05-16 13:13 ` Olaf Hering
2018-05-10 10:40 ` Anthony PERARD
2018-05-14 14:15 ` Olaf Hering
2018-05-16 14:53 ` Olaf Hering
2018-05-17 6:30 ` Olaf Hering
2018-05-17 9:08 ` Olaf Hering
2018-05-17 8:31 ` Olaf Hering
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180507151940.GA31926@aepfle.de \
--to=olaf@aepfle.de \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).