Bug 821913

Summary: don't build non-x86 qemu targets
Product: Red Hat Enterprise Linux 7 Reporter: Eduardo Habkost <ehabkost>
Component: qemu-kvmAssignee: Miroslav Rezanina <mrezanin>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: areis, hhuang, juzhang, shu, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-1.2-0.2.20120806git3e430569.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 09:27:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eduardo Habkost 2012-05-15 18:24:29 UTC
Description of problem:
The qemu package currently builds all the qemu variants. On RHEL we will give support only to the x86_64-softmmu.

The code to disable the non-x86 qemu targets is already present in the spec file, we just need to change the RHEL-specific settings:


diff --git a/qemu.spec b/qemu.spec
index 2c9b642..3a1b2a9 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -22,7 +22,7 @@
 
 %if 0%{?rhel}
 # RHEL-specific defaults:
-%bcond_with    x86only          # disabled
+%bcond_without x86only          # enabled
 %bcond_without exclusive_x86_64 # enabled
 %bcond_with    rbd              # disabled
 %bcond_with    fdt              # disabled

Comment 1 Eduardo Habkost 2012-08-14 15:47:26 UTC
Fixed in qemu-1.2-0.2.20120806git3e430569.el7.

Comment 3 Shaolong Hu 2014-01-24 07:40:42 UTC
The patch is not in qemu-kvm.spec any more, just check what rpmbuild produce:

[root@localhost RPMS]# pwd
/root/rpmbuild/RPMS
[root@localhost RPMS]# ls
x86_64
[root@localhost RPMS]# cd x86_64/
[root@localhost x86_64]# ls
libcacard-1.5.3-39.el7.x86_64.rpm
libcacard-devel-1.5.3-39.el7.x86_64.rpm
libcacard-tools-1.5.3-39.el7.x86_64.rpm
qemu-guest-agent-1.5.3-39.el7.x86_64.rpm
qemu-img-1.5.3-39.el7.x86_64.rpm
qemu-kvm-1.5.3-39.el7.x86_64.rpm
qemu-kvm-common-1.5.3-39.el7.x86_64.rpm
qemu-kvm-tools-1.5.3-39.el7.x86_64.rpm

Comment 4 Shaolong Hu 2014-01-24 07:41:43 UTC
with qemu-kvm-1.5.3-39.el7.src.rpm

Comment 7 Ludek Smid 2014-06-13 09:27:44 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.