Displaying 2 results from an estimated 2 matches for "virdomainnetdefclear".
2019 Apr 18
1
Re: [libvirt] Why virsh domxml-to-native qemu-argv changes PCI slot number
...e=bridge NIC with a type=ethernet, except we fail
> to copy the address info & probably other properties too.
Yeah, I figured that out after digging a bit more :)
I'm not quite sure how to fix it properly, though. Adding yet more
properties to the list of those we record before calling
virDomainNetDefClear() and restore afterwards would be a stop-gap
measure at best; limiting ourselves to merely changing net->type,
on the other hand, though it seems to work from a quick test, will
likely lead to hitting other corner cases.
Formatting the XML, replacing the type attribute and parsing it
back perha...
2019 Apr 18
2
Re: [libvirt] Why virsh domxml-to-native qemu-argv changes PCI slot number
Moving to libvirt-users where it belongs.
On Thu, 2019-04-18 at 06:47 +0000, Tal Attaly wrote:
> Hi,
> I have bridge type interface defined with slot 3 -
> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
> but after running virsh domxml-to-native qemu-argv I get slot 2-
> -netdev tap,fd=21,id=hostnet0 -device