On 12/13/2017 08:35 PM, Stefan Hajnoczi wrote:
On Wed, Dec 13, 2017 at 04:11:45PM +0800, Wei Wang wrote:
I think the current approach is fine for a prototype but is not suitable
for wider use by the community because it:
1. Does not scale to multiple device types (net, scsi, blk, etc)
2. Does no
On 12/13/2017 10:16 PM, Tetsuo Handa wrote:
Wei Wang wrote:
On 12/12/2017 09:20 PM, Tetsuo Handa wrote:
Wei Wang wrote:
+void xb_clear_bit_range(struct xb *xb, unsigned long start, unsigned long end)
+{
+ struct radix_tree_root *root = &xb->xbrt;
+ struct radix_tree_node *node;
+
Hi Stefan,
On 12/13/2017 09:08 PM, Stefan Hajnoczi wrote:
On Wed, Dec 13, 2017 at 3:01 PM, Michael S. Tsirkin wrote:
On Wed, Dec 13, 2017 at 12:35:21PM +, Stefan Hajnoczi wrote:
I'm not saying that DPDK should use libvhost-user. I'm saying that it's
easy to add vfio vhost-pci support (fo
> * VHOST_USER_SET_VRING_KICK
>
>Set up vring kick doorbell (unless bit 8 is set) before sending
>VHOST_USER_SET_VRING_KICK to the guest.
But guest can't use it, now can it?
What guest needs is a mapping to interrupts.
> * VHOST_USER_SET_VRING_CALL
>
>Set up the vring call doorb
On Wed, Dec 13, 2017 at 12:35:21PM +, Stefan Hajnoczi wrote:
> I'm not saying that DPDK should use libvhost-user. I'm saying that it's
> easy to add vfio vhost-pci support (for the PCI adapter I described) to
> DPDK. This patch series would require writing a completely new slave
> for vhost-p
On 12/12/2017 09:20 PM, Tetsuo Handa wrote:
Wei Wang wrote:
+void xb_clear_bit_range(struct xb *xb, unsigned long start, unsigned long end)
+{
+ struct radix_tree_root *root = &xb->xbrt;
+ struct radix_tree_node *node;
+ void **slot;
+ struct ida_bitmap *bitmap;
+ u
On 12/12/2017 06:14 PM, Stefan Hajnoczi wrote:
On Mon, Dec 11, 2017 at 01:53:40PM +, Wang, Wei W wrote:
On Monday, December 11, 2017 7:12 PM, Stefan Hajnoczi wrote:
On Sat, Dec 09, 2017 at 04:23:17PM +, Wang, Wei W wrote:
On Friday, December 8, 2017 4:34 PM, Stefan Hajnoczi wrote:
On