[Top][All Lists]

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

Re: [Qemu-devel] [PATCH 3/4] cryptodev-vhost-user: add crypto session ha

From: Tan, Jianfeng
Subject: Re: [Qemu-devel] [PATCH 3/4] cryptodev-vhost-user: add crypto session handler
Date: Wed, 29 Nov 2017 18:21:17 +0800
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 11/29/2017 5:11 PM, Paolo Bonzini wrote:
On 29/11/2017 05:10, Michael S. Tsirkin wrote:
" Interrupt mode for vhost-user is still not supported in current
implementation. But we are evaluating the necessity now.
That's more or less a spec violation. Guest must get interrupts
if it does not disable them. And it must notify host
if host does not disable notifications.

By that, I mean the transmission from virtio to vhost, if virtio is not actively sending packets, at vhost side, we can stop polling from that vhost port (i.e., virtio); if VM wants to send packets, besides putting packets on virtqueue, it also kicks the backend through pio/mmio.

So no need to modify spec.

I understood that as "the vhost-user server is always using poll mode
for the virtqueues" and cannot use e.g. ioeventfds.

We can change to work like this: stop polling, and wait for the eventfd, and then get back to polling.




reply via email to

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