diff options
-rwxr-xr-x | virsh-ga | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -63,7 +63,8 @@ sub ga_send(@) { # the JSON domain definition can be found in QEMU's qga/qapi-schema.json if ($COMMAND eq 'info') { - ga_send(execute => 'guest-info'); + my $r = ga_send(execute => 'guest-info'); + print JSON->new->pretty->utf8->canonical->encode($r), "\n"; } elsif ($COMMAND eq 'ping') { ga_send(execute => 'guest-ping'); |