KVM: x86: Explicitly treat routing entry type changes as changes
authorSean Christopherson <seanjc@google.com>
Fri, 4 Apr 2025 19:38:18 +0000 (12:38 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Apr 2025 13:52:31 +0000 (09:52 -0400)
commitbcda70c56f3e718465cab2aad260cf34183ce1ce
treeb45cefac13ad5323042b4444a1594889b6f85744
parent9bcac97dc42d2f4da8229d18feb0fe2b1ce523a2
KVM: x86: Explicitly treat routing entry type changes as changes

Explicitly treat type differences as GSI routing changes, as comparing MSI
data between two entries could get a false negative, e.g. if userspace
changed the type but left the type-specific data as-is.

Fixes: 515a0c79e796 ("kvm: irqfd: avoid update unmodified entries of the routing")
Cc: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-ID: <20250404193923.1413163-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c