hi,

I run the qemu-master(vhost-user v10)with the vapp(vhost-user v9).It says mmap 
failed,do you know why this happen?

./vhost -s /path/to/socket

Processing message: VHOST_USER_SET_MEM_TABLE
_set_mem_table
mmap: Invalid argument
mmap: Invalid argument
Got memory.nregions 2
Cmd: VHOST_USER_SET_VRING_NUM (0x8)
Flags: 0x1
state: 0 256

./x86_64-softmmu/qemu-system-x86_64 -m 2048 -object 
memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa 
node,memdev=mem -chardev socket,id=chr0,path=/path/to/socket  -netdev 
type=vhost-user,id=net0,chardev=chr0 -device virtio-net-pci,netdev=net0


Reply via email to