mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-10-05 17:10:58 +00:00
qmpclient-qga : do not sent qmp_capabilities for qga
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
b1d8a6d44b
commit
c6fb6a6978
@ -228,8 +228,12 @@ sub queue_execute {
|
|||||||
|
|
||||||
eval {
|
eval {
|
||||||
my $fh = &$open_connection($self, $vmid, $timeout);
|
my $fh = &$open_connection($self, $vmid, $timeout);
|
||||||
|
|
||||||
|
if(!$self->{qga}){
|
||||||
my $cmd = { execute => 'qmp_capabilities', arguments => {} };
|
my $cmd = { execute => 'qmp_capabilities', arguments => {} };
|
||||||
unshift @{$self->{queue}->{$vmid}}, $cmd;
|
unshift @{$self->{queue}->{$vmid}}, $cmd;
|
||||||
|
}
|
||||||
|
|
||||||
$self->{mux}->set_timeout($fh, $timeout);
|
$self->{mux}->set_timeout($fh, $timeout);
|
||||||
};
|
};
|
||||||
if (my $err = $@) {
|
if (my $err = $@) {
|
||||||
|
Loading…
Reference in New Issue
Block a user