From: linhafieng <haifeng.lin@huawei.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] vhost-user mmap failed
Date: Wed, 3 Sep 2014 10:14:15 +0800 [thread overview]
Message-ID: <54067977.7070205@huawei.com> (raw)
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 other threads:[~2014-09-03 2:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54067977.7070205@huawei.com \
--to=haifeng.lin@huawei.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).