Re: [libvirt] [PATCHv4 4/5] domifaddr: Add virsh support

2013-08-27 Thread Osier Yang
On 25/08/13 07:15, Nehal J Wani wrote: Use virDomainInterfacesAddresses in virsh tools/virsh-domain-monitor.c * Introduce new command : domifaddr virsh # domifaddr f18 Name MAC address IPv4 addressIPv6 address

Re: [libvirt] [PATCHv4 4/5] domifaddr: Add virsh support

2013-08-27 Thread Nehal J Wani
On Tue, Aug 27, 2013 at 6:20 PM, Daniel P. Berrange berra...@redhat.com wrote: On Sun, Aug 25, 2013 at 04:45:44AM +0530, Nehal J Wani wrote: Use virDomainInterfacesAddresses in virsh tools/virsh-domain-monitor.c * Introduce new command : domifaddr virsh # domifaddr f18 Name

Re: [libvirt] [PATCHv4 4/5] domifaddr: Add virsh support

2013-08-27 Thread Daniel P. Berrange
On Tue, Aug 27, 2013 at 07:28:23PM +0530, Nehal J Wani wrote: On Tue, Aug 27, 2013 at 6:20 PM, Daniel P. Berrange berra...@redhat.com wrote: On Sun, Aug 25, 2013 at 04:45:44AM +0530, Nehal J Wani wrote: Use virDomainInterfacesAddresses in virsh tools/virsh-domain-monitor.c *

Re: [libvirt] [PATCHv4 4/5] domifaddr: Add virsh support

2013-08-27 Thread Nehal J Wani
So, qemu-ga doesn't understand that there can't be more than one device with same MAC addr. So, I think we are left with the following options: Actually that's wrong. You *can* have 2 completely different physical NICs with the same MAC address. (i) Modify qemu-guest-agent to return

Re: [libvirt] [PATCHv4 4/5] domifaddr: Add virsh support

2013-08-27 Thread Daniel P. Berrange
On Tue, Aug 27, 2013 at 07:46:27PM +0530, Nehal J Wani wrote: So, qemu-ga doesn't understand that there can't be more than one device with same MAC addr. So, I think we are left with the following options: Actually that's wrong. You *can* have 2 completely different physical NICs

[libvirt] [PATCHv4 4/5] domifaddr: Add virsh support

2013-08-24 Thread Nehal J Wani
Use virDomainInterfacesAddresses in virsh tools/virsh-domain-monitor.c * Introduce new command : domifaddr virsh # domifaddr f18 Name MAC address IPv4 addressIPv6 address --- lo