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

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