On 02/21/2012 09:32 AM, Shradha Shah wrote:
> Before you restart libvirtd, is the xml file in place in
> /etc/libvirt/qemu/networks/pci-passthrough-network.xml? And is that file
> still there after libvirtd restarts? If the file is still there but the
> definition doesn't show up in net-list --all, perhaps there is something
> in the xml file that is failing the parse - any log messages in libvirtd?
This was indeed the case. Libvirt was failing to parse the forwarddev on restart.
Bit of a mistake in my code. Now resolved.
Guess what - that argues that when we commit your code, we should also
commit an xml file somewhere under the tests directory that stresses
this particular usage of forwarddev, to make sure that we don't repeat
the problem later :)
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org