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

[Xen-devel] how to recognize in libxl that a domU has qemu-xen attached?

  • To: xen-devel@xxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Thu, 17 May 2018 14:33:52 +0200
  • Delivery-date: Thu, 17 May 2018 12:34:18 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

In the other thread about the unsolved migration bugs in qemu-xen it became 
clear that "xen-save-devices-state" must not only be called for HVM, but for 
every domU that has qemu-xen attached to it. I wonder how to check for that 
fact from the migration code. While it can continue to rely on 
LIBXL_DOMAIN_TYPE_HVM make that call, for  LIBXL_DOMAIN_TYPE_PV it is 
apparently not that easy. Is libxl__need_xenpv_qemu the API to use for the 
decision if libxl__qmp_stop/libxl__qmp_save/libxl__qmp_resume have to be called 
during migration?


Attachment: pgpGQV3LAmjFW.pgp
Description: Digitale Signatur von OpenPGP

Xen-devel mailing list



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