commit qemu for openSUSE:12.2
Hello community, here is the log from the commit of package qemu for openSUSE:12.2 checked in at 2012-06-29 11:34:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.2/qemu (Old) and /work/SRC/openSUSE:12.2/.qemu.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "qemu", Maintainer is "BROGERS@suse.com" Changes: -------- --- /work/SRC/openSUSE:12.2/qemu/qemu.changes 2012-06-25 15:51:38.000000000 +0200 +++ /work/SRC/openSUSE:12.2/.qemu.new/qemu.changes 2012-06-29 11:34:44.000000000 +0200 @@ -1,0 +2,30 @@ +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 + +------------------------------------------------------------------- New: ---- 0024-linux-user-fix-segmentation-fault-p.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qemu.spec ++++++ --- /var/tmp/diff_new_pack.pr9ODc/_old 2012-06-29 11:34:45.000000000 +0200 +++ /var/tmp/diff_new_pack.pr9ODc/_new 2012-06-29 11:34:45.000000000 +0200 @@ -47,6 +47,7 @@ Patch0021: 0021-linux-user-fix-multi-threaded-proc-.patch Patch0022: 0022-use-libexecdir-instead-of-ignoring-.patch Patch0023: 0023-linux-user-Ignore-broken-loop-ioctl.patch +Patch0024: 0024-linux-user-fix-segmentation-fault-p.patch # this is to make lint happy Source300: rpmlintrc Source302: bridge.conf @@ -86,6 +87,10 @@ BuildRequires: spice-protocol-devel %endif %endif +%ifarch ppc ppc64 +#we need that for -M pseries support in SLES +BuildRequires: libfdt1-devel +%endif BuildRequires: fdupes BuildRequires: glib2-devel BuildRequires: libvdeplug3-devel @@ -93,9 +98,8 @@ BuildRequires: python Requires: /usr/sbin/groupadd Requires: pwdutils -Requires: qemu-tools Requires: timezone -Requires: virt-utils +Recommends: qemu-tools %description QEMU is an extremely well-performing CPU emulator that allows you to @@ -119,6 +123,20 @@ 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. + %package linux-user Summary: Universal CPU emulator -- Linux User binaries Group: System/Emulators/PC @@ -160,6 +178,7 @@ %patch0021 -p1 %patch0022 -p1 %patch0023 -p1 +%patch0024 -p1 %build # build QEMU @@ -181,7 +200,10 @@ --disable-spice %endif make %{?jobs:-j%jobs} V=1 -mv *-softmmu/qemu-system-* qemu-io qemu-bridge-helper dynamic || true +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 make clean # build userland emus ./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \ @@ -198,15 +220,20 @@ %install make install DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT/%_mandir/man1/qemu-img.1 -rm -f $RPM_BUILD_ROOT/%_mandir/man8/qemu-nbd.8 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 -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 -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 @@ -238,7 +265,7 @@ %defattr(-, root, root) %doc COPYING COPYING.LIB Changelog README TODO VERSION qemu-doc.html qemu-tech.html %_bindir/qemu-system-* -%doc %_mandir/man[18]/qemu*.[18].gz +%doc %_mandir/man1/qemu.1.gz %_datadir/%name %ifnarch %ix86 x86_64 ia64 %dir /emul/ia32-linux @@ -248,10 +275,19 @@ %files tools %defattr(-, root, root) +%doc %_mandir/man1/qemu-img.1.gz +%doc %_mandir/man8/qemu-nbd.8.gz %_bindir/qemu-io +%_bindir/qemu-img +%_bindir/qemu-nbd %verify(not mode) %_libexecdir/qemu-bridge-helper +%dir %_sysconfdir/%name %config %_sysconfdir/%name/bridge.conf +%files guest-agent +%defattr(-, root, root) +%attr(755,root,kvm) %_bindir/qemu-ga + %files linux-user %defattr(-, root, root) %_bindir/qemu-alpha ++++++ 0024-linux-user-fix-segmentation-fault-p.patch ++++++
From c42b3aca84c5b1a8be7010e518f526a1798e3790 Mon Sep 17 00:00:00 2001 From: Alexander Graf
Date: Mon, 25 Jun 2012 19:02:32 +0200 Subject: [PATCH] linux-user: fix segmentation fault passing with g2h(x) != x
When forwarding a segmentation fault into the guest process, we were passing
the host's address directly into the guest process's signal descriptor.
That obviously confused the guest process, since it didn't know what to make
of the (usually 32-bit truncated) address. Passing in g2h(address) makes the
guest process a lot happier.
This fixes java running in arm-linux-user for me.
Signed-off-by: Alexander Graf
participants (1)
-
root@hilbert.suse.de