diff options
author | Guilhem Moulin <guilhem@libreoffice.org> | 2016-11-02 19:19:34 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@libreoffice.org> | 2016-11-02 19:19:34 +0100 |
commit | 065f3f4c3415e56ff73f913dd0bf2cc24258f9e0 (patch) | |
tree | 06864cc0cf0e87208704b19c76090fb0e4ea8cf4 /virsh-ga | |
parent | 4b6c9f2c86a8a8fbbfc946d1433db864371ca3b4 (diff) |
QEMU Guest Agent bug mititigation for libvirt 1.2.9.
Diffstat (limited to 'virsh-ga')
-rwxr-xr-x | virsh-ga | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -52,7 +52,9 @@ sub ga_send(@) { my $h = JSON->new->utf8->allow_nonref->decode($str{$out}); return $h->{return}; } - elsif ($str{$err} eq "error: Guest agent is not responding: QEMU guest agent is not connected\n") { + elsif ($str{$err} eq "error: Guest agent is not responding: QEMU guest agent is not connected\n" + or $str{$err} eq "error: Guest agent is not responding: Guest agent not available for now\n" + or $str{$err} =~ /\Aerror: internal error: Guest agent returned ID: \d+ instead of \d+\n\z/) { exit 128; } else { die $str{$err}; |