From 460cfc231f6a5763c15fd3d2f61e453024a8ba585b72834ec537a5f985a30664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Sun, 12 Apr 2015 09:13:49 +0000 Subject: [PATCH] Accepting request 295465 from home:a_faerber:branches:Virtualization Split off qemu-testsuite.spec to decouple retriggering the sometimes-failing tests from the lengthy build of the binaries. Extend test coverage to include iotests for block backends. Drop the SUSE-only MAC address warning for now, to keep output-checking tests from failing. Re-enable glusterfs support for Factory (updated to v3.6.2). Re-enable libseccomp support for armv7l (submission of patched v2.2.0 pending). OBS-URL: https://build.opensuse.org/request/show/295465 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=248 --- ...-console-add-question-mark-escape-op.patch | 2 +- 0030-net-Warn-about-default-MAC-address.patch | 59 - ...-Make-char-muxer-more-robust-wrt-sma.patch | 2 +- ...-linux-user-lseek-explicitly-cast-no.patch | 2 +- ...-virtfs-proxy-helper-Provide-__u64-f.patch | 2 +- ...-configure-Enable-PIE-for-ppc-and-pp.patch | 2 +- ...> 0035-qtest-Increase-socket-timeout.patch | 2 +- ...-AIO-Reduce-number-of-threads-for-32.patch | 2 +- ...-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch | 2 +- libcacard.changes | 16 + libcacard.spec | 18 +- pre_checkin.sh | 8 + qemu-linux-user.changes | 16 + qemu-linux-user.spec | 18 +- qemu-testsuite.changes | 2000 +++++++++++++++++ qemu-testsuite.spec | 1058 +++++++++ qemu.changes | 23 + qemu.spec | 115 +- qemu.spec.in | 97 +- update_git.sh | 5 + 20 files changed, 3332 insertions(+), 117 deletions(-) rename 0031-console-add-question-mark-escape-op.patch => 0030-console-add-question-mark-escape-op.patch (94%) delete mode 100644 0030-net-Warn-about-default-MAC-address.patch rename 0032-Make-char-muxer-more-robust-wrt-sma.patch => 0031-Make-char-muxer-more-robust-wrt-sma.patch (97%) rename 0033-linux-user-lseek-explicitly-cast-no.patch => 0032-linux-user-lseek-explicitly-cast-no.patch (95%) rename 0034-virtfs-proxy-helper-Provide-__u64-f.patch => 0033-virtfs-proxy-helper-Provide-__u64-f.patch (92%) rename 0035-configure-Enable-PIE-for-ppc-and-pp.patch => 0034-configure-Enable-PIE-for-ppc-and-pp.patch (92%) rename 0036-qtest-Increase-socket-timeout.patch => 0035-qtest-Increase-socket-timeout.patch (91%) rename 0037-AIO-Reduce-number-of-threads-for-32.patch => 0036-AIO-Reduce-number-of-threads-for-32.patch (95%) rename 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch => 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch (96%) create mode 100644 pre_checkin.sh create mode 100644 qemu-testsuite.changes create mode 100644 qemu-testsuite.spec diff --git a/0031-console-add-question-mark-escape-op.patch b/0030-console-add-question-mark-escape-op.patch similarity index 94% rename from 0031-console-add-question-mark-escape-op.patch rename to 0030-console-add-question-mark-escape-op.patch index 79ea4e45..e676949b 100644 --- a/0031-console-add-question-mark-escape-op.patch +++ b/0030-console-add-question-mark-escape-op.patch @@ -1,4 +1,4 @@ -From 495a5acd9650ef793443d716f2e2c80f42c75b54 Mon Sep 17 00:00:00 2001 +From 0826bf904b5f7cd9fcf0de34adee98ce01ba56da Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Mon, 6 Jun 2011 06:53:52 +0200 Subject: [PATCH] console: add question-mark escape operator diff --git a/0030-net-Warn-about-default-MAC-address.patch b/0030-net-Warn-about-default-MAC-address.patch deleted file mode 100644 index 10e19add..00000000 --- a/0030-net-Warn-about-default-MAC-address.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 1a709119c593c74fb7db745030a0dda33e7dd18c Mon Sep 17 00:00:00 2001 -From: Alexander Graf -Date: Wed, 12 Dec 2012 19:11:31 +0100 -Subject: [PATCH] net: Warn about default MAC address - -[AF: Suppress for QTest] ---- - net/net.c | 24 ++++++++++++++++++++++++ - 1 file changed, 24 insertions(+) - -diff --git a/net/net.c b/net/net.c -index 0be084d..552e233 100644 ---- a/net/net.c -+++ b/net/net.c -@@ -42,6 +42,7 @@ - #include "qapi/opts-visitor.h" - #include "qapi/dealloc-visitor.h" - #include "sysemu/sysemu.h" -+#include "sysemu/qtest.h" - - /* Net bridge is currently not supported for W32. */ - #if !defined(_WIN32) -@@ -160,6 +161,28 @@ void qemu_format_nic_info_str(NetClientState *nc, uint8_t macaddr[6]) - macaddr[3], macaddr[4], macaddr[5]); - } - -+static void default_mac_check(void) -+{ -+ static const MACAddr def_mac = { .a = { 0x52,0x54,0x00,0x12,0x34,0x56 } }; -+ static int warned = 0; -+ int i; -+ -+ for (i = 0; i < MAX_NICS; i++) { -+ if (!nd_table[i].used) { -+ continue; -+ } -+ if (memcmp(nd_table[i].macaddr.a, def_mac.a, 5)) { -+ continue; -+ } -+ if (nd_table[i].macaddr.a[5] >= 0x56 && -+ nd_table[i].macaddr.a[5] < 0x56 + MAX_NICS && !warned && !qtest_enabled()) { -+ warned = 1; -+ fprintf(stderr, "Warning: default mac address being used, creating " -+ "potential for address conflict\n"); -+ } -+ } -+} -+ - void qemu_macaddr_default_if_unset(MACAddr *macaddr) - { - static int index = 0; -@@ -1313,6 +1336,7 @@ int net_init_clients(void) - if (qemu_opts_foreach(net, net_init_client, NULL, 1) == -1) { - return -1; - } -+ default_mac_check(); - - return 0; - } diff --git a/0032-Make-char-muxer-more-robust-wrt-sma.patch b/0031-Make-char-muxer-more-robust-wrt-sma.patch similarity index 97% rename from 0032-Make-char-muxer-more-robust-wrt-sma.patch rename to 0031-Make-char-muxer-more-robust-wrt-sma.patch index 0d8b42c8..732a81b1 100644 --- a/0032-Make-char-muxer-more-robust-wrt-sma.patch +++ b/0031-Make-char-muxer-more-robust-wrt-sma.patch @@ -1,4 +1,4 @@ -From ae8f274f387c2401d6e17cd9e9889aa0d76b1b9b Mon Sep 17 00:00:00 2001 +From 1219fd28c73d209a210f07e1ffafe3fa611dd62c Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 1 Apr 2010 17:36:23 +0200 Subject: [PATCH] Make char muxer more robust wrt small FIFOs diff --git a/0033-linux-user-lseek-explicitly-cast-no.patch b/0032-linux-user-lseek-explicitly-cast-no.patch similarity index 95% rename from 0033-linux-user-lseek-explicitly-cast-no.patch rename to 0032-linux-user-lseek-explicitly-cast-no.patch index 62cef044..0288c7cd 100644 --- a/0033-linux-user-lseek-explicitly-cast-no.patch +++ b/0032-linux-user-lseek-explicitly-cast-no.patch @@ -1,4 +1,4 @@ -From 9fe73c4701b0ccecc6d6c6662e6092351aa4f381 Mon Sep 17 00:00:00 2001 +From e3cab8361bc2f1905721e25426991473c7e806b2 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 13 Dec 2012 14:29:22 +0100 Subject: [PATCH] linux-user: lseek: explicitly cast non-set offsets to signed diff --git a/0034-virtfs-proxy-helper-Provide-__u64-f.patch b/0033-virtfs-proxy-helper-Provide-__u64-f.patch similarity index 92% rename from 0034-virtfs-proxy-helper-Provide-__u64-f.patch rename to 0033-virtfs-proxy-helper-Provide-__u64-f.patch index 4a1f818c..825cccfa 100644 --- a/0034-virtfs-proxy-helper-Provide-__u64-f.patch +++ b/0033-virtfs-proxy-helper-Provide-__u64-f.patch @@ -1,4 +1,4 @@ -From 31d35e1ce9f365e2b0c98d5a6d7cb2c12123a8b1 Mon Sep 17 00:00:00 2001 +From 8948d8682b0955eecfeda389015715e87070c872 Mon Sep 17 00:00:00 2001 From: Bruce Rogers Date: Thu, 16 May 2013 12:39:10 +0200 Subject: [PATCH] virtfs-proxy-helper: Provide __u64 for broken diff --git a/0035-configure-Enable-PIE-for-ppc-and-pp.patch b/0034-configure-Enable-PIE-for-ppc-and-pp.patch similarity index 92% rename from 0035-configure-Enable-PIE-for-ppc-and-pp.patch rename to 0034-configure-Enable-PIE-for-ppc-and-pp.patch index f171eb6c..c4e5ee07 100644 --- a/0035-configure-Enable-PIE-for-ppc-and-pp.patch +++ b/0034-configure-Enable-PIE-for-ppc-and-pp.patch @@ -1,4 +1,4 @@ -From 06cfe0f8276cdd0de53c4ec27d72ffd716e2a5ae Mon Sep 17 00:00:00 2001 +From 2dc7e5dd836a228b7c2c721eee36d76c2c58f6c5 Mon Sep 17 00:00:00 2001 From: Dinar Valeev Date: Wed, 2 Oct 2013 17:56:03 +0200 Subject: [PATCH] configure: Enable PIE for ppc and ppc64 hosts diff --git a/0036-qtest-Increase-socket-timeout.patch b/0035-qtest-Increase-socket-timeout.patch similarity index 91% rename from 0036-qtest-Increase-socket-timeout.patch rename to 0035-qtest-Increase-socket-timeout.patch index e4c3fc52..94be6d91 100644 --- a/0036-qtest-Increase-socket-timeout.patch +++ b/0035-qtest-Increase-socket-timeout.patch @@ -1,4 +1,4 @@ -From f50b5dc24e9bbe259d1c64f6da4732012f03b2cc Mon Sep 17 00:00:00 2001 +From 17be03c91c591682d8e5e1177345d6e1b2b9eaa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Thu, 17 Apr 2014 18:39:10 +0200 Subject: [PATCH] qtest: Increase socket timeout diff --git a/0037-AIO-Reduce-number-of-threads-for-32.patch b/0036-AIO-Reduce-number-of-threads-for-32.patch similarity index 95% rename from 0037-AIO-Reduce-number-of-threads-for-32.patch rename to 0036-AIO-Reduce-number-of-threads-for-32.patch index c0b71bf1..eb120dd6 100644 --- a/0037-AIO-Reduce-number-of-threads-for-32.patch +++ b/0036-AIO-Reduce-number-of-threads-for-32.patch @@ -1,4 +1,4 @@ -From e0c150ca4efc0f172e34c0b5a204d1fd87ee02c1 Mon Sep 17 00:00:00 2001 +From dd7584c2d0ffdd72da452681268cf3a9c21e98ee Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Wed, 14 Jan 2015 01:32:11 +0100 Subject: [PATCH] AIO: Reduce number of threads for 32bit hosts diff --git a/0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch b/0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch similarity index 96% rename from 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch rename to 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch index 6655834a..a76e309b 100644 --- a/0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch +++ b/0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch @@ -1,4 +1,4 @@ -From 4a886245fce97b79af5841d6b0849124c8d30243 Mon Sep 17 00:00:00 2001 +From 32333d39aaa8044991140d4c1f255f14c1f79d73 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Wed, 8 Apr 2015 20:57:09 +0100 Subject: [PATCH] tcg/tcg-op.c: Fix ld/st of 64 bit values on 32-bit bigendian diff --git a/libcacard.changes b/libcacard.changes index d79eddbb..0f1934b7 100644 --- a/libcacard.changes +++ b/libcacard.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sat Apr 11 13:15:55 UTC 2015 - afaerber@suse.de + +- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 +* Patches dropped: + 0030-net-Warn-about-default-MAC-address.patch +* Patches renamed: + 0031-console-add-question-mark-escape-op.patch -> 0030-console-add-question-mark-escape-op.patch + 0032-Make-char-muxer-more-robust-wrt-sma.patch -> 0031-Make-char-muxer-more-robust-wrt-sma.patch + 0033-linux-user-lseek-explicitly-cast-no.patch -> 0032-linux-user-lseek-explicitly-cast-no.patch + 0034-virtfs-proxy-helper-Provide-__u64-f.patch -> 0033-virtfs-proxy-helper-Provide-__u64-f.patch + 0035-configure-Enable-PIE-for-ppc-and-pp.patch -> 0034-configure-Enable-PIE-for-ppc-and-pp.patch + 0036-qtest-Increase-socket-timeout.patch -> 0035-qtest-Increase-socket-timeout.patch + 0037-AIO-Reduce-number-of-threads-for-32.patch -> 0036-AIO-Reduce-number-of-threads-for-32.patch + 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch -> 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch + ------------------------------------------------------------------- Wed Apr 8 20:47:40 UTC 2015 - afaerber@suse.de diff --git a/libcacard.spec b/libcacard.spec index 23694b14..0b7b1ed9 100644 --- a/libcacard.spec +++ b/libcacard.spec @@ -54,15 +54,14 @@ Patch0026: 0026-linux-user-use-target_ulong.patch Patch0027: 0027-block-Add-support-for-DictZip-enabl.patch Patch0028: 0028-block-Add-tar-container-format.patch Patch0029: 0029-Legacy-Patch-kvm-qemu-preXX-dictzip.patch -Patch0030: 0030-net-Warn-about-default-MAC-address.patch -Patch0031: 0031-console-add-question-mark-escape-op.patch -Patch0032: 0032-Make-char-muxer-more-robust-wrt-sma.patch -Patch0033: 0033-linux-user-lseek-explicitly-cast-no.patch -Patch0034: 0034-virtfs-proxy-helper-Provide-__u64-f.patch -Patch0035: 0035-configure-Enable-PIE-for-ppc-and-pp.patch -Patch0036: 0036-qtest-Increase-socket-timeout.patch -Patch0037: 0037-AIO-Reduce-number-of-threads-for-32.patch -Patch0038: 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch +Patch0030: 0030-console-add-question-mark-escape-op.patch +Patch0031: 0031-Make-char-muxer-more-robust-wrt-sma.patch +Patch0032: 0032-linux-user-lseek-explicitly-cast-no.patch +Patch0033: 0033-virtfs-proxy-helper-Provide-__u64-f.patch +Patch0034: 0034-configure-Enable-PIE-for-ppc-and-pp.patch +Patch0035: 0035-qtest-Increase-socket-timeout.patch +Patch0036: 0036-AIO-Reduce-number-of-threads-for-32.patch +Patch0037: 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch # Please do not add patches manually here, run update_git.sh. # this is to make lint happy Source300: qemu-rpmlintrc @@ -159,7 +158,6 @@ This sub-package contains development files for the Smartcard library. %patch0035 -p1 %patch0036 -p1 %patch0037 -p1 -%patch0038 -p1 %build ./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \ diff --git a/pre_checkin.sh b/pre_checkin.sh new file mode 100644 index 00000000..55fc345f --- /dev/null +++ b/pre_checkin.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +cp qemu.changes qemu-testsuite.changes + +if [ "$1" != "-q" ]; then + echo "Note that the patch queue needs to be regenerated via update_git.sh" + echo "before running $0." +fi diff --git a/qemu-linux-user.changes b/qemu-linux-user.changes index 85bea46c..a86b64ce 100644 --- a/qemu-linux-user.changes +++ b/qemu-linux-user.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sat Apr 11 13:15:51 UTC 2015 - afaerber@suse.de + +- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 +* Patches dropped: + 0030-net-Warn-about-default-MAC-address.patch +* Patches renamed: + 0031-console-add-question-mark-escape-op.patch -> 0030-console-add-question-mark-escape-op.patch + 0032-Make-char-muxer-more-robust-wrt-sma.patch -> 0031-Make-char-muxer-more-robust-wrt-sma.patch + 0033-linux-user-lseek-explicitly-cast-no.patch -> 0032-linux-user-lseek-explicitly-cast-no.patch + 0034-virtfs-proxy-helper-Provide-__u64-f.patch -> 0033-virtfs-proxy-helper-Provide-__u64-f.patch + 0035-configure-Enable-PIE-for-ppc-and-pp.patch -> 0034-configure-Enable-PIE-for-ppc-and-pp.patch + 0036-qtest-Increase-socket-timeout.patch -> 0035-qtest-Increase-socket-timeout.patch + 0037-AIO-Reduce-number-of-threads-for-32.patch -> 0036-AIO-Reduce-number-of-threads-for-32.patch + 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch -> 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch + ------------------------------------------------------------------- Wed Apr 8 20:47:36 UTC 2015 - afaerber@suse.de diff --git a/qemu-linux-user.spec b/qemu-linux-user.spec index 1e85271a..e224aa55 100644 --- a/qemu-linux-user.spec +++ b/qemu-linux-user.spec @@ -54,15 +54,14 @@ Patch0026: 0026-linux-user-use-target_ulong.patch Patch0027: 0027-block-Add-support-for-DictZip-enabl.patch Patch0028: 0028-block-Add-tar-container-format.patch Patch0029: 0029-Legacy-Patch-kvm-qemu-preXX-dictzip.patch -Patch0030: 0030-net-Warn-about-default-MAC-address.patch -Patch0031: 0031-console-add-question-mark-escape-op.patch -Patch0032: 0032-Make-char-muxer-more-robust-wrt-sma.patch -Patch0033: 0033-linux-user-lseek-explicitly-cast-no.patch -Patch0034: 0034-virtfs-proxy-helper-Provide-__u64-f.patch -Patch0035: 0035-configure-Enable-PIE-for-ppc-and-pp.patch -Patch0036: 0036-qtest-Increase-socket-timeout.patch -Patch0037: 0037-AIO-Reduce-number-of-threads-for-32.patch -Patch0038: 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch +Patch0030: 0030-console-add-question-mark-escape-op.patch +Patch0031: 0031-Make-char-muxer-more-robust-wrt-sma.patch +Patch0032: 0032-linux-user-lseek-explicitly-cast-no.patch +Patch0033: 0033-virtfs-proxy-helper-Provide-__u64-f.patch +Patch0034: 0034-configure-Enable-PIE-for-ppc-and-pp.patch +Patch0035: 0035-qtest-Increase-socket-timeout.patch +Patch0036: 0036-AIO-Reduce-number-of-threads-for-32.patch +Patch0037: 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch # Please do not add patches manually here, run update_git.sh. # this is to make lint happy Source300: qemu-rpmlintrc @@ -153,7 +152,6 @@ run cross-architecture builds. %patch0035 -p1 %patch0036 -p1 %patch0037 -p1 -%patch0038 -p1 %build ./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \ diff --git a/qemu-testsuite.changes b/qemu-testsuite.changes new file mode 100644 index 00000000..72b88d00 --- /dev/null +++ b/qemu-testsuite.changes @@ -0,0 +1,2000 @@ +------------------------------------------------------------------- +Sat Apr 11 13:15:47 UTC 2015 - afaerber@suse.de + +- Split off qemu-testsuite.spec +* Package check-report.html and check-report.xml +* Enable quick iotests +- Dropped 0030-net-Warn-about-default-MAC-address.patch + The warning is relevant only for bridged setups, not for the + default SLIRP based -net user / -netdev user setup, + and it breaks output expectations of some iotests. +* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 +* Patches renamed: + 0031-console-add-question-mark-escape-op.patch -> 0030-console-add-question-mark-escape-op.patch + 0032-Make-char-muxer-more-robust-wrt-sma.patch -> 0031-Make-char-muxer-more-robust-wrt-sma.patch + 0033-linux-user-lseek-explicitly-cast-no.patch -> 0032-linux-user-lseek-explicitly-cast-no.patch + 0034-virtfs-proxy-helper-Provide-__u64-f.patch -> 0033-virtfs-proxy-helper-Provide-__u64-f.patch + 0035-configure-Enable-PIE-for-ppc-and-pp.patch -> 0034-configure-Enable-PIE-for-ppc-and-pp.patch + 0036-qtest-Increase-socket-timeout.patch -> 0035-qtest-Increase-socket-timeout.patch + 0037-AIO-Reduce-number-of-threads-for-32.patch -> 0036-AIO-Reduce-number-of-threads-for-32.patch + 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch -> 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch +- Re-enable glusterfs on Factory (updated from v3.6.1 to v3.6.2) +- Re-enable seccomp for armv7l (libseccomp submission pending) + +------------------------------------------------------------------- +Fri Apr 10 08:59:34 UTC 2015 - afaerber@suse.de + +- Suppress seccomp for Factory armv7l (broken in libseccomp v2.2.0) +- Disable glusterfs explicitly on Factory, SLE12 and before 13.1 + +------------------------------------------------------------------- +Thu Apr 9 15:13:44 UTC 2015 - afaerber@suse.de + +- Enable glusterfs and package as qemu-block-gluster + glusterfs post-v3.5.3 and v3.6.1/v3.6.2 have switched the + glusterfs-api.pc version incompatibly, so only 13.1+13.2 for now +- Use macro for module Conflicts + +------------------------------------------------------------------- +Thu Apr 9 12:21:07 UTC 2015 - afaerber@suse.de + +- Tidy configure options: +* Move --enable-modules to build options +* Sort libusb alphabetically +* Explicitly enable attr, bluez, fdt, lzo, tpm, vhdx, vhost-net, + vnc, xen-pci-passthrough +* Enable bzip2 +* Enable libssh2 where possible and package as qemu-block-ssh +* Enable numa where a compatible numactl is available +* Enable quorum where a compatible gnutls is available +* Enable snappy where possible +* Prepare to enable glusterfs +* Explicitly enable the nop tracing backend (to be revisited) +* Explicitly disable Archipelago, as we don't have libxseg and it's + incompatibly GPL-3.0+ +* Explicitly disable libiscsi, libnfs, netmap and rbd + as we don't have packages +* Drop deprecated --enable-virtio-blk-data-plane (now default) + +------------------------------------------------------------------- +Wed Apr 8 20:47:32 UTC 2015 - afaerber@suse.de + +- Fix 64-bit TCG stores on 32-bit Big Endian hosts (ppc) + 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch +* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 + +------------------------------------------------------------------- +Wed Apr 8 13:10:26 UTC 2015 - afaerber@suse.de + +- Update to v2.3.0-rc2: See http://wiki.qemu-project.org/ChangeLog/2.3 +* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 +* Patches dropped (upstreamed): + 0038-fw_cfg-test-Fix-test-path-to-includ.patch + 0039-rcu-tests-fix-compilation-on-32-bit.patch + +------------------------------------------------------------------- +Sat Mar 28 00:13:05 UTC 2015 - brogers@suse.com + +- make check was failing due to a bogus SMBIOS signature being + encountered within SeaBIOS. Avoid having that signature stored + randomly within the SeaBIOS image. +* seabios_avoid_smbios_signature_string.patch + +------------------------------------------------------------------- +Thu Mar 26 14:49:43 UTC 2015 - afaerber@suse.de + +- Build x86 firmware only from 13.1 on (11.4 was broken, surpassing 128 KB) +- Update to v2.3.0-rc1: See http://wiki.qemu-project.org/ChangeLog/2.3 +* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 +* Patches dropped (upstreamed): + 0038-linux-user-Fix-emulation-of-splice-.patch + 0039-ide-fix-cmd_write_pio-when-nsectors.patch + 0040-ide-fix-cmd_read_pio-when-nsectors-.patch + 0041-ahci-Fix-sglist-offset-manipulation.patch + 0042-ahci-test-improve-rw-buffer-pattern.patch + 0045-linux-user-fix-broken-cpu_copy.patch +* Patches renamed: + 0043-fw_cfg-test-Fix-test-path-to-includ.patch -> 0038-fw_cfg-test-Fix-test-path-to-includ.patch + 0044-rcu-tests-fix-compilation-on-32-bit.patch -> 0039-rcu-tests-fix-compilation-on-32-bit.patch + +------------------------------------------------------------------- +Mon Mar 23 13:20:31 UTC 2015 - afaerber@suse.de + +- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 +* Patches added: + 0045-linux-user-fix-broken-cpu_copy.patch + +------------------------------------------------------------------- +Sat Mar 21 16:07:28 UTC 2015 - afaerber@suse.de + +- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 +* Make test path for fw_cfg-test unique (including architecture) + 0043-fw_cfg-test-Fix-test-path-to-includ.patch +* Fix rcu tests build on ppc (undefined reference to `__sync_fetch_and_add_8') + 0044-rcu-tests-fix-compilation-on-32-bit.patch +- Fix typo in SeaBIOS size check + seabios_checkrom_typo.patch + +------------------------------------------------------------------- +Fri Mar 20 15:03:16 UTC 2015 - afaerber@suse.de + +- Update to v2.3.0-rc0: See http://wiki.qemu-project.org/ChangeLog/2.3 +* Updated update_git.sh accordingly +* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 +* seabios_128kb.patch: Added patch to squeeze SeaBIOS into 128 KB + with our gcc 4.8.3 (brogers@suse.com) +- Renamed 0030-Legacy-Patch-kvm-qemu-preXX-report-.patch to + 0030-net-Warn-about-default-MAC-address.patch: + Suppress warning for accel=qtest, to sanitize make check results. +- Added patches to fix ahci-test: + 0039-ide-fix-cmd_write_pio-when-nsectors.patch + 0040-ide-fix-cmd_read_pio-when-nsectors-.patch + 0041-ahci-Fix-sglist-offset-manipulation.patch + 0042-ahci-test-improve-rw-buffer-pattern.patch + +------------------------------------------------------------------- +Sun Mar 1 12:50:44 UTC 2015 - afaerber@suse.de + +- Update company name in spec file templates +- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.2 +* Patches added: + 0038-linux-user-Fix-emulation-of-splice-.patch + +------------------------------------------------------------------- +Sun Feb 22 15:59:23 UTC 2015 - mpluskal@suse.com + +- Add user kvm when installing guest-agent. +- Use macro to update udev_rules when available + +------------------------------------------------------------------- +Wed Feb 11 17:56:26 UTC 2015 - afaerber@suse.de + +- Fix packaging of e500 U-Boot +- Don't rely on wildcard with explicit excludes + +------------------------------------------------------------------- +Wed Jan 14 00:38:38 UTC 2015 - agraf@suse.com + +- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.2 +* Patches added: + 0037-AIO-Reduce-number-of-threads-for-32.patch + +------------------------------------------------------------------- +Mon Jan 12 14:32:06 UTC 2015 - afaerber@suse.de + +- Update to v2.2.0: See http://wiki.qemu-project.org/ChangeLog/2.2 +* Updated DictZip and Tar block backends accordingly +- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.2 +* Patches dropped: + 0015-target-arm-linux-user-no-tb_flush-o.patch (tb_flush() not called) + 0037-tests-Don-t-run-qom-test-twice.patch (superseded) + 0039-linux-user-Cast-validity-checks-on-.patch (helper function introduced) + 0040-linux-user-Convert-blkpg-to-use-a-s.patch (upstreamed) +* Patched renumbered: + 0016-linux-user-Ignore-broken-loop-ioctl.patch -> 0015-linux-user-Ignore-broken-loop-ioctl.patch + 0017-linux-user-lock-tcg.patch -> 0016-linux-user-lock-tcg.patch + 0018-linux-user-Run-multi-threaded-code-.patch -> 0017-linux-user-Run-multi-threaded-code-.patch + 0019-linux-user-lock-tb-flushing-too.patch -> 0018-linux-user-lock-tb-flushing-too.patch + 0020-linux-user-Fake-proc-cpuinfo.patch -> 0019-linux-user-Fake-proc-cpuinfo.patch + 0021-linux-user-implement-FS_IOC_GETFLAG.patch -> 0020-linux-user-implement-FS_IOC_GETFLAG.patch + 0022-linux-user-implement-FS_IOC_SETFLAG.patch -> 0021-linux-user-implement-FS_IOC_SETFLAG.patch + 0023-linux-user-XXX-disable-fiemap.patch -> 0022-linux-user-XXX-disable-fiemap.patch + 0024-slirp-nooutgoing.patch -> 0023-slirp-nooutgoing.patch + 0025-vnc-password-file-and-incoming-conn.patch -> 0024-vnc-password-file-and-incoming-conn.patch + 0026-linux-user-add-more-blk-ioctls.patch -> 0025-linux-user-add-more-blk-ioctls.patch + 0027-linux-user-use-target_ulong.patch -> 0026-linux-user-use-target_ulong.patch + 0028-block-Add-support-for-DictZip-enabl.patch -> 0027-block-Add-support-for-DictZip-enabl.patch + 0029-block-Add-tar-container-format.patch -> 0028-block-Add-tar-container-format.patch + 0030-Legacy-Patch-kvm-qemu-preXX-dictzip.patch -> 0029-Legacy-Patch-kvm-qemu-preXX-dictzip.patch + 0031-Legacy-Patch-kvm-qemu-preXX-report-.patch -> 0030-Legacy-Patch-kvm-qemu-preXX-report-.patch + 0032-console-add-question-mark-escape-op.patch -> 0031-console-add-question-mark-escape-op.patch + 0033-Make-char-muxer-more-robust-wrt-sma.patch -> 0032-Make-char-muxer-more-robust-wrt-sma.patch + 0034-linux-user-lseek-explicitly-cast-no.patch -> 0033-linux-user-lseek-explicitly-cast-no.patch + 0035-virtfs-proxy-helper-Provide-__u64-f.patch -> 0034-virtfs-proxy-helper-Provide-__u64-f.patch + 0036-configure-Enable-PIE-for-ppc-and-pp.patch -> 0035-configure-Enable-PIE-for-ppc-and-pp.patch + 0038-qtest-Increase-socket-timeout.patch -> 0036-qtest-Increase-socket-timeout.patch + +------------------------------------------------------------------- +Mon Sep 1 16:10:38 UTC 2014 - afaerber@suse.de + +- Enable RDMA support for SLE12 and later + +------------------------------------------------------------------- +Thu Aug 28 12:53:19 UTC 2014 - afaerber@suse.de + +- Copy the freshly built s390-ccw.img over to the location + from which it is installed (bnc#893535) + +------------------------------------------------------------------- +Fri Aug 22 10:37:00 UTC 2014 - agraf@suse.com + +- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.1 +* Patches added: + 0039-linux-user-Cast-validity-checks-on-.patch + 0040-linux-user-Convert-blkpg-to-use-a-s.patch + +------------------------------------------------------------------- +Thu Aug 21 16:14:37 UTC 2014 - afaerber@suse.de + +- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.1 +- Revert use of %{version} in Source line as it breaks update_git.sh + +------------------------------------------------------------------- +Thu Aug 7 11:12:48 UTC 2014 - coolo@suse.com + +- build libcaca from a different spec file to avoid cycles with + spice + +------------------------------------------------------------------- +Wed Aug 6 17:29:30 UTC 2014 - coolo@suse.com + +- update to v2.1.0: http://wiki.qemu-project.org/ChangeLog/2.1 +- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.1 +* Patches dropped: + 0039-fix-full-frame-updates-for-VNC-clie.patch + 0040-vnc-update-fix.patch + +------------------------------------------------------------------- +Thu Jul 31 12:59:39 UTC 2014 - dimstar@opensuse.org + +- Rename rpmlintrc to %{name}-rpmlintrc. + Follow the packaging guidelines. + +------------------------------------------------------------------- +Fri Jul 25 14:44:43 UTC 2014 - afaerber@suse.de + +- Backported VNC fixes for openQA (bnc#888142): +* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.1 +* Patches added: + 0039-fix-full-frame-updates-for-VNC-clie.patch + 0040-vnc-update-fix.patch + +------------------------------------------------------------------- +Wed Jul 23 12:36:37 UTC 2014 - afaerber@suse.de + +- Update to v2.1.0-rc3: http://wiki.qemu-project.org/ChangeLog/2.1 +* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.1 +* Patches dropped: + 0039-module-Simplify-module_load.patch + 0040-module-Don-t-complain-when-a-module.patch +* Updated update_git.sh script accordingly + +------------------------------------------------------------------- +Wed Jul 16 17:31:54 UTC 2014 - afaerber@suse.de + +- Update to v2.1.0-rc2: http://wiki.qemu-project.org/ChangeLog/2.1 +* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.1 +* Patches dropped: + 0041-tests-Fix-unterminated-string-outpu.patch + 0042-libqos-Fix-PC-PCI-endianness-glitch.patch + 0043-qtest-fix-vhost-user-test-compilati.patch +* Updated update_git.sh accordingly +* Extended update_git.sh to add generated patch names to change log + +------------------------------------------------------------------- +Wed Jul 9 17:34:55 UTC 2014 - afaerber@suse.de + +- Update to v2.1.0-rc0: http://wiki.qemu-project.org/ChangeLog/2.1 +* xen_disk discard support now upstream + 0037-xen_disk-add-discard-support.patch dropped +* PowerPC ELF v2 support now upstream + 0045-tcg-ppc64-Support-the-ELFv2-ABI.patch dropped +* Patches renamed during rebase: + 0015-linux-user-arm-no-tb_flush-on-reset.patch -> 0015-target-arm-linux-user-no-tb_flush-o.patch +* Patches reordered due to rebase: + 0038-tests-Don-t-run-qom-test-twice.patch -> 0037-tests-Don-t-run-qom-test-twice.patch + 0041-qtest-Increase-socket-timeout.patch -> 0038-qtest-Increase-socket-timeout.patch + 0071-module-Simplify-module_load.patch -> 0039-module-Simplify-module_load.patch + 0072-module-Don-t-complain-when-a-module.patch -> 0040-module-Don-t-complain-when-a-module.patch +* Patches automatically dropped on rebase: + 0039-qtest-Assure-that-init_socket-s-lis.patch + 0040-qtest-Add-error-reporting-to-socket.patch + 0042-qtest-Be-paranoid-about-accept-addr.patch + 0043-arm-translate.c-Fix-smlald-Instruct.patch + 0044-target-arm-A64-fix-unallocated-test.patch + 0046-vmstate-add-VMS_MUST_EXIST.patch + 0047-vmstate-add-VMSTATE_VALIDATE.patch + 0048-virtio-net-fix-buffer-overflow-on-i.patch + 0049-virtio-net-out-of-bounds-buffer-wri.patch + 0050-virtio-out-of-bounds-buffer-write-o.patch + 0051-ahci-fix-buffer-overrun-on-invalid-.patch + 0052-hpet-fix-buffer-overrun-on-invalid-.patch + 0053-hw-pci-pcie_aer.c-fix-buffer-overru.patch + 0054-pl022-fix-buffer-overun-on-invalid-.patch + 0055-vmstate-fix-buffer-overflow-in-targ.patch + 0056-virtio-avoid-buffer-overrun-on-inco.patch + 0057-virtio-validate-num_sg-when-mapping.patch + 0058-pxa2xx-avoid-buffer-overrun-on-inco.patch + 0059-ssd0323-fix-buffer-overun-on-invali.patch + 0060-tsc210x-fix-buffer-overrun-on-inval.patch + 0061-zaurus-fix-buffer-overrun-on-invali.patch + 0062-virtio-scsi-fix-buffer-overrun-on-i.patch + 0063-vmstate-s-VMSTATE_INT32_LE-VMSTATE_.patch + 0064-usb-sanity-check-setup_index-setup_.patch + 0065-savevm-Ignore-minimum_version_id_ol.patch + 0066-ssi-sd-fix-buffer-overrun-on-invali.patch + 0067-openpic-avoid-buffer-overrun-on-inc.patch + 0068-virtio-net-out-of-bounds-buffer-wri.patch + 0069-virtio-validate-config_len-on-load.patch + 0070-virtio-allow-mapping-up-to-max-queu.patch +* iPXE fixes now included + ipxe-build-Work-around-bug-in-gcc-4.8.patch dropped + ipxe-build-Avoid-strict-aliasing-warning.patch dropped + ipxe-zbin-Fix-size-used-for-memset-in-al.patch dropped +* SeaVGABIOS fix now included + vgabios-Make-sure-stdvga_list_modes-doesn-t-overrun-.patch dropped +* Modified update_git.sh accordingly + +- Update to v2.1.0-rc1: http://wiki.qemu-project.org/ChangeLog/2.1 +* 0041-tests-Fix-unterminated-string-outpu.patch: Test fix +* 0042-libqos-Fix-PC-PCI-endianness-glitch.patch: Test fix for ppc +* 0043-qtest-fix-vhost-user-test-compilati.patch: Test fix for SP3 +* Modified update_git.sh accordingly + +------------------------------------------------------------------- +Wed Jun 23 21:42:31 UTC 2014 - afaerber@suse.de + +- Move block-curl.so to new qemu-block-curl package, avoiding a + dependency of qemu-tools on qemu for Xen (bnc#882008) +* Avoid the reported error message about missing modules + 0071-module-Simplify-module_load.patch + 0072-module-Don-t-complain-when-a-module.patch +- Improve update_git.sh performance (backport from SLE12) + +------------------------------------------------------------------- +Mon Jun 2 13:26:13 UTC 2014 - brogers@suse.com + +- only build the x86 firmware on x86, ensuring consistent binaries +- remove un-needed pmtools BuildRequires +- Fix vga related problem doing direct kernel boot for SLES 10 and + SLES 11 guests (bnc#880625) + vgabios-Make-sure-stdvga_list_modes-doesn-t-overrun-.patch +- Probe vhost-net module on SLE11 (copied from SP3 package) + +------------------------------------------------------------------- +Sat May 24 10:01:36 UTC 2014 - afaerber@suse.de + +- Fix CVE-2013-4148 (bnc#864812) + 0048-virtio-net-fix-buffer-overflow-on-i.patch +- Fix CVE-2013-4149 (bnc#864649) + 0068-virtio-net-out-of-bounds-buffer-wri.patch +- Fix CVE-2013-4150 (bnc#864650) + 0049-virtio-net-out-of-bounds-buffer-wri.patch +- Fix CVE-2013-4151 (bnc#864653) + 0050-virtio-out-of-bounds-buffer-write-o.patch +- Fix CVE-2013-4526 (bnc#864671) + 0051-ahci-fix-buffer-overrun-on-invalid-.patch +- Fix CVE-2013-4527 (bnc#864673) + 0052-hpet-fix-buffer-overrun-on-invalid-.patch +- Fix CVE-2013-4529 (bnc#864678) + 0053-hw-pci-pcie_aer.c-fix-buffer-overru.patch +- Fix CVE-2013-4530 (bnc#864682) + 0054-pl022-fix-buffer-overun-on-invalid-.patch +- Fix CVE-2013-4531 (bnc#864796) + 0055-vmstate-fix-buffer-overflow-in-targ.patch +- Fix CVE-2013-4533 (bnc#864655) + 0058-pxa2xx-avoid-buffer-overrun-on-inco.patch +- Fix CVE-2013-4534 (bnc#864811) + 0067-openpic-avoid-buffer-overrun-on-inc.patch +- Fix CVE-2013-4535 / CVE-2013-4536 (bnc#864665) + 0057-virtio-validate-num_sg-when-mapping.patch +- Fix CVE-2013-4537 (bnc#864391) + 0066-ssi-sd-fix-buffer-overrun-on-invali.patch +- Fix CVE-2013-4538 (bnc#864769) + 0059-ssd0323-fix-buffer-overun-on-invali.patch +- Fix CVE-2013-4539 (bnc#864805) + 0060-tsc210x-fix-buffer-overrun-on-inval.patch +- Fix CVE-2013-4540 (bnc#864801) + 0061-zaurus-fix-buffer-overrun-on-invali.patch +- Fix CVE-2013-4541 (bnc#864802) + 0064-usb-sanity-check-setup_index-setup_.patch +- Fix CVE-2013-4542 (bnc#864804) + 0062-virtio-scsi-fix-buffer-overrun-on-i.patch +- Fix CVE-2013-6399 (bnc#864814) + 0067-virtio-avoid-buffer-overrun-on-inco.patch +- Fix CVE-2014-0182 (bnc#874788) + 0069-virtio-validate-config_len-on-load.patch +- Backported patch from stable branch (brogers): + 0070-virtio-allow-mapping-up-to-max-queu.patch + +------------------------------------------------------------------- +Wed May 14 13:44:38 UTC 2014 - afaerber@suse.de + +- Fix conflict with libcacard 0.1.2 from project security +* Adopt description and group for libcacard-devel from there +- Drop libcacard.{a,la} from libcacard-devel + If needed, libcacard.a should go into a libcacard-devel-static. +- Change qemu-extra to explicitly list qemu-system-* binaries + +------------------------------------------------------------------- +Tue May 13 08:17:18 UTC 2014 - afaerber@suse.de + +- ABI fixes for ppc64le TCG. Addresses acpi-test failures. + 0045-tcg-ppc64-Support-the-ELFv2-ABI.patch + +------------------------------------------------------------------- +Sat May 10 20:06:24 UTC 2014 - afaerber@suse.de + +- Split 60-kvm.rules into 60-kvm.rules and 60-kvm.x86.rules +- Install udev rules on s390x, ppc and arm, too +* Clean up KVM vs. qemu-kvm conditionals +- Package qemu-system-ppcemb in qemu-ppc and qemu-system-aarch64 + in qemu-arm + +------------------------------------------------------------------- +Fri Apr 18 17:55:03 UTC 2014 - afaerber@suse.de + +- Fix aarch64 emulation issues: + 0043-arm-translate.c-Fix-smlald-Instruct.patch + 0044-target-arm-A64-fix-unallocated-test.patch + +------------------------------------------------------------------- +Thu Apr 17 16:46:52 UTC 2014 - afaerber@suse.de + +- Attempt to solve or debug occasional qtest fd assertions + 0039-qtest-Assure-that-init_socket-s-lis.patch + 0040-qtest-Add-error-reporting-to-socket.patch + 0041-qtest-Increase-socket-timeout.patch + 0042-qtest-Be-paranoid-about-accept-addr.patch + +------------------------------------------------------------------- +Thu Apr 17 15:46:26 UTC 2014 - afaerber@suse.de + +- Update to v2.0.0: cf. http://wiki.qemu-project.org/ChangeLog/2.0 +* Update update_git.sh script accordingly + +------------------------------------------------------------------- +Mon Apr 14 17:49:54 UTC 2014 - afaerber@suse.de + +- Update to v2.0.0-rc3: cf. http://wiki.qemu-project.org/ChangeLog/2.0 +* Update update_git.sh script accordingly +* Addresses CVE-2014-0150 (bnc#873235), CVE-2013-4544 (bnc#873613) + +------------------------------------------------------------------- +Fri Apr 11 16:10:50 UTC 2014 - afaerber@suse.de + +- Update to v2.0.0-rc2: cf. http://wiki.qemu-project.org/ChangeLog/2.0 +* Update update_git.sh script accordingly +* Resolves Gtk mouse issues (bnc#849587) +* Fixes endianness-test failures for prep machine on Big Endian host + +------------------------------------------------------------------- +Fri Apr 4 00:17:38 UTC 2014 - afaerber@suse.de + +- Fix qemu-kvm script for s390x (bnc#869021) (bfrogers) +- Fix ksm.service file permissions to not be executable w/o shebang +- Re-enable Gtk build on 11.4 (fixes unpackaged qemu.mo files error) +- Fix SLE11 SP3 build by making sub-package "noarch" conditional +* Do not exclude qemu-ifup from qemu package when not installing +- Speed up %check by not running qom-test twice for some targets + 0038-tests-Don-t-run-qom-test-twice.patch + +------------------------------------------------------------------- +Thu Apr 3 15:59:32 UTC 2014 - afaerber@suse.de + +- Updated to v2.0.0-rc1: cf. http://wiki.qemu-project.org/ChangeLog/2.0 +* Update update_git.sh script accordingly +* Resolves breakage of live migration (bnc#871302) +* Addresses CVE-2014-0142, CVE-2014-0143, CVE-2014-0144, + CVE-2014-0145, CVE-2014-0146, CVE-2014-0147 (bnc#870439) +- Drop 0037-roms-Build-vgabios.bin.patch (unneeded) + +------------------------------------------------------------------- +Tue Apr 1 14:50:37 UTC 2014 - afaerber@suse.de + +- Enhance update_git.sh script +* Fix duplicate .patch for short filenames +* Read SeaBIOS version from QEMU tarball + +------------------------------------------------------------------- +Mon Mar 31 14:51:30 UTC 2014 - afaerber@suse.de + +- Re-create qemu-2.0.0-rc0.tar.bz2 to include SeaBIOS .version + +------------------------------------------------------------------- +Fri Mar 28 11:53:31 UTC 2014 - afaerber@suse.de + +- Improve update_git.sh script to use a user-agnostic git symlink + +------------------------------------------------------------------- +Wed Mar 26 21:09:34 UTC 2014 - brogers@suse.com + +- Tidy up qemu.spec a bit: white space, line length, use macros + as appropriate +- Improve update_git.sh to not change files in OBS if the file + remains unchanged + +------------------------------------------------------------------- +Wed Mar 26 14:16:39 UTC 2014 - afaerber@suse.de + +- Fix library directory +- Set default file attributes for qemu-ksm +- Enable Smartcard emulation +* Reorder package definitions to avoid %version troubles + +------------------------------------------------------------------- +Tue Mar 19 12:36:56 UTC 2014 - afaerber@suse.de + +- Update to v2.0.0-rc0: Cf. http://wiki.qemu-project.org/ChangeLog/2.0 +* Adapt update_git.sh script accordingly +* Generate package version automatically from VERSION file +* Switch from LGPL VGABIOS to SeaVGABIOS +* Enable modules +* Explicitly enable virtio-blk-data-plane (no functional change) +* Package new firmware blobs + +------------------------------------------------------------------- +Fri Mar 7 14:44:34 UTC 2014 - speilicke@suse.com + +- Add qemu-ksm subpackage providing a systemd service file for + enabling / disabling Kernel Samepage Merging. It is independent of + qemu (but recommended by it). + +------------------------------------------------------------------- +Fri Feb 28 18:21:37 UTC 2014 - afaerber@suse.de + +- Move target-x86_64.conf to qemu-x86 sub-package + +------------------------------------------------------------------- +Thu Feb 20 16:51:37 UTC 2014 - afaerber@suse.de + +- Split out KVM architectures to per-architecture subpackages +- Suggest qemu-lang package + +------------------------------------------------------------------- +Tue Feb 18 16:06:00 UTC 2014 - brogers@suse.com + +- enable usb passthrough via --enable-libusb config option + +------------------------------------------------------------------- +Sat Feb 15 15:46:54 UTC 2014 - brogers@suse.com + +- Fix improperly formatted wrapper script (bnc#864094) + +------------------------------------------------------------------- +Fri Feb 14 15:07:40 UTC 2014 - afaerber@suse.de + +- Enable make check + +------------------------------------------------------------------- +Thu Feb 13 23:10:47 UTC 2014 - brogers@suse.com + +- Use Provides/Obsoletes as means to transition kvm users to the + qemu-kvm package + +------------------------------------------------------------------- +Wed Feb 12 23:50:30 UTC 2014 - brogers@suse.com + +- Migrate kvm package contents to a new qemu-kvm sub-package, and + move the kvm related udev rules to the qemu package. (The kvm + package is being retired). + Add qemu-ifup + Add qemu-kvm.1.gz + Add kvm_stat + Add 60-kvm.rules + Add 80-kvm.rules + +------------------------------------------------------------------- +Mon Feb 3 15:54:06 UTC 2014 - afaerber@suse.de + +- Implement discard support for xen_disk (olh) (fate#316071) + 0042-xen_disk-add-discard-support.patch.patch + +------------------------------------------------------------------- +Fri Jan 24 11:03:58 UTC 2014 - afaerber@suse.de + +- Simplified VMDK SCSI support handling (backport from 13.1/v1.6.2) +* Increases the number of heads for SCSI from 16 to 255 + +------------------------------------------------------------------- +Fri Jan 17 17:34:57 UTC 2014 - afaerber@suse.de + +- Bump copyright in qemu.spec.in +- Use vte-devel instead of vte2-devel and force using Gtk3, + reported by Takashi and Dirk (bnc#840607, bnc#849587). + +------------------------------------------------------------------- +Mon Jan 13 14:24:24 UTC 2014 - coolo@suse.com + +- xen dropped support for i586, so don't buildrequire it + +------------------------------------------------------------------- +Thu Jan 2 19:01:51 UTC 2014 - afaerber@suse.de + +- Update version number of SeaBIOS, spotted by BdMdesigN + +------------------------------------------------------------------- +Fri Dec 6 22:21:50 UTC 2013 - afaerber@suse.de + +- Update to v1.7.0: See http://wiki.qemu-project.org/ChangeLog/1.7 +* Adapted update_git.sh accordingly +* Dropped --enable-mixemu (no longer available) +* Added a work around for roms/Makefile issue +* patch 0038-gdbstub-Fix-gdb_register_coprocesso.patch dropped + +------------------------------------------------------------------- +Wed Oct 9 16:23:56 UTC 2013 - dmueller@suse.com + +- use --enable-pie to fix arm build + +------------------------------------------------------------------- +Tue Oct 8 17:05:02 UTC 2013 - afaerber@suse.de + +- Undo workaround for sasl - fixed in Factory + +------------------------------------------------------------------- +Wed Oct 2 15:52:42 UTC 2013 - afaerber@suse.de + +- Work around Factory sasl breakage by allowing build w/o vnc-sasl +- Move build_and_copy_vgabios_bin.patch to Git patch queue +* Clearly mark in-.spec patch queue as for roms/ipxe/ only +- Synchronized qemu.spec.in from qemu.spec: +* Added ipxe-build-Avoid-strict-aliasing-warning.patch +* Modified SeaBIOS summary +* Added Conflicts for firmware subpackages +* Dropped %dir +- Add patch enabling PIE support for ppc/ppc64 (k0da) + +------------------------------------------------------------------- +Fri Sep 13 11:14:45 UTC 2013 - brogers@suse.com + +- Build x86 firmware from tarball source. The firmware components + produced are equivalent to the upstream provided binary blobs + currently being used. They are delivered in noarch subpackages as + follows (addresses bnc#830002): +* qemu-seabios v1.7.2.2 +* qemu-vgabios v0.6c +* qemu-sgabios v8 (svn rev 8) +* qemu-ipxe v1.0.0 +- Add following patches to enable x86 firmware to build: + ipxe-build-Work-around-bug-in-gcc-4.8.patch + ipxe-zbin-Fix-size-used-for-memset-in-al.patch + build_and_copy_vgabios_bin.patch + ipxe-build-Avoid-strict-aliasing-warning.patch + +------------------------------------------------------------------- +Mon Aug 26 06:40:22 UTC 2013 - rob.verduijn@gmail.com + +- Enabled usb-redirection +* Fixes starting VMs in gnome-boxes (bnc#839703) + +------------------------------------------------------------------- +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 + +- Fix gdbstub for arm/m68k/ppc guests (from pending upstream pull) + +------------------------------------------------------------------- +Fri Aug 16 23:36:12 UTC 2013 - afaerber@suse.de + +- Update to v1.6.0: cf. http://wiki.qemu.org/ChangeLog/1.6 +* Adapt update_git.sh script accordingly + +------------------------------------------------------------------- +Tue Aug 13 14:36:53 UTC 2013 - afaerber@suse.de + +- Update to v1.6.0-rc3: cf. http://wiki.qemu.org/ChangeLog/1.6 +* Adapt update_git.sh script accordingly +- Changed back versioning scheme to 1.6.0rcX (saschpe, brogers). + +------------------------------------------------------------------- +Fri Aug 9 13:55:46 UTC 2013 - afaerber@suse.de + +- Update to v1.6.0-rc2: cf. http://wiki.qemu.org/ChangeLog/1.6 +* Adapt update_git.sh script accordingly +- Changed version from 1.6.0rcX to 1.5.9X (reported by lnussel) + +------------------------------------------------------------------- +Fri Aug 2 12:43:52 UTC 2013 - afaerber@suse.de + +- Update to v1.6.0-rc1: cf. http://wiki.qemu.org/ChangeLog/1.6 +* Adapt update_git.sh script accordingly + +------------------------------------------------------------------- +Thu Aug 1 15:34:28 UTC 2013 - afaerber@suse.de + +- Use libfdt build dependency not just for ppc. + QEMU 1.6 needs it for ppc, arm and microblaze guests and uses a + bundled copy if one of those targets is built and the system does + not have a compatible libfdt. + +------------------------------------------------------------------- +Tue Jul 30 04:58:55 UTC 2013 - afaerber@suse.de + +- Update to v1.6.0-rc0: cf. http://wiki.qemu.org/ChangeLog/1.6 +* Fixes build against recent dtc (SLE_11_SP2 ppc64 w/ Base:System) +* Includes Gtk patches for bnc#830459 +* Adapt update_git.sh script accordingly + +------------------------------------------------------------------- +Mon Jul 22 21:34:00 UTC 2013 - brogers@suse.com + +- Fix segfault that occurs from using -vga qxl (bnc#830459) + +------------------------------------------------------------------- +Tue Jun 18 13:58:35 UTC 2013 - afaerber@suse.de + +- Clarify through spec file comments that the patch queue is + auto-generated through update_git.sh. + Please do not submit SRs that bypass our patch handling. + +------------------------------------------------------------------- +Sat May 25 15:50:49 UTC 2013 - afaerber@suse.de + +- Really enable pulseaudio and oss support (bnc#737070) +- Amend licenses list with GPL-2.0 (adopted from kvm package) +- Be explicit in enabling features our packaging relies on +- Disable stripping at QEMU level +- Use %optflags rather than $QEMU_OPT_FLAGS + +------------------------------------------------------------------- +Fri May 24 19:57:35 UTC 2013 - afaerber@suse.de + +- Move /emul/ia32-linux to qemu-linux-user + +------------------------------------------------------------------- +Fri May 24 17:11:36 UTC 2013 - afaerber@suse.de + +- Drop dependency on bison +* Reorder BuildRequires alphabetically +- Fix summary of qemu-lang sub-package +- Drop post-build-checks suppression (qemu-linux-user only) + +------------------------------------------------------------------- +Fri May 24 14:31:59 UTC 2013 - afaerber@suse.de + +- Enable brlapi as done for kvm package + +------------------------------------------------------------------- +Fri May 24 12:33:23 UTC 2013 - afaerber@suse.de + +- Use %{?_smp_mflags} rather than %{?jobs:-j%jobs} + +------------------------------------------------------------------- +Thu May 23 15:08:42 UTC 2013 - afaerber@suse.de + +- Extend virtfs typedef workaround to ppc64 for SLE_11_SP2 + +------------------------------------------------------------------- +Tue May 21 21:13:04 UTC 2013 - afaerber@suse.de + +- Split off qemu-linux-user package into separate .spec file. +* Simplified %build and %install sections +* Dropped *-static dependencies + +------------------------------------------------------------------- +Mon May 20 21:14:08 UTC 2013 - afaerber@suse.de + +- Update to v1.5.0 final: Cf. http://wiki.qemu.org/ChangeLog/1.5 +* Adapt update_git.sh accordingly +* Add BuildRequires for gtk2/3 and vte2 to enable new frontend +* Place translations into new qemu-lang package +* Really enable SPICE support from 11.4 in configure, too + +------------------------------------------------------------------- +Fri May 17 13:47:21 UTC 2013 - afaerber@suse.de + +- Add BuildRequires for pixman, to avoid using internal version + that fails to build on ppc + +------------------------------------------------------------------- +Thu May 16 10:34:08 UTC 2013 - afaerber@suse.de + +- Update to v1.5.0-rc2: Cf. http://wiki.qemu.org/ChangeLog/1.5 +* Adapt update_git.sh accordingly +- Add patch by brogers to fix SLE 11 SP2 build (from kvm package) + +------------------------------------------------------------------- +Tue May 14 13:02:18 UTC 2013 - afaerber@suse.de + +- Update to v1.5.0-rc1: Cf. http://wiki.qemu.org/ChangeLog/1.5 +* Adapt update_git.sh accordingly +* TODO file no longer exists, don't try to package it +* Package qemu-mips64{,el} + +------------------------------------------------------------------- +Tue May 14 14:51:20 CEST 2013 - ohering@suse.de + +- Enable spice support starting from 11.4 + +------------------------------------------------------------------- +Tue May 7 19:56:40 UTC 2013 - afaerber@suse.de + +- Update to v1.5.0-rc0: Cf. http://wiki.qemu.org/ChangeLog/1.5 +* Adapt update_git.sh script +* Audio cards are now all enabled by default + +------------------------------------------------------------------- +Wed Apr 24 17:15:04 UTC 2013 - afaerber@suse.de + +- Enable pa and oss audio drivers, as in kvm package (bnc#737070) +- Enable hda audio card, as done in kvm package (bnc#801794) + +------------------------------------------------------------------- +Mon Apr 22 18:27:18 UTC 2013 - dimstar@opensuse.org + +- Add explicit alsa-devel BuildRequires: this used to (wrongly) be + pulled in by libSDL-devel. + +------------------------------------------------------------------- +Sun Feb 17 11:15:39 UTC 2013 - afaerber@suse.de + +- Update licenses from new format_spec_file + +------------------------------------------------------------------- +Sat Feb 16 12:13:58 UTC 2013 - afaerber@suse.de + +- Update to v1.4.0: See http://wiki.qemu.org/ChangeLog/1.4 +* Adapt update_git.sh accordingly + +------------------------------------------------------------------- +Sun Feb 10 14:27:36 UTC 2013 - afaerber@suse.de + +- Update to v1.4.0-rc1: See http://wiki.qemu.org/ChangeLog/1.4 +* Adapt update_git.sh accordingly +- Update update_git.sh to reference github.com/openSUSE/qemu.git + +------------------------------------------------------------------- +Thu Dec 13 13:30:57 UTC 2012 - agraf@suse.com + +- linux-user: fix lseek with SEEK_END + +------------------------------------------------------------------- +Thu Dec 13 10:47:52 UTC 2012 - agraf@suse.com + +- Cherry pick patches from qemu-kvm into the qemu package: + - 0033-Add-support-for-DictZip-enabled-gzi.patch + - 0034-Add-tar-container-format.patch.patch + - 0035-Legacy-Patch-kvm-qemu-preXX-dictzip.patch + - 0036-Legacy-Patch-kvm-qemu-preXX-report-.patch + - 0037-console-add-question-mark-escape-op.patch + - 0038-Make-char-muxer-more-robust-wrt-sma.patch + +------------------------------------------------------------------- +Wed Dec 5 13:25:31 UTC 2012 - afaerber@suse.de + +- Revert memory size constraint, the workaround patch got applied + +------------------------------------------------------------------- +Wed Dec 5 10:37:14 UTC 2012 - afaerber@suse.de + +- Update to v1.3.0: see http://wiki.qemu.org/ChangeLog/1.3 +* Update update_git.sh script accordingly + +------------------------------------------------------------------- +Wed Nov 28 12:26:39 UTC 2012 - afaerber@suse.de + +- Replace -fno-gcse patch with v3 + +------------------------------------------------------------------- +Tue Nov 27 16:34:29 UTC 2012 - afaerber@suse.de + +- Add patch to workaround GCC PR55489 via -fno-gcse, + another step to avoid builds failing with out-of-memory + +------------------------------------------------------------------- +Tue Nov 27 15:56:07 UTC 2012 - afaerber@suse.de + +- Add _constraints to request adequate memory to succeed building + +------------------------------------------------------------------- +Tue Nov 27 05:16:13 UTC 2012 - afaerber@suse.de + +- Update to v1.3.0-rc1: see http://wiki.qemu.org/ChangeLog/1.3 +* Update update_git.sh accordingly + +------------------------------------------------------------------- +Tue Nov 20 16:46:38 UTC 2012 - afaerber@suse.de + +- Update to v1.3.0-rc0: see http://wiki.qemu.org/ChangeLog/1.3 +* Update update_git.sh accordingly +* Disable SPICE for 11.4 since it can no longer be built lacking + pyparsing + +------------------------------------------------------------------- +Tue Oct 10 18:14:59 UTC 2012 - agraf@suse.com + +- use ulong for syscall parameters. fixes lseek with big files + +------------------------------------------------------------------- +Tue Oct 10 17:16:20 UTC 2012 - agraf@suse.com + +- Add more block ioctl handlers for kiwi + +------------------------------------------------------------------- +Tue Oct 9 19:55:32 UTC 2012 - afaerber@suse.de + +- Sync qemu.spec.in file, please don't forget! + +------------------------------------------------------------------- +Fri Sep 14 16:22:01 UTC 2012 - schwab@linux-m68k.org + +- Don't strip binaries + +------------------------------------------------------------------- +Thu Sep 13 13:12:52 UTC 2012 - idonmez@suse.com + +- Add explicit dependency on makeinfo for manpage/doc generation + +------------------------------------------------------------------- +Fri Sep 7 07:04:08 UTC 2012 - vuntz@suse.com + +- Add libcap-devel BuildRequires since it's needed to enable VirtFS + support. +- Add libcap-ng-devel BuildRequires to be able to drop privileges + in qemu-bridge-helper. +- Add libjpeg-devel and libpng-devel BuildRequires to enable VNC + jpeg and png support. +- Pass --enable-virtfs to configure to detect changes that will + cause VirtFS support to not be built. + +------------------------------------------------------------------- +Wed Sep 5 17:39:17 UTC 2012 - afaerber@suse.de + +- update to v1.2.0: see http://wiki.qemu.org/ChangeLog/1.2 +* adapt update_git.sh script +* this includes the fix for CVE-2012-3515 + +------------------------------------------------------------------- +Wed Sep 5 10:26:38 UTC 2012 - afaerber@suse.de + +- add bounds checks in console VT100 emulation (bnc#777084, + CVE-2012-3515) + +------------------------------------------------------------------- +Wed Sep 5 09:57:44 UTC 2012 - afaerber@suse.de + +- update to v1.2.0-rc3: http://wiki.qemu.org/ChangeLog/1.2 +* adapt update_git.sh script +- add two patches from kvm for SUSE Studio, forwarded by Dinar: +* add -nooutgoing option for slirp networking +* add allowed-connections= and password-file= options for VNC + +------------------------------------------------------------------- +Tue Aug 28 15:58:56 UTC 2012 - afaerber@suse.de + +- update to v1.2.0-rc1: http://wiki.qemu.org/ChangeLog/1.2 +* adapt update_git.sh script + +------------------------------------------------------------------- +Tue Aug 21 12:21:49 UTC 2012 - agraf@suse.com + +- fix getdent in linux-user +- fix statfs in linux-user +- disable FIEMAP support in linux-user + +------------------------------------------------------------------- +Tue Aug 21 08:21:20 UTC 2012 - agraf@suse.com + +- add support for FS_IOC_[G|S]ETFLAG ioctls + +------------------------------------------------------------------- +Fri Aug 17 14:30:28 UTC 2012 - afaerber@suse.de + +- update to v1.2.0-rc0: http://wiki.qemu.org/ChangeLog/1.2 +* adapt update_git.sh script +* package new qemu-or32 executable into linux-user + +------------------------------------------------------------------- +Wed Aug 15 20:50:02 UTC 2012 - dmueller@suse.com + +- avoid installing qemu on a qemu build + +------------------------------------------------------------------- +Tue Jul 31 09:50:25 UTC 2012 - agraf@suse.com + +- add hijack for /proc/cpuinfo +- add compatibility patch for glibc 2.16 (Thanks AJ!) + +------------------------------------------------------------------- +Wed Jul 11 21:16:34 UTC 2012 - agraf@suse.com + +- fix segfault even better + +------------------------------------------------------------------- +Wed Jul 11 14:52:02 UTC 2012 - agraf@suse.com + +- linux-user: improve locking even across tb flushes + +------------------------------------------------------------------- +Tue Jul 10 18:43:31 UTC 2012 - agraf@suse.com + +- linux-user: pin multi-threaded applications to a single host cpu + +------------------------------------------------------------------- +Tue Jul 10 16:42:54 UTC 2012 - agraf@suse.com + +- linux-user: improve lock + +------------------------------------------------------------------- +Thu Jul 5 15:37:05 UTC 2012 - agraf@suse.com + +- linux-user: add tcg lock for multi-threaded guest programs + +------------------------------------------------------------------- +Wed Jun 25 19:29:05 UTC 2012 - afaerber@suse.de + +- include qemu-img and qemu-nbd in qemu-tools package + +------------------------------------------------------------------- +Wed Jun 25 18:30:54 UTC 2012 - afaerber@suse.de + +- add qemu-guest-agent package + +------------------------------------------------------------------- +Mon Jun 25 17:40:36 UTC 2012 - agraf@suse.com + +- add fix for segv in linux-user (fixes java) + +------------------------------------------------------------------- +Tue Jun 19 16:06:52 UTC 2012 - afaerber@suse.de + +- revert LIBRARY_PATH patch by Alex + +------------------------------------------------------------------- +Mon Jun 18 12:27:56 UTC 2012 - afaerber@suse.de + +- add patch by Alex to force gcc being emulated for LIBRARY_PATH + +------------------------------------------------------------------- +Mon Jun 18 09:06:41 UTC 2012 - dvaleev@suse.com + +- add libfdt1 to buildrequires on ppc + +------------------------------------------------------------------- +Thu Jun 14 14:39:57 UTC 2012 - afaerber@suse.de + +- revert qemu-bridge-helper mode change (cf. BNC#765948) + +------------------------------------------------------------------- +Mon Jun 13 13:44:28 UTC 2012 - brogers@suse.com + +- don't use permissions.d + +------------------------------------------------------------------- +Wed Jun 13 08:19:01 UTC 2012 - agraf@suse.com + +- Add fix for bogus losetup ioctl to not warn us about it + +------------------------------------------------------------------- +Sat Jun 9 19:09:39 UTC 2012 - brogers@suse.com + +- Set up bridge helper as a setuid executable + +------------------------------------------------------------------- +Sat Jun 9 12:17:45 UTC 2012 - afaerber@suse.de + +- Add patch for specifying --libexecdir +* Fixes having to specify the path to qemu-bridge-helper manually +- Drop superfluous `make qemu-img` +- Move qemu-bridge-helper to its own subpackage, to share with KVM + +------------------------------------------------------------------- +Tue Jun 5 13:25:43 UTC 2012 - afaerber@suse.de + +- Update to v1.1.0: see http://wiki.qemu.org/ChangeLog/1.1 +* Adapt update_git.sh script to new tag + +------------------------------------------------------------------- +Fri Jun 1 13:22:09 UTC 2012 - afaerber@suse.de + +- Update to v1.1.0-rc4: see http://wiki.qemu.org/ChangeLog/1.1 +* Adapt update_git.sh script to new tag + +------------------------------------------------------------------- +Thu May 31 17:37:26 UTC 2012 - agraf@suse.com + +- fix /proc/self/maps faking with secondary threads + +------------------------------------------------------------------- +Wed May 30 20:19:05 CEST 2012 - agraf@suse.de + +- revert commit a84fac1426 to fix automoc4 for arm + +------------------------------------------------------------------- +Tue May 29 15:52:47 UTC 2012 - agraf@suse.com + +- remove manual interp prefix, which made all linux-user binaries + point to an i386 LD_PREFIX path + +------------------------------------------------------------------- +Tue May 29 15:34:55 UTC 2012 - agraf@suse.com + +- add patch to fix building of go (swi in thumb ignores imm) + +------------------------------------------------------------------- +Tue May 22 16:39:24 UTC 2012 - afaerber@suse.de + +- Update to v1.1.0-rc3; see http://wiki.qemu.org/ChangeLog/1.1 +* Adapt update_git.sh script to new tag + +------------------------------------------------------------------- +Thu May 17 17:40:19 UTC 2012 - afaerber@suse.de + +- Update to v1.1.0-rc2; see http://wiki.qemu.org/ChangeLog/1.1 +* Adapt update_git.sh script to new tag + +------------------------------------------------------------------- +Wed May 16 01:29:02 UTC 2012 - afaerber@suse.de + +- Remove workaround for forcing cURL detection + +------------------------------------------------------------------- +Sun May 13 15:39:12 UTC 2012 - afaerber@suse.de + +- Update to v1.1-rc1: see http://wiki.qemu.org/ChangeLog/1.1 +* Add workaround for 11.4: add -lrt after -lglib-2.0 +- Adapt update_git.sh script to new tag + +------------------------------------------------------------------- +Tue May 8 00:15:18 UTC 2012 - afaerber@suse.de + +- Update to v1.1-rc0; see http://wiki.qemu.org/ChangeLog/1.1 +* Do not try to mv qemu, the executable is gone, there's a dir now +* Do not try to mv */qemu-*, there's a pc-bios/qemu-icon.bmp +* Be more specific in temporary copying of files to dynamic/ +* Drop duplicate %_bindir/qemu_binfmt_misc.sh, only in sbin now +* Use dynamic version of new executable qemu-bridge-helper +- Update update_git.sh script to pull patches from suse-1.1 branch + +------------------------------------------------------------------- +Mon May 7 19:49:40 UTC 2012 - afaerber@suse.de + +- Update URL to project homepage + +------------------------------------------------------------------- +Mon May 7 10:01:52 UTC 2012 - agraf@suse.com + +- compile fixes for ppc64abi32 +- fix update_fit.sh script if wc -c is 40 +- fix stale tbs after mmap + +------------------------------------------------------------------- +Wed Mar 7 15:16:16 UTC 2012 - agraf@suse.com + +- cut off patch file names after 40 bytes, support older git versions + for update_git.sh + +------------------------------------------------------------------- +Mon Mar 5 01:31:42 UTC 2012 - agraf@suse.com + +- resolve VMAs downwards, fixes arm git build for real + +------------------------------------------------------------------- +Sat Mar 3 23:27:14 UTC 2012 - agraf@suse.com + +- update update_git.sh for 1.0.1 +- add fixes for reserved_va mmap(NULL) case, fixes git build on arm + +------------------------------------------------------------------- +Tue Feb 28 11:49:55 UTC 2012 - idonmez@suse.com + +- Enable spice support + +------------------------------------------------------------------- +Wed Feb 22 23:04:48 UTC 2012 - brogers@suse.com + +- update to latest stable release: 1.0.1. For changes see: + http://wiki.qemu.org/ChangeLog/1.0 + +------------------------------------------------------------------- +Mon Feb 6 22:24:27 UTC 2012 - brogers@suse.com + +- avoid buffer overflow in e1000 device emulation (bnc#740165) + +------------------------------------------------------------------- +Mon Feb 6 19:29:33 UTC 2012 - agraf@suse.de + +- qemu-user: fix fallocate + +------------------------------------------------------------------- +Fri Feb 3 11:49:24 UTC 2012 - agraf@suse.de + +- qemu-user: fix previous patch + +------------------------------------------------------------------- +Thu Feb 2 15:28:42 UTC 2012 - agraf@suse.de + +- qemu-user: add host binary support for binfmt + +------------------------------------------------------------------- +Thu Feb 2 00:41:21 UTC 2012 - agraf@suse.de + +- qemu-user: add fix for /proc/self/maps to only show mappable regions + +------------------------------------------------------------------- +Wed Feb 1 23:48:53 UTC 2012 - agraf@suse.de + +- qemu-user: add wrapper for BLKBSZGET + +------------------------------------------------------------------- +Tue Jan 31 21:36:02 UTC 2012 - agraf@suse.de + +- qemu-user: add fix for deadloop with ulimit constraints +- qemu-user: add device mapper and loopback ioctls, enabling kpatkx + +------------------------------------------------------------------- +Tue Jan 10 16:08:35 UTC 2012 - agraf@suse.de + +- backport all ppc-1.0 stable patches to our package +- add fix for PPC HV KVM on 3.1 + +------------------------------------------------------------------- +Tue Jan 10 15:26:21 UTC 2012 - agraf@suse.de + +- add fix for PPC in HV KVM mode + +------------------------------------------------------------------- +Thu Jan 6 01:18:00 UTC 2012 - agraf@suse.de + +- add workaround for KVM on PPC to support hugetlbfs +- add upstream patches to fake $0 in /proc/self/maps (fixes ps) + +------------------------------------------------------------------- +Wed Dec 14 00:16:28 UTC 2011 - agraf@suse.com + +- add update_git.sh to simplify maintenance of the tree +- use -R automatically in linux-user to gain more address space +- drop MAP_32BIT patch (deprecated by the one above) + +------------------------------------------------------------------- +Mon Dec 12 22:05:24 CET 2011 - agraf@suse.com + +- add linker patch for ppc hosts + +------------------------------------------------------------------- +Mon Dec 12 20:55:12 UTC 2011 - agraf@suse.com + +- remove exclusivearch - we should be able to build everywhere! + +------------------------------------------------------------------- +Sun Dec 11 03:12:05 UTC 2011 - agraf@suse.com + +- fix compilation for 11.4 + +------------------------------------------------------------------- +Sun Dec 11 03:07:39 UTC 2011 - agraf@suse.com + +- fix compilation on sle11 +- add %fdupes for duplicate file checking + +------------------------------------------------------------------- +Sun Dec 11 00:36:35 UTC 2011 - agraf@suse.com + +- update to 1.0 from upstream. for changelogs please see: + - 0.14 -> 0.15: http://wiki.qemu.org/ChangeLog/0.15 + - 0.15 -> 1.0: http://wiki.qemu.org/ChangeLog/1.0 +- the binary "qemu" is now called qemu-system-i386 + +------------------------------------------------------------------- +Tue Nov 8 14:53:19 UTC 2011 - agraf@suse.com + +- only ignore specific timer_create syscall, no all of them + +------------------------------------------------------------------- +Sun Nov 6 14:33:42 UTC 2011 - agraf@suse.com + +- don't print out unsupported syscalls but rather silently ignore + them - some programs catch stderr and get confused + +------------------------------------------------------------------- +Thu Nov 3 18:48:47 UTC 2011 - adrian@suse.de + +- add a number of patches to fake /proc entries (from Alex) + +------------------------------------------------------------------- +Fri Oct 28 08:55:39 UTC 2011 - adrian@suse.de + +- split linux-user binaries into qemu-linux-user package + (this static package can be used in cross build in OBS) + +------------------------------------------------------------------- +Tue Oct 18 07:02:45 UTC 2011 - adrian@suse.de + +- add xattr support for openSUSE 12.1 +- added syscall numbers to fix prlimit64 support (from upstream) + +------------------------------------------------------------------- +Wed Oct 5 12:00:34 UTC 2011 - joop.boonen@opensuse.org + +- Fixed glibc arm build issue according to + https://bugs.meego.com/show_bug.cgi?format=multiple&id=20418 + added a reverse patch + +------------------------------------------------------------------- +Tue Oct 4 08:09:57 UTC 2011 - adrian@suse.de + +- add binfmt misc handler binary patch from alex. This is a handler + which calls qemu with -0 argument and right parameters to avoid + broken runs due to different set $0 as on real hardware +- move arch specific patches at the end to avoid arch dep conflicts + with other patches +- enable linux-user build to get binfmt handler + +------------------------------------------------------------------- +Thu Sep 29 09:21:17 UTC 2011 - adrian@suse.de + +- add 0021-implement-prlimit64-syscall.patch from upstream to avoid + output and confused configure scripts when testing gcc on armv7hl +- add 0022-fixing-smp-races.patch from alex to fix some SMP races + +------------------------------------------------------------------- +Tue Sep 27 09:57:34 UTC 2011 - adrian@suse.de + +- add 0020-linux-user-implement-reboot-syscall.patch from alex +- extend 0010 mmap patch for files + +------------------------------------------------------------------- +Mon Sep 26 15:53:41 UTC 2011 - adrian@suse.de + +- add fix from alex for openat file permission handling + +------------------------------------------------------------------- +Mon Jun 20 09:25:59 UTC 2011 - aj@suse.de + +- Add BuildRequires: glibc-devel-static + +------------------------------------------------------------------- +Thu May 19 15:49:45 UTC 2011 - andrea@opensuse.org + +- removed un-required vde buildrequires + +------------------------------------------------------------------- +Tue May 17 03:29:17 UTC 2011 - brogers@novell.com + +- build correctly for SLE11 +- reset revision to zero after version change + +------------------------------------------------------------------- +Wed May 11 13:47:03 UTC 2011 - andrea@opensuse.org + +- added 0018-qemu-0.14.1-mcast-udp.patch to enable multicast and + udp tunneling support + +------------------------------------------------------------------- +Tue May 10 15:09:50 UTC 2011 - andrea@opensuse.org + +- New Upstream version 0.14.1 + See http://wiki.qemu.org/Changelog/0.14 for changes in 0.14 +- removed 0014-qemu-0.11-git-ioctl_mount.patch not required anymore +- enabled vde support +- some spec clean up + +------------------------------------------------------------------- +Mon Feb 21 10:48:07 UTC 2011 - coolo@novell.com + +- disable parallel build for a while, it takes too much memory + for our workers + +------------------------------------------------------------------- +Thu Feb 10 14:48:36 CET 2011 - uli@suse.de + +- update -> 0.14.0-rc1 + See http://wiki.qemu.org/Changelog/0.14 for changes in 0.14. + (There is no such page for the 0.13 tree. The ChangeLog file ends at + 0.12.0, http://wiki.qemu.org/ChangeLog at 0.12.5 and suggests to look at + the git log. High-level information of what has changed in 0.13 is + apparently not available.) + +------------------------------------------------------------------- +Fri May 28 18:57:23 CEST 2010 - uli@suse.de + +- update -> 0.12.4 + see http://wiki.qemu.org/ChangeLog for changes + +------------------------------------------------------------------- +Wed May 19 17:37:03 UTC 2010 - brogers@novell.com + +- co-exist with virt-utils, which provides some qemu components + (bnc#586115) + +------------------------------------------------------------------- +Sun Apr 18 01:34:46 UTC 2010 - crrodriguez@opensuse.org + +- requires timezone + +------------------------------------------------------------------- +Mon Oct 5 13:45:24 CEST 2009 - uli@suse.de + +- update -> 0.11.0 final + - mips: fix conditional move off fp conditions codes (Nath Froyd) + - fix migration to obey -S (Paolo Bonzini) + - remove pc-0-10 machine type (Mark McLoughlin) + - vnc: fix copyrect screen corruption (Gerd Hoffman) + - fix vm state change handlers running order (Markus Armbruster) + - e1000: fix eerc and ics emulation (Bill Paul) + - fix sdl zooming with pl110 (Blue Swirl) + - sparc64: flush pending conditional evaluations (Igor Kovalenko) + - esp: fix interrupt register read (Blue Swirl) + - option rom makefile fixes (Paul Brook) + - fix sparse warnings (Blue Swirl) + - fix symfind (Laurent Desnogues) + - win32: fix default prefix (Stefan Weil) + - fix checksum writing in signboot (Alex Graf) + - fix sdl window resize (Stefano Stabellini) + - do not resize the screen on hw_invalidate (Stefano Stabellini) + - Add checks for -smbios option (Beth Kon) + - fix do_set_link (Luiz Capitulino) + - fix do_commit behavior (Luiz Capitulino) + - make windows notice media change (Gleb Natapov) + - check for PR_SET_NAME being defined (Nathan Froyd) + - fix migration for ide devices (Anthony Liguori) + - Use correct depth in vmware vga (Reimar Doffiner) + - support 32bpp cursors in sdl (Reimar Doffinger) + - fix device name completion for eject (Blue Swirl) + - make screendump use DisplayState properly (Stefano Stabellini) + - fix autostart with live migration (Avi Kivity) + - fix detached migration with exec (Chris Lalancette) + - fix segv when changing vnc password in sdl (Zach Amsden) + - fix vnc password clearing with stdio monitor (Zach Amsden) + - clean up VGA type selection (Zach Amsden) + - add missing linefeed in error message (Stefan Weil) + - fix rtc polling mode (Bernhard Kauer) + - qcow2: order concurrent aio requests (Kevin Wolf) + - qemu-io: port to win32 (Stefan Weil) + - alpha: fix extlh instruction (Vince Weaver) + - tcg: fix size of local variables in tcg_gen_bswap64_i64 (Stefan Weil) + - net: fix send ordering (Jan Kiszka) + - escc: fix IRQ routing (Aurelien Jarno) + - versatile: fix Linux task preemption (Aurelien Jarno) + - curses: reduce memory usage by 250MB (Aurelien Jarno) +- disabled ppc64 host, seems to be very broken + +------------------------------------------------------------------- +Thu Sep 10 14:53:43 CEST 2009 - uli@suse.de + +- package missing tools (qemu-nbd, qemu-io) + +------------------------------------------------------------------- +Thu Sep 3 18:07:21 CEST 2009 - uli@suse.de + +- disable S/390 target on 32-bit platforms + +------------------------------------------------------------------- +Mon Aug 11 14:44:48 CEST 2009 - uli@suse.de + +- update -> 0.11.0 RC1 + - add machine aliasing support (Mark McLoughlin) + - add getfd/closefd monitor commands (Mark McLoughlin) + - fix live migration (various) + - HPET fixes (various) + - slirp: fix guestfwd for incoming data (Jan Kiszka) + - fix qemu-img convert to copy unallocated parts of the image + (Akkarit Sangpetch) + - vmdk: fix backing file handling (Kevin Wolf) + - scsi: add save/restore support (Nolan Leake) + - e1000: ignore reset command (Kevin Wolf) + - allow monitor interaction when using -incoming exec: (Chris Lalancette) + - fix -net socket,listen (Jan Kiszka) + - serial: fix lost characters after sysrq (Jason Wessel) + - lsi53c895a: Implement additional registers (Sebastian Herbszt) + - i386: fix cpu reset (Nitin Kamble) + - Prevent CD-ROM eject while device is locked (Mark McLoughlin) + - Fix memory leaks (various) + - Reset PS2 keyboard/mouse on reset (Dinesh Subraveti) + - Fix -initrd with > 4GB guests (Glauber Costa) + - qcow2 fixes (various) + - Enable power button event generation (Gleb Natapov) + - fix serial option in -drive + - Fix non-ACPI timer interrupt routing (Beth Kon) + - Fix keyboard mapping on newer Xords with non-default keymaps (balrog) + - Make PCI config status register read-only (Anthony Liguori) + - Fix crash on resolution change -> screen dump -> vga redraw (Avi Kivity) + - fix savevm/loadvm (various) + - virtio: fix guest oops with 2.6.25 kernels (Rusty Russell) + - SH4: add support for -kernel (Takashi Yoshii, Aurelien Jarno) + - hotplug: fix closing of char devices (Jan Kiszka) + - hotplug: remove incorrect check for device name (Eduardo Habkost) + - fix VGA regression (malc) +- added S/390 host and target +- maintaining patches in git +- several linux-user improvements for compatibility and speed +- enabled curl block driver, VNC TLS and SASL, AIO, and Bluetooth + +------------------------------------------------------------------- +Thu Apr 16 01:53:59 CEST 2009 - ro@suse.de + +- buildfix: refresh patches + +------------------------------------------------------------------- +Fri Mar 27 12:20:21 CET 2009 - crrodriguez@suse.de + +- BuildRequire zlib-devel-static + +------------------------------------------------------------------- +Tue Mar 24 15:33:47 CET 2009 - uli@suse.de + +- update -> release (0.10.1) + - fixes bnc #435135 (CVE-2008-4539, SWAMP #22179), #362956 + (CVE-2008-1945, CVE-2008-0928), #461565 (CVE-2008-2382) + - Kernel Virtual Machine acceleration support + - GDB XML register description support + - Intel e1000 emulation + - HPET emulation + - VirtIO paravirtual device support + - Marvell 88w8618 / MusicPal emulation + - Nokia N-series tablet emulation / OMAP2 processor emulation + - PCI hotplug support + - Curses display support + - qemu-nbd utility to mount supported block formats + - Altivec support in PPC emulation and new firmware (OpenBIOS) + - Multiple VNC clients are now supported + - TLS encryption is now supported in VNC + - MIPS Magnum R4000 machine (Hervé Poussineau) + - Braille support (Samuel Thibault) + - Freecom MusicPal system emulation (Jan Kiszka) + - OMAP242x and Nokia N800, N810 machines (Andrzej Zaborowski) + - EsounD audio driver (Frederick Reeve) + - Gravis Ultrasound GF1 sound card (Tibor "TS" Schütz) + - Many, many, bug fixes and new features + - virtio-net: allow masking of notifications on empty queue (Alex + Williamson) + - e1000: fix rx descriptor low threshold logic (Alex Willaimson) + - x86 tcg: add NULL checks to lsl instruction (Jan Kiszka) + - kvm vga: fix screen corruption with -std-vga and Windows (Avi Kivity) + - kvm vga: fix screen corruption with Ubuntu installations (Glauber Costa) + - virtio-net: check right return size on sg list (Alex Williamson) + - Make qemu_announce_self handle holes (live migration after hotplug) + (Marcelo Tosatti) + - Revert r6804-r6808 (qcow2 allocation info). This series of changes + added a high cost to startup for large qcow2 images (Anthony Liguori) + - qemu-img: fix help message (Aurelien Jarno) + - Fix build for non-default installs of SDL (Anthony Liguori) + - Fix race condition in env->interrupt_request. When using TCG and a + dynticks host timer, this condition could cause TCG to get stuck in an + infinite loop (Aurelien Jarno) + - Fix reading encrypted hard disk passwords during early startup (Jan + Kiszka) + - Fix encrypted disk reporting in 'info block' (Jan Kiszka) + - Fix console size with tiny displays (MusicPal) (Jan Kiszka) + - Improve error handling in bdrv_open2 (Jan Kiszka) + - Avoid leaking data in mux'ed character devices (Jan Kiszka) + - Fix initial character device reset (no banner in monitor) (Jan Kiszka) + - Fix cpuid KVM crash on i386 host (Lubomir Rintel) + - Fix SLES10sp2 installation by adding ISTAT1 register to LSI SCSI + emulation (Ryan Harper) +- s390x TCG backend +- i386-linux-user NPTL support + +------------------------------------------------------------------- +Wed Oct 8 17:03:34 CEST 2008 - uli@suse.de + +- update -> current SVN + - fixes PPC hosts + - fixes SH4 targets (reenabled), adds NPTL support + - SSSE3, SSE4.* instructions, "unreal" mode fixed + - Alpha target converted to TCG + - live migration + - Bluetooth emulation + - SCSI tape support + - OpenBIOS binary updated + - UHCI emulation rewritten + - lots of bugfixes + +------------------------------------------------------------------- +Mon Aug 4 13:08:59 CEST 2008 - ro@suse.de + +- fix build by adding return statements for two nonvoid functions + (qemu-nonvoid_return.patch), actually unreached code + +------------------------------------------------------------------- +Thu Jul 24 13:56:06 CEST 2008 - uli@suse.de + +- update -> current SVN + - MIPS Magnum R4000 machine (Hervé Poussineau) + - Braille support (Samuel Thibault) + - Freecom MusicPal system emulation (Jan Kiszka) + - OMAP242x and Nokia N800, N810 machines (Andrzej Zaborowski) + - EsounD audio driver (Frederick Reeve) + - Gravis Ultrasound GF1 sound card (Tibor "TS" Schütz) +- added pcap networking +- ditched GCC3 thanks to TCG. Hooray! + (downside: no PPC and SH4 emulation, no S/390 host) + +------------------------------------------------------------------- +Thu May 15 17:33:53 CEST 2008 - cthiel@suse.de + +- use lsilogic instead of buslogic for SCSI VMDK images + +------------------------------------------------------------------- +Thu May 8 13:56:20 CEST 2008 - uli@suse.de + +- add format option to disable autodetection of disk image format + (bnc#380828) + +------------------------------------------------------------------- +Fri Apr 25 13:33:40 CEST 2008 - uli@suse.de + +- revert secfix (causes data corruption, no known good patch + available yet) +- support creation of SCSI VMDK images + +------------------------------------------------------------------- +Tue Mar 11 14:02:54 CET 2008 - uli@suse.de + +- secfix (unchecked block read/write vulnerability, bug #362956) + +------------------------------------------------------------------- +Thu Jan 17 15:19:54 CET 2008 - uli@suse.de + +- update -> 0.9.1 + - TFTP booting from host directory (Anthony Liguori, Erwan Velu) + - Tap device emulation for Solaris (Sittichai Palanisong) + - Monitor multiplexing to several I/O channels (Jason Wessel) + - ds1225y nvram support (Herve Poussineau) + - CPU model selection support (J. Mayer, Paul Brook, Herve Poussineau) + - Several Sparc fixes (Aurelien Jarno, Blue Swirl, Robert Reif) + - MIPS 64-bit FPU support (Thiemo Seufer) + - Xscale PDA emulation (Andrzej Zaborowski) + - ColdFire system emulation (Paul Brook) + - Improved SH4 support (Magnus Damm) + - MIPS64 support (Aurelien Jarno, Thiemo Seufer) + - Preliminary Alpha guest support (J. Mayer) + - Gumstix boards: connex and verdex emulation (Thorsten Zitterell) + - Intel mainstone II board emulation (Armin Kuster) + - VMware SVGA II graphics card support (Andrzej Zaborowski) +- revert s390-dis.c to last GPLv2 version +- reenabled qemu-system-ppcemb + +------------------------------------------------------------------- +Mon Dec 10 14:29:42 CET 2007 - uli@suse.de + +- fixed open() usage with O_CREAT + +------------------------------------------------------------------- +Tue Nov 13 15:54:45 CET 2007 - uli@suse.de + +- update -> current CVS: + - Read-only support for Parallels disk images (Alex Beregszaszi) + - CRIS emulation (Edgar E. Iglesias) + - SPARC32PLUS execution support (Blue Swirl) + - MIPS mipssim pseudo machine (Thiemo Seufer) + - Strace for Linux userland emulation (Stuart Anderson, Thayne Harbaugh) + - OMAP310 MPU emulation plus Palm T|E machine (Andrzej Zaborowski) + - ARM v6, v7, NEON SIMD and SMP emulation (Paul Brook/CodeSourcery) + +------------------------------------------------------------------- +Fri Oct 12 01:30:23 CEST 2007 - ro@suse.de + +- hack to fix build: undef DEBUG_BLOCK for now + +------------------------------------------------------------------- +Thu Sep 28 14:45:41 CEST 2007 - agraf@suse.de + +- fix SVM support (Alexander Graf) + +------------------------------------------------------------------- +Thu Sep 13 13:37:41 CEST 2007 - agraf@suse.de + +- add SVM emulation support (Alexander Graf) +- fix a misassumption in the s390 fix (uli) +- allow more IDE power management (Ben Guthro) +- log any I/O error and perform automatic read retry for CDrom (Ben Guthro) +- fix Coherent guest support (Jan Jezabek) +- fix several Darwin guest issues (Filip Navara) + +------------------------------------------------------------------- +Mon Aug 20 11:05:39 CEST 2007 - agraf@suse.de + +- fix ATAPI bug when using libata (Brandon Philips) (#291775) + +------------------------------------------------------------------- +Sat Aug 11 09:20:48 CEST 2007 - olh@suse.de + +- disable only SNDRV_SB_CSP_IOCTL_LOAD_CODE for _IOC_SIZEBITS < 14 + +------------------------------------------------------------------- +Thu Aug 9 16:39:10 CEST 2007 - olh@suse.de + +- disable some alsa SB ioctl declarations + +------------------------------------------------------------------- +Mon Aug 6 22:35:06 CEST 2007 - olh@suse.de + +- remove inclusion of linux/compiler.h + +------------------------------------------------------------------- +Mon Jul 30 18:04:08 CEST 2007 - uli@suse.de + +- fixed for S/390 + +------------------------------------------------------------------- +Tue Jul 10 15:44:03 CEST 2007 - schwab@suse.de + +- Add (incomplete) m68k emulation. + +------------------------------------------------------------------- +Mon Jul 9 17:02:48 CEST 2007 - agraf@suse.de + +- included alsa support in qemu-user +- update to current cvs + - TFTP booting from host directory (Anthony Liguori, Erwan Velu) + - Tap device emulation for Solaris (Sittichai Palanisong) + - Monitor multiplexing to several I/O channels (Jason Wessel) + - ds1225y nvram support (Herve Poussineau) + - CPU model selection support (J. Mayer, Paul Brook, Herve Poussineau) + - Several Sparc fixes (Aurelien Jarno, Blue Swirl) + - MIPS 64-bit FPU support (Thiemo Seufer) + - Xscale PDA emulation (Andrzei Zaborowski) + - ColdFire system emulation (Paul Brook) + - Improved SH4 support (Magnus Damm) + - MIPS64 support (Aurelien Jarno, Thiemo Seufer) + - Preliminary Alpha guest support (J. Mayer) + - IPC fixes + +------------------------------------------------------------------- +Wed Jun 20 14:38:47 CEST 2007 - agraf@suse.de + +- applied proper fix for x86_64 and the MAP_32BIT flag + +------------------------------------------------------------------- +Wed Jun 20 10:59:11 CEST 2007 - uli@suse.de + +- added secfixes (bug #252519) + +------------------------------------------------------------------- +Thu Jun 14 18:53:18 CEST 2007 - agraf@suse.de + +- made wine work (set FS register to 0 on init) +- suppressed robust_list warnings + +------------------------------------------------------------------- +Wed Jun 13 22:31:34 CEST 2007 - agraf@suse.de + +- made flash player 9 work on ppc +- fixed FUTEX_WAKE_OP on machines where endianness differs +- made mmap on x86_64 use the MAP_32BIT flag +- removed a useless spin_lock +- removed an annoying debug message for forking +- implemented sched_getaffinity syscall +- fixed configure call so it takes gcc3 again + +------------------------------------------------------------------- +Wed Jun 13 15:01:44 CEST 2007 - uli@suse.de + +- support "vga=" parameter (Pascal Terjan) +- direct jump support for x86-64 (Gwenole Beauchesne) +- fix chaining of CPU instances (Gwenole Beauchesne) +- live migration support (Anthony Liguori) +- fix fprem/fprem1 insns (Julian Seward) +- KVM support +- Z80/ZX Spectrum emulation (Stuart Brady) +- GCC4 support postponed (breaks x86-64 on i386) + +------------------------------------------------------------------- +Mon Jun 11 16:12:00 CEST 2007 - agraf@suse.de + +- implemented TLS support on i386 so qemu-user can be used to run + with current libc versions (partly done by David Woodhouse, + fixed by Alexander Graf) +- added a dirty hack for an mmap page table bug on qemu-user x86 + emulation +- disable AF_NETLINK in qemu-user (endianness problems) +- applied fast path mangling patch from Kirill A. Shutemov +- applied strace patch for debugging (by Stuart R. Anderson) + +------------------------------------------------------------------- +Wed Apr 4 20:01:42 CEST 2007 - agraf@suse.de + +- fixed initrd loading on x86 + +------------------------------------------------------------------- +Thu Mar 29 22:20:04 CEST 2007 - ro@suse.de + +- added bison to BuildRequires + +------------------------------------------------------------------- +Tue Feb 20 15:05:06 CET 2007 - uli@suse.de + +- added better fix by Robert Schiele (bug #241950) +- update -> 0.9.0 + - Support for relative paths in backing files for disk images + - Async file I/O API + - New qcow2 disk image format + - Support of multiple VM snapshots + - Linux: specific host CDROM and floppy support + - SMM support + - Moved PCI init, MP table init and ACPI table init to Bochs BIOS + - Support for MIPS32 Release 2 instruction set (Thiemo Seufer) + - MIPS Malta system emulation (Aurelien Jarno, Stefan Weil) + - Darwin userspace emulation (Pierre d'Herbemont) + - m68k user support (Paul Brook) + - several x86 and x86_64 emulation fixes + - Mouse relative offset VNC extension (Anthony Liguori) + - PXE boot support (Anthony Liguori) + - '-daemonize' option (Anthony Liguori) + +------------------------------------------------------------------- +Tue Feb 6 11:42:01 CET 2007 - uli@suse.de + +- added fix by Robert Schiele to work without usbdevfs + (bug #241950) + +------------------------------------------------------------------- +Fri Feb 2 00:57:09 CET 2007 - ro@suse.de + +- remove -fstack-protector from CFLAGS + +------------------------------------------------------------------- +Fri Oct 27 18:48:53 CEST 2006 - schwab@suse.de + +- Fix char signedness. + +------------------------------------------------------------------- +Mon Sep 11 16:56:15 CEST 2006 - uli@suse.de + +- re-added ARM FPE patch +- fixed SPARC on PPC +- install missing openbios-sparc32 + +------------------------------------------------------------------- +Sat Sep 9 02:52:53 CEST 2006 - dmueller@suse.de + +- update to 0.8.2: + - ACPI support + - PC VGA BIOS fixes + - MIPS FPU support (Marius Groeger) + - PPC breakpoints and single stepping (Jason Wessel) + - USB updates (Paul Brook) + - UDP/TCP/telnet character devices (Jason Wessel) + - Windows sparse file support (Frediano Ziglio) + - RTL8139 NIC TCP segmentation offloading (Igor Kovalenko) + - PCNET NIC support (Antony T Curtis) + - Support for variable frequency host CPUs + - Workaround for win32 SMP hosts + - Support for AMD Flash memories (Jocelyn Mayer) + - Audio capture to WAV files support (malc) + +------------------------------------------------------------------- +Tue May 30 11:57:16 CEST 2006 - uli@suse.de + +- fixed to build on PPC with new glibc + +------------------------------------------------------------------- +Mon May 29 13:39:30 CEST 2006 - uli@suse.de + +- fixed to build with new kernel headers + +------------------------------------------------------------------- +Wed Mar 8 18:14:04 CET 2006 - uli@suse.de + +- split giant patch +- added NWFPE glue code fix + +------------------------------------------------------------------- +Tue Mar 7 22:31:12 CET 2006 - schwab@suse.de + +- More fixes for ia64 port. + +------------------------------------------------------------------- +Mon Mar 6 23:54:26 CET 2006 - schwab@suse.de + +- Remove obsolete hunk from ia64 patch. + +------------------------------------------------------------------- +Wed Jan 25 21:40:58 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Tue Dec 20 13:14:34 CET 2005 - uli@suse.de + +- update -> 0.8.0 + +------------------------------------------------------------------- +Thu Dec 8 14:47:53 CET 2005 - uli@suse.de + +- update to current CVS (MIPS userspace, ARM system, SMP, USB, + NX, VLAN, serial, parallel, ES1370, ALSA backend) +- build i386 and AMD64 emus with kqemu support if possible +- install missing PPC video driver, SPARC boot ROM +- install missing keymaps + +------------------------------------------------------------------- +Mon Nov 7 15:41:57 CET 2005 - uli@suse.de + +- updated linker scripts for new binutils release + +------------------------------------------------------------------- +Sat Sep 17 18:42:42 CEST 2005 - dmueller@suse.de + +- update to 0.7.2 + +------------------------------------------------------------------- +Mon Aug 15 23:11:50 CEST 2005 - schwab@suse.de + +- Don't package /emul/ia32-linux on ia64. + +------------------------------------------------------------------- +Mon Aug 15 16:27:02 CEST 2005 - schwab@suse.de + +- Fix compilation on ia64. + +------------------------------------------------------------------- +Mon Aug 1 15:28:42 CEST 2005 - uli@suse.de + +- update -> 0.7.1 +- enabled x86_64-system + +------------------------------------------------------------------- +Mon Jul 11 16:29:52 CEST 2005 - uli@suse.de + +- update -> CVS (MIPS emulation) +- build with throwaway GCC3 (still no GCC4-compatible QEMU in + sight) +- enabled armeb-user +- link *-user statically (necessary for chrooting into non-native + systems) +- disabled s390, alpha, armv4l build (broken and unmaintained) +- disabled qemu-fast (broken and deprecated) +- disabled i386-user on x86_64 (useless) +- build with %jobs + +------------------------------------------------------------------- +Wed Jun 1 02:24:11 CEST 2005 - ro@suse.de + +- update to 0.7.0, still no success with gcc-4 + +------------------------------------------------------------------- +Thu Jan 27 14:00:04 CET 2005 - uli@suse.de + +- baselibs-x86 link is unnecessary on x86/AMD64 +- two ARM emulation fixes (RRX operand fix by Paul Brook, shifter + carry fix by me) +- SDL 1.2.8 can be linked statically -> enabled qemu-fast + +------------------------------------------------------------------- +Mon Nov 29 14:55:36 CET 2004 - uli@suse.de + +- update -> 0.6.1 +- build softmmu binaries on s390 (still doesn't work though) +- pack /emul/ia32-linux directory and symlink from /usr/share/qemu + so it's possible to use the IA64 baselibs-x86 packages + +------------------------------------------------------------------- +Wed Sep 15 11:19:49 CEST 2004 - uli@suse.de + +- removed unnecessary dependency on private glibc symbol + (bug #44864) + +------------------------------------------------------------------- +Fri Aug 6 16:52:36 CEST 2004 - uli@suse.de + +- update -> 0.6.0 (fixes for several OSs, improvements in emulated + hardware (IDE, PCI, network, VGA, APM, PowerMac), minor fixes, + tool for conversion of VMware images) + +------------------------------------------------------------------- +Tue May 11 16:18:25 CEST 2004 - uli@suse.de + +- update -> 0.5.5 (contains ARM, utime() fixes and several others) +- make uname() return target machine name (fixes config.guess, + rpm etc.) +- fake sigaltstack() (fixes m4) +- enabled x86-64 + +------------------------------------------------------------------- +Wed May 5 15:29:24 CEST 2004 - uli@suse.de + +- fixed ARM emulation bug + +------------------------------------------------------------------- +Wed Apr 28 16:39:31 CEST 2004 - uli@suse.de + +- build with -fno-unit-at-a-time (fixes PPC system emulator) + +------------------------------------------------------------------- +Wed Apr 28 10:14:17 CEST 2004 - uli@suse.de + +- update -> 0.5.4 (runs Linux/PPC, several fixes) + +------------------------------------------------------------------- +Mon Apr 19 16:17:00 CEST 2004 - uli@suse.de + +- initial package + diff --git a/qemu-testsuite.spec b/qemu-testsuite.spec new file mode 100644 index 00000000..2c304f40 --- /dev/null +++ b/qemu-testsuite.spec @@ -0,0 +1,1058 @@ +# +# spec file for package qemu-testsuite +# +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%ifarch %ix86 x86_64 +# choice of building all from source or using provided binary x86 blobs +%if 0%{?suse_version} >= 1310 +%define build_x86_fw_from_source 1 +%else +%define build_x86_fw_from_source 0 +%endif +%else +%define build_x86_fw_from_source 0 +%endif +%ifarch %ix86 x86_64 ppc ppc64 ppc64le s390x %arm aarch64 +%define kvm_available 1 +%else +%define kvm_available 0 +%endif +%ifarch %ix86 x86_64 s390x +%define legacy_qemu_kvm 1 +%else +%define legacy_qemu_kvm 0 +%endif +%define noarch_supported 1110 + +Name: qemu-testsuite +Url: http://www.qemu.org/ +Summary: Universal CPU emulator +License: BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT +Group: System/Emulators/PC +Version: 2.2.92 +Release: 0 +Source: http://wiki.qemu.org/download/qemu-2.3.0-rc2.tar.bz2 +Source99: http://wiki.qemu.org/download/qemu-2.3.0-rc2.tar.bz2.sig +Source1: 80-kvm.rules +Source2: qemu-ifup +Source3: kvm_stat +Source4: qemu-kvm.1.gz +Source5: 60-kvm.rules +Source6: ksm.service +Source7: 60-kvm.x86.rules +# Upstream First -- http://wiki.qemu-project.org/Contribute/SubmitAPatch +# This patch queue is auto-generated from https://github.com/openSUSE/qemu +Patch0001: 0001-XXX-dont-dump-core-on-sigabort.patch +Patch0002: 0002-XXX-work-around-SA_RESTART-race-wit.patch +Patch0003: 0003-qemu-0.9.0.cvs-binfmt.patch +Patch0004: 0004-qemu-cvs-alsa_bitfield.patch +Patch0005: 0005-qemu-cvs-alsa_ioctl.patch +Patch0006: 0006-qemu-cvs-alsa_mmap.patch +Patch0007: 0007-qemu-cvs-gettimeofday.patch +Patch0008: 0008-qemu-cvs-ioctl_debug.patch +Patch0009: 0009-qemu-cvs-ioctl_nodirection.patch +Patch0010: 0010-block-vmdk-Support-creation-of-SCSI.patch +Patch0011: 0011-linux-user-add-binfmt-wrapper-for-a.patch +Patch0012: 0012-PPC-KVM-Disable-mmu-notifier-check.patch +Patch0013: 0013-linux-user-fix-segfault-deadlock.patch +Patch0014: 0014-linux-user-binfmt-support-host-bina.patch +Patch0015: 0015-linux-user-Ignore-broken-loop-ioctl.patch +Patch0016: 0016-linux-user-lock-tcg.patch +Patch0017: 0017-linux-user-Run-multi-threaded-code-.patch +Patch0018: 0018-linux-user-lock-tb-flushing-too.patch +Patch0019: 0019-linux-user-Fake-proc-cpuinfo.patch +Patch0020: 0020-linux-user-implement-FS_IOC_GETFLAG.patch +Patch0021: 0021-linux-user-implement-FS_IOC_SETFLAG.patch +Patch0022: 0022-linux-user-XXX-disable-fiemap.patch +Patch0023: 0023-slirp-nooutgoing.patch +Patch0024: 0024-vnc-password-file-and-incoming-conn.patch +Patch0025: 0025-linux-user-add-more-blk-ioctls.patch +Patch0026: 0026-linux-user-use-target_ulong.patch +Patch0027: 0027-block-Add-support-for-DictZip-enabl.patch +Patch0028: 0028-block-Add-tar-container-format.patch +Patch0029: 0029-Legacy-Patch-kvm-qemu-preXX-dictzip.patch +Patch0030: 0030-console-add-question-mark-escape-op.patch +Patch0031: 0031-Make-char-muxer-more-robust-wrt-sma.patch +Patch0032: 0032-linux-user-lseek-explicitly-cast-no.patch +Patch0033: 0033-virtfs-proxy-helper-Provide-__u64-f.patch +Patch0034: 0034-configure-Enable-PIE-for-ppc-and-pp.patch +Patch0035: 0035-qtest-Increase-socket-timeout.patch +Patch0036: 0036-AIO-Reduce-number-of-threads-for-32.patch +Patch0037: 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch +# Please do not add QEMU patches manually here. +# Run update_git.sh to regenerate this queue. + +# SeaBIOS +%if %{build_x86_fw_from_source} +# PATCH-FIX-OPENSUSE seabios_128kb.patch brogers@suse.com -- make it fit +Patch1000: seabios_128kb.patch +# PATCH-FIX-UPSTREAM seabios_checkrom_typo.patch afaerber@suse.de -- tidy error message +Patch1001: seabios_checkrom_typo.patch +Patch1002: seabios_avoid_smbios_signature_string.patch +%endif + +# this is to make lint happy +Source300: qemu-rpmlintrc +Source302: bridge.conf +Source400: update_git.sh +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: SDL-devel +BuildRequires: alsa-devel +BuildRequires: bluez-devel +%if 0%{?suse_version} >= 1130 +BuildRequires: brlapi-devel +%endif +BuildRequires: curl-devel +BuildRequires: cyrus-sasl-devel +%if %{build_x86_fw_from_source} +BuildRequires: iasl +%endif +BuildRequires: e2fsprogs-devel +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: glib2-devel +%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315 +BuildRequires: glusterfs-devel +%endif +%if 0%{?suse_version} >= 1220 +BuildRequires: gtk3-devel +%else +BuildRequires: gtk2-devel +%endif +BuildRequires: libaio +BuildRequires: libaio-devel +BuildRequires: libattr-devel +BuildRequires: libbz2-devel +BuildRequires: libcap-devel +BuildRequires: libcap-ng-devel +%if 0%{?suse_version} >= 1310 +# 12.3 and earlier don't ship a compatible libfdt; use the bundled one there +BuildRequires: libfdt1-devel +%endif +BuildRequires: libgnutls-devel +%if 0%{?suse_version} >= 1315 +BuildRequires: libibverbs-devel +%endif +BuildRequires: libjpeg-devel +%ifarch %ix86 aarch64 +%if 0%{?suse_version} > 1320 +BuildRequires: libnuma-devel +%endif +%else +%ifnarch %arm +BuildRequires: libnuma-devel +%endif +%endif +BuildRequires: libpcap-devel +BuildRequires: libpixman-1-0-devel +BuildRequires: libpng-devel +BuildRequires: libpulse-devel +%if 0%{?suse_version} >= 1315 +BuildRequires: librdmacm-devel +%endif +%ifnarch ppc64le +%if 0%{?suse_version} > 1320 +BuildRequires: libseccomp-devel +%endif +%endif +%if 0%{?suse_version} > 1140 +BuildRequires: libssh2-devel +%endif +BuildRequires: libtool +%if 0%{?suse_version} > 1310 +BuildRequires: libusb-devel +%endif +BuildRequires: libvdeplug3-devel +BuildRequires: lzo-devel +%if 0%{?suse_version} > 1220 +BuildRequires: makeinfo +%endif +BuildRequires: mozilla-nss-devel +BuildRequires: ncurses-devel +BuildRequires: pkgconfig +BuildRequires: pwdutils +BuildRequires: python +%if 0%{?suse_version} >= 1310 +BuildRequires: snappy-devel +%endif +%if 0%{?suse_version} >= 1210 +BuildRequires: systemd +%{?systemd_requires} +%define with_systemd 1 +%endif +%if %{kvm_available} +BuildRequires: udev +%if %( echo `rpm -q --queryformat %%{version} udev` ) > 190 +%define _udevrulesdir /usr/lib/udev/rules.d +%else +%define _udevrulesdir /lib/udev/rules.d +%endif +%endif +%if 0%{?sles_version} != 11 +BuildRequires: usbredir-devel +%endif +%if 0%{?suse_version} >= 1210 +%if 0%{?suse_version} >= 1220 +BuildRequires: vte-devel +%else +BuildRequires: vte2-devel +%endif +%endif +%ifarch x86_64 +BuildRequires: xen-devel +%endif +BuildRequires: zlib-devel +%if 0%{?suse_version} >= 1140 +%ifarch %ix86 x86_64 +BuildRequires: libspice-server-devel +BuildRequires: spice-protocol-devel +%endif +%endif +%if "%{name}" == "qemu-testsuite" +BuildRequires: bc +BuildRequires: qemu-arm = %version +BuildRequires: qemu-extra = %version +BuildRequires: qemu-ppc = %version +BuildRequires: qemu-s390 = %version +BuildRequires: qemu-tools = %version +BuildRequires: qemu-x86 = %version +%endif +Requires: /usr/sbin/groupadd +Requires: pwdutils +Requires: timezone +Recommends: qemu-block-curl +Recommends: qemu-tools +Recommends: qemu-x86 +%ifarch ppc ppc64 ppc64le +Recommends: qemu-ppc +%else +Suggests: qemu-ppc +%endif +%ifarch s390x +Recommends: qemu-s390 +%else +Suggests: qemu-s390 +%endif +%ifarch %arm aarch64 +Recommends: qemu-arm +%else +Suggests: qemu-arm +%endif +Suggests: qemu-extra +Suggests: qemu-lang +%if 0%{?suse_version} >= 1210 +Recommends: qemu-ksm = %{version} +%endif + +%define built_firmware_files {acpi-dsdt.aml bios.bin bios-256k.bin \ +q35-acpi-dsdt.aml sgabios.bin vgabios.bin vgabios-cirrus.bin \ +vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin optionrom/linuxboot.bin \ +optionrom/multiboot.bin optionrom/kvmvapic.bin pxe-e1000.rom pxe-pcnet.rom \ +pxe-ne2k_pci.rom pxe-rtl8139.rom pxe-eepro100.rom pxe-virtio.rom} + +%description +QEMU is an extremely well-performing CPU emulator that allows you to +choose between simulating an entire system and running userspace +binaries for different architectures under your native operating +system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well +as PC and PowerMac systems. + +%if "%{name}" != "qemu-testsuite" + +%package x86 +Summary: Universal CPU emulator -- x86 +Group: System/Emulators/PC +Requires: qemu = %version +Requires: qemu-ipxe +Requires: qemu-seabios +Requires: qemu-sgabios +Requires: qemu-vgabios + +%description x86 +QEMU is an extremely well-performing CPU emulator that allows you to +choose between simulating an entire system and running userspace +binaries for different architectures under your native operating +system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well +as PC and PowerMac systems. + +This sub-package provides i386 and x86_64 emulation. + +%package ppc +Summary: Universal CPU emulator -- Power Architecture +Group: System/Emulators/PC +Requires: qemu = %version + +%description ppc +QEMU is an extremely well-performing CPU emulator that allows you to +choose between simulating an entire system and running userspace +binaries for different architectures under your native operating +system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well +as PC and PowerMac systems. + +This sub-package provides ppc and ppc64 emulation. + +%package s390 +Summary: Universal CPU emulator -- S/390 +Group: System/Emulators/PC +Requires: qemu = %version + +%description s390 +QEMU is an extremely well-performing CPU emulator that allows you to +choose between simulating an entire system and running userspace +binaries for different architectures under your native operating +system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well +as PC and PowerMac systems. + +This sub-package provides s390x emulation. + +%package arm +Summary: Universal CPU emulator -- ARM +Group: System/Emulators/PC +Requires: qemu = %version + +%description arm +QEMU is an extremely well-performing CPU emulator that allows you to +choose between simulating an entire system and running userspace +binaries for different architectures under your native operating +system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well +as PC and PowerMac systems. + +This sub-package provides arm emulation. + +%package extra +Summary: Universal CPU emulator -- extra architectures +Group: System/Emulators/PC +Requires: qemu = %version + +%description extra +QEMU is an extremely well-performing CPU emulator that allows you to +choose between simulating an entire system and running userspace +binaries for different architectures under your native operating +system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well +as PC and PowerMac systems. + +This sub-package provides some lesser used emulations, such as moxie and xtensa. + +%if %{legacy_qemu_kvm} +%package kvm +Url: http://www.linux-kvm.org +Summary: Kernel-based Virtual Machine +Group: System/Emulators/PC +%ifarch %ix86 x86_64 +Requires: qemu-x86 = %version +%endif +%ifarch s390x +Requires: qemu-s390 = %version +%endif +Provides: kvm = %version +Obsoletes: kvm < %version +Recommends: python-curses + +%description kvm +KVM (Kernel-based Virtual Machine) is virtualization software for Linux. +It is designed to leverage the hardware virtualization features included +with various architectures. QEMU uses KVM for CPU virtualization, while +still providing emulation of other system components. This package is +not required for KVM usage, but rather facilitates its usage with tools +derived from the legacy kvm package. +%endif + +%package lang +Summary: Universal CPU emulator -- Translations +Group: System/Emulators/PC + +%description lang +QEMU is an extremely well-performing CPU emulator that allows you to +choose between simulating an entire system and running userspace +binaries for different architectures under your native operating +system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well +as PC and PowerMac systems. + +This sub-package contains translations. + +# Modules need to match {qemu-system-*,qemu-img} version. +# We cannot have qemu and qemu-tools require them in the right version, +# as that would drag in the dependencies the modules are supposed to avoid. +# Nor can we have modules require the right version of qemu and qemu-tools +# as Xen reuses our qemu-tools but does not want our qemu and qemu-x86. +%define qemu_module_conflicts \ +Conflicts: qemu < %version \ +Conflicts: qemu > %version \ +Conflicts: qemu-tools < %version \ +Conflicts: qemu-tools > %version + +%package block-curl +Summary: Universal CPU emulator -- cURL block support +Group: System/Emulators/PC +Provides: qemu:%_libdir/%name/block-curl.so +%{qemu_module_conflicts} + +%description block-curl +QEMU is an extremely well-performing CPU emulator that allows you to +choose between simulating an entire system and running userspace +binaries for different architectures under your native operating +system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well +as PC and PowerMac systems. + +This sub-package contains a module for accessing network-based image files +over a network connection from qemu-img tool and QEMU system emulation. + +%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315 +%package block-gluster +Summary: Universal CPU emulator -- GlusterFS block support +Group: System/Emulators/PC +%{qemu_module_conflicts} + +%description block-gluster +QEMU is an extremely well-performing CPU emulator that allows you to +choose between simulating an entire system and running userspace +binaries for different architectures under your native operating +system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well +as PC and PowerMac systems. + +This sub-package contains a module for accessing network-based image files +over a GlusterFS network connection from qemu-img tool and QEMU system emulation. +%endif + +%if 0%{?suse_version} > 1140 +%package block-ssh +Summary: Universal CPU emulator -- SSH block support +Group: System/Emulators/PC +%{qemu_module_conflicts} + +%description block-ssh +QEMU is an extremely well-performing CPU emulator that allows you to +choose between simulating an entire system and running userspace +binaries for different architectures under your native operating +system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well +as PC and PowerMac systems. + +This sub-package contains a module for accessing network-based image files +over an SSH network connection from qemu-img tool and QEMU system emulation. +%endif + +%package tools +Summary: Universal CPU emulator -- Tools +Group: System/Emulators/PC +Provides: qemu:%_libexecdir/qemu-bridge-helper +Obsoletes: libcacard <= 0.1.2 +Provides: libcacard +PreReq: permissions +Recommends: qemu-block-curl + +%description tools +QEMU is an extremely well-performing CPU emulator that allows you to +choose between simulating an entire system and running userspace +binaries for different architectures under your native operating +system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well +as PC and PowerMac systems. + +This sub-package contains various tools, including a bridge helper. + +%package guest-agent +Summary: Universal CPU emulator -- Guest agent +Group: System/Emulators/PC +Provides: qemu:%_bindir/qemu-ga + +%description guest-agent +QEMU is an extremely well-performing CPU emulator that allows you to +choose between simulating an entire system and running userspace +binaries for different architectures under your native operating +system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well +as PC and PowerMac systems. + +This sub-package contains the guest agent. + +%ifarch %ix86 x86_64 +%package seabios +Summary: X86 BIOS for QEMU +Group: System/Emulators/PC +Version: 1.8.1 +Release: 0 +%if 0%{?suse_version} > %{noarch_supported} +BuildArch: noarch +%endif +Conflicts: qemu < 1.6.0 + +%description seabios +SeaBIOS is an open source implementation of a 16bit x86 BIOS. SeaBIOS +is the default BIOS for QEMU. + +%package vgabios +Summary: VGA BIOSes for QEMU +Group: System/Emulators/PC +Version: 1.8.1 +Release: 0 +%if 0%{?suse_version} > %{noarch_supported} +BuildArch: noarch +%endif +Conflicts: qemu < 1.6.0 + +%description vgabios +VGABIOS provides the video ROM BIOSes for the following variants of VGA +emulated devices: Std VGA, QXL, Cirrus CLGD 5446 and VMware emulated +video card. + +%package sgabios +Summary: Serial Graphics Adapter BIOS for QEMU +Group: System/Emulators/PC +Version: 8 +Release: 0 +%if 0%{?suse_version} > %{noarch_supported} +BuildArch: noarch +%endif +Conflicts: qemu < 1.6.0 + +%description sgabios +The Google Serial Graphics Adapter BIOS or SGABIOS provides a means for legacy +x86 software to communicate with an attached serial console as if a video card +were attached. + +%package ipxe +Summary: PXE ROMs for QEMU NICs +Group: System/Emulators/PC +Version: 1.0.0 +Release: 0 +%if 0%{?suse_version} > %{noarch_supported} +BuildArch: noarch +%endif +Conflicts: qemu < 1.6.0 + +%description ipxe +Preboot Execution Environment (PXE) ROM support for various emulated network +adapters available with QEMU. +%endif + +%if 0%{?with_systemd} +%package ksm +Summary: Kernel Samepage Merging services +Group: System/Emulators/PC + +%description ksm +Kernel Samepage Merging (KSM) is a memory-saving de-duplication feature, +that merges anonymous (private) pages (not pagecache ones). + +This package provides a service file for starting and stopping KSM. +%endif + +%endif # !qemu-testsuite + +%prep +%setup -q -n qemu-2.3.0-rc2 +%patch0001 -p1 +%patch0002 -p1 +%patch0003 -p1 +%patch0004 -p1 +%patch0005 -p1 +%patch0006 -p1 +%patch0007 -p1 +%patch0008 -p1 +%patch0009 -p1 +%patch0010 -p1 +%patch0011 -p1 +%patch0012 -p1 +%patch0013 -p1 +%patch0014 -p1 +%patch0015 -p1 +%patch0016 -p1 +%patch0017 -p1 +%patch0018 -p1 +%patch0019 -p1 +%patch0020 -p1 +%patch0021 -p1 +%patch0022 -p1 +%patch0023 -p1 +%patch0024 -p1 +%patch0025 -p1 +%patch0026 -p1 +%patch0027 -p1 +%patch0028 -p1 +%patch0029 -p1 +%patch0030 -p1 +%patch0031 -p1 +%patch0032 -p1 +%patch0033 -p1 +%patch0034 -p1 +%patch0035 -p1 +%patch0036 -p1 +%patch0037 -p1 + +%if %{build_x86_fw_from_source} +pushd roms/seabios +%patch1000 -p1 +%patch1001 -p1 +%patch1002 -p1 +popd + +# as a safeguard, delete the firmware files that we intend to build +for i in %built_firmware_files +do + rm -f pc-bios/$i +done +%endif + +%build +./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \ + --libdir=%_libdir \ + --libexecdir=%_libexecdir \ + --localstatedir=%_localstatedir \ + --extra-cflags="%{optflags}" \ + --disable-strip \ + --enable-system --disable-linux-user \ + --enable-tools --enable-guest-agent \ + --enable-modules \ + --enable-pie \ + --enable-docs \ + --audio-drv-list="pa alsa sdl oss" \ + --disable-archipelago \ + --enable-attr \ + --enable-bluez \ +%if 0%{?suse_version} >= 1130 + --enable-brlapi \ +%else + --disable-brlapi \ +%endif + --enable-bzip2 \ + --enable-cap-ng \ + --enable-curl \ + --enable-curses \ + --enable-fdt \ +%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315 + --enable-glusterfs \ +%else + --disable-glusterfs \ +%endif + --enable-gtk \ +%if 0%{?suse_version} >= 1220 + --with-gtkabi=3.0 \ +%else + --with-gtkabi=2.0 \ +%endif +%if %{kvm_available} + --enable-kvm \ +%else + --disable-kvm \ +%endif + --disable-libiscsi \ + --disable-libnfs \ +%if 0%{?suse_version} > 1140 + --enable-libssh2 \ +%else + --disable-libssh2 \ +%endif +%if 0%{?suse_version} > 1310 + --enable-libusb \ +%else + --disable-libusb \ +%endif + --enable-linux-aio \ + --enable-lzo \ + --disable-netmap \ +%ifarch %ix86 aarch64 +%if 0%{?suse_version} > 1320 + --enable-numa \ +%else + --disable-numa \ +%endif +%else +%ifarch %arm + --disable-numa \ +%else + --enable-numa \ +%endif +%endif +%if 0%{?suse_version} >= 1310 + --enable-quorum \ +%else + --disable-quorum \ +%endif + --disable-rbd \ +%if 0%{?suse_version} >= 1315 + --enable-rdma \ +%else + --disable-rdma \ +%endif + --enable-sdl \ + --with-sdlabi=1.2 \ +%ifnarch ppc64le +%if 0%{?suse_version} > 1320 + --enable-seccomp \ +%else + --disable-seccomp \ +%endif +%else + --disable-seccomp \ +%endif + --enable-smartcard-nss \ +%if 0%{?suse_version} >= 1310 + --enable-snappy \ +%else + --disable-snappy \ +%endif +%if 0%{?suse_version} >= 1140 +%ifarch %ix86 x86_64 + --enable-spice \ +%else + --disable-spice \ +%endif +%else + --disable-spice \ +%endif + --enable-tpm \ + --enable-trace-backends=nop \ +%if 0%{?sles_version} != 11 + --enable-usb-redir \ +%else + --disable-usb-redir \ +%endif + --enable-uuid \ + --enable-vde \ + --enable-vhdx \ + --enable-vhost-net \ + --enable-virtfs \ + --enable-vnc \ + --enable-vnc-jpeg \ + --enable-vnc-png \ + --enable-vnc-sasl \ + --enable-vnc-tls \ + --enable-vnc-ws \ +%ifarch x86_64 + --enable-xen \ + --enable-xen-pci-passthrough \ +%else + --disable-xen \ +%endif + +%if "%{name}" != "qemu-testsuite" + +make %{?_smp_mflags} V=1 + +# Firmware +%if %{build_x86_fw_from_source} +make -C roms bios +make -C roms seavgabios +make -C roms pxerom +make -C roms sgabios +%endif +%ifarch s390x +cp pc-bios/s390-ccw/s390-ccw.img pc-bios/s390-ccw.img +%endif + +%else # qemu-testsuite +for conf in default-configs/*-softmmu.mak; do + arch=`echo "$conf" | sed -e 's|default-configs/\(.*\)-softmmu.mak|\1|g'` + ln -s %{_bindir}/qemu-system-$arch $arch-softmmu/qemu-system-$arch +done +%endif + +%check +%if "%{name}" == "qemu-testsuite" +%if 0%{?suse_version} >= 1310 +make check-report.html V=1 +install -D -m 644 check-report.html %{buildroot}%{_datadir}/qemu/check-report.html +%else +make check-report.xml V=1 +%endif +install -D -m 644 check-report.xml %{buildroot}%{_datadir}/qemu/check-report.xml +%ifnarch %ix86 x64_64 +export QEMU_PROG=%{_bindir}/qemu-system-x86_64 +%endif +export QEMU_IMG_PROG=%{_bindir}/qemu-img +export QEMU_IO_PROG=%{_bindir}/qemu-io +export QEMU_NBD_PROG=%{_bindir}/qemu-nbd +# make check-block would rebuild qemu-img and qemu-io +make tests/qemu-iotests/socket_scm_helper V=1 +pushd tests/qemu-iotests +# -qcow 001 seems to hang? +for fmt in -raw -bochs -cloop -parallels -qcow2 -qed -vdi -vpc -vhdx -vmdk; do + ./check -v -T $fmt -file -g quick || true +done +popd +%endif + +%install +%if "%{name}" != "qemu-testsuite" +make install DESTDIR=$RPM_BUILD_ROOT +rm -fr $RPM_BUILD_ROOT/%_datadir/doc +rm $RPM_BUILD_ROOT/%_libdir/libcacard* +rm $RPM_BUILD_ROOT/%_libdir/pkgconfig/libcacard.pc +rm -fr $RPM_BUILD_ROOT/%_prefix/include/cacard +%if ! %{build_x86_fw_from_source} +for f in acpi-dsdt.aml q35-acpi-dsdt.aml bios-256k.bin bios.bin efi-*.rom pxe-*.rom sgabios.bin \ + vgabios-cirrus.bin vgabios-qxl.bin vgabios-stdvga.bin vgabios-vmware.bin vgabios.bin; do + rm $RPM_BUILD_ROOT/%_datadir/%name/$f +done +%endif +install -D -m 644 %{SOURCE302} $RPM_BUILD_ROOT/%{_sysconfdir}/qemu/bridge.conf +%find_lang %name +%if %{legacy_qemu_kvm} +cat > %{buildroot}%{_bindir}/qemu-kvm << 'EOF' +#!/bin/sh + +%ifarch s390x +exec %{_bindir}/qemu-system-s390x -machine accel=kvm "$@" +%else +exec %{_bindir}/qemu-system-x86_64 -machine accel=kvm "$@" +%endif +EOF +chmod 755 %{buildroot}%{_bindir}/qemu-kvm +install -D -m 755 %{SOURCE2} %{buildroot}/usr/share/qemu/qemu-ifup +install -D -m 755 %{SOURCE3} %{buildroot}%{_bindir}/kvm_stat +install -D -m 644 %{SOURCE4} %{buildroot}%{_mandir}/man1/qemu-kvm.1.gz +%endif +%if %{kvm_available} +%if 0%{?suse_version} >= 1230 +install -D -m 644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/80-kvm.rules +%else +%ifarch %ix86 x86_64 +install -D -m 644 %{SOURCE7} %{buildroot}%{_udevrulesdir}/60-kvm.rules +%else +install -D -m 644 %{SOURCE5} %{buildroot}%{_udevrulesdir}/60-kvm.rules +%endif +%endif +%endif +install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/ksm.service +%fdupes -s $RPM_BUILD_ROOT +%endif + +%if "%{name}" != "qemu-testsuite" + +%pre +%{_bindir}/getent group kvm >/dev/null || %{_sbindir}/groupadd -r kvm 2>/dev/null +%{_bindir}/getent group qemu >/dev/null || %{_sbindir}/groupadd -r qemu 2>/dev/null +%{_bindir}/getent passwd qemu >/dev/null || \ + %{_sbindir}/useradd -r -g qemu -G kvm -d / -s /sbin/nologin \ + -c "qemu user" qemu + +%pre guest-agent +%{_bindir}/getent group kvm >/dev/null || %{_sbindir}/groupadd -r kvm 2>/dev/null + +%if %{kvm_available} +%post +%if 0%{?with_systemd} +%udev_rules_update +%else +if [ "$(readlink -f /proc/1/root)" = "/" ]; then + /sbin/udevadm control --reload-rules || : + /sbin/udevadm trigger || : +fi +%endif +%endif + +%if 0%{?suse_version} >= 1130 +%post tools +%set_permissions %_libexecdir/qemu-bridge-helper + +%verifyscript tools +%verify_permissions %_libexecdir/qemu-bridge-helper +%endif + +%if 0%{?with_systemd} +%pre ksm +%service_add_pre ksm.service + +%post ksm +%service_add_post ksm.service + +%preun ksm +%service_del_preun ksm.service + +%postun ksm +%service_del_postun ksm.service +%endif + +%endif # !qemu-testsuite + +%files +%defattr(-, root, root) +%if "%{name}" != "qemu-testsuite" +%doc COPYING COPYING.LIB Changelog README VERSION qemu-doc.html qemu-tech.html +%doc %_mandir/man1/qemu.1.gz +%dir %_datadir/%name +%_datadir/%name/keymaps +%_datadir/%name/trace-events +%_datadir/%name/qemu-icon.bmp +%_datadir/%name/qemu_logo_no_text.svg +%dir %_sysconfdir/%name +%dir %_libdir/%name +%if %{kvm_available} +%if 0%{?suse_version} >= 1230 +%{_udevrulesdir}/80-kvm.rules +%else +%{_udevrulesdir}/60-kvm.rules +%endif +%endif + +%files x86 +%defattr(-, root, root) +%_bindir/qemu-system-i386 +%_bindir/qemu-system-x86_64 +%_datadir/%name/kvmvapic.bin +%_datadir/%name/linuxboot.bin +%_datadir/%name/multiboot.bin +%config %_sysconfdir/%name/target-x86_64.conf + +%files ppc +%defattr(-, root, root) +%_bindir/qemu-system-ppc +%_bindir/qemu-system-ppc64 +%_bindir/qemu-system-ppcemb +%_datadir/%name/ppc_rom.bin +%_datadir/%name/openbios-ppc +%_datadir/%name/slof.bin +%_datadir/%name/spapr-rtas.bin +%_datadir/%name/u-boot.e500 +%_datadir/%name/bamboo.dtb +%_datadir/%name/petalogix-ml605.dtb + +%files s390 +%defattr(-, root, root) +%_bindir/qemu-system-s390x +%_datadir/%name/s390-zipl.rom +%_datadir/%name/s390-ccw.img + +%files arm +%defattr(-, root, root) +%_bindir/qemu-system-arm +%_bindir/qemu-system-aarch64 + +%files extra +%defattr(-, root, root) +%_bindir/qemu-system-alpha +%_bindir/qemu-system-cris +%_bindir/qemu-system-lm32 +%_bindir/qemu-system-m68k +%_bindir/qemu-system-microblaze +%_bindir/qemu-system-microblazeel +%_bindir/qemu-system-mips +%_bindir/qemu-system-mipsel +%_bindir/qemu-system-mips64 +%_bindir/qemu-system-mips64el +%_bindir/qemu-system-moxie +%_bindir/qemu-system-or32 +%_bindir/qemu-system-sh4 +%_bindir/qemu-system-sh4eb +%_bindir/qemu-system-sparc +%_bindir/qemu-system-sparc64 +%_bindir/qemu-system-tricore +%_bindir/qemu-system-unicore32 +%_bindir/qemu-system-xtensa +%_bindir/qemu-system-xtensaeb +%_datadir/%name/palcode-clipper +%_datadir/%name/openbios-sparc32 +%_datadir/%name/openbios-sparc64 +%_datadir/%name/petalogix-s3adsp1800.dtb +%_datadir/%name/QEMU,cgthree.bin +%_datadir/%name/QEMU,tcx.bin + +%if %{legacy_qemu_kvm} +%files kvm +%defattr(-,root,root) +%_bindir/qemu-kvm +%_bindir/kvm_stat +%_datadir/qemu/qemu-ifup +%_mandir/man1/qemu-kvm.1.gz +%endif + +%files block-curl +%defattr(-, root, root) +%_libdir/%name/block-curl.so + +%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315 +%files block-gluster +%defattr(-, root, root) +%_libdir/%name/block-gluster.so +%endif + +%if 0%{?suse_version} > 1140 +%files block-ssh +%defattr(-, root, root) +%_libdir/%name/block-ssh.so +%endif + +%files lang -f %name.lang +%defattr(-, root, root) + +%if %{build_x86_fw_from_source} +%files seabios +%defattr(-, root, root) +%_datadir/%name/bios.bin +%_datadir/%name/bios-256k.bin +%_datadir/%name/acpi-dsdt.aml +%_datadir/%name/q35-acpi-dsdt.aml + +%files vgabios +%defattr(-, root, root) +%_datadir/%name/vgabios.bin +%_datadir/%name/vgabios-cirrus.bin +%_datadir/%name/vgabios-qxl.bin +%_datadir/%name/vgabios-stdvga.bin +%_datadir/%name/vgabios-vmware.bin + +%files sgabios +%defattr(-, root, root) +%_datadir/%name/sgabios.bin + +%files ipxe +%defattr(-, root, root) +%_datadir/%name/pxe-e1000.rom +%_datadir/%name/pxe-eepro100.rom +%_datadir/%name/pxe-pcnet.rom +%_datadir/%name/pxe-ne2k_pci.rom +%_datadir/%name/pxe-rtl8139.rom +%_datadir/%name/pxe-virtio.rom +%_datadir/%name/efi-e1000.rom +%_datadir/%name/efi-eepro100.rom +%_datadir/%name/efi-pcnet.rom +%_datadir/%name/efi-ne2k_pci.rom +%_datadir/%name/efi-rtl8139.rom +%_datadir/%name/efi-virtio.rom +%endif + +%files tools +%defattr(-, root, root) +%doc %_mandir/man1/qemu-img.1.gz +%doc %_mandir/man1/virtfs-proxy-helper.1.gz +%doc %_mandir/man8/qemu-nbd.8.gz +%_bindir/qemu-io +%_bindir/qemu-img +%_bindir/qemu-nbd +%_bindir/virtfs-proxy-helper +%_bindir/vscclient +%verify(not mode) %_libexecdir/qemu-bridge-helper +%dir %_sysconfdir/%name +%config %_sysconfdir/%name/bridge.conf +%dir %_libdir/%name + +%files guest-agent +%defattr(-, root, root) +%attr(755,root,kvm) %_bindir/qemu-ga + +%if 0%{?with_systemd} +%files ksm +%defattr(-, root, root) +%{_unitdir}/ksm.service +%endif + +%else # qemu-testsuite +%doc %_datadir/qemu/check-report.xml +%if 0%{?suse_version} >= 1310 +%doc %_datadir/qemu/check-report.html +%endif +%endif + +%changelog diff --git a/qemu.changes b/qemu.changes index 62c48142..72b88d00 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Sat Apr 11 13:15:47 UTC 2015 - afaerber@suse.de + +- Split off qemu-testsuite.spec +* Package check-report.html and check-report.xml +* Enable quick iotests +- Dropped 0030-net-Warn-about-default-MAC-address.patch + The warning is relevant only for bridged setups, not for the + default SLIRP based -net user / -netdev user setup, + and it breaks output expectations of some iotests. +* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3 +* Patches renamed: + 0031-console-add-question-mark-escape-op.patch -> 0030-console-add-question-mark-escape-op.patch + 0032-Make-char-muxer-more-robust-wrt-sma.patch -> 0031-Make-char-muxer-more-robust-wrt-sma.patch + 0033-linux-user-lseek-explicitly-cast-no.patch -> 0032-linux-user-lseek-explicitly-cast-no.patch + 0034-virtfs-proxy-helper-Provide-__u64-f.patch -> 0033-virtfs-proxy-helper-Provide-__u64-f.patch + 0035-configure-Enable-PIE-for-ppc-and-pp.patch -> 0034-configure-Enable-PIE-for-ppc-and-pp.patch + 0036-qtest-Increase-socket-timeout.patch -> 0035-qtest-Increase-socket-timeout.patch + 0037-AIO-Reduce-number-of-threads-for-32.patch -> 0036-AIO-Reduce-number-of-threads-for-32.patch + 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch -> 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch +- Re-enable glusterfs on Factory (updated from v3.6.1 to v3.6.2) +- Re-enable seccomp for armv7l (libseccomp submission pending) + ------------------------------------------------------------------- Fri Apr 10 08:59:34 UTC 2015 - afaerber@suse.de diff --git a/qemu.spec b/qemu.spec index b3cd5324..3a7c67b3 100644 --- a/qemu.spec +++ b/qemu.spec @@ -45,8 +45,8 @@ License: BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT Group: System/Emulators/PC Version: 2.2.92 Release: 0 -Source: http://wiki.qemu.org/download/%name-2.3.0-rc2.tar.bz2 -Source99: http://wiki.qemu.org/download/%name-2.3.0-rc2.tar.bz2.sig +Source: http://wiki.qemu.org/download/qemu-2.3.0-rc2.tar.bz2 +Source99: http://wiki.qemu.org/download/qemu-2.3.0-rc2.tar.bz2.sig Source1: 80-kvm.rules Source2: qemu-ifup Source3: kvm_stat @@ -85,15 +85,14 @@ Patch0026: 0026-linux-user-use-target_ulong.patch Patch0027: 0027-block-Add-support-for-DictZip-enabl.patch Patch0028: 0028-block-Add-tar-container-format.patch Patch0029: 0029-Legacy-Patch-kvm-qemu-preXX-dictzip.patch -Patch0030: 0030-net-Warn-about-default-MAC-address.patch -Patch0031: 0031-console-add-question-mark-escape-op.patch -Patch0032: 0032-Make-char-muxer-more-robust-wrt-sma.patch -Patch0033: 0033-linux-user-lseek-explicitly-cast-no.patch -Patch0034: 0034-virtfs-proxy-helper-Provide-__u64-f.patch -Patch0035: 0035-configure-Enable-PIE-for-ppc-and-pp.patch -Patch0036: 0036-qtest-Increase-socket-timeout.patch -Patch0037: 0037-AIO-Reduce-number-of-threads-for-32.patch -Patch0038: 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch +Patch0030: 0030-console-add-question-mark-escape-op.patch +Patch0031: 0031-Make-char-muxer-more-robust-wrt-sma.patch +Patch0032: 0032-linux-user-lseek-explicitly-cast-no.patch +Patch0033: 0033-virtfs-proxy-helper-Provide-__u64-f.patch +Patch0034: 0034-configure-Enable-PIE-for-ppc-and-pp.patch +Patch0035: 0035-qtest-Increase-socket-timeout.patch +Patch0036: 0036-AIO-Reduce-number-of-threads-for-32.patch +Patch0037: 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch # Please do not add QEMU patches manually here. # Run update_git.sh to regenerate this queue. @@ -223,6 +222,15 @@ BuildRequires: libspice-server-devel BuildRequires: spice-protocol-devel %endif %endif +%if "%{name}" == "qemu-testsuite" +BuildRequires: bc +BuildRequires: qemu-arm = %version +BuildRequires: qemu-extra = %version +BuildRequires: qemu-ppc = %version +BuildRequires: qemu-s390 = %version +BuildRequires: qemu-tools = %version +BuildRequires: qemu-x86 = %version +%endif Requires: /usr/sbin/groupadd Requires: pwdutils Requires: timezone @@ -263,6 +271,8 @@ binaries for different architectures under your native operating system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well as PC and PowerMac systems. +%if "%{name}" != "qemu-testsuite" + %package x86 Summary: Universal CPU emulator -- x86 Group: System/Emulators/PC @@ -401,7 +411,7 @@ as PC and PowerMac systems. This sub-package contains a module for accessing network-based image files over a network connection from qemu-img tool and QEMU system emulation. -%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315 && 0%{?suse_version} <= 1320 +%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315 %package block-gluster Summary: Universal CPU emulator -- GlusterFS block support Group: System/Emulators/PC @@ -539,8 +549,10 @@ that merges anonymous (private) pages (not pagecache ones). This package provides a service file for starting and stopping KSM. %endif +%endif # !qemu-testsuite + %prep -%setup -q -n %name-2.3.0-rc2 +%setup -q -n qemu-2.3.0-rc2 %patch0001 -p1 %patch0002 -p1 %patch0003 -p1 @@ -578,7 +590,6 @@ This package provides a service file for starting and stopping KSM. %patch0035 -p1 %patch0036 -p1 %patch0037 -p1 -%patch0038 -p1 %if %{build_x86_fw_from_source} pushd roms/seabios @@ -611,14 +622,16 @@ done --enable-attr \ --enable-bluez \ %if 0%{?suse_version} >= 1130 - --enable-brlapi \ + --enable-brlapi \ +%else + --disable-brlapi \ %endif --enable-bzip2 \ --enable-cap-ng \ --enable-curl \ --enable-curses \ --enable-fdt \ -%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315 && 0%{?suse_version} <= 1320 +%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315 --enable-glusterfs \ %else --disable-glusterfs \ @@ -626,17 +639,25 @@ done --enable-gtk \ %if 0%{?suse_version} >= 1220 --with-gtkabi=3.0 \ +%else + --with-gtkabi=2.0 \ %endif %if %{kvm_available} --enable-kvm \ +%else + --disable-kvm \ %endif --disable-libiscsi \ --disable-libnfs \ %if 0%{?suse_version} > 1140 --enable-libssh2 \ +%else + --disable-libssh2 \ %endif %if 0%{?suse_version} > 1310 --enable-libusb \ +%else + --disable-libusb \ %endif --enable-linux-aio \ --enable-lzo \ @@ -656,14 +677,18 @@ done %endif %if 0%{?suse_version} >= 1310 --enable-quorum \ +%else + --disable-quorum \ %endif --disable-rbd \ %if 0%{?suse_version} >= 1315 --enable-rdma \ +%else + --disable-rdma \ %endif --enable-sdl \ --with-sdlabi=1.2 \ -%ifnarch ppc64le %arm +%ifnarch ppc64le %if 0%{?suse_version} > 1320 --enable-seccomp \ %else @@ -675,6 +700,8 @@ done --enable-smartcard-nss \ %if 0%{?suse_version} >= 1310 --enable-snappy \ +%else + --disable-snappy \ %endif %if 0%{?suse_version} >= 1140 %ifarch %ix86 x86_64 @@ -689,6 +716,8 @@ done --enable-trace-backends=nop \ %if 0%{?sles_version} != 11 --enable-usb-redir \ +%else + --disable-usb-redir \ %endif --enable-uuid \ --enable-vde \ @@ -704,8 +733,12 @@ done %ifarch x86_64 --enable-xen \ --enable-xen-pci-passthrough \ +%else + --disable-xen \ %endif +%if "%{name}" != "qemu-testsuite" + make %{?_smp_mflags} V=1 # Firmware @@ -719,10 +752,40 @@ make -C roms sgabios cp pc-bios/s390-ccw/s390-ccw.img pc-bios/s390-ccw.img %endif +%else # qemu-testsuite +for conf in default-configs/*-softmmu.mak; do + arch=`echo "$conf" | sed -e 's|default-configs/\(.*\)-softmmu.mak|\1|g'` + ln -s %{_bindir}/qemu-system-$arch $arch-softmmu/qemu-system-$arch +done +%endif + %check -make check V=1 +%if "%{name}" == "qemu-testsuite" +%if 0%{?suse_version} >= 1310 +make check-report.html V=1 +install -D -m 644 check-report.html %{buildroot}%{_datadir}/qemu/check-report.html +%else +make check-report.xml V=1 +%endif +install -D -m 644 check-report.xml %{buildroot}%{_datadir}/qemu/check-report.xml +%ifnarch %ix86 x64_64 +export QEMU_PROG=%{_bindir}/qemu-system-x86_64 +%endif +export QEMU_IMG_PROG=%{_bindir}/qemu-img +export QEMU_IO_PROG=%{_bindir}/qemu-io +export QEMU_NBD_PROG=%{_bindir}/qemu-nbd +# make check-block would rebuild qemu-img and qemu-io +make tests/qemu-iotests/socket_scm_helper V=1 +pushd tests/qemu-iotests +# -qcow 001 seems to hang? +for fmt in -raw -bochs -cloop -parallels -qcow2 -qed -vdi -vpc -vhdx -vmdk; do + ./check -v -T $fmt -file -g quick || true +done +popd +%endif %install +%if "%{name}" != "qemu-testsuite" make install DESTDIR=$RPM_BUILD_ROOT rm -fr $RPM_BUILD_ROOT/%_datadir/doc rm $RPM_BUILD_ROOT/%_libdir/libcacard* @@ -764,6 +827,9 @@ install -D -m 644 %{SOURCE5} %{buildroot}%{_udevrulesdir}/60-kvm.rules %endif install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/ksm.service %fdupes -s $RPM_BUILD_ROOT +%endif + +%if "%{name}" != "qemu-testsuite" %pre %{_bindir}/getent group kvm >/dev/null || %{_sbindir}/groupadd -r kvm 2>/dev/null @@ -809,9 +875,11 @@ fi %service_del_postun ksm.service %endif +%endif # !qemu-testsuite + %files %defattr(-, root, root) -%dir %_libdir/%name +%if "%{name}" != "qemu-testsuite" %doc COPYING COPYING.LIB Changelog README VERSION qemu-doc.html qemu-tech.html %doc %_mandir/man1/qemu.1.gz %dir %_datadir/%name @@ -904,7 +972,7 @@ fi %defattr(-, root, root) %_libdir/%name/block-curl.so -%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315 && 0%{?suse_version} <= 1320 +%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315 %files block-gluster %defattr(-, root, root) %_libdir/%name/block-gluster.so @@ -980,4 +1048,11 @@ fi %{_unitdir}/ksm.service %endif +%else # qemu-testsuite +%doc %_datadir/qemu/check-report.xml +%if 0%{?suse_version} >= 1310 +%doc %_datadir/qemu/check-report.html +%endif +%endif + %changelog diff --git a/qemu.spec.in b/qemu.spec.in index 7536619b..9d17ae13 100644 --- a/qemu.spec.in +++ b/qemu.spec.in @@ -45,8 +45,8 @@ License: BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT Group: System/Emulators/PC QEMU_VERSION Release: 0 -Source: http://wiki.qemu.org/download/%name-2.3.0-rc2.tar.bz2 -Source99: http://wiki.qemu.org/download/%name-2.3.0-rc2.tar.bz2.sig +Source: http://wiki.qemu.org/download/qemu-2.3.0-rc2.tar.bz2 +Source99: http://wiki.qemu.org/download/qemu-2.3.0-rc2.tar.bz2.sig Source1: 80-kvm.rules Source2: qemu-ifup Source3: kvm_stat @@ -186,6 +186,15 @@ BuildRequires: libspice-server-devel BuildRequires: spice-protocol-devel %endif %endif +%if "%{name}" == "qemu-testsuite" +BuildRequires: bc +BuildRequires: qemu-arm = %version +BuildRequires: qemu-extra = %version +BuildRequires: qemu-ppc = %version +BuildRequires: qemu-s390 = %version +BuildRequires: qemu-tools = %version +BuildRequires: qemu-x86 = %version +%endif Requires: /usr/sbin/groupadd Requires: pwdutils Requires: timezone @@ -226,6 +235,8 @@ binaries for different architectures under your native operating system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well as PC and PowerMac systems. +%if "%{name}" != "qemu-testsuite" + %package x86 Summary: Universal CPU emulator -- x86 Group: System/Emulators/PC @@ -364,7 +375,7 @@ as PC and PowerMac systems. This sub-package contains a module for accessing network-based image files over a network connection from qemu-img tool and QEMU system emulation. -%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315 && 0%{?suse_version} <= 1320 +%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315 %package block-gluster Summary: Universal CPU emulator -- GlusterFS block support Group: System/Emulators/PC @@ -502,8 +513,10 @@ that merges anonymous (private) pages (not pagecache ones). This package provides a service file for starting and stopping KSM. %endif +%endif # !qemu-testsuite + %prep -%setup -q -n %name-2.3.0-rc2 +%setup -q -n qemu-2.3.0-rc2 PATCH_EXEC %if %{build_x86_fw_from_source} @@ -537,14 +550,16 @@ done --enable-attr \ --enable-bluez \ %if 0%{?suse_version} >= 1130 - --enable-brlapi \ + --enable-brlapi \ +%else + --disable-brlapi \ %endif --enable-bzip2 \ --enable-cap-ng \ --enable-curl \ --enable-curses \ --enable-fdt \ -%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315 && 0%{?suse_version} <= 1320 +%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315 --enable-glusterfs \ %else --disable-glusterfs \ @@ -552,17 +567,25 @@ done --enable-gtk \ %if 0%{?suse_version} >= 1220 --with-gtkabi=3.0 \ +%else + --with-gtkabi=2.0 \ %endif %if %{kvm_available} --enable-kvm \ +%else + --disable-kvm \ %endif --disable-libiscsi \ --disable-libnfs \ %if 0%{?suse_version} > 1140 --enable-libssh2 \ +%else + --disable-libssh2 \ %endif %if 0%{?suse_version} > 1310 --enable-libusb \ +%else + --disable-libusb \ %endif --enable-linux-aio \ --enable-lzo \ @@ -582,14 +605,18 @@ done %endif %if 0%{?suse_version} >= 1310 --enable-quorum \ +%else + --disable-quorum \ %endif --disable-rbd \ %if 0%{?suse_version} >= 1315 --enable-rdma \ +%else + --disable-rdma \ %endif --enable-sdl \ --with-sdlabi=1.2 \ -%ifnarch ppc64le %arm +%ifnarch ppc64le %if 0%{?suse_version} > 1320 --enable-seccomp \ %else @@ -601,6 +628,8 @@ done --enable-smartcard-nss \ %if 0%{?suse_version} >= 1310 --enable-snappy \ +%else + --disable-snappy \ %endif %if 0%{?suse_version} >= 1140 %ifarch %ix86 x86_64 @@ -615,6 +644,8 @@ done --enable-trace-backends=nop \ %if 0%{?sles_version} != 11 --enable-usb-redir \ +%else + --disable-usb-redir \ %endif --enable-uuid \ --enable-vde \ @@ -630,8 +661,12 @@ done %ifarch x86_64 --enable-xen \ --enable-xen-pci-passthrough \ +%else + --disable-xen \ %endif +%if "%{name}" != "qemu-testsuite" + make %{?_smp_mflags} V=1 # Firmware @@ -645,10 +680,40 @@ make -C roms sgabios cp pc-bios/s390-ccw/s390-ccw.img pc-bios/s390-ccw.img %endif +%else # qemu-testsuite +for conf in default-configs/*-softmmu.mak; do + arch=`echo "$conf" | sed -e 's|default-configs/\(.*\)-softmmu.mak|\1|g'` + ln -s %{_bindir}/qemu-system-$arch $arch-softmmu/qemu-system-$arch +done +%endif + %check -make check V=1 +%if "%{name}" == "qemu-testsuite" +%if 0%{?suse_version} >= 1310 +make check-report.html V=1 +install -D -m 644 check-report.html %{buildroot}%{_datadir}/qemu/check-report.html +%else +make check-report.xml V=1 +%endif +install -D -m 644 check-report.xml %{buildroot}%{_datadir}/qemu/check-report.xml +%ifnarch %ix86 x64_64 +export QEMU_PROG=%{_bindir}/qemu-system-x86_64 +%endif +export QEMU_IMG_PROG=%{_bindir}/qemu-img +export QEMU_IO_PROG=%{_bindir}/qemu-io +export QEMU_NBD_PROG=%{_bindir}/qemu-nbd +# make check-block would rebuild qemu-img and qemu-io +make tests/qemu-iotests/socket_scm_helper V=1 +pushd tests/qemu-iotests +# -qcow 001 seems to hang? +for fmt in -raw -bochs -cloop -parallels -qcow2 -qed -vdi -vpc -vhdx -vmdk; do + ./check -v -T $fmt -file -g quick || true +done +popd +%endif %install +%if "%{name}" != "qemu-testsuite" make install DESTDIR=$RPM_BUILD_ROOT rm -fr $RPM_BUILD_ROOT/%_datadir/doc rm $RPM_BUILD_ROOT/%_libdir/libcacard* @@ -690,6 +755,9 @@ install -D -m 644 %{SOURCE5} %{buildroot}%{_udevrulesdir}/60-kvm.rules %endif install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/ksm.service %fdupes -s $RPM_BUILD_ROOT +%endif + +%if "%{name}" != "qemu-testsuite" %pre %{_bindir}/getent group kvm >/dev/null || %{_sbindir}/groupadd -r kvm 2>/dev/null @@ -735,9 +803,11 @@ fi %service_del_postun ksm.service %endif +%endif # !qemu-testsuite + %files %defattr(-, root, root) -%dir %_libdir/%name +%if "%{name}" != "qemu-testsuite" %doc COPYING COPYING.LIB Changelog README VERSION qemu-doc.html qemu-tech.html %doc %_mandir/man1/qemu.1.gz %dir %_datadir/%name @@ -830,7 +900,7 @@ fi %defattr(-, root, root) %_libdir/%name/block-curl.so -%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315 && 0%{?suse_version} <= 1320 +%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315 %files block-gluster %defattr(-, root, root) %_libdir/%name/block-gluster.so @@ -906,4 +976,11 @@ fi %{_unitdir}/ksm.service %endif +%else # qemu-testsuite +%doc %_datadir/qemu/check-report.xml +%if 0%{?suse_version} >= 1310 +%doc %_datadir/qemu/check-report.html +%endif +%endif + %changelog diff --git a/update_git.sh b/update_git.sh index f92e6f2e..f3f665d2 100644 --- a/update_git.sh +++ b/update_git.sh @@ -145,3 +145,8 @@ rm -rf $GIT_DIR ) rm -rf $CMP_DIR + +sed -e 's|^\(Name:.*qemu\)|\1-testsuite|' < qemu.spec > qemu-testsuite.spec +osc service localrun format_spec_file + +/bin/sh pre_checkin.sh -q