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

Re: [Xen-devel] [BUG] Assertion failed: !blk->legacy_dev


  • To: Roman Shaposhnik <roman@xxxxxxxxxx>
  • From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Date: Thu, 1 Aug 2019 11:30:19 +0100
  • Authentication-results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=anthony.perard@xxxxxxxxxx; spf=Pass smtp.mailfrom=anthony.perard@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 01 Aug 2019 10:30:37 +0000
  • Ironport-sdr: Qovk8w6SOymynp/Mp9gXjKtXGdAcxV1Eh1PIcciZ190OoPtccpWbTyZR/+F5oi9f0yt3C/zYA8 newDNUi/WG/p4AJDlS/hqwJd7rIgUWr5N/kj5SaQqLCBpthUF9cqNctaaXNENkibTgXtZyhNHF VnMTy8E7a1Yx/qL9pGtjXCj8CPcRqvtTW5HkHWZQ0McCcovKwzKp4mxIdBh7168HtREfEM1QkF PNY7Jlb3JjiFYpa4j5RkrxNYNgJhc0wKXPQvCx4UEEJG7uIXT4vm4zR1G4Thnwg0KI9+DdnyNp PzU=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Wed, Jul 31, 2019 at 01:11:22PM -0700, Roman Shaposhnik wrote:
> Hi!

Hi Roman,

Thanks for the bug report!

That bug (technical debt really) was fixed in QEMU 4.0 (so will be fixed
in Xen 4.13). It's a series of patch with the last one been db9ff46 if
you want to have a look.

> Andrew reminded me that EVE has a weird in-tree patch for Xen's qemu
> to deal with an issue we can't quite explain:
>     
> https://github.com/lf-edge/eve/blob/master/pkg/xen-tools/patches-4.12.0/01-remove-assert.patch
> 
> The way this problem manifests itself is *sometime after* an HVM domain
> with a qcow2 disk attached get started we get QEMU failing with:
>     Assertion failed: !blk->legacy_dev
> (/xen/tools/qemu-xen/block/block-backend.c: blk_get_attached_dev_id:
> 903)

I can tell you more about how to trigger the assertion failure. Simply
running `xentop' will trigger the bug. That tool run the QMP command
"query-block" which will trigger the bug, there are probably other QMP
command or HMP or monitor command which would do the same if you use a
different monitoring software.

So you could run with a newer version of QEMU or keep the patch that
removes the assert.

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®.