commit 69ed99c78696d7ac405ce9e193a4a312fd9945d7 Author: Jim Fehlig Date: Wed Dec 13 14:20:37 2017 -0700 libxl: mark domain0 as persistent A Xen domain0 is better described as a persistent domain. Mark it as such during intialization. Index: libvirt-3.10.0/src/libxl/libxl_driver.c =================================================================== --- libvirt-3.10.0.orig/src/libxl/libxl_driver.c +++ libvirt-3.10.0/src/libxl/libxl_driver.c @@ -609,6 +609,7 @@ libxlAddDom0(libxlDriverPrivatePtr drive def = NULL; + vm->persistent = 1; virDomainObjSetState(vm, VIR_DOMAIN_RUNNING, VIR_DOMAIN_RUNNING_BOOTED); if (virDomainDefSetVcpusMax(vm->def, d_info.vcpu_max_id + 1, driver->xmlopt)) goto cleanup;