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