mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-10-05 09:58:54 +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 {
|
||||
my $fh = &$open_connection($self, $vmid, $timeout);
|
||||
|
||||
if(!$self->{qga}){
|
||||
my $cmd = { execute => 'qmp_capabilities', arguments => {} };
|
||||
unshift @{$self->{queue}->{$vmid}}, $cmd;
|
||||
}
|
||||
|
||||
$self->{mux}->set_timeout($fh, $timeout);
|
||||
};
|
||||
if (my $err = $@) {
|
||||
|
Loading…
Reference in New Issue
Block a user