mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-03 15:45:49 +00:00
qmpclient-qga : add qga option at object creation
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
693d12a2c0
commit
d64ee87e73
@ -20,7 +20,7 @@ use Data::Dumper;
|
||||
# Note: kvm can onyl handle 1 connection, so we close connections asap
|
||||
|
||||
sub new {
|
||||
my ($class, $eventcb) = @_;
|
||||
my ($class, $eventcb, $qga) = @_;
|
||||
|
||||
my $mux = new IO::Multiplex;
|
||||
|
||||
@ -34,6 +34,7 @@ sub new {
|
||||
}, $class;
|
||||
|
||||
$self->{eventcb} = $eventcb if $eventcb;
|
||||
$self->{qga} = $qga if $qga;
|
||||
|
||||
$mux->set_callback_object($self);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user