qemu: Add helper to update domain balloon size and refactor usage places
When qemu does not support the balloon event the current memory size needs to be queried. Since there are two places that implement the same logic, split it out into a function and reuse.
Showing
想要评论请 注册 或 登录