Jim Fehlig wrote: > The existing behavior is essentially VIR_DOMAIN_DEVICE_MODIFY_LIVE. > qemu fails the operation if domain is inactive. Attach works on > inactive Xen domains, but detach does not. BTW, I'll have a follow on patch to fix the inactive detach in Xen driver. There were some other issues in the Xen attach/detach device code IIRC. Xen block device config has the notion of 'bootable'. If absent, the first block device is marked bootable, which may not be your boot device. This flag gets lost when mapped to XML right? I'll investigate further. Regards, Jim -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list