summaryrefslogtreecommitdiff
path: root/qga/commands-win32.c
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2012-02-29 17:02:23 +0100
committerMichael Roth <mdroth@linux.vnet.ibm.com>2012-03-12 15:09:18 -0500
commit3424fc9f16a1e7d1c48eb6d605eb0ca63e199ec2 (patch)
tree54d2bb0a79d91199986c0b29890e5ddb0b3cc8b4 /qga/commands-win32.c
parentf54603b6aa765514b2519e74114a2f417759d727 (diff)
downloadqemu-3424fc9f16a1e7d1c48eb6d605eb0ca63e199ec2.tar.gz
qemu-ga: add guest-network-get-interfaces command
This command returns an array of: [ifname, hwaddr, [ipaddr, ipaddr_family, prefix] ] for each interface in the system. Currently, only IPv4 and IPv6 are supported. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'qga/commands-win32.c')
-rw-r--r--qga/commands-win32.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index b7600ed89a..eb8d1405d3 100644
--- a/qga/commands-win32.c
+++ b/qga/commands-win32.c
@@ -263,6 +263,12 @@ void qmp_guest_suspend_hybrid(Error **err)
error_set(err, QERR_UNSUPPORTED);
}
+GuestNetworkInterfaceList *qmp_guest_network_get_interfaces(Error **err)
+{
+ error_set(err, QERR_UNSUPPORTED);
+ return NULL;
+}
+
/* register init/cleanup routines for stateful command groups */
void ga_command_state_init(GAState *s, GACommandState *cs)
{