mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-12 10:10:39 +00:00
since qemu 1.7 xbzrle is AUTOMATICALLY enabled in the end of transfer - we need to explicit disable all feature we do not want
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
This commit is contained in:
parent
8f14416db8
commit
b463a3cec0
@ -3149,13 +3149,11 @@ sub set_migration_caps {
|
||||
my $supported_capabilities = vm_mon_cmd_nocheck($vmid, "query-migrate-capabilities");
|
||||
|
||||
for my $supported_capability (@$supported_capabilities) {
|
||||
if ($enabled_cap->{$supported_capability->{capability}} eq 1) {
|
||||
push @$cap_ref, {
|
||||
capability => $supported_capability->{capability},
|
||||
state => JSON::true,
|
||||
state => ($enabled_cap->{$supported_capability->{capability}}) ? JSON::true : JSON::false,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
vm_mon_cmd_nocheck($vmid, "migrate-set-capabilities", capabilities => $cap_ref);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user