From 1f80f762c882a25b63d7b481ae87f75ac1ba5d6ee1d4f8eb9b53a07e4bdb4ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Sat, 17 Aug 2013 19:01:06 +0000 Subject: [PATCH] Accepting request 195515 from home:a_faerber:branches:Virtualization Enable Xen support OBS-URL: https://build.opensuse.org/request/show/195515 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=156 --- qemu.changes | 6 ++++++ qemu.spec | 6 ++++++ qemu.spec.in | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/qemu.changes b/qemu.changes index 53e23882..9c3d919d 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Aug 17 13:43:13 UTC 2013 - afaerber@suse.de + +- Enable Xen support to allow testing our QEMU in place of Xen's + This prepares for consolidating QEMU packaging further. + ------------------------------------------------------------------- Sat Aug 17 12:12:57 UTC 2013 - afaerber@suse.de diff --git a/qemu.spec b/qemu.spec index b6f10c8d..bcf20302 100644 --- a/qemu.spec +++ b/qemu.spec @@ -110,6 +110,9 @@ BuildRequires: python %if 0%{?suse_version} >= 1210 BuildRequires: vte2-devel %endif +%ifarch %ix86 x86_64 +BuildRequires: xen-devel +%endif BuildRequires: zlib-devel %if 0%{?suse_version} >= 1140 %ifarch %ix86 x86_64 @@ -250,6 +253,9 @@ This sub-package contains the guest agent. --enable-vnc-sasl \ --enable-vnc-tls \ --enable-vnc-ws \ +%ifarch %ix86 x86_64 + --enable-xen \ +%endif make %{?_smp_mflags} V=1 diff --git a/qemu.spec.in b/qemu.spec.in index e1f17185..c41b3bc7 100644 --- a/qemu.spec.in +++ b/qemu.spec.in @@ -73,6 +73,9 @@ BuildRequires: python %if 0%{?suse_version} >= 1210 BuildRequires: vte2-devel %endif +%ifarch %ix86 x86_64 +BuildRequires: xen-devel +%endif BuildRequires: zlib-devel %if 0%{?suse_version} >= 1140 %ifarch %ix86 x86_64 @@ -176,6 +179,9 @@ PATCH_EXEC --enable-vnc-sasl \ --enable-vnc-tls \ --enable-vnc-ws \ +%ifarch %ix86 x86_64 + --enable-xen \ +%endif make %{?_smp_mflags} V=1