[PATCH] target/i386/sev: Add an option to allow SEV not to pin memory

2024-01-09 Thread Zheyun Shen
guest. Memory Ballooning is a nice memory overcommitment technology can be used in CVM based on SEV and SEV-ES, so userspace tools can provide an option to allow SEV not to pin memory. Signed-off-by: Zheyun Shen --- qapi/qom.json | 7 ++- qemu-options.hx | 5 - target/

[PATCH] hw/virtio: Add ioeventfd option for balloon

2023-12-12 Thread Zheyun Shen
using SEV/ES and the kernel provided by AMD, the overhead will become even much larger. With ioeventfd, the thread for host to do balloon inflation will be seperated from the vcpu thread, leading to better performance for the whole process of balloon inflation. Signed-off-by: Zheyun Shen --- hw