libvirt/src/xen
Chris Lalancette 53a1db4dfc Check for active PCI devices when doing nodedevice operations.
In the current libvirt PCI code, there is no checking whether
a PCI device is in use by a guest when doing node device
detach or reattach.  This causes problems when a device is
assigned to a guest, and the administrator starts issuing
nodedevice commands.  Make it so that we check the list
of active devices when trying to detach/reattach, and only
allow the operation if the device is not assigned to a guest.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
2010-06-29 10:40:00 -04:00
..
block_stats.c build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01: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: consistently use C99 varargs macros 2010-03-08 13:32:27 +01:00
sexpr.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
xen_driver.c Check for active PCI devices when doing nodedevice operations. 2010-06-29 10:40:00 -04: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: Remove virConnectPtr from virXenError/virXenErrorFunc 2010-04-06 01:45:47 +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 virDomainCreateXML: support new flag 2010-06-08 15:35:55 -06:00
xend_internal.h xen: Remove unused function 2010-05-27 14:16:47 -04:00
xm_internal.c xenXMDomainDefineXML: remove dead store and useless/leaky virGetDomain 2010-04-07 21:49:15 +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