Re: [RFC PATCH] [vmm] Lightweight mechanism to kick virtio VQs

2018-11-23 Thread Sergio Lopez
On Fri, Oct 19, 2018 at 08:32:52PM +0200, Sergio Lopez wrote: > Yes, I ran some random read and random write tests with fio. The Guest > is Linux, mainly because its virtio implementation is more mature. Next > week I'll try with OpenBSD. Here are the (long due) numbers with an OpenBSD

Re: vmd: servicing virtio devices from separate processes

2018-10-22 Thread Sergio Lopez
On Sat, Oct 20, 2018 at 10:09:39AM -0700, Pratik Vyas wrote: > * David Gwynne [2018-10-20 12:19:56 +1000]: > > > > > Would sending and receiving a VM still work if I/O is run in different > > processes? > > > > dlg > > > > Hi dlg, > > It will have to be reworked completely but can be done,

Re: [RFC PATCH] [vmm] Lightweight mechanism to kick virtio VQs

2018-10-19 Thread Sergio Lopez
On Wed, Oct 17, 2018 at 02:22:23PM -0700, Mike Larkin wrote: > On Fri, Oct 05, 2018 at 12:07:13PM +0200, Sergio Lopez wrote: > > Hi, > > > > This patch implements a mechanism to allow users register an I/O port > > with a special file descriptor (kickfd) which can

Re: vmd: servicing virtio devices from separate processes

2018-10-19 Thread Sergio Lopez
On Wed, Oct 17, 2018 at 02:04:46PM -0700, Mike Larkin wrote: > On Fri, Oct 05, 2018 at 01:50:10PM +0200, Sergio Lopez wrote: > > Right now, vmd already features an excellent privsep model to ensure > > the process servicing the VM requests to the outside world is running >

Re: vmd: servicing virtio devices from separate processes

2018-10-11 Thread Sergio Lopez
On Thu, 2018-10-11 at 09:02 -0700, Mike Larkin wrote: > On Wed, Oct 10, 2018 at 05:04:34PM +0200, Sergio Lopez wrote: > > On Mon, 2018-10-08 at 09:58 -0700, Mike Larkin wrote: > > > On Fri, Oct 05, 2018 at 01:50:10PM +0200, Sergio Lopez wrote: > > > > Hi, > >

Re: vmd: servicing virtio devices from separate processes

2018-10-10 Thread Sergio Lopez
On Mon, 2018-10-08 at 09:58 -0700, Mike Larkin wrote: > On Fri, Oct 05, 2018 at 01:50:10PM +0200, Sergio Lopez wrote: > > Hi, > > > > I have an idea in mind that I'd like to share to ask you if you think > > it's worth giving it a try. > > > > Right now, vm

vmd: servicing virtio devices from separate processes

2018-10-05 Thread Sergio Lopez
Hi, I have an idea in mind that I'd like to share to ask you if you think it's worth giving it a try. Right now, vmd already features an excellent privsep model to ensure the process servicing the VM requests to the outside world is running with the lowest possible privileges. I was wondering

[RFC PATCH] [vmm] Lightweight mechanism to kick virtio VQs

2018-10-05 Thread Sergio Lopez
Hi, This patch implements a mechanism to allow users register an I/O port with a special file descriptor (kickfd) which can be monitored for events using kevent. The kernel will note an event each time the Guest writes to an I/O port registered with a kickfd. This is mainly intended for kicking