• S
    kvm/ppc/mpic: add KVM_CAP_IRQ_MPIC · eb1e4f43
    Scott Wood 提交于
    Enabling this capability connects the vcpu to the designated in-kernel
    MPIC.  Using explicit connections between vcpus and irqchips allows
    for flexibility, but the main benefit at the moment is that it
    simplifies the code -- KVM doesn't need vm-global state to remember
    which MPIC object is associated with this vm, and it doesn't need to
    care about ordering between irqchip creation and vcpu creation.
    Signed-off-by: NScott Wood <scottwood@freescale.com>
    [agraf: add stub functions for kvmppc_mpic_{dis,}connect_vcpu]
    Signed-off-by: NAlexander Graf <agraf@suse.de>
    eb1e4f43
kvm.h 29.7 KB