mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-01 04:51:50 +00:00
also support getfd
This commit is contained in:
parent
558f16446e
commit
a0e7a5d00d
@ -181,7 +181,7 @@ my $check_queue = sub {
|
|||||||
$cmd->{id} = &$next_cmdid();
|
$cmd->{id} = &$next_cmdid();
|
||||||
|
|
||||||
my $fd = -1;
|
my $fd = -1;
|
||||||
if ($cmd->{execute} eq 'add-fd') {
|
if ($cmd->{execute} eq 'add-fd' || $cmd->{execute} eq 'getfd') {
|
||||||
$fd = $cmd->{arguments}->{fd};
|
$fd = $cmd->{arguments}->{fd};
|
||||||
delete $cmd->{arguments}->{fd};
|
delete $cmd->{arguments}->{fd};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user