]> xenbits.xensource.com Git - libvirt.git/commit
add virDomainVirtioSerialAddrSetCreateFromDomain
authorTomasz Flendrich <t.flendrich@gmail.com>
Sat, 23 Jul 2016 01:47:06 +0000 (03:47 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 26 Jul 2016 11:04:46 +0000 (13:04 +0200)
commit40c284f0a6b53a182af7b12173bcb5dd3eb0c826
treedf8b4603771e0a1efce75a8a3c99c6589ccee82a
parentcd6e4e5fe4d636d8c56214a72cc333d1efebccad
add virDomainVirtioSerialAddrSetCreateFromDomain

The address sets (pci, ccw, virtio serial) are currently cached
in qemu private data, but all the information required to recreate
these sets is in the domain definition. Therefore I am removing
the redundant data and adding a way to recalculate these sets.

Add a function that calculates the virtio serial address set
from the domain definition.

Credit goes to Cole Robinson.
src/conf/domain_addr.c
src/conf/domain_addr.h
src/libvirt_private.syms
src/qemu/qemu_domain_address.c