qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] virtio: Implement userspace forwarding for host


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] virtio: Implement userspace forwarding for host notifiers
Date: Thu, 19 Nov 2015 13:31:54 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0


On 19/11/2015 13:17, Pavel Fedin wrote:
>  Ok, good. So, this has already been tested. Ok, i think i can further extend 
> this patch by:
> 1. Add a flag to disable memory_region_dispatch_write_ioeventfds(), to be set 
> by KVM code for example. So that with KVM we have even
> smaller performance degradation.
> 2. Issue a one-shot warning, like in my current patch, so that the user knows 
> that his/her kernel prevents from getting the best
> performance.
>  Will it be OK then?

Yes!  However QEMU pretty much always tries to use ioeventfd for virtio.
 I'm not sure you want to warn outside the special cases of vhost or
dataplane...  So perhaps it's better to warn in the vhost and dataplane
case specifically, rather than always.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]