99cbc7
From ff2b3b8bdb05750071b2c799431c7cc35db348f3 Mon Sep 17 00:00:00 2001
99cbc7
Message-Id: <ff2b3b8bdb05750071b2c799431c7cc35db348f3@dist-git>
99cbc7
From: =?UTF-8?q?J=C3=A1n=20Tomko?= <jtomko@redhat.com>
99cbc7
Date: Mon, 22 Feb 2016 12:51:51 +0100
99cbc7
Subject: [PATCH] RHEL: Add rhel machine types to qemuDomainMachineNeedsFDC
99cbc7
99cbc7
RHEL-only.
99cbc7
99cbc7
pc-q35-rhel7.0.0 and pc-q35-rhel7.1.0 do not need an explicit
99cbc7
isa-fdc controller.
99cbc7
99cbc7
https://bugzilla.redhat.com/show_bug.cgi?id=1227880
99cbc7
99cbc7
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
99cbc7
---
99cbc7
 src/qemu/qemu_domain.c | 3 +++
99cbc7
 1 file changed, 3 insertions(+)
99cbc7
99cbc7
diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
99cbc7
index 4c15d5a36a..4c2a162b85 100644
99cbc7
--- a/src/qemu/qemu_domain.c
99cbc7
+++ b/src/qemu/qemu_domain.c
99cbc7
@@ -9239,6 +9239,9 @@ qemuDomainMachineNeedsFDC(const char *machine)
99cbc7
             STRPREFIX(p, "2.2") ||
99cbc7
             STRPREFIX(p, "2.3"))
99cbc7
             return false;
99cbc7
+        if (STRPREFIX(p, "rhel7.0.0") ||
99cbc7
+            STRPREFIX(p, "rhel7.1.0"))
99cbc7
+            return false;
99cbc7
         return true;
99cbc7
     }
99cbc7
     return false;
99cbc7
-- 
99cbc7
2.18.0
99cbc7