diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2012-02-29 17:02:23 +0100 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2012-03-12 15:09:18 -0500 |
commit | 3424fc9f16a1e7d1c48eb6d605eb0ca63e199ec2 (patch) | |
tree | 54d2bb0a79d91199986c0b29890e5ddb0b3cc8b4 /qga/commands-win32.c | |
parent | f54603b6aa765514b2519e74114a2f417759d727 (diff) | |
download | qemu-3424fc9f16a1e7d1c48eb6d605eb0ca63e199ec2.zip qemu-3424fc9f16a1e7d1c48eb6d605eb0ca63e199ec2.tar.gz qemu-3424fc9f16a1e7d1c48eb6d605eb0ca63e199ec2.tar.bz2 |
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.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qga/commands-win32.c b/qga/commands-win32.c index b7600ed..eb8d140 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) { |