blob: 0858310a8f4b1a95620b4e0d801c0fa53c16d2c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
graphic: 0.972
mistranslation: 0.859
device: 0.847
instruction: 0.831
network: 0.829
socket: 0.710
other: 0.687
vnc: 0.671
semantic: 0.637
KVM: 0.614
boot: 0.460
assembly: 0.156
qemu error `hotplug memory" error="QMP command failed: a used vhost backend has no free memory slots left"`
Description of problem:
When I create a Qemu VM with 8 Gpus and hot-plugging memory, this will return the error QMP command failed: a used vhost backend has no free memory slots left. I read some source file https://gitlab.com/qemu-project/qemu/-/blob/master/hw/virtio/vhost-user.c#L2077, and debug show u->user->memory_slots is 32, but this https://gitlab.com/qemu-project/qemu/-/blob/master/hw/virtio/vhost.c#L62 used_memslots is bigger than u->user->memory_slots. `u->user->memory_slots` is defined 32 by https://gitlab.com/qemu-project/qemu/-/blob/master/subprojects/libvhost-user/libvhost-user.h#L37, but I also see VHOST_USER_MAX_RAM_SLOTS defined 512 under x86 architecture. Can I improve `u->user->memory_slots` by any way?
Steps to reproduce:
1.crate kata containers with 8 Gpus
2.kata containers return error
Additional information:
|