On 19.02.2012 12:15, 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. > > Signed-off-by: Michal Privoznik <mpriv...@redhat.com> > --- > diff to v3: > -use ctpop32() instead of separate count_one_bits() > > diff to v2: > -Properly set IP addr family for IPv6 > > diff to v1: > -move from guest-getip to guest-network-info > -replace black boxed algorithm for population count > -several coding styles improvements > qapi-schema-guest.json | 29 ++++++++ > qga/guest-agent-commands.c | 157 > ++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 186 insertions(+), 0 deletions(-) >
ping?