Re: Inconsistent networking between Xen & QEMU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2007-03-09 at 14:32 +0000, Daniel P. Berrange wrote:
> On Fri, Mar 09, 2007 at 02:27:02PM +0000, Mark McLoughlin wrote:
> > On Fri, 2007-03-09 at 03:03 +0000, Daniel P. Berrange wrote:

> > >  For the reverse Xen will tell us what bridge device a
> > >     guest is using, and we can reverse lookup the corresponding network
> > 
> > 	I'm not sure why you want this?
> 
> Without this you be sending in
> 
>      <interface type='network'>
>         <source network='foo'>
>      </interface>
> 
> And be getting back
> 
>      <interface type='bridge'>
>          <source bridge='virbr0'>
>      </interface>
> 
> As far as is possible the XML used to create a VM should be identical
> to that you get back from libvirt once it is running.

	Absolutely, very good point.

	There's a few places where we return the current running state rather
than the initial configuration we provided, but this would be a
particularly bad case.

	It's a bit fugly, though - should libvirt do ListDomains(),
GetBridgName() and match the bridge name, or should we have
virNetworkLookupByBridge() and make qemud do the lookup itself?

Cheers,
Mark.


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]