]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: replace calls to virDomainPCIAddressReserveNext*() with static function
authorLaine Stump <laine@laine.org>
Fri, 2 Sep 2016 20:39:18 +0000 (16:39 -0400)
committerLaine Stump <laine@laine.org>
Mon, 24 Oct 2016 17:57:02 +0000 (13:57 -0400)
commitab9202e431e6ccca44cf6cd3ef12492a010f988e
tree81ca0adc65ce831bcec087367ac04d46f6e3b868
parent696929e67f8b7b2ea82f3a0aa1e65d477f620053
qemu: replace calls to virDomainPCIAddressReserveNext*() with static function

An upcoming commit will remove the "flag" argument from all the calls
to reserve the next available address|slot, but I don't want to change
the arguments in the hypervisor-agnostic
virDomainPCIAddressReserveNext*() functions, so this patch places a
simple qemu-specific wrapper around those functions - the new
functions don't take a flags arg, but grab it from the device's
info->pciConnectFlags.
src/qemu/qemu_domain_address.c