how does setMemory work?

Hi guys, I used setMemory in order to dynamically change guest's memory on QEMU-KVM. As expected, memory(total, free, available) in the guest was really changed, but after a few seconds, it automatically reverted to its initial memory. So, setMemory changes the guest's memory temporarily? Thanks.

Sorry for the foolish question, there was a memory ballooning daemon, and I checked that memory doesn't change after disabling that daemon. Thank you. 2020년 9월 15일 (화) 오전 11:30, Henry lol <pub.virtualization@gmail.com>님이 작성:
Hi guys,
I used setMemory in order to dynamically change guest's memory on QEMU-KVM. As expected, memory(total, free, available) in the guest was really changed, but after a few seconds, it automatically reverted to its initial memory.
So, setMemory changes the guest's memory temporarily?
Thanks.
participants (1)
-
Henry lol