]> git.ipfire.org Git - thirdparty/qemu.git/commit
ioapic: kvm: Skip route updates for masked pins
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 2 Jun 2019 11:42:13 +0000 (13:42 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 1 Oct 2019 21:58:28 +0000 (16:58 -0500)
commitd25b37247d9fe5671059556699d5d8be643f6cf9
tree9d49bc54c5d646b17008ce220d59ff22e19c185d
parent5ad70231d31ce1c70bbd1d10098e482c90d760f5
ioapic: kvm: Skip route updates for masked pins

Masked entries will not generate interrupt messages, thus do no need to
be routed by KVM. This is a cosmetic cleanup, just avoiding warnings of
the kind

qemu-system-x86_64: vtd_irte_get: detected non-present IRTE (index=0, high=0xff00, low=0x100)

if the masked entry happens to reference a non-present IRTE.

Cc: qemu-stable@nongnu.org
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Message-Id: <a84b7e03-f9a8-b577-be27-4d93d1caa1c9@siemens.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
(cherry picked from commit be1927c97e564346cbd409cb17fe611df74b84e5)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/intc/ioapic.c