that is what i really want to know,thanks very very much!!!
from jack chen
On 2/1/2018 18:30,[1]Dr. David Alan Gilbert wrote:
* jack.chen (zhun...@gmail.com) wrote:
> Thanks,But my question is how the fd belonging to qemu can be used
in
> another process such as DPDK
* jack.chen (zhun...@gmail.com) wrote:
> Thanks,But my question is how the fd belonging to qemu can be used in
> another process such as DPDK?is fd just effective within one process?
> for example ,if process A open file a.txt,and it gets one fd。the fd
> can only be used in process A ,can it be use
Thanks,But my question is how the fd belonging to qemu can be used in
another process such as DPDK?is fd just effective within one process?
for example ,if process A open file a.txt,and it gets one fd。the fd
can only be used in process A ,can it be used in process B?
2018-02-01 17:51 GMT+08:00 Dr.
* jack.chen (zhun...@gmail.com) wrote:
> thanks,but I really can not understand how the fd works,can someone
> explain it or give me some reference material??
Probably the man page for the mmap system call, or an introduction to
linux/unix syscalls. Just remember that any shared memory will be
'
thanks,but I really can not understand how the fd works,can someone
explain it or give me some reference material??
2018-02-01 1:31 GMT+08:00 Dr. David Alan Gilbert :
> * jack.chen (zhun...@gmail.com) wrote:
>> hello,I am confused when I read vhost-user source code in qemu.I know
>> vhost-user a
* jack.chen (zhun...@gmail.com) wrote:
> hello,I am confused when I read vhost-user source code in qemu.I know
> vhost-user app shared memory with qemu by mmap,but why it can use fd which
> is belong to qemu?
> relative code:
> qemu code in function vhost_user_set_mem_table
> fd = memory_region_ge
hello,I am confused when I read vhost-user source code in qemu.I know
vhost-user app shared memory with qemu by mmap,but why it can use fd which
is belong to qemu?
relative code:
qemu code in function vhost_user_set_mem_table
fd = memory_region_get_fd(mr);
if (fd > 0) {
msg.pay