Blame SOURCES/kvm-vfio-pci-Default-display-option-to-off.patch

357786
From a58a90bf5d832135b8e36fdeafed35a92abe79bd Mon Sep 17 00:00:00 2001
357786
From: Alex Williamson <alex.williamson@redhat.com>
357786
Date: Tue, 12 Jun 2018 14:51:43 +0200
357786
Subject: [PATCH 01/57] vfio/pci: Default display option to "off"
357786
357786
RH-Author: Alex Williamson <alex.williamson@redhat.com>
357786
Message-id: <20180612145121.14019.7760.stgit@gimli.home>
357786
Patchwork-id: 80641
357786
O-Subject: [RHEL-7.6 qemu-kvm-rhev PATCH] vfio/pci: Default display option to "off"
357786
Bugzilla: 1583050
357786
RH-Acked-by: Gerd Hoffmann <kraxel@redhat.com>
357786
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
357786
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
357786
357786
Commit a9994687cb9b ("vfio/display: core & wireup") added display
357786
support to vfio-pci with the default being "auto", which breaks
357786
existing VMs when the vGPU requires GL support but had no previous
357786
requirement for a GL compatible configuration.  "Off" is the safer
357786
default as we impose no new requirements to VM configurations.
357786
357786
Fixes: a9994687cb9b ("vfio/display: core & wireup")
357786
Cc: qemu-stable@nongnu.org
357786
Cc: Gerd Hoffmann <kraxel@redhat.com>
357786
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
357786
(cherry picked from commit 8151a9c56d31eeeea872b8103c8b86d03c411667)
357786
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
357786
---
357786
 hw/vfio/pci.c | 2 +-
357786
 1 file changed, 1 insertion(+), 1 deletion(-)
357786
357786
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
357786
index 34b9d19..4683eb4 100644
357786
--- a/hw/vfio/pci.c
357786
+++ b/hw/vfio/pci.c
357786
@@ -3167,7 +3167,7 @@ static Property vfio_pci_dev_properties[] = {
357786
     DEFINE_PROP_PCI_HOST_DEVADDR("host", VFIOPCIDevice, host),
357786
     DEFINE_PROP_STRING("sysfsdev", VFIOPCIDevice, vbasedev.sysfsdev),
357786
     DEFINE_PROP_ON_OFF_AUTO("display", VFIOPCIDevice,
357786
-                            display, ON_OFF_AUTO_AUTO),
357786
+                            display, ON_OFF_AUTO_OFF),
357786
     DEFINE_PROP_UINT32("x-intx-mmap-timeout-ms", VFIOPCIDevice,
357786
                        intx.mmap_timeout, 1100),
357786
     DEFINE_PROP_BIT("x-vga", VFIOPCIDevice, features,
357786
-- 
357786
1.8.3.1
357786