Re: [Qemu-devel] [PATCH] qemu-ga: Add guest-getip command

2012-02-17 Thread Anthony Liguori
On 02/17/2012 04:58 AM, Michal Privoznik wrote: On 16.02.2012 21:10, Michael Roth wrote: On Thu, Feb 16, 2012 at 06:25:03PM +0100, Michal Privoznik wrote: This command returns an array of: [ifname, ipaddr, ipaddr_family, prefix, hwaddr] for each interface in the system that has an IP addres

Re: [Qemu-devel] [PATCH] qemu-ga: Add guest-getip command

2012-02-17 Thread Michal Privoznik
On 16.02.2012 21:10, Michael Roth wrote: > On Thu, Feb 16, 2012 at 06:25:03PM +0100, Michal Privoznik wrote: >> This command returns an array of: >> >> [ifname, ipaddr, ipaddr_family, prefix, hwaddr] >> >> for each interface in the system that has an IP address. >> Currently, only IPv4 and IPv6 ar

Re: [Qemu-devel] [PATCH] qemu-ga: Add guest-getip command

2012-02-16 Thread Michael Roth
On Thu, Feb 16, 2012 at 06:25:03PM +0100, Michal Privoznik wrote: > This command returns an array of: > > [ifname, ipaddr, ipaddr_family, prefix, hwaddr] > > for each interface in the system that has an IP address. > Currently, only IPv4 and IPv6 are supported. Cool stuff, seems pretty useful.

[Qemu-devel] [PATCH] qemu-ga: Add guest-getip command

2012-02-16 Thread Michal Privoznik
This command returns an array of: [ifname, ipaddr, ipaddr_family, prefix, hwaddr] for each interface in the system that has an IP address. Currently, only IPv4 and IPv6 are supported. Signed-off-by: Michal Privoznik --- qapi-schema-guest.json | 16 + qga/guest-agent-commands.c | 15