forked from rpms/libvirt
36 lines
1.0 KiB
Diff
36 lines
1.0 KiB
Diff
From 74b69d4a7240c601fcd12c18d5e8d95d641ae922 Mon Sep 17 00:00:00 2001
|
|
Message-Id: <74b69d4a7240c601fcd12c18d5e8d95d641ae922@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 | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
|
|
index 4c15d5a36a..4c2a162b85 100644
|
|
--- a/src/qemu/qemu_domain.c
|
|
+++ b/src/qemu/qemu_domain.c
|
|
@@ -9239,6 +9239,9 @@ qemuDomainMachineNeedsFDC(const char *machine)
|
|
STRPREFIX(p, "2.2") ||
|
|
STRPREFIX(p, "2.3"))
|
|
return false;
|
|
+ if (STRPREFIX(p, "rhel7.0.0") ||
|
|
+ STRPREFIX(p, "rhel7.1.0"))
|
|
+ return false;
|
|
return true;
|
|
}
|
|
return false;
|
|
--
|
|
2.18.0
|
|
|