• Sheng Yang's avatar
    KVM: Ioctls for init MSI-X entry · c1e01514
    Sheng Yang authored
    Introduce KVM_SET_MSIX_NR and KVM_SET_MSIX_ENTRY two ioctls.
    
    This two ioctls are used by userspace to specific guest device MSI-X entry
    number and correlate MSI-X entry with GSI during the initialization stage.
    
    MSI-X should be well initialzed before enabling.
    
    Don't support change MSI-X entry number for now.
    Signed-off-by: default avatarSheng Yang <sheng@linux.intel.com>
    Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    c1e01514
kvm_main.c 55.7 KB