[libvirt] [PATCH v6 02/17] qemu: new functions to calculate/set device pciConnectFlags
Andrea Bolognani
abologna at redhat.com
Tue Nov 8 09:42:53 UTC 2016
On Mon, 2016-11-07 at 14:50 -0500, Laine Stump wrote:
> The lowest level function of this trio
> (qemuDomainDeviceCalculatePCIConnectFlags()) aims to be the single
> authority for the virDomainPCIConnectFlags to use for any given device
> using a particular arch/machinetype/qemu-binary.
>
> qemuDomainFillDevicePCIConnectFlags() sets info->pciConnectFlags in a
> single device (unless it has no virDomainDeviceInfo, in which case
> it's a NOP).
>
> qemuDomainFillAllPCIConnectFlags() sets info->pciConnectFlags in all
> devices that have a virDomainDeviceInfo
>
> The latter two functions aren't called anywhere yet. This commit is
> just making them available. Later patches will replace all the current
> hodge-podge of flag settings with calls to this single authority.
> ---
> src/conf/device_conf.h | 5 +
> src/qemu/qemu_domain_address.c | 367 +++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 372 insertions(+)
ACK
--
Andrea Bolognani / Red Hat / Virtualization
More information about the libvir-list
mailing list