mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-10-04 10:41:46 +00:00
fix tablet mice as default when live migrate
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
This commit is contained in:
parent
b969cc68fd
commit
ce332eeb58
@ -2493,6 +2493,11 @@ sub vm_start {
|
||||
}
|
||||
|
||||
vm_balloonset($vmid, $conf->{balloon}) if $conf->{balloon};
|
||||
|
||||
my $tablet = defined($conf->{tablet}) ? $conf->{tablet} : $defaults->{tablet};
|
||||
PVE::QemuServer::vm_monitor_command($vmid, "mouse_set 1", 0) if $tablet; #ensure usb tablet is activated
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user