[libvirt] [PATCH 0/2] Abstracting device address allocation

Martin Kletzander mkletzan at redhat.com
Wed Jun 22 16:49:09 UTC 2016


On Sun, Jun 19, 2016 at 07:03:59PM +0200, Tomasz Flendrich wrote:
>More hypervisors may implement the possibility of specifying device
>addresses, so it makes sense to make QEMU-specific code more generic
>to be prepared for it.
>
>If this approach will be acceptable, all the other address sets
>will be moved from QEMU's private data to domainDef, the
>qemu_domain_address.c will shrink in size and the functionality
>will be moved to domain_addr.[hc].
>

This is not bad, but the function that does the real job
(qemuDomainAssignVirtioSerialAddresses()) was left in qemu driver.  That
is the key part that could help in the future.  Let's postpone this
until we reach a consensus on the second address allocation thread, so
we know which way to take.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160622/e60f5c30/attachment-0001.sig>


More information about the libvir-list mailing list