]> xenbits.xensource.com Git - libvirt.git/commit
virDomainDeviceInfoIterateInternal: Iterate through redirdevs too
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 9 Jun 2016 08:41:13 +0000 (10:41 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 17 Jun 2016 16:12:43 +0000 (18:12 +0200)
commit87bbb6eb2f5ae0ee2d241b9f2a0f4627d64c8f91
treefe25f2506080acbf4e580a9507bd0e7b690cb511
parente30dbb9f9883e50b1ba6453716ae578aba06b5f1
virDomainDeviceInfoIterateInternal: Iterate through redirdevs too

This is going to be important later when we received
DEVICE_DELETED event on the qemu monitor. If we do,
virDomainDefFindDevice() is called to find the device for given
device alias in the virDomainDef tree. When we enable removal for
redirdevs we need to include them in the lookup process too.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c