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