提交 0f3e5325 编写于 作者: P Peter Krempa

qemu: Update balloon info only if job is allowed

In qemuDomainUpdateCurrentMemorySize I misplaced the actual update of
the balloon size to a place where it may not be initialized. Move it a
few lines above.
上级 f9ab9eff
......@@ -3256,9 +3256,9 @@ qemuDomainUpdateCurrentMemorySize(virQEMUDriverPtr driver,
if (ret < 0)
return -1;
}
vm->def->mem.cur_balloon = balloon;
vm->def->mem.cur_balloon = balloon;
}
return 0;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册