All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] vhost-user mmap failed
@ 2014-09-03  2:14 linhafieng
  0 siblings, 0 replies; only message in thread
From: linhafieng @ 2014-09-03  2:14 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-03  2:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-03  2:14 [Qemu-devel] vhost-user mmap failed linhafieng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.