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