aboutsummaryrefslogtreecommitdiffstats
path: root/virsh-ga
diff options
context:
space:
mode:
Diffstat (limited to 'virsh-ga')
-rwxr-xr-xvirsh-ga4
1 files changed, 3 insertions, 1 deletions
diff --git a/virsh-ga b/virsh-ga
index 2b26c82..6724298 100755
--- a/virsh-ga
+++ b/virsh-ga
@@ -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};