Patch 1 fixes an issue reported by Vivek, when assigning a device that supports classic MSI without maskable vectors. Patch 2 adds some comments and renames the states, because the MSI code is difficult to understand. I haven't found a way to simplify it but this should at least help people debug it. Jean-Philippe Brucker (2): vfio/pci: Initialize MSI vectors unmasked vfio/pci: Clarify the MSI states include/kvm/vfio.h | 8 ++--- vfio/pci.c | 86 ++++++++++++++++++++++++++++------------------ 2 files changed, 57 insertions(+), 37 deletions(-) -- 2.41.0