• Scott Wood's avatar
    kvm/ppc/mpic: add KVM_CAP_IRQ_MPIC · eb1e4f43
    Scott Wood authored
    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: default avatarScott Wood <scottwood@freescale.com>
    [agraf: add stub functions for kvmppc_mpic_{dis,}connect_vcpu]
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    eb1e4f43
booke.c 44.4 KB