On Monday, October 17, 2016 4:59 PM, Paolo Bonzini wrote: > On 17/10/2016 08:47, Wang, Wei W wrote: > Well, hypercalls aren't really that common in KVM. :) There are exactly two, and > one of them does nothing except force a vmexit. > > Anyway, here are four good reasons why this hypercall is not welcome: > > 1) irqfd seems to be fast enough for VFIO and existing vhost backends, so it > should be fast enough for vhost-pci as well; > > 2) if irqfd is not fast enough, optimizing it would benefit VFIO and existing vhost > backends, so we should first look into that anyway; > > 3) vhost-pci's host part should be basically a vhost-user backend implemented by > QEMU. Any deviation from that should be considered very carefully; > > 4) vhost-pci's first use case should be with DPDK, which does polling anyway, not > interrupts. > Thanks Paolo for the comments. I will take your suggestions and send out a new version of the design. Best, Wei ��.n��������+%������w��{.n�����o�^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�