Skip to content
  • James Hogan's avatar
    kvm: Allow arch to set sigmask length · aed6efb9
    James Hogan authored
    
    
    MIPS/Linux is unusual in having 128 signals rather than just 64 like
    most other architectures. This means its sigmask is 16 bytes instead of
    8, so allow arches to override the sigmask->len value passed to the
    KVM_SET_SIGNAL_MASK ioctl in kvm_set_signal_mask() by calling
    kvm_set_sigmask_len() from kvm_arch_init(). Otherwise default to 8
    bytes.
    
    Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
    Cc: Aurelien Jarno <aurelien@aurel32.net>
    Cc: Sanjay Lal <sanjayl@kymasys.com>
    Cc: Gleb Natapov <gleb@redhat.com>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    aed6efb9