RE: [PATCH RFC] kvm/hypercall: Add the PVI hypercall support

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

 



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���)ߣ�

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux