[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] how to create threads like dataplane in qemu
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] how to create threads like dataplane in qemu |
Date: |
Wed, 5 Apr 2017 09:56:07 +0800 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
On Sat, 04/01 11:54, PERSIST wrote:
> Hello!
> I want to create a specific thread for each process in VM so that virtio
> block requests from each process can be sumbitted in the thread related to
> the process.
> I tried to implement it by referring to dataplane,but I can not understand
> the source about dataplane.
There are multiple abstraction layers between guest process and QEMU threads, I
don't think the model you describe is practical. In dataplane, requests are
submitted to host through virtio ioeventfd, and handled by the per-virtual
device thread. What are you trying to achieve here?
Fam