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.