]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Recreate the USB address cache at reconnect
authorJán Tomko <jtomko@redhat.com>
Fri, 21 Oct 2016 11:09:04 +0000 (13:09 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 27 Oct 2016 11:38:56 +0000 (13:38 +0200)
commitdc67d00cd22844dbe4c57134e3ab21abd6742235
tree2bbe4413c1e8fa8c5adfb1eeb3be2dff6d01f962
parent244ebb8f2bb6628937fd96cbf0835706e0cfb55e
Recreate the USB address cache at reconnect

When starting a new domain, we allocate the USB addresses and keep
an address cache in the domain object's private data.

However this data is lost on libvirtd restart.

Also generate the address cache if all the addresses have been
specified, so that devices hotplugged after libvirtd restart
also get theirs assigned.

https://bugzilla.redhat.com/show_bug.cgi?id=1387666
src/conf/domain_addr.c
src/conf/domain_addr.h
src/libvirt_private.syms
src/qemu/qemu_domain_address.c