[pve-devel] qemu-ga

Michael Rasmussen mir at datanom.net
Sun Jul 17 02:38:51 CEST 2016


Hi all,

Has been toying a bit with qemu-ga and discovered that current version
supports listing network interfaces in the client:

{"execute":"guest-network-get-interfaces"}
{"return": [
{
"name": "lo", "ip-addresses": [
    {"ip-address-type": "ipv4", "ip-address": "127.0.0.1", "prefix": 8},
    {"ip-address-type": "ipv6", "ip-address": "::1", "prefix": 128}
  ], 
"hardware-address": "00:00:00:00:00:00"
}, 
{
"name": "eth0", "ip-addresses": [
    {"ip-address-type": "ipv4", "ip-address": "172.16.1.8", "prefix": 24},
    {"ip-address-type": "ipv6", "ip-address": "fe80::84e8:9eff:fec6:dff6", "prefix": 64}
  ],
"hardware-address": "86:e8:9e:c6:df:f6"
}
]}

would it not be a cool feature to use qemu-ga
guest-network-get-interfaces to display VM interfaces*) in the status panel provided guest agent is enabled and running in the client?

guest-set-time is also available to synchronize VM time with host
without the need of a running ntp server in the VM - NTP really do not
like having a VM migrated due to the freeze state. This could also be a
cool feature.

*) Not available currently in the windows agent.

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
A newspaper is a circulating library with high blood pressure.
		-- Arthure "Bugs" Baer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://pve.proxmox.com/pipermail/pve-devel/attachments/20160717/edeab8e2/attachment.sig>


More information about the pve-devel mailing list