|
|
4a2fec |
From 031cfd078110d2ccdde9ffa446cb34ebf5592419 Mon Sep 17 00:00:00 2001
|
|
|
4a2fec |
From: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
4a2fec |
Date: Fri, 20 Oct 2017 18:29:16 +0200
|
|
|
4a2fec |
Subject: [PATCH 11/19] xen/pt: Mark TYPE_XEN_PT_DEVICE as hybrid
|
|
|
4a2fec |
|
|
|
4a2fec |
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
4a2fec |
Message-id: <20171020182917.10771-7-ehabkost@redhat.com>
|
|
|
4a2fec |
Patchwork-id: 77426
|
|
|
4a2fec |
O-Subject: [RHV7.5 qemu-kvm-rhev PATCH v2 6/7] xen/pt: Mark TYPE_XEN_PT_DEVICE as hybrid
|
|
|
4a2fec |
Bugzilla: 1390348
|
|
|
4a2fec |
RH-Acked-by: Marcel Apfelbaum <marcel@redhat.com>
|
|
|
4a2fec |
RH-Acked-by: Michael S. Tsirkin <mst@redhat.com>
|
|
|
4a2fec |
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
|
|
|
4a2fec |
|
|
|
4a2fec |
xen-pt doesn't set the is_express field, but is supposed to be
|
|
|
4a2fec |
able to handle PCI Express devices too. Mark it as hybrid.
|
|
|
4a2fec |
|
|
|
4a2fec |
Suggested-by: Jan Beulich <JBeulich@suse.com>
|
|
|
4a2fec |
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
4a2fec |
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
|
|
|
4a2fec |
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
|
|
4a2fec |
(cherry picked from commit 6d7023763ec8cc7999468769a0c6bf1335dc3bf4)
|
|
|
4a2fec |
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
4a2fec |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
4a2fec |
---
|
|
|
4a2fec |
hw/xen/xen_pt.c | 1 +
|
|
|
4a2fec |
1 file changed, 1 insertion(+)
|
|
|
4a2fec |
|
|
|
4a2fec |
diff --git a/hw/xen/xen_pt.c b/hw/xen/xen_pt.c
|
|
|
4a2fec |
index 01df341..9bba717 100644
|
|
|
4a2fec |
--- a/hw/xen/xen_pt.c
|
|
|
4a2fec |
+++ b/hw/xen/xen_pt.c
|
|
|
4a2fec |
@@ -966,6 +966,7 @@ static const TypeInfo xen_pci_passthrough_info = {
|
|
|
4a2fec |
.class_init = xen_pci_passthrough_class_init,
|
|
|
4a2fec |
.interfaces = (InterfaceInfo[]) {
|
|
|
4a2fec |
{ INTERFACE_CONVENTIONAL_PCI_DEVICE },
|
|
|
4a2fec |
+ { INTERFACE_PCIE_DEVICE },
|
|
|
4a2fec |
{ },
|
|
|
4a2fec |
},
|
|
|
4a2fec |
};
|
|
|
4a2fec |
--
|
|
|
4a2fec |
1.8.3.1
|
|
|
4a2fec |
|