OSDN Git Service

hw/pci/pci_host: Introduce PCI_HOST_BYPASS_IOMMU macro
authorBernhard Beschow <shentey@gmail.com>
Fri, 30 Jun 2023 07:37:07 +0000 (09:37 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 10 Jul 2023 20:29:17 +0000 (16:29 -0400)
commit3b20f4ca59b53f10240d94cdb3f482c116640437
treeb3cd1ebb95815834ee9a0b2b26f195c525db14c4
parent06a492bd2b75653970e30c3ae0ea79ab1ed4ae31
hw/pci/pci_host: Introduce PCI_HOST_BYPASS_IOMMU macro

Introduce a macro to avoid copy and pasting strings which can easily
cause typos.

Suggested-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20230630073720.21297-5-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pci_host.c
include/hw/pci/pci_host.h