williamtu / ovs-mlx

OVS smartnic
0 stars 0 forks source link

[SOLVED] qemu-system-x86_64: Failed initializing vhost-user memory map #8

Open smadaminov opened 4 years ago

smadaminov commented 4 years ago

During the QEMU start up I experienced the following error message

qemu-system-x86_64: Failed initializing vhost-user memory map, consider using -object memory-backend-file share=on
qemu-system-x86_64: vhost_set_mem_table failed: Resource temporarily unavailable (11)
qemu-system-x86_64: unable to start vhost net: 11: falling back on userspace virtio
smadaminov commented 4 years ago

Seems that the problem is related to memory allocation and adding the following command option to QEMU start up command helped:

-numa node,memdev=mem -mem-prealloc