1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-02-03 17:47:15 +03:00
Mark McLoughlin 6318808270 Allow pciResetDevice() to reset multiple devices
When using a Secondary Bus Reset, all devices on the bus are reset.

Extend the pciResetDevice() API so that a 'check' callback can be
supplied which will verify that it is safe to reset the other devices
on the bus.

The virDomainObjPtr parameter is needed so that when the check function
iterates over the domain list, it can avoid double locking.

* src/pci.[ch]: add a 'check' callback to pciResetDevice(), re-work
  pciIterDevices() to pass the check function to the iter functions,
  use the check function in the bus iterator, return the first unsafe
  device from pciBusCheckOtherDevices() and include its details in
  the bus reset error message.

* src/qemu_driver.c, src/xen_uninified.c: just pass NULL as the
  check function for now
2009-08-14 08:31:11 +01:00
2009-08-11 15:39:28 +01:00
2009-07-16 15:06:42 +02:00
2009-08-05 16:00:41 +02:00
2009-07-08 16:17:51 +02:00
2009-07-08 16:17:51 +02:00
2009-07-08 16:17:51 +02:00
2009-07-08 16:17:51 +02:00
2009-06-16 14:06:48 +00:00
2009-07-16 15:06:42 +02:00
2009-07-23 22:31:13 +02:00
2009-07-09 09:32:21 +02:00
2009-08-05 16:00:41 +02:00
2009-07-16 15:06:42 +02:00
2009-07-23 16:07:32 +01:00
2009-08-05 16:00:41 +02:00
2008-12-12 12:45:34 +00:00
2009-08-11 15:39:28 +01:00

         LibVirt : simple API for virtualization

  Libvirt is a C toolkit to interact with the virtualization capabilities
of recent versions of Linux (and other OSes). It is free software
available under the GNU Lesser General Public License. Virtualization of
the Linux Operating System means the ability to run multiple instances of
Operating Systems concurrently on a single hardware system where the basic
resources are driven by a Linux instance. The library aim at providing
long term stable C API initially for the Xen paravirtualization but
should be able to integrate other virtualization mechanisms if needed.

Daniel Veillard <veillard@redhat.com>
Description
Libvirt native C API and daemons
Readme 672 MiB
Languages
C 94.8%
Python 2%
Meson 0.9%
Shell 0.8%
Dockerfile 0.6%
Other 0.8%