• David Woodhouse's avatar
    KVM: x86/xen: Advertise and document KVM_XEN_HVM_CONFIG_EVTCHN_SEND · 661a20fa
    David Woodhouse authored
    At the end of the patch series adding this batch of event channel
    acceleration features, finally add the feature bit which advertises
    them and document it all.
    
    For SCHEDOP_poll we need to wake a polling vCPU when a given port
    is triggered, even when it's masked — and we want to implement that
    in the kernel, for efficiency. So we want the kernel to know that it
    has sole ownership of event channel delivery. Thus, we allow
    userspace to make the 'promise' by setting the corresponding feature
    bit in its KVM_XEN_HVM_CONFIG call. As we implement SCHEDOP_poll
    bypass later, we will do so only if that promise has been made by
    userspace.
    Signed-off-by: default avatarDavid Woodhouse <dwmw@amazon.co.uk>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    Message-Id: <20220303154127.202856-16-dwmw2@infradead.org>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    661a20fa
x86.c 340 KB