2020-11-03 12:01:38 +00:00
|
|
|
From a04fcb5b463c90c47705ca0f28e40b73c00b6b72 Mon Sep 17 00:00:00 2001
|
|
|
|
Message-Id: <a04fcb5b463c90c47705ca0f28e40b73c00b6b72@dist-git>
|
2020-04-28 09:33:33 +00:00
|
|
|
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>
|
|
|
|
---
|
2020-11-03 12:01:38 +00:00
|
|
|
src/qemu/qemu_domain.c | 4 ++++
|
|
|
|
1 file changed, 4 insertions(+)
|
2020-04-28 09:33:33 +00:00
|
|
|
|
|
|
|
diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
|
2020-11-03 12:01:38 +00:00
|
|
|
index a6dde15bad..0edf316fff 100644
|
2020-04-28 09:33:33 +00:00
|
|
|
--- a/src/qemu/qemu_domain.c
|
|
|
|
+++ b/src/qemu/qemu_domain.c
|
2020-11-03 12:01:38 +00:00
|
|
|
@@ -12631,6 +12631,10 @@ qemuDomainMachineNeedsFDC(const char *machine,
|
|
|
|
return false;
|
2020-04-28 09:33:33 +00:00
|
|
|
}
|
2020-11-03 12:01:38 +00:00
|
|
|
|
|
|
|
+ if (STRPREFIX(p, "rhel7.0.0") ||
|
|
|
|
+ STRPREFIX(p, "rhel7.1.0"))
|
|
|
|
+ return false;
|
|
|
|
+
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2020-04-28 09:33:33 +00:00
|
|
|
--
|
2020-11-03 12:01:38 +00:00
|
|
|
2.25.0
|
2020-04-28 09:33:33 +00:00
|
|
|
|