libvirt/src/libxl
Jim Fehlig bd1168101a libxl: fix disk detach when <driver> not specified
When a user does not explicitly set a <driver> in the disk config,
libvirt defers selection of a default to libxl. This approach works
fine when starting a domain with such configuration or attaching a
disk to a running domain. But when detaching such a disk, libxl
will fail with "unrecognized disk backend type: 0". libxl makes no
attempt to recalculate a default backend (driver) on detach and
simply fails when uninitialized.

This patch updates the libvirt disk config with the backend selected
by libxl when starting a domain or attaching a disk to a running
domain. Another benefit of this approach is that the live XML is
also updated with the backend driver selected by libxl.
2017-02-09 09:24:44 -07:00
..
libvirtd_libxl.aug libxl: keepalive messages support 2016-02-09 21:14:12 -07:00
libxl_capabilities.c libxl: use init and dispose functions with libxl_physinfo 2017-02-08 09:12:00 -07:00
libxl_capabilities.h libxl: implement connectGetDomainCapabilities 2016-06-13 14:13:17 -06:00
libxl_conf.c libxl: fix disk detach when <driver> not specified 2017-02-09 09:24:44 -07:00
libxl_conf.h libxl: fix disk detach when <driver> not specified 2017-02-09 09:24:44 -07:00
libxl_domain.c libxl: fix disk detach when <driver> not specified 2017-02-09 09:24:44 -07:00
libxl_domain.h libxl: add a flag to mark guests as tainted by a hook 2016-08-02 14:20:31 +02:00
libxl_driver.c libxl: fix disk detach when <driver> not specified 2017-02-09 09:24:44 -07:00
libxl_driver.h
libxl_logger.c libxl: define a per-domain logger. 2017-01-11 09:32:47 +01:00
libxl_logger.h libxl: define a per-domain logger. 2017-01-11 09:32:47 +01:00
libxl_migration.c libxl: fix leaking of allocated migration ports 2016-10-24 19:42:10 -06:00
libxl_migration.h libxl: support VIR_MIGRATE_PERSIST_DEST migration flag 2016-09-21 15:42:41 -06:00
libxl.conf libxl: keepalive messages support 2016-02-09 21:14:12 -07:00
test_libvirtd_libxl.aug.in libxl: keepalive messages support 2016-02-09 21:14:12 -07:00