From a719eba8175069d43b0dbabedfbccabcecd2fc7b898b6e711120794899e6b587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Thu, 23 May 2013 13:25:41 +0000 Subject: [PATCH] Accepting request 176308 from home:a_faerber:branches:Virtualization Split off qemu-linux-user - this simplifies each build and decouples them, with the nice side-effect of fixing at least the qemu{,-tools,-guest-agent} SLE_11_SP2 x86_64 build. OBS-URL: https://build.opensuse.org/request/show/176308 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=138 --- qemu-linux-user.changes | 1237 +++++++++++++++++++++++++++++++++++++++ qemu-linux-user.spec | 241 ++++++++ qemu-linux-user.spec.in | 167 ++++++ qemu.changes | 7 + qemu.spec | 99 ---- qemu.spec.in | 99 ---- update_git.sh | 12 +- 7 files changed, 1659 insertions(+), 203 deletions(-) create mode 100644 qemu-linux-user.changes create mode 100644 qemu-linux-user.spec create mode 100644 qemu-linux-user.spec.in diff --git a/qemu-linux-user.changes b/qemu-linux-user.changes new file mode 100644 index 00000000..65046828 --- /dev/null +++ b/qemu-linux-user.changes @@ -0,0 +1,1237 @@ +------------------------------------------------------------------- +Tue May 21 21:13:25 UTC 2013 - afaerber@suse.de + +- Split off from qemu.spec.in +* Dropped some 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-linux-user.spec b/qemu-linux-user.spec new file mode 100644 index 00000000..98f1a982 --- /dev/null +++ b/qemu-linux-user.spec @@ -0,0 +1,241 @@ +# +# spec file for package qemu-linux-user +# +# Copyright (c) 2013 SUSE LINUX Products 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/ +# + + +Name: qemu-linux-user +Url: http://www.qemu.org/ +Summary: Universal CPU emulator +License: BSD-3-Clause and GPL-2.0+ and LGPL-2.1+ and MIT +Group: System/Emulators/PC +Version: 1.5.0 +Release: 0 +Source: qemu-%version.tar.bz2 +Patch0001: 0001-XXX-dont-dump-core-on-sigabort.patc.patch +Patch0002: 0002-XXX-work-around-SA_RESTART-race-wit.patch +Patch0003: 0003-qemu-0.9.0.cvs-binfmt.patch.patch +Patch0004: 0004-qemu-cvs-alsa_bitfield.patch.patch +Patch0005: 0005-qemu-cvs-alsa_ioctl.patch.patch +Patch0006: 0006-qemu-cvs-alsa_mmap.patch.patch +Patch0007: 0007-qemu-cvs-gettimeofday.patch.patch +Patch0008: 0008-qemu-cvs-ioctl_debug.patch.patch +Patch0009: 0009-qemu-cvs-ioctl_nodirection.patch.patch +Patch0010: 0010-block-vmdk-Support-creation-of-SCSI.patch +Patch0011: 0011-linux-user-add-binfmt-wrapper-for-a.patch +Patch0012: 0012-linux-user-Ignore-timer_create-sysc.patch +Patch0013: 0013-linux-user-be-silent-about-capget-f.patch +Patch0014: 0014-PPC-KVM-Disable-mmu-notifier-check..patch +Patch0015: 0015-linux-user-fix-segfault-deadlock.pa.patch +Patch0016: 0016-linux-user-binfmt-support-host-bina.patch +Patch0017: 0017-linux-user-arm-no-tb_flush-on-reset.patch +Patch0018: 0018-linux-user-Ignore-broken-loop-ioctl.patch +Patch0019: 0019-linux-user-fix-segmentation-fault-p.patch +Patch0020: 0020-linux-user-lock-tcg.patch.patch +Patch0021: 0021-linux-user-Run-multi-threaded-code-.patch +Patch0022: 0022-linux-user-lock-tb-flushing-too.pat.patch +Patch0023: 0023-linux-user-Fake-proc-cpuinfo.patch.patch +Patch0024: 0024-linux-user-implement-FS_IOC_GETFLAG.patch +Patch0025: 0025-linux-user-implement-FS_IOC_SETFLAG.patch +Patch0026: 0026-linux-user-XXX-disable-fiemap.patch.patch +Patch0027: 0027-slirp-nooutgoing.patch.patch +Patch0028: 0028-vnc-password-file-and-incoming-conn.patch +Patch0029: 0029-linux-user-add-more-blk-ioctls.patc.patch +Patch0030: 0030-linux-user-use-target_ulong.patch.patch +Patch0031: 0031-Add-support-for-DictZip-enabled-gzi.patch +Patch0032: 0032-Add-tar-container-format.patch.patch +Patch0033: 0033-Legacy-Patch-kvm-qemu-preXX-dictzip.patch +Patch0034: 0034-Legacy-Patch-kvm-qemu-preXX-report-.patch +Patch0035: 0035-console-add-question-mark-escape-op.patch +Patch0036: 0036-Make-char-muxer-more-robust-wrt-sma.patch +Patch0037: 0037-linux-user-lseek-explicitly-cast-en.patch +Patch0038: 0038-virtfs-proxy-helper-Provide-__u64-f.patch +# this is to make lint happy +Source300: rpmlintrc +Source400: update_git.sh +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: SDL-devel +BuildRequires: alsa-devel +BuildRequires: bison +BuildRequires: bluez-devel +BuildRequires: curl-devel +BuildRequires: cyrus-sasl-devel +BuildRequires: e2fsprogs-devel +BuildRequires: libaio +BuildRequires: libaio-devel +BuildRequires: libattr-devel +BuildRequires: libcap-devel +BuildRequires: libcap-ng-devel +BuildRequires: libgnutls-devel +BuildRequires: libjpeg-devel +BuildRequires: libpcap-devel +BuildRequires: libpng-devel +%if 0%{?suse_version} > 1220 +BuildRequires: makeinfo +%endif +BuildRequires: ncurses-devel +# we must not install the qemu package when under qemu build +%if 0%{?qemu_user_space_build:1} +BuildRequires: -post-build-checks +%endif +%if 0%{?suse_version} >= 1120 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +%if 0%{?suse_version} >= 1210 +BuildRequires: glibc-devel-static +BuildRequires: libattr-devel-static +%endif +%if 0%{?suse_version} >= 1140 +BuildRequires: glib2-devel-static +%endif +%if 0%{?suse_version} >= 1220 +BuildRequires: pcre-devel-static +%endif +BuildRequires: fdupes +BuildRequires: glib2-devel +BuildRequires: pwdutils +BuildRequires: python +Requires: pwdutils +Requires: timezone +Provides: qemu:%_bindir/qemu-arm + +%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. + +This sub-package contains statically linked binaries for running linux-user +emulations. This can be used together with the OBS build script to +run cross-architecture builds. + +%prep +%setup -q -n qemu-%version +%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 +%patch0038 -p1 + +%build +./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \ + --libexecdir=%_libexecdir \ + --enable-linux-user \ + --disable-system \ + --disable-tools \ + --disable-guest-agent \ + --static --disable-linux-aio \ + --disable-fdt \ + --without-pixman \ + --disable-blobs \ + --disable-strip \ + --extra-cflags="$QEMU_OPT_FLAGS" +%if 0%{?suse_version} == 1140 +# -lrt needs to come after -lglib-2.0 to avoid undefined clock_gettime +sed -i "s/-lglib-2.0/-lglib-2.0 -lrt/" config-host.mak +%endif +make %{?jobs:-j%jobs} V=1 + +%install +make install DESTDIR=$RPM_BUILD_ROOT +rm -fr $RPM_BUILD_ROOT/%_datadir/doc +rm -rf $RPM_BUILD_ROOT/%_mandir/man1/qemu.1 +rm -rf $RPM_BUILD_ROOT/%_mandir/man1/qemu-img.1 +rm -rf $RPM_BUILD_ROOT/%_mandir/man1/virtfs-proxy-helper.1 +rm -rf $RPM_BUILD_ROOT/%_mandir/man8/qemu-nbd.8 +rm -rf $RPM_BUILD_ROOT/%_datadir/qemu/keymaps +rm -rf $RPM_BUILD_ROOT/%_sysconfdir/qemu/target-x86_64.conf +rm -rf $RPM_BUILD_ROOT/%_libexecdir/qemu-bridge-helper +install -d -m 755 $RPM_BUILD_ROOT/%_sbindir +install -m 755 scripts/qemu-binfmt-conf.sh $RPM_BUILD_ROOT/%_sbindir +%ifnarch %ix86 x86_64 +ln -sf ../../../emul/ia32-linux $RPM_BUILD_ROOT/usr/share/qemu/qemu-i386 +%endif +%ifnarch ia64 +mkdir -p $RPM_BUILD_ROOT/emul/ia32-linux +%endif +%fdupes -s $RPM_BUILD_ROOT + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%files +%defattr(-, root, root) +%_bindir/qemu-alpha +%_bindir/qemu-arm +%_bindir/qemu-armeb +%_bindir/qemu-cris +%_bindir/qemu-i386 +%_bindir/qemu-m68k +%_bindir/qemu-microblaze +%_bindir/qemu-microblazeel +%_bindir/qemu-mips +%_bindir/qemu-mipsel +%_bindir/qemu-mipsn32 +%_bindir/qemu-mipsn32el +%_bindir/qemu-mips64 +%_bindir/qemu-mips64el +%_bindir/qemu-or32 +%_bindir/qemu-ppc64abi32 +%_bindir/qemu-ppc64 +%_bindir/qemu-ppc +%_bindir/qemu-s390x +%_bindir/qemu-sh4 +%_bindir/qemu-sh4eb +%_bindir/qemu-sparc32plus +%_bindir/qemu-sparc64 +%_bindir/qemu-sparc +%_bindir/qemu-unicore32 +%_bindir/qemu-x86_64 +%_bindir/qemu-*-binfmt +%_sbindir/qemu-binfmt-conf.sh + +%changelog diff --git a/qemu-linux-user.spec.in b/qemu-linux-user.spec.in new file mode 100644 index 00000000..7c8b086a --- /dev/null +++ b/qemu-linux-user.spec.in @@ -0,0 +1,167 @@ +# +# spec file for package qemu-linux-user +# +# Copyright (c) 2013 SUSE LINUX Products 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/ +# + + +Name: qemu-linux-user +Url: http://www.qemu.org/ +Summary: Universal CPU emulator +License: BSD-3-Clause and GPL-2.0+ and LGPL-2.1+ and MIT +Group: System/Emulators/PC +Version: 1.5.0 +Release: 0 +Source: qemu-%version.tar.bz2 +PATCH_FILES +# this is to make lint happy +Source300: rpmlintrc +Source400: update_git.sh +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: SDL-devel +BuildRequires: alsa-devel +BuildRequires: bison +BuildRequires: bluez-devel +BuildRequires: curl-devel +BuildRequires: cyrus-sasl-devel +BuildRequires: e2fsprogs-devel +BuildRequires: libaio +BuildRequires: libaio-devel +BuildRequires: libattr-devel +BuildRequires: libcap-devel +BuildRequires: libcap-ng-devel +BuildRequires: libgnutls-devel +BuildRequires: libjpeg-devel +BuildRequires: libpcap-devel +BuildRequires: libpng-devel +%if 0%{?suse_version} > 1220 +BuildRequires: makeinfo +%endif +BuildRequires: ncurses-devel +# we must not install the qemu package when under qemu build +%if 0%{?qemu_user_space_build:1} +BuildRequires: -post-build-checks +%endif +%if 0%{?suse_version} >= 1120 +BuildRequires: zlib-devel-static +%else +BuildRequires: zlib-devel +%endif +%if 0%{?suse_version} >= 1210 +BuildRequires: glibc-devel-static +BuildRequires: libattr-devel-static +%endif +%if 0%{?suse_version} >= 1140 +BuildRequires: glib2-devel-static +%endif +%if 0%{?suse_version} >= 1220 +BuildRequires: pcre-devel-static +%endif +BuildRequires: fdupes +BuildRequires: glib2-devel +BuildRequires: pwdutils +BuildRequires: python +Requires: pwdutils +Requires: timezone +Provides: qemu:%_bindir/qemu-arm + +%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. + +This sub-package contains statically linked binaries for running linux-user +emulations. This can be used together with the OBS build script to +run cross-architecture builds. + +%prep +%setup -q -n qemu-%version +PATCH_EXEC + +%build +./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \ + --libexecdir=%_libexecdir \ + --enable-linux-user \ + --disable-system \ + --disable-tools \ + --disable-guest-agent \ + --static --disable-linux-aio \ + --disable-fdt \ + --without-pixman \ + --disable-blobs \ + --disable-strip \ + --extra-cflags="$QEMU_OPT_FLAGS" +%if 0%{?suse_version} == 1140 +# -lrt needs to come after -lglib-2.0 to avoid undefined clock_gettime +sed -i "s/-lglib-2.0/-lglib-2.0 -lrt/" config-host.mak +%endif +make %{?jobs:-j%jobs} V=1 + +%install +make install DESTDIR=$RPM_BUILD_ROOT +rm -fr $RPM_BUILD_ROOT/%_datadir/doc +rm -rf $RPM_BUILD_ROOT/%_mandir/man1/qemu.1 +rm -rf $RPM_BUILD_ROOT/%_mandir/man1/qemu-img.1 +rm -rf $RPM_BUILD_ROOT/%_mandir/man1/virtfs-proxy-helper.1 +rm -rf $RPM_BUILD_ROOT/%_mandir/man8/qemu-nbd.8 +rm -rf $RPM_BUILD_ROOT/%_datadir/qemu/keymaps +rm -rf $RPM_BUILD_ROOT/%_sysconfdir/qemu/target-x86_64.conf +rm -rf $RPM_BUILD_ROOT/%_libexecdir/qemu-bridge-helper +install -d -m 755 $RPM_BUILD_ROOT/%_sbindir +install -m 755 scripts/qemu-binfmt-conf.sh $RPM_BUILD_ROOT/%_sbindir +%ifnarch %ix86 x86_64 +ln -sf ../../../emul/ia32-linux $RPM_BUILD_ROOT/usr/share/qemu/qemu-i386 +%endif +%ifnarch ia64 +mkdir -p $RPM_BUILD_ROOT/emul/ia32-linux +%endif +%fdupes -s $RPM_BUILD_ROOT + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%files +%defattr(-, root, root) +%_bindir/qemu-alpha +%_bindir/qemu-arm +%_bindir/qemu-armeb +%_bindir/qemu-cris +%_bindir/qemu-i386 +%_bindir/qemu-m68k +%_bindir/qemu-microblaze +%_bindir/qemu-microblazeel +%_bindir/qemu-mips +%_bindir/qemu-mipsel +%_bindir/qemu-mipsn32 +%_bindir/qemu-mipsn32el +%_bindir/qemu-mips64 +%_bindir/qemu-mips64el +%_bindir/qemu-or32 +%_bindir/qemu-ppc64abi32 +%_bindir/qemu-ppc64 +%_bindir/qemu-ppc +%_bindir/qemu-s390x +%_bindir/qemu-sh4 +%_bindir/qemu-sh4eb +%_bindir/qemu-sparc32plus +%_bindir/qemu-sparc64 +%_bindir/qemu-sparc +%_bindir/qemu-unicore32 +%_bindir/qemu-x86_64 +%_bindir/qemu-*-binfmt +%_sbindir/qemu-binfmt-conf.sh + +%changelog diff --git a/qemu.changes b/qemu.changes index 9337ee42..f4fd8607 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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 diff --git a/qemu.spec b/qemu.spec index da19b4a8..3f48ee5d 100644 --- a/qemu.spec +++ b/qemu.spec @@ -99,22 +99,7 @@ BuildRequires: -post-build-checks %if 0%{?suse_version} >= 1210 BuildRequires: vte2-devel %endif -%if 0%{?suse_version} >= 1120 -BuildRequires: zlib-devel-static -%else BuildRequires: zlib-devel -%endif -%if 0%{?suse_version} >= 1210 -BuildRequires: glibc-devel-static -BuildRequires: libattr-devel-static -BuildRequires: libfdt1-devel -%endif -%if 0%{?suse_version} >= 1140 -BuildRequires: glib2-devel-static -%endif -%if 0%{?suse_version} >= 1220 -BuildRequires: pcre-devel-static -%endif %if 0%{?suse_version} >= 1140 %ifarch %ix86 x86_64 BuildRequires: libspice-server-devel @@ -187,22 +172,6 @@ as PC and PowerMac systems. This sub-package contains the guest agent. -%package linux-user -Summary: Universal CPU emulator -- Linux User binaries -Group: System/Emulators/PC -Provides: qemu:%_bindir/qemu-arm - -%description linux-user -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 statically linked binaries for running linux-user -emulations. This can be used together with the OBS build script to -run cross-architecture builds. - %prep %setup -q #-n %name-1.5.0-rc2 %patch0001 -p1 @@ -245,9 +214,6 @@ run cross-architecture builds. %patch0038 -p1 %build -# build QEMU -mkdir -p dynamic -# build qemu-system ./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \ --libexecdir=%_libexecdir \ --audio-drv-list="alsa sdl" --enable-mixemu --enable-vde \ @@ -267,44 +233,10 @@ mkdir -p dynamic --disable-spice %endif make %{?jobs:-j%jobs} V=1 -mv *-softmmu/qemu-system-* dynamic -mv qemu-io qemu-img qemu-nbd qemu-bridge-helper dynamic -mv qemu-img.1 qemu-nbd.8 dynamic -mv qemu-ga dynamic -mv fsdev/virtfs-proxy-helper{,.1} dynamic -make clean -# build userland emus -./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \ - --libexecdir=%_libexecdir \ - --enable-linux-user \ - --disable-system \ - --static --disable-linux-aio \ - --disable-strip \ - --extra-cflags="$QEMU_OPT_FLAGS" -%if 0%{?suse_version} == 1140 -# -lrt needs to come after -lglib-2.0 to avoid undefined clock_gettime -sed -i "s/-lglib-2.0/-lglib-2.0 -lrt/" config-host.mak -%endif -make %{?jobs:-j%jobs} V=1 %install make install DESTDIR=$RPM_BUILD_ROOT rm -fr $RPM_BUILD_ROOT/%_datadir/doc -install -m 755 dynamic/qemu-system-* $RPM_BUILD_ROOT/%_bindir -install -m 755 dynamic/qemu-io $RPM_BUILD_ROOT/%_bindir -install -m 755 dynamic/qemu-img $RPM_BUILD_ROOT/%_bindir -install -m 755 dynamic/qemu-nbd $RPM_BUILD_ROOT/%_bindir -install -m 755 dynamic/qemu-ga $RPM_BUILD_ROOT/%_bindir -install -m 755 dynamic/virtfs-proxy-helper $RPM_BUILD_ROOT/%_bindir -install -d -m 755 $RPM_BUILD_ROOT/%_sbindir -install -m 755 scripts/qemu-binfmt-conf.sh $RPM_BUILD_ROOT/%_sbindir -install -d -m 755 $RPM_BUILD_ROOT/%_libexecdir -install -m 755 dynamic/qemu-bridge-helper $RPM_BUILD_ROOT/%_libexecdir -install -d -m 755 $RPM_BUILD_ROOT/%_mandir/man1 -install -m 644 dynamic/qemu-img.1 $RPM_BUILD_ROOT/%_mandir/man1 -install -m 644 dynamic/virtfs-proxy-helper.1 $RPM_BUILD_ROOT/%_mandir/man1 -install -d -m 755 $RPM_BUILD_ROOT/%_mandir/man8 -install -m 644 dynamic/qemu-nbd.8 $RPM_BUILD_ROOT/%_mandir/man8 install -D -m 644 %{SOURCE302} $RPM_BUILD_ROOT/%{_sysconfdir}/qemu/bridge.conf %ifnarch %ix86 x86_64 ln -sf ../../../emul/ia32-linux $RPM_BUILD_ROOT/usr/share/qemu/qemu-i386 @@ -369,35 +301,4 @@ rm -rf ${RPM_BUILD_ROOT} %defattr(-, root, root) %attr(755,root,kvm) %_bindir/qemu-ga -%files linux-user -%defattr(-, root, root) -%_bindir/qemu-alpha -%_bindir/qemu-arm -%_bindir/qemu-armeb -%_bindir/qemu-cris -%_bindir/qemu-i386 -%_bindir/qemu-m68k -%_bindir/qemu-microblaze -%_bindir/qemu-microblazeel -%_bindir/qemu-mips -%_bindir/qemu-mipsel -%_bindir/qemu-mipsn32 -%_bindir/qemu-mipsn32el -%_bindir/qemu-mips64 -%_bindir/qemu-mips64el -%_bindir/qemu-or32 -%_bindir/qemu-ppc64abi32 -%_bindir/qemu-ppc64 -%_bindir/qemu-ppc -%_bindir/qemu-s390x -%_bindir/qemu-sh4 -%_bindir/qemu-sh4eb -%_bindir/qemu-sparc32plus -%_bindir/qemu-sparc64 -%_bindir/qemu-sparc -%_bindir/qemu-unicore32 -%_bindir/qemu-x86_64 -%_bindir/qemu-*-binfmt -%_sbindir/qemu-binfmt-conf.sh - %changelog diff --git a/qemu.spec.in b/qemu.spec.in index 5244bc77..d8919630 100644 --- a/qemu.spec.in +++ b/qemu.spec.in @@ -62,22 +62,7 @@ BuildRequires: -post-build-checks %if 0%{?suse_version} >= 1210 BuildRequires: vte2-devel %endif -%if 0%{?suse_version} >= 1120 -BuildRequires: zlib-devel-static -%else BuildRequires: zlib-devel -%endif -%if 0%{?suse_version} >= 1210 -BuildRequires: glibc-devel-static -BuildRequires: libattr-devel-static -BuildRequires: libfdt1-devel -%endif -%if 0%{?suse_version} >= 1140 -BuildRequires: glib2-devel-static -%endif -%if 0%{?suse_version} >= 1220 -BuildRequires: pcre-devel-static -%endif %if 0%{?suse_version} >= 1140 %ifarch %ix86 x86_64 BuildRequires: libspice-server-devel @@ -150,30 +135,11 @@ as PC and PowerMac systems. This sub-package contains the guest agent. -%package linux-user -Summary: Universal CPU emulator -- Linux User binaries -Group: System/Emulators/PC -Provides: qemu:%_bindir/qemu-arm - -%description linux-user -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 statically linked binaries for running linux-user -emulations. This can be used together with the OBS build script to -run cross-architecture builds. - %prep %setup -q #-n %name-1.5.0-rc2 PATCH_EXEC %build -# build QEMU -mkdir -p dynamic -# build qemu-system ./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \ --libexecdir=%_libexecdir \ --audio-drv-list="alsa sdl" --enable-mixemu --enable-vde \ @@ -193,44 +159,10 @@ mkdir -p dynamic --disable-spice %endif make %{?jobs:-j%jobs} V=1 -mv *-softmmu/qemu-system-* dynamic -mv qemu-io qemu-img qemu-nbd qemu-bridge-helper dynamic -mv qemu-img.1 qemu-nbd.8 dynamic -mv qemu-ga dynamic -mv fsdev/virtfs-proxy-helper{,.1} dynamic -make clean -# build userland emus -./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \ - --libexecdir=%_libexecdir \ - --enable-linux-user \ - --disable-system \ - --static --disable-linux-aio \ - --disable-strip \ - --extra-cflags="$QEMU_OPT_FLAGS" -%if 0%{?suse_version} == 1140 -# -lrt needs to come after -lglib-2.0 to avoid undefined clock_gettime -sed -i "s/-lglib-2.0/-lglib-2.0 -lrt/" config-host.mak -%endif -make %{?jobs:-j%jobs} V=1 %install make install DESTDIR=$RPM_BUILD_ROOT rm -fr $RPM_BUILD_ROOT/%_datadir/doc -install -m 755 dynamic/qemu-system-* $RPM_BUILD_ROOT/%_bindir -install -m 755 dynamic/qemu-io $RPM_BUILD_ROOT/%_bindir -install -m 755 dynamic/qemu-img $RPM_BUILD_ROOT/%_bindir -install -m 755 dynamic/qemu-nbd $RPM_BUILD_ROOT/%_bindir -install -m 755 dynamic/qemu-ga $RPM_BUILD_ROOT/%_bindir -install -m 755 dynamic/virtfs-proxy-helper $RPM_BUILD_ROOT/%_bindir -install -d -m 755 $RPM_BUILD_ROOT/%_sbindir -install -m 755 scripts/qemu-binfmt-conf.sh $RPM_BUILD_ROOT/%_sbindir -install -d -m 755 $RPM_BUILD_ROOT/%_libexecdir -install -m 755 dynamic/qemu-bridge-helper $RPM_BUILD_ROOT/%_libexecdir -install -d -m 755 $RPM_BUILD_ROOT/%_mandir/man1 -install -m 644 dynamic/qemu-img.1 $RPM_BUILD_ROOT/%_mandir/man1 -install -m 644 dynamic/virtfs-proxy-helper.1 $RPM_BUILD_ROOT/%_mandir/man1 -install -d -m 755 $RPM_BUILD_ROOT/%_mandir/man8 -install -m 644 dynamic/qemu-nbd.8 $RPM_BUILD_ROOT/%_mandir/man8 install -D -m 644 %{SOURCE302} $RPM_BUILD_ROOT/%{_sysconfdir}/qemu/bridge.conf %ifnarch %ix86 x86_64 ln -sf ../../../emul/ia32-linux $RPM_BUILD_ROOT/usr/share/qemu/qemu-i386 @@ -295,35 +227,4 @@ rm -rf ${RPM_BUILD_ROOT} %defattr(-, root, root) %attr(755,root,kvm) %_bindir/qemu-ga -%files linux-user -%defattr(-, root, root) -%_bindir/qemu-alpha -%_bindir/qemu-arm -%_bindir/qemu-armeb -%_bindir/qemu-cris -%_bindir/qemu-i386 -%_bindir/qemu-m68k -%_bindir/qemu-microblaze -%_bindir/qemu-microblazeel -%_bindir/qemu-mips -%_bindir/qemu-mipsel -%_bindir/qemu-mipsn32 -%_bindir/qemu-mipsn32el -%_bindir/qemu-mips64 -%_bindir/qemu-mips64el -%_bindir/qemu-or32 -%_bindir/qemu-ppc64abi32 -%_bindir/qemu-ppc64 -%_bindir/qemu-ppc -%_bindir/qemu-s390x -%_bindir/qemu-sh4 -%_bindir/qemu-sh4eb -%_bindir/qemu-sparc32plus -%_bindir/qemu-sparc64 -%_bindir/qemu-sparc -%_bindir/qemu-unicore32 -%_bindir/qemu-x86_64 -%_bindir/qemu-*-binfmt -%_sbindir/qemu-binfmt-conf.sh - %changelog diff --git a/update_git.sh b/update_git.sh index f71b64c7..eae5e5bc 100644 --- a/update_git.sh +++ b/update_git.sh @@ -11,7 +11,7 @@ # when it comes. GIT_TREE=git://github.com/openSUSE/qemu.git -GIT_LOCAL_TREE=/suse/agraf/git/qemu +GIT_LOCAL_TREE=/home/andreas/QEMU/qemu-opensuse GIT_BRANCH=opensuse-1.5 GIT_UPSTREAM_TAG=v1.5.0 QEMU_TMP=/dev/shm/qemu-tmp @@ -20,7 +20,7 @@ QEMU_TMP=/dev/shm/qemu-tmp if [ -e 0001-* ]; then osc rm --force 0* fi -rm -f qemu.spec +rm -f qemu.spec qemu-linux-user.spec # fetch all patches rm -rf $QEMU_TMP @@ -49,8 +49,9 @@ for i in 0*; do mv "$PATCHNAME.tmp" "$PATCHNAME" done -# we have all patches as files now - generate the spec file! -while IFS= read -r line; do +# we have all patches as files now - generate the spec files! +for package in qemu qemu-linux-user; do + while IFS= read -r line; do if [ "$line" = "PATCH_FILES" ]; then for i in 0*; do NUM=${i%%-*} @@ -64,6 +65,7 @@ while IFS= read -r line; do else echo "$line" fi -done < qemu.spec.in > qemu.spec + done < $package.spec.in > $package.spec +done osc add 0*