Displaying 3 results from an estimated 3 matches for "qemudomainassignaddresses".
2019 Apr 18
2
Re: [libvirt] Why virsh domxml-to-native qemu-argv changes PCI slot number
...-argv I get slot 2-
> -netdev tap,fd=21,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=f2:ff:ff:ff:ff:07,bus=pci.0,addr=0x2
> Any idea why it's happen and how to keep the slot number?  Libvirt version is 4.5.0
I can reproduce this, and also confirm that it shouldn't happen :)
qemuDomainAssignAddresses() is supposed to make sure that any address
configured explicitly by the user (or previously by libvirt) is
preserved, and it's doing that correctly when it's called from inside
qemuDomainDefAssignAddresses(); however, for some reason, by the time
we call it again in qemuProcessPrepareDomai...
2019 Apr 18
1
Re: [libvirt] Why virsh domxml-to-native qemu-argv changes PCI slot number
On Thu, 2019-04-18 at 15:29 +0100, Daniel P. Berrangé wrote:
> On Thu, Apr 18, 2019 at 04:23:05PM +0200, Andrea Bolognani wrote:
> > qemuDomainAssignAddresses() is supposed to make sure that any address
> > configured explicitly by the user (or previously by libvirt) is
> > preserved, and it's doing that correctly when it's called from inside
> > qemuDomainDefAssignAddresses(); however, for some reason, by the time
> > we...
2019 Apr 18
0
Re: [libvirt] Why virsh domxml-to-native qemu-argv changes PCI slot number
...-netdev tap,fd=21,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=f2:ff:ff:ff:ff:07,bus=pci.0,addr=0x2
> > Any idea why it's happen and how to keep the slot number?  Libvirt version is 4.5.0
> 
> I can reproduce this, and also confirm that it shouldn't happen :)
> 
> qemuDomainAssignAddresses() is supposed to make sure that any address
> configured explicitly by the user (or previously by libvirt) is
> preserved, and it's doing that correctly when it's called from inside
> qemuDomainDefAssignAddresses(); however, for some reason, by the time
> we call it again in qem...