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