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