Libvirt provides a portable, long term stable C API for managing the virtualization technologies provided by many operating systems. It includes support for QEMU, KVM, Xen, LXC, bhyve, Virtuozzo, VMware vCenter and ESX, VMware Desktop, Hyper-V, VirtualBox and the POWER Hypervisor.
Go to file
Laine Stump 7f784f576b qemu: set/use info->pciConnectFlags when validating/assigning PCI addresses
Set pciConnectFlags in each device's DeviceInfo and then use those
flags later when validating existing addresses in
qemuDomainCollectPCIAddress() and when assigning new addresses with
qemuDomainPCIAddressReserveNextAddr() (rather than scattering the
logic about which devices need which type of slot all over the place).

Note that the exact flags set by
qemuDomainDeviceCalculatePCIConnectFlags() are different from the
flags previously set manually in qemuDomainCollectPCIAddress(), but
this doesn't matter because all validation of addresses in that case
ignores the setting of the HOTPLUGGABLE flag, and treats PCIE_DEVICE
and PCI_DEVICE the same (this lax checking was done on purpose,
because there are some things that we want to allow the user to
specify manually, e.g. assigning a PCIe device to a PCI slot, that we
*don't* ever want libvirt to do automatically. The flag settings that
we *really* want to match are 1) the old flag settings in
qemuDomainAssignDevicePCISlots() (which is HOTPLUGGABLE | PCI_DEVICE
for everything except PCI controllers) and 2) the new flag settings
done by qemuDomainDeviceCalculatePCIConnectFlags() (which are
currently exactly that - HOTPLUGGABLE | PCI_DEVICE for everything
except PCI controllers).
2016-11-14 14:06:57 -05:00
.gnulib@5ddd9d713d build: update to latest gnulib 2016-11-12 14:51:52 -06:00
build-aux
daemon daemon: Fix crash during daemon cleanup 2016-10-27 15:58:47 -04:00
docs storage.html.in: Kill useless spaces in <pre/> 2016-11-14 11:03:34 +01:00
examples examples: Distribute all systemtap scripts. 2016-10-10 15:02:38 +08:00
gnulib build: drop hack for old mingw ssize_t 2016-07-12 08:57:13 -06:00
include/libvirt qemu: Add length for bps/iops throttling parameters to driver 2016-10-25 17:20:13 -04:00
m4 wireshark: Use ${exec_prefix} instead of ${prefix} 2016-11-07 10:16:06 +01:00
po datatypes: Introduce some admin-related close callback handling helpers 2016-11-14 10:18:56 +01:00
src qemu: set/use info->pciConnectFlags when validating/assigning PCI addresses 2016-11-14 14:06:57 -05:00
tests qemu: Generate memory device aliases according to slot number 2016-11-10 17:36:55 +01:00
tools tools: Replace vshPrint with vshPrintExtra on places we forgot about 2016-11-14 12:14:11 +01:00
.ctags
.dir-locals.el
.gitignore tests: Self test virt-admin 2016-09-14 13:18:07 +02:00
.gitmodules
.mailmap maint: update .mailmap for recent contributions 2015-03-20 06:17:55 -06:00
AUTHORS.in
autobuild.sh
autogen.sh maint: improve usage of autogen's --no-git 2015-02-06 11:35:29 -07:00
bootstrap build: update to latest gnulib 2016-11-12 14:51:52 -06:00
bootstrap.conf hvsupport: use a regex instead of XML::XPath 2016-07-19 18:42:44 +02:00
cfg.mk docs: rewrite content on front page to be more useful 2016-11-11 12:15:05 +00:00
ChangeLog-old
config-post.h config-post.h:fix a typo 2016-09-21 09:35:51 +02:00
configure.ac configure: remove fallback check for parted 2016-11-10 16:00:02 +00:00
COPYING
COPYING.LESSER
HACKING
libvirt-admin.pc.in
libvirt-lxc.pc.in
libvirt-qemu.pc.in
libvirt.pc.in
libvirt.spec.in docs: redo style of front page 2016-11-11 12:15:03 +00:00
Makefile.am
Makefile.nonreentrant
mingw-libvirt.spec.in docs: redo style of front page 2016-11-11 12:15:03 +00:00
README Correct typos in the documentation (Atsushi SAKAI) 2008-01-24 10:15:13 +00:00
README-hacking
run.in
TODO

         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>