|
| From: | Paolo Bonzini |
| Subject: | Re: [Qemu-devel] [PATCH 17/23] hyperv: add synic message delivery |
| Date: | Wed, 14 Jun 2017 17:08:02 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
On 06/06/2017 20:19, Roman Kagan wrote:
> + sint_route->msg_status = ret;
> + /* notify the msg originator of the progress made; if the slot was busy
> we
> + * set msg_pending flag in it so it will be the guest who will do EOM and
> + * trigger the notification from KVM via sint_ack_notifier */
> + if (ret != -EAGAIN) {
> + qemu_bh_schedule(sint_route->msg_bh);
> + }
It may be faster to use aio_bh_schedule_oneshot, depending on the number
of devices.
Paolo
| [Prev in Thread] | Current Thread | [Next in Thread] |