[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] qemu assert in staging during HVM live migration



On Thu, Nov 22, 2018 at 11:03:45AM +0100, Olaf Hering wrote:
> While debugging something else, it turned out that staging and/or qemu
> can not migrate HVM domUs. qemu runs into an assert when the domU is
> about to be migrated with 'xl migrate domU dom0':
> 
> qemu-system-i386: block/block-backend.c:903: blk_get_attached_dev_id: 
> Assertion `!blk->legacy_dev' failed.
> Using /usr/bin/qemu-system-i386 from qemu-3.1 failed as well.
> The workaround was to enforce my own qemu-2.12.
> 
> Since I have very very little runtime available on that system, thats
> all the info I could collect.
> Any idea what might be wrong? That 'legacy' code is in qemu since a few
> years already, according to 'git blame'.

Is your toolstack runs the QMP command 'query-block' or some other
command related to block behind libxl's back?

xen-disk (qdisk) is currently using legacy stuff in QEMU, and this
legacy stuff is going to disappear. Paul have a patch series to
modernise it:
https://lists.xenproject.org/archives/html/xen-devel/2018-11/msg02411.html
if you feel like testing, as that should get rid of the failed assert.

Beside that, I don't know if something else might be wrong. What patches
is there on your qemu-2.12 (at least patches related to xen-disk)?

Thanks,

-- 
Anthony PERARD

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.