[libvirt] [PATCH 1/2] qemu: Use structured PCI address as hash payload

Eric Blake eblake at redhat.com
Tue Aug 17 15:05:42 UTC 2010


On 08/16/2010 11:08 AM, Jiri Denemark wrote:
> Qemu driver stores a per-domain hash of used PCI addresses. Currently,
> payload of each hash entry is exactly the same as its key, i.e., string
> representation of a PCI address. This patch changes payload to be
> virDomainDevicePCIAddressPtr. Along the road, return values of all
> qemuPCIAddressAsString() calls are properly checked and error returned
> if required.
> ---
>  src/qemu/qemu_conf.c |   78 ++++++++++++++++++++++++++++++++++++--------------
>  1 files changed, 56 insertions(+), 22 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100817/28f4ad62/attachment-0001.sig>


More information about the libvir-list mailing list