Closed dengxuehua closed 2 years ago
Well I think the reason it doesn't work for you is because you're using a guest kernel that's too old. virtio-mem support has been introduced in Linux 5.8, therefore it's not part of the guest you're running in your test.
@sboeuf Thanks for your answer.
Describe the bug The ch-socket hangs on executing resize --memory if vm using --memory hotplug_method=
virtio-mem
.To Reproduce Launch a VM with focal (Ubuntu 20.04) cloud image (link) , hypervisor-fw and --memory hotplug_method=virtio-mem. Run command line
./ch-remote --api-socket=/tmp/ch-socket resize --memory 3G
.Version
cloud-hypervisor v22.1
(upstream version) Built with default feature (e.g. usingcargo build --release
)VM configuration
What command line did you run (or JSON config data):
Guest OS version details:
Host OS version details:
Logs
Output of `cloud-hypervisor -v` from either standard error or via `--log-file`:
Linux kernel output: