libvirt/src/xen
Jiri Denemark 093973aabe xen: Fix virDomain{At,De}tachDevice
According to API documentation virDomain{At,De}tachDevice calls are
supposed to only work on active guests for device hotplug. For anything
beyond that, their *Flags variants have to be used.

Despite the variant which was acked on libvirt mailing list
(https://www.redhat.com/archives/libvir-list/2010-January/msg00385.html)
commit ed9c14a7ef (by Jim Fehlig)
introduced automagic behavior of these API calls for xen driver. Since
January, these calls always change persistent configuration of a guest
and if the guest is currently active, they also hot(un)plug the device.

That change didn't follow API documentation and also broke device
hot(un)plug for older xend implementations which do not support changing
persistent configuration of a guest and hot(un)plugging in one step.

This patch should not break anything for active guests. On the other
hand, changing inactive guests is not supported any more.
2010-10-12 12:16:12 +02:00
..
block_stats.c Fix block statistics with newer versions of Xen 2010-09-10 15:57:35 +02:00
block_stats.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
proxy_internal.c maint: mark translatable string args of VIR_ERROR0 2010-05-20 21:36:25 +02:00
proxy_internal.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
sexpr.c build: delete dead comments 2010-08-19 16:09:46 -06:00
sexpr.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
xen_driver.c xen: Fix virDomain{At,De}tachDevice 2010-10-12 12:16:12 +02:00
xen_driver.h Implement virDomainUpdateDeviceFlags API in all drivers with media change 2010-03-26 14:17:34 +00:00
xen_hypervisor.c xen: Fix scheduler setting problems 2010-08-18 17:32:31 +02:00
xen_hypervisor.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
xen_inotify.c xen: Remove virConnectPtr from virXenInotifyError 2010-04-06 01:46:42 +02:00
xen_inotify.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
xend_internal.c xen: Fix logic bug in xenDaemon*DeviceFlags 2010-10-12 12:16:12 +02:00
xend_internal.h xen: Remove unused function 2010-05-27 14:16:47 -04:00
xm_internal.c xen: xenXMDomain*DeviceFlags should obey all flags 2010-10-12 12:16:12 +02:00
xm_internal.h maint: make Red Hat copyright notices consistent 2010-03-18 16:48:05 +01:00
xs_internal.c xen: Remove virConnectPtr from virXenStoreError 2010-04-06 01:46:02 +02:00
xs_internal.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00