mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-25 06:03:52 +03:00
don't send qmp balloon commands if vm is started with a state file
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
bdf3f36209
commit
15b1fc9395
@ -3012,7 +3012,7 @@ sub vm_start {
|
||||
}
|
||||
else{
|
||||
|
||||
if (!defined($conf->{balloon}) || $conf->{balloon}) {
|
||||
if (!$statefile && (!defined($conf->{balloon}) || $conf->{balloon})) {
|
||||
vm_mon_cmd_nocheck($vmid, "balloon", value => $conf->{balloon}*1024*1024)
|
||||
if $conf->{balloon};
|
||||
vm_mon_cmd_nocheck($vmid, 'qom-set',
|
||||
|
Loading…
x
Reference in New Issue
Block a user