commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2014-02-19 08:00:57 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2014-02-11 10:28:25.0 +0100 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2014-02-19 08:00:58.0 +0100 @@ -1,0 +2,13 @@ +Thu Feb 13 00:18:26 UTC 2014 - brog...@suse.com + +- This package is about to be retired. Its contents now reside in + a new package named qemu-kvm, which is a subpackage of qemu. + Bump version to 1.6.1. + Add README + Delete qemu-ifup + Delete qemu-kvm.1.gz + Delete kvm_stat + Delete 60-kvm.rules + Delete 80-kvm.rules + +--- Old: 60-kvm.rules 80-kvm.rules kvm_stat qemu-ifup qemu-kvm.1.gz Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.mtCCO2/_old 2014-02-19 08:00:59.0 +0100 +++ /var/tmp/diff_new_pack.mtCCO2/_new 2014-02-19 08:00:59.0 +0100 @@ -16,12 +16,6 @@ # -%if %( echo `rpm -q --queryformat %%{version} udev` ) > 190 -%define _udevrulesdir /usr/lib/udev/rules.d -%else -%define _udevrulesdir /lib/udev/rules.d -%endif - ExclusiveArch: %ix86 x86_64 s390x Name: kvm @@ -29,20 +23,8 @@ Summary:Kernel-based Virtual Machine License:GPL-2.0+ Group: System/Emulators/PC -Version:1.6.0 +Version:1.6.1 Release:0 -BuildRequires: qemu >= 1.5.90 -BuildRequires: udev -Requires: qemu >= 1.5.90 -Recommends: python-curses -Recommends: virt-utils -Source1:80-kvm.rules -Source2:qemu-ifup -Source3:kvm_stat -Source4:qemu-kvm.1.gz -Source5:60-kvm.rules - -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description KVM (Kernel-based Virtual Machine) is virtualization software for @@ -55,48 +37,21 @@ placed in the qemu package. %prep +cat > README << 'EOF' +The kvm package is set to retire shortly. Its prior contents now reside +in a new package named qemu-kvm, which is a subpackage of qemu. If you +have direct reference to the kvm package, please now reference qemu-kvm. +EOF %build %install -mkdir -p %{buildroot}%{_bindir} -cat > %{buildroot}%{_bindir}/qemu-kvm << 'EOF' -#!/bin/sh -%ifarch %s390x -exec /usr/bin/qemu-system-s390x -machine accel=kvm "$@" -%else -exec /usr/bin/qemu-system-x86_64 -machine accel=kvm "$@" -%endif -EOF -chmod 755 %{buildroot}%{_bindir}/qemu-kvm -%if 0%{?suse_version} >= 1310 -install -D -m 644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/80-kvm.rules -%else -install -D -m 644 %{SOURCE5} %{buildroot}%{_udevrulesdir}/60-kvm.rules -%endif -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 %clean rm -rf $RPM_BUILD_ROOT -%post -if [ "$(readlink -f /proc/1/root)" = "/" ]; then - /sbin/udevadm control --reload-rules || : - /sbin/udevadm trigger || : -fi - %files -%defattr(-,root,root) -%_bindir/qemu-kvm -%_bindir/kvm_stat -%_datadir/qemu/qemu-ifup -%if 0%{?suse_version} >= 1310 -%{_udevrulesdir}/80-kvm.rules -%else -%{_udevrulesdir}/60-kvm.rules -%endif -%doc %_mandir/man1/qemu-kvm.1.gz +%defattr(-, root, root) +%doc README %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2014-02-11 10:28:23 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2013-08-13 13:51:57.0 +0200 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2014-02-11 10:28:25.0 +0100 @@ -1,0 +2,6 @@ +Thu Feb 6 20:27:42 UTC 2014 - brog...@suse.com + +- reload rules in post script to process ones just installed + (bnc#860275) + +--- Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.w4oYkm/_old 2014-02-11 10:28:25.0 +0100 +++ /var/tmp/diff_new_pack.w4oYkm/_new 2014-02-11 10:28:25.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package kvm # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -81,6 +81,12 @@ %clean rm -rf $RPM_BUILD_ROOT +%post +if [ "$(readlink -f /proc/1/root)" = "/" ]; then + /sbin/udevadm control --reload-rules || : + /sbin/udevadm trigger || : +fi + %files %defattr(-,root,root) %_bindir/qemu-kvm -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2013-08-13 13:51:55 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2013-08-05 21:20:47.0 +0200 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2013-08-13 13:51:57.0 +0200 @@ -1,0 +2,5 @@ +Tue Aug 13 07:39:46 UTC 2013 - jsl...@suse.com + +- require qemu 1.5.90 to satisfy deps + +--- Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.Iv0vzT/_old 2013-08-13 13:51:58.0 +0200 +++ /var/tmp/diff_new_pack.Iv0vzT/_new 2013-08-13 13:51:58.0 +0200 @@ -31,9 +31,9 @@ Group: System/Emulators/PC Version:1.6.0 Release:0 -BuildRequires: qemu >= 1.6.0 +BuildRequires: qemu >= 1.5.90 BuildRequires: udev -Requires: qemu >= 1.6.0 +Requires: qemu >= 1.5.90 Recommends: python-curses Recommends: virt-utils Source1:80-kvm.rules -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2013-08-05 21:20:45 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2013-07-08 21:44:24.0 +0200 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2013-08-05 21:20:47.0 +0200 @@ -1,0 +2,6 @@ +Wed Jul 31 18:26:11 UTC 2013 - brog...@suse.com + +- update version to 1.6.0, corresponding to current qemu version +- recommend python-curses, needed for kvm_stat + +--- Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.dnLP0h/_old 2013-08-05 21:20:48.0 +0200 +++ /var/tmp/diff_new_pack.dnLP0h/_new 2013-08-05 21:20:48.0 +0200 @@ -29,11 +29,12 @@ Summary:Kernel-based Virtual Machine License:GPL-2.0+ Group: System/Emulators/PC -Version:1.5.0 +Version:1.6.0 Release:0 -BuildRequires: qemu >= 1.5.0 +BuildRequires: qemu >= 1.6.0 BuildRequires: udev -Requires: qemu >= 1.5.0 +Requires: qemu >= 1.6.0 +Recommends: python-curses Recommends: virt-utils Source1:80-kvm.rules Source2:qemu-ifup -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2013-07-08 21:44:23 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2013-06-15 08:25:00.0 +0200 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2013-07-08 21:44:24.0 +0200 @@ -1,0 +2,10 @@ +Mon Jul 8 15:17:44 UTC 2013 - brog...@suse.com + +- Add man page for qemu-kvm +- Add a version requires for qemu +- Since recent kernels include modprobe info for loading the x86 + kvm modules, remove that portion of our 80 level rules file +- Change /dev/kvm to mode 666 since interface is considered safe +- reinstate old level 60 rules file for use with earlier releases + +--- New: 60-kvm.rules qemu-kvm.1.gz Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.AuZ5o6/_old 2013-07-08 21:44:25.0 +0200 +++ /var/tmp/diff_new_pack.AuZ5o6/_new 2013-07-08 21:44:25.0 +0200 @@ -31,13 +31,15 @@ Group: System/Emulators/PC Version:1.5.0 Release:0 -BuildRequires: qemu +BuildRequires: qemu >= 1.5.0 BuildRequires: udev -Requires: qemu +Requires: qemu >= 1.5.0 Recommends: virt-utils Source1:80-kvm.rules Source2:qemu-ifup Source3:kvm_stat +Source4:qemu-kvm.1.gz +Source5:60-kvm.rules BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -66,12 +68,16 @@ %endif EOF chmod 755 %{buildroot}%{_bindir}/qemu-kvm +%if 0%{?suse_version} >= 1310 install -D -m 644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/80-kvm.rules +%else +install -D -m 644 %{SOURCE5} %{buildroot}%{_udevrulesdir}/60-kvm.rules +%endif 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 %clean -cd ../ rm -rf $RPM_BUILD_ROOT %files @@ -79,6 +85,11 @@ %_bindir/qemu-kvm %_bindir/kvm_stat %_datadir/qemu/qemu-ifup +%if 0%{?suse_version} >= 1310 %{_udevrulesdir}/80-kvm.rules +%else +%{_udevrulesdir}/60-kvm.rules +%endif +%doc %_mandir/man1/qemu-kvm.1.gz %changelog ++ 60-kvm.rules ++ KERNEL=="kvm", MODE="0660", GROUP="kvm" ACTION=="add|change", SUBSYSTEM=="dmi", KERNEL=="id", RUN+="/bin/sh -c 'grep -q vmx /proc/cpuinfo && /sbin/modprobe kvm-intel; grep -q svm /proc/cpuinfo && /sbin/modprobe kvm-amd'" ++ 80-kvm.rules ++ --- /var/tmp/diff_new_pack.AuZ5o6/_old 2013-07-08 21:44:25.0 +0200 +++ /var/tmp/diff_new_pack.AuZ5o6/_new 2013-07-08 21:44:25.0 +0200 @@ -1,2 +1 @@ -KERNEL=="kvm", MODE="0660", GROUP="kvm" -ACTION=="add|change", SUBSYSTEM=="dmi", KERNEL=="id", RUN+="/bin/sh -c 'grep -q vmx /proc/cpuinfo && /sbin/modprobe kvm-intel; grep -q svm /proc/cpuinfo && /sbin/modprobe kvm-amd'" +KERNEL=="kvm", MODE="0666", GROUP="kvm" -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2013-06-15 08:24:58 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2013-04-26 13:25:46.0 +0200 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2013-06-15 08:25:00.0 +0200 @@ -1,0 +2,12 @@ +Mon Jun 3 22:10:00 UTC 2013 - brog...@suse.com + +- Adapt kvm package to wrapper the qemu package's system binary, + maintaining a /usr/bin/qemu-kvm executable which still defaults + to kvm acceleration. + - update to v1.5.0 (see: http://wiki.qemu.org/ChangeLog/1.5) + - dropped all patches + - default guest memory is now 128M + - default nic is now e1000 +- Windows virtio drivers moved to a separate package + +--- Old: S390-0003-Make-char-muxer-more-robust-wrt-small-FIFOs.patch S390-qemu-early-printk.patch bcc-0.16.17-2.i486.rpm ipxe-717279a.tar.bz2 ipxe-avoid-bad-array-reference.patch ipxe-rom-settings.patch kvm-glibc217.patch kvm-qemu-avoid-deprecated-gnutls-types.patch kvm-qemu-avoid-redunant-declaration-error.patch kvm-qemu-default-memsize.patch kvm-qemu-enable-kvm-acceleration.patch kvm-qemu-madvise-DONTFORK-for-tight-memory-migration.patch kvm-qemu-make-rtl8139-default-nic.patch kvm-qemu-preXX-console.patch kvm-qemu-preXX-dictzip1.patch kvm-qemu-preXX-dictzip2.patch kvm-qemu-preXX-dictzip3.patch kvm-qemu-preXX-report-default-mac-used.patch kvm-qemu-preXX-serial-retry-revert.patch kvm-qemu-provide-__u64-for-broken-sys-capability-h.patch kvm-studio-slirp-nooutgoing.patch kvm-studio-vnc.patch kvm-supported.txt qemu-1.3.1.tar.bz2 qemu-datadir.diff seabios-261e870.tar.bz2 seabios-reformat-lst-in-case-it-is-generated-by-new-iasl.patch seabios-sanitize-version.patch sgabios.tar.bz2 vgabios-0.6c.tar.bz2 vgabios-bcc-paths.patch win-virtio-drivers-src.tar.bz2 win-virtio-drivers.iso New: kvm_stat Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.Wj2AJS/_old 2013-06-15 08:25:02.0 +0200 +++ /var/tmp/diff_new_pack.Wj2AJS/_new 2013-06-15 08:25:02.0 +0200 @@ -14,413 +14,71 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# icecream 0 -%bcond_without spice - -%define package_true_version 1.3.1 -%define package_base_version 1.3.1 -%define bios_id seabios-261e870 -# (this is post v1.7.1 upstream seabios code) -%define pxe_rom_id ipxe-717279a -# (this is post v1.0.0 upstream ipxe code) -%define vgabios_id vgabios-0.6c -# sgabios comes from: http://sgabios.googlecode.com/svn/trunk, Rev 8 -%define sgabios_id sgabios - -# note that this list doesn't include the ipxe roms since they get handled -# individually and not as a group -%define firmware_files {bios.bin 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} - -ExclusiveArch: %ix86 x86_64 s390x - -%ifarch %ix86 x86_64 -# choice of building all from source or using provided binary x86 blobs -%define build_fw_from_source 1 +%if %( echo `rpm -q --queryformat %%{version} udev` ) > 190 +%define _udevrulesdir /usr/lib/udev/rules.d %else -%define build_fw_from_source 0 +%define _udevrulesdir /lib/udev/rules.d %endif -%define using_buildservice 0%{?opensuse_bs} +ExclusiveArch: %ix86 x86_64 s390x Name: kvm -BuildRequires: SDL-devel -BuildRequires: alsa -BuildRequires: alsa-devel -BuildRequires: glib2-devel -%if 0%{?suse_version} > 1210 -BuildRequires: libgnutls-devel -BuildRequires: pkgconfig(udev) -%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d -%else -BuildRequires: gnutls-devel -%endif -BuildRequires: libaio-devel -BuildRequires: libattr-devel -BuildRequires: libcap-devel -BuildRequires: libcap-ng-devel -BuildRequires: libcurl-devel -BuildRequires: libjpeg-devel -BuildRequires: libpng-devel -BuildRequires: libpulse-devel -BuildRequires: ncurses-devel -BuildRequires: pciutils-devel -BuildRequires: perl -BuildRequires: python -BuildRequires: texinfo -BuildRequires: xfsprogs-devel -%if 0%{?suse_version} >= 1130 -BuildRequires: brlapi-devel -%endif -%ifarch %ix86 x86_64 -%if %{build_fw_from_source} -# needed for building vgabios: -BuildRequires: bin86 -%ifarch x86_64 -#needed by bcc compiler which is needed for building vgabios: -BuildRequires: glibc-32bit -%endif -%endif -%if 0%{?suse_version} > 1110 -BuildRequires: acpica -%else -BuildRequires: pmtools -%endif -%endif -BuildRequires: libvdeplug3-dev
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2013-04-26 13:25:43 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm", Maintainer is "brog...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2013-04-19 09:47:12.0 +0200 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2013-04-26 13:25:46.0 +0200 @@ -1,0 +2,6 @@ +Thu Apr 25 19:15:01 UTC 2013 - crrodrig...@opensuse.org + +- In current factory udev, level 60 is too early for the rules to + work, use 80-kvm.rules instead. + +--- Old: 60-kvm.rules New: 80-kvm.rules Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.g7Dr19/_old 2013-04-26 13:25:57.0 +0200 +++ /var/tmp/diff_new_pack.g7Dr19/_new 2013-04-26 13:25:57.0 +0200 @@ -114,7 +114,7 @@ Version:%{package_true_version} Release:0 Source0:qemu-%{package_true_version}.tar.bz2 -Source1:60-kvm.rules +Source1:80-kvm.rules Source2:qemu-ifup Source3:kvm-supported.txt Source4:win-virtio-drivers.iso @@ -391,7 +391,7 @@ mv .%_bindir/{qemu-system*,qemu-kvm} mv .%_mandir/man1/{qemu.1,qemu-kvm.1} chmod 644 .%_mandir/man1/* -install -D -m 644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/60-kvm.rules +install -D -m 644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/80-kvm.rules install -D -m 755 %{SOURCE2} %{buildroot}/usr/share/qemu-kvm/qemu-ifup install -D -m 644 %{SOURCE4} %{buildroot}/usr/share/qemu-kvm/win-virtio-drivers.iso @@ -420,7 +420,7 @@ %else %config %attr(644,root,kvm) %{_sysconfdir}/qemu-kvm/target-x86_64.conf %endif -%{_udevrulesdir}/60-kvm.rules +%{_udevrulesdir}/80-kvm.rules %_mandir/man1/qemu-kvm.1.gz %changelog ++ 60-kvm.rules -> 80-kvm.rules ++ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2013-04-19 09:47:10 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm", Maintainer is "brog...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2013-02-18 13:49:45.0 +0100 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2013-04-19 09:47:12.0 +0200 @@ -1,0 +2,5 @@ +Thu Apr 11 20:56:45 UTC 2013 - crrodrig...@opensuse.org + +- Place udev rules in the proper directory. + +--- Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.2pR1z7/_old 2013-04-19 09:47:16.0 +0200 +++ /var/tmp/diff_new_pack.2pR1z7/_new 2013-04-19 09:47:16.0 +0200 @@ -51,6 +51,8 @@ BuildRequires: glib2-devel %if 0%{?suse_version} > 1210 BuildRequires: libgnutls-devel +BuildRequires: pkgconfig(udev) +%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d %else BuildRequires: gnutls-devel %endif @@ -165,7 +167,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(pre): /usr/sbin/groupadd - +%{!?_udevrulesdir: %global _udevrulesdir /lib/udev/rules.d} %description KVM (Kernel-based Virtual Machine) is virtualization software for Linux. It is based on the hardware virtualization extensions provided @@ -389,7 +391,7 @@ mv .%_bindir/{qemu-system*,qemu-kvm} mv .%_mandir/man1/{qemu.1,qemu-kvm.1} chmod 644 .%_mandir/man1/* -install -D -m 644 %{SOURCE1} %{buildroot}/etc/udev/rules.d/60-kvm.rules +install -D -m 644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/60-kvm.rules install -D -m 755 %{SOURCE2} %{buildroot}/usr/share/qemu-kvm/qemu-ifup install -D -m 644 %{SOURCE4} %{buildroot}/usr/share/qemu-kvm/win-virtio-drivers.iso @@ -418,7 +420,7 @@ %else %config %attr(644,root,kvm) %{_sysconfdir}/qemu-kvm/target-x86_64.conf %endif -%config %{_sysconfdir}/udev/rules.d/60-kvm.rules +%{_udevrulesdir}/60-kvm.rules %_mandir/man1/qemu-kvm.1.gz %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2013-02-18 13:49:43 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm", Maintainer is "brog...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2013-02-01 15:49:02.0 +0100 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2013-02-18 13:49:45.0 +0100 @@ -1,0 +2,7 @@ +Fri Feb 8 10:32:35 UTC 2013 - e.isto...@edss.ee + +- Update to qemu-kvm v1.3.1. For changes see: + http://wiki.qemu.org/ChangeLog/1.3 + -Added lastest win-virtio-ddrivers.iso + +--- Old: qemu-1.3.0.tar.bz2 New: qemu-1.3.1.tar.bz2 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.wiBPUv/_old 2013-02-18 13:49:49.0 +0100 +++ /var/tmp/diff_new_pack.wiBPUv/_new 2013-02-18 13:49:49.0 +0100 @@ -19,8 +19,8 @@ %bcond_without spice -%define package_true_version 1.3.0 -%define package_base_version 1.3.0 +%define package_true_version 1.3.1 +%define package_base_version 1.3.1 %define bios_id seabios-261e870 # (this is post v1.7.1 upstream seabios code) %define pxe_rom_id ipxe-717279a ++ qemu-1.3.0.tar.bz2 -> qemu-1.3.1.tar.bz2 ++ /work/SRC/openSUSE:Factory/kvm/qemu-1.3.0.tar.bz2 /work/SRC/openSUSE:Factory/.kvm.new/qemu-1.3.1.tar.bz2 differ: char 11, line 1 ++ win-virtio-drivers.iso ++ Files /var/tmp/diff_new_pack.wiBPUv/_old and /var/tmp/diff_new_pack.wiBPUv/_new differ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2013-02-01 15:49:00 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm", Maintainer is "brog...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2013-02-01 10:13:12.0 +0100 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2013-02-01 15:49:02.0 +0100 @@ -4 +4,2 @@ -- Resolved seabios build issue with patch being evaluated upstream. +- Add seabios-reformat-lst-in-case-it-is-generated-by-new-iasl.patch: + Resolved seabios build issue with patch being evaluated upstream. Other differences: -- -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2013-02-01 10:13:10 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm", Maintainer is "brog...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2013-01-10 13:07:12.0 +0100 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2013-02-01 10:13:12.0 +0100 @@ -1,0 +2,5 @@ +Thu Jan 31 17:08:48 UTC 2013 - brog...@suse.com + +- Resolved seabios build issue with patch being evaluated upstream. + +--- New: seabios-reformat-lst-in-case-it-is-generated-by-new-iasl.patch Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.4TmHcu/_old 2013-02-01 10:13:15.0 +0100 +++ /var/tmp/diff_new_pack.4TmHcu/_new 2013-02-01 10:13:15.0 +0100 @@ -129,6 +129,7 @@ # seabios patches Patch20:seabios-sanitize-version.patch +Patch21:seabios-reformat-lst-in-case-it-is-generated-by-new-iasl.patch # vgabios patches Patch40:vgabios-bcc-paths.patch @@ -215,6 +216,7 @@ done # seabios patches %patch20 -p1 +%patch21 -p1 # vgabios patches %patch40 -p1 ++ seabios-reformat-lst-in-case-it-is-generated-by-new-iasl.patch ++ Subject: [PATCH] Reformat .lst in case it is generated by new iasl New iasl generate .lst as 'number: ' instead of 'number', then acpi_extrace.py fails to extract any useful information, building fails. Signed-off-by: Bo Yang --- Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/roms/seabios/Makefile b/roms/seabios/Makefile index f28d86c..e87210b 100644 --- a/roms/seabios/Makefile +++ b/roms/seabios/Makefile @@ -217,6 +217,7 @@ $(OUT)%.hex: src/%.dsl ./tools/acpi_extract_preprocess.py ./tools/acpi_extract.p $(Q)cpp -P $< > $(OUT)$*.dsl.i.orig $(Q)$(PYTHON) ./tools/acpi_extract_preprocess.py $(OUT)$*.dsl.i.orig > $(OUT)$*.dsl.i $(Q)$(IASL) $(call iasl-option,$(IASL),-Pn,) -vs -l -tc -p $(OUT)$* $(OUT)$*.dsl.i + $(Q)sed -i 's/^\( *[0-9A-Fa-f]\+\): /\1/' $(OUT)$*.lst $(Q)$(PYTHON) ./tools/acpi_extract.py $(OUT)$*.lst > $(OUT)$*.off $(Q)cat $(OUT)$*.off > $@ -- 1.6.0.2 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2013-01-10 13:07:10 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm", Maintainer is "brog...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2012-12-12 13:27:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2013-01-10 13:07:12.0 +0100 @@ -1,0 +2,12 @@ +Wed Jan 9 21:58:14 UTC 2013 - brog...@suse.com + +- Update to latest seabios sources (git id: 261e870) (bnc#797624, + bnc#794695) +- Removed kvm-supported.txt, as it does not apply to openSUSE + +--- +Thu Dec 13 09:31:39 UTC 2012 - ag...@suse.com + +- Remove IA64 support + +--- Old: IA64-compile-fix-suse.patch IA64-kvm-suse.patch ia64-fix-pagesize.pl seabios-8b73b83.tar.bz2 New: seabios-261e870.tar.bz2 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.4GQDEF/_old 2013-01-10 13:07:15.0 +0100 +++ /var/tmp/diff_new_pack.4GQDEF/_new 2013-01-10 13:07:15.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package kvm # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -21,7 +21,7 @@ %define package_true_version 1.3.0 %define package_base_version 1.3.0 -%define bios_id seabios-8b73b83 +%define bios_id seabios-261e870 # (this is post v1.7.1 upstream seabios code) %define pxe_rom_id ipxe-717279a # (this is post v1.0.0 upstream ipxe code) @@ -33,7 +33,7 @@ # individually and not as a group %define firmware_files {bios.bin 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} -ExclusiveArch: %ix86 x86_64 ia64 s390x +ExclusiveArch: %ix86 x86_64 s390x %ifarch %ix86 x86_64 # choice of building all from source or using provided binary x86 blobs @@ -71,7 +71,7 @@ %if 0%{?suse_version} >= 1130 BuildRequires: brlapi-devel %endif -%ifarch %ix86 x86_64 ia64 +%ifarch %ix86 x86_64 %if %{build_fw_from_source} # needed for building vgabios: BuildRequires: bin86 @@ -156,11 +156,6 @@ Patch200: kvm-studio-slirp-nooutgoing.patch Patch201: kvm-studio-vnc.patch -# for IA64 -Source500: ia64-fix-pagesize.pl -Patch500: IA64-kvm-suse.patch -Patch501: IA64-compile-fix-suse.patch - # for S390 Patch700: S390-qemu-early-printk.patch Patch701: S390-0003-Make-char-muxer-more-robust-wrt-small-FIFOs.patch @@ -212,7 +207,6 @@ %patch02 -p1 %endif %setup -q -n qemu-%{package_true_version} -a 6 -a 9 -a 10 -#BFR%setup -q -n qemu-%{name}-%{package_true_version} -a 6 -a 9 -a 10 %if %{build_fw_from_source} #ensure that we only end up with the ones we built for i in %firmware_files @@ -250,11 +244,6 @@ %patch200 -p1 %patch201 -p1 -# IA64 support -%ifarch ia64 -%patch500 -p1 -%patch501 -p1 -%endif # S390 support %patch700 -p1 %patch701 -p1 @@ -283,15 +272,11 @@ --audio-drv-list="alsa sdl oss" \ %endif --audio-card-list="ac97 adlib cs4231a gus sb16 hda" \ -%ifarch ia64 ---target-list="ia64-softmmu" --disable-cpu-emulation \ -%else %ifarch s390x --target-list="s390x-softmmu" \ %else --target-list="x86_64-softmmu" \ %endif -%endif --disable-xen \ --enable-vnc-tls \ --disable-vnc-sasl \ @@ -391,7 +376,7 @@ %if !%{build_fw_from_source} rm .%_datadir/qemu-kvm/{openbios-sparc32,openbios-sparc64,ppc_rom.bin,openbios-ppc,bamboo.dtb,petalogix-ml605.dtb,petalogix-s3adsp1800.dtb} %endif -%ifarch ia64 s390x +%ifarch s390x rm .%_datadir/qemu-kvm/bios.bin mv %{buildroot}%{_sysconfdir}/qemu-kvm/target-x86_64.conf \ %{buildroot}%{_sysconfdir}/qemu-kvm/target-s390x.conf ++ seabios-8b73b83.tar.bz2 -> seabios-261e870.tar.bz2 ++ 2665 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2012-12-12 13:27:35 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm", Maintainer is "brog...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2012-09-06 08:55:58.0 +0200 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2012-12-12 13:27:36.0 +0100 @@ -1,0 +2,57 @@ +Mon Dec 10 03:46:19 UTC 2012 - brog...@suse.com + +- Update to qemu-kvm v1.3.0. For changes see: + http://wiki.qemu.org/ChangeLog/1.3 + Some select features include: + - all remaining differences between qemu-kvm.git and qemu.git +have been merged into qemu.git (tarball source) + - QEMU can now use the Linux VFIO driver for guest PCI devices + - USB3 has been vastly improved, including support for USB mass +storage devices and MSI/MSI-X support for the XHCI controller + - New paravirtualized hardware random number generator device + - New block jobs: live block commit (a.k.a. snapshot deletion) +and live disk mirroring (a.k.a "storage migration") + - New CPU models: "Haswell" and "Opteron_G5" + - USB redirection now supports live migration + - NBD block devices can now be specified using URI syntax + - QEMU embeds an NBD server, accessible via the monitor + - Improved support for sandboxing using seccomp mode 2 +- Update to latest seabios sources (git id: 8b73b83) +- Update to latest ipxe sources (git id: 717279a) + +--- +Sat Nov 17 10:43:21 UTC 2012 - a...@suse.de + +- Fix build with glibc 2.17 (add patch kvm-glibc217.patch). + +--- +Fri Nov 9 14:23:54 UTC 2012 - afaer...@suse.de + +- Revert serial retry logic (bnc#779727) + +--- +Tue Sep 18 10:04:09 UTC 2012 - idon...@suse.com + +- Don't strip binaries + +--- +Thu Sep 13 23:45:51 UTC 2012 - brog...@suse.com + +- Fix build issues for i586 SLE_11_SP2 + +--- +Thu Sep 6 18:52:07 UTC 2012 - brog...@suse.com + +- Update to qemu-kvm v1.2.0. For changes see: + http://wiki.qemu.org/ChangeLog/1.2 +- Update seabios to v1.7.1. For changes see: seabios.org/Releases +- Update to current ipxe (git id e6427b7) + +--- +Wed Sep 5 16:15:43 UTC 2012 - vu...@opensuse.org + +- Add libjpeg-devel and libpng-devel BuildRequires and remove + --disable-vnc-jpeg and --disable-vnc-png configure flags in order + to enable VNC jpeg and png support. + +--- Old: S390-hp-0001--S390-Add-hotplug-support.patch S390-hp-0002-Compile-device-hotplug-on-all-targets.patch S390-hp-0003-Add-generic-drive-hotplugging.patch S390-hp-0004-Expose-drive_add-on-all-architectures.patch S390-no-tpr.patch ipxe-git-a05871d.tar.bz2 kvm-qemu-madvise-hugepages.patch kvm-qemu-preXX-configure-avoid-compiler-warning-in-pipe2-detection.patch kvm-qemu-preXX-console-bounds-check-whenever-changing-the-cursor-du.patch kvm-qemu-preXX-use--libexecdir-instead-of-ignoring.patch qemu-kvm-1.2.rc1.tar.bz2 seabios-Makefile-fix-iasl-option-detection.patch seabios-git-7a39e72.tar.bz2 New: ipxe-717279a.tar.bz2 kvm-glibc217.patch kvm-qemu-avoid-redunant-declaration-error.patch kvm-qemu-enable-kvm-acceleration.patch kvm-qemu-make-rtl8139-default-nic.patch kvm-qemu-preXX-serial-retry-revert.patch kvm-qemu-provide-__u64-for-broken-sys-capability-h.patch qemu-1.3.0.tar.bz2 seabios-8b73b83.tar.bz2 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.39AHzx/_old 2012-12-12 13:27:39.0 +0100 +++ /var/tmp/diff_new_pack.39AHzx/_new 2012-12-12 13:27:39.0 +0100 @@ -19,11 +19,11 @@ %bcond_without spice -%define package_true_version 1.2.rc1 -%define package_base_version 1.2.0 -%define bios_id seabios-git-7a39e72 -# (this is post v1.7.0 upstream seabios code) -%define pxe_rom_id ipxe-git-a05871d +%define package_true_version 1.3.0 +%define package_base_version 1.3.0 +%define bios_id seabios-8b73b83 +# (this is post v1.7.1 upstream seabios code) +%define pxe_rom_id ipxe-717279a # (this is post v1.0.0 upstream ipxe code) %define vgabios_id vgabios-0.6c # sgabios comes from: http://sgabios.googlecode.com/svn/trunk, Rev 8 @@ -59,6 +59,8 @@ BuildRequires: libcap-devel BuildRequires: libcap-ng-devel BuildRequires: libcurl-devel +BuildRequires: libjpeg-devel +BuildRequ
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2012-09-06 08:55:56 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm", Maintainer is "brog...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2012-08-04 13:10:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2012-09-06 08:55:58.0 +0200 @@ -1,0 +2,25 @@ +Wed Sep 5 13:37:22 UTC 2012 - brog...@suse.com + +- Fix VT100 emulation vulnerability (bnc#777084) (CVE-2012-3515) + +--- +Thu Aug 30 20:14:10 UTC 2012 - brog...@suse.com + +- Update to qemu-kvm v1.2 rc1 +- Update to the most recent upstream seabios code base + +--- +Mon Aug 20 20:36:58 UTC 2012 - brog...@suse.com + +- Update to latest qemu-kvm, which is basically at the 1.2 rc0 + stage, though it hasn't officially been tagged as such +- Update to the most recent upstream ipxe code base +- add next-gen libcap build dependency to get the best security + protection when using the bridge-helper. + +--- +Thu Aug 16 02:22:58 UTC 2012 - brog...@suse.com + +- Fix i8254 PIT emulation (bnc#769138) + +--- Old: ipxe-1.0.0.tar.bz2 ipxe-isa-Avoid-spurious-compiler-warning-on-gcc-4.7.patch ipxe-qib7322-Fix-compiler-warning-on-gcc-4.7.patch kvm-qemu-preXX-uhci-fix-uhci_async_cancel_all.patch qemu-kvm-1.1.1.tar.bz2 seabios-1.7.0.tar.bz2 New: ipxe-git-a05871d.tar.bz2 kvm-qemu-preXX-configure-avoid-compiler-warning-in-pipe2-detection.patch kvm-qemu-preXX-console-bounds-check-whenever-changing-the-cursor-du.patch qemu-kvm-1.2.rc1.tar.bz2 seabios-Makefile-fix-iasl-option-detection.patch seabios-git-7a39e72.tar.bz2 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.7CkozH/_old 2012-09-06 08:56:00.0 +0200 +++ /var/tmp/diff_new_pack.7CkozH/_new 2012-09-06 08:56:00.0 +0200 @@ -19,11 +19,12 @@ %bcond_without spice -%define package_true_version 1.1.1 -%define package_base_version 1.1.1 -%define bios_id seabios-1.7.0 -# ipxe is through git commit id: addf699c86ae18edd7de13433da78be926c22504 -%define pxe_rom_id ipxe-1.0.0 +%define package_true_version 1.2.rc1 +%define package_base_version 1.2.0 +%define bios_id seabios-git-7a39e72 +# (this is post v1.7.0 upstream seabios code) +%define pxe_rom_id ipxe-git-a05871d +# (this is post v1.0.0 upstream ipxe code) %define vgabios_id vgabios-0.6c # sgabios comes from: http://sgabios.googlecode.com/svn/trunk, Rev 8 %define sgabios_id sgabios @@ -56,6 +57,7 @@ BuildRequires: libaio-devel BuildRequires: libattr-devel BuildRequires: libcap-devel +BuildRequires: libcap-ng-devel BuildRequires: libcurl-devel BuildRequires: libpulse-devel BuildRequires: ncurses-devel @@ -125,11 +127,10 @@ # ipxe patches Patch01:ipxe-rom-settings.patch Patch02:ipxe-avoid-bad-array-reference.patch -Patch03:ipxe-qib7322-Fix-compiler-warning-on-gcc-4.7.patch -Patch04:ipxe-isa-Avoid-spurious-compiler-warning-on-gcc-4.7.patch # seabios patches Patch20:seabios-sanitize-version.patch +Patch21:seabios-Makefile-fix-iasl-option-detection.patch # vgabios patches Patch40:vgabios-bcc-paths.patch @@ -149,7 +150,8 @@ Patch104: kvm-qemu-madvise-hugepages.patch Patch105: kvm-qemu-preXX-dictzip3.patch Patch106: kvm-qemu-preXX-use--libexecdir-instead-of-ignoring.patch -Patch107: kvm-qemu-preXX-uhci-fix-uhci_async_cancel_all.patch +Patch107: kvm-qemu-preXX-configure-avoid-compiler-warning-in-pipe2-detection.patch +Patch108: kvm-qemu-preXX-console-bounds-check-whenever-changing-the-cursor-du.patch Patch200: kvm-studio-slirp-nooutgoing.patch Patch201: kvm-studio-vnc.patch @@ -213,8 +215,6 @@ # ipxe patches %patch01 -p1 %patch02 -p1 -%patch03 -p1 -%patch04 -p1 %endif %setup -q -n qemu-%{name}-%{package_true_version} -a 6 -a 9 -a 10 %if %{build_fw_from_source} @@ -225,6 +225,7 @@ done # seabios patches %patch20 -p1 +%patch21 -p1 # vgabios patches %patch40 -p1 @@ -245,6 +246,7 @@ %patch105 -p1 %patch106 -p1 %patch107 -p1 +%patch108 -p1 # Studio addons %patch200 -p1 @@ -302,16 +304,15 @@ --disable-vnc-sasl \ --disable-vnc-jpeg \ --disable-vnc-png \ ---disable-vnc-thread \ --enable-curses \ --enable-curl \ --disable-fdt \ --disable-bluez \ --enable-kvm \ ---
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2012-08-04 13:09:49 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm", Maintainer is "brog...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2012-07-24 17:22:07.0 +0200 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2012-08-04 13:10:15.0 +0200 @@ -1,0 +2,17 @@ +Tue Jul 31 02:11:56 UTC 2012 - brog...@suse.com + +- eliminate warnings from ipxe build + +--- +Tue Jul 24 13:37:13 UTC 2012 - vu...@opensuse.org + +- Add libcap-devel BuildRequires since it's needed to enable VirtFS + support. +- Add usbredir-devel BuildRequires on openSUSE 12.2 and later to + enable USB network redirection support. +- Pass --enable-virtfs to configure to detect changes that will + cause VirtFS support to not be built. +- Manually remove virtfs-proxy-helper in %install, as it will be + part of qemu-tools. + +--- New: ipxe-isa-Avoid-spurious-compiler-warning-on-gcc-4.7.patch ipxe-qib7322-Fix-compiler-warning-on-gcc-4.7.patch Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.PFnvbx/_old 2012-08-04 13:11:57.0 +0200 +++ /var/tmp/diff_new_pack.PFnvbx/_new 2012-08-04 13:11:57.0 +0200 @@ -55,6 +55,7 @@ %endif BuildRequires: libaio-devel BuildRequires: libattr-devel +BuildRequires: libcap-devel BuildRequires: libcurl-devel BuildRequires: libpulse-devel BuildRequires: ncurses-devel @@ -92,6 +93,9 @@ %endif %endif %endif +%if 0%{?suse_version} >= 1220 +BuildRequires: usbredir-devel >= 0.3.4 +%endif BuildRequires: pwdutils Requires: pwdutils Requires: python-curses @@ -121,6 +125,8 @@ # ipxe patches Patch01:ipxe-rom-settings.patch Patch02:ipxe-avoid-bad-array-reference.patch +Patch03:ipxe-qib7322-Fix-compiler-warning-on-gcc-4.7.patch +Patch04:ipxe-isa-Avoid-spurious-compiler-warning-on-gcc-4.7.patch # seabios patches Patch20:seabios-sanitize-version.patch @@ -207,6 +213,8 @@ # ipxe patches %patch01 -p1 %patch02 -p1 +%patch03 -p1 +%patch04 -p1 %endif %setup -q -n qemu-%{name}-%{package_true_version} -a 6 -a 9 -a 10 %if %{build_fw_from_source} @@ -303,6 +311,7 @@ --enable-kvm-device-assignment \ --disable-user \ --enable-vde \ +--enable-virtfs \ %if %{build_fw_from_source} --disable-blobs \ %endif @@ -345,7 +354,7 @@ cp roms/vgabios/VGABIOS-lgpl-latest.vmware.bin pc-bios/vgabios-vmware.bin cp roms/vgabios/VGABIOS-lgpl-latest.qxl.bin pc-bios/vgabios-qxl.bin cd ../%{pxe_rom_id}/src -make NO_WERROR=1 bin/blib.a %{?_smp_mflags} +make bin/blib.a %{?_smp_mflags} make bin/8086100e.rom %{?_smp_mflags} make bin/10222000.rom %{?_smp_mflags} make bin/10500940.rom %{?_smp_mflags} @@ -379,7 +388,7 @@ install_rom 1af41000 pxe-virtio %endif cd %{buildroot} -rm .%_bindir/{qemu-img,qemu-io,qemu-ga,qemu-nbd} +rm .%_bindir/{qemu-img,qemu-io,qemu-ga,qemu-nbd,virtfs-proxy-helper} rm -r .{%_libexecdir/qemu-bridge-helper,%_datadir/doc/qemu} %if !%{build_fw_from_source} rm .%_datadir/qemu-kvm/{openbios-sparc32,openbios-sparc64,ppc_rom.bin,openbios-ppc,bamboo.dtb,petalogix-ml605.dtb,petalogix-s3adsp1800.dtb} @@ -388,6 +397,7 @@ rm .%_datadir/qemu-kvm/bios.bin %endif rm -r .%_mandir/man1/qemu-img.1 +rm -r .%_mandir/man1/virtfs-proxy-helper.1 rm -r .%_mandir/man8/qemu-nbd.8 mv .%_bindir/{qemu-system*,qemu-kvm} mv .%_mandir/man1/{qemu.1,qemu-kvm.1} ++ ipxe-isa-Avoid-spurious-compiler-warning-on-gcc-4.7.patch ++ >From a87c0c4f0f47f5dc4b4d7050b15713a9f7a52757 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 20 Jul 2012 18:32:58 +0100 Subject: [PATCH] [isa] Avoid spurious compiler warning on gcc 4.7 gcc 4.7 produces a spurious warning about an array subscript being out of bounds. Use a pointer dereference instead of an array lookup to inhibit this spurious warning. Signed-off-by: Michael Brown --- src/drivers/bus/isa.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/drivers/bus/isa.c b/src/drivers/bus/isa.c index 9b562c6..da0c43c 100644 --- a/src/drivers/bus/isa.c +++ b/src/drivers/bus/isa.c @@ -46,9 +46,9 @@ static isa_probe_addr_t isa_extra_probe_addrs[] = { #endif #define ISA_IOADDR( driver, ioidx ) \ - ( ( (ioidx) < 0 ) ? \ - isa_extra_probe_addrs[ (ioidx) + ISA_EXTRA_PROBE_ADDR_COUNT ] : \ - (driver)->probe_addrs[(ioidx)] ) +
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2012-07-24 16:09:33 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm", Maintainer is "brog...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2012-07-09 08:01:46.0 +0200 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2012-07-24 17:22:07.0 +0200 @@ -1,0 +2,20 @@ +Tue Jul 17 21:59:45 UTC 2012 - brog...@suse.com + +- Update to qemu-kvm v1.1.1 (bug fixes only) Noteworthy fixes: + - rtl8139: validate rx ring before receiving packets + - ahci: SATA FIS is 20 bytes, not 0x20 + - sheepdog: fix return value of do_load_save_vm_state + - fdc: fix implied seek while there is no media in drive + - qcow2: fix autoclear image header update + - pci_bridge_dev: fix error path in pci_bridge_dev_initfn() + - qdev: release parent properties on dc->init failure + - intel-hda and ahci: Fix reset of MSI function + - rtl8139: honor RxOverflow flag in can_receive method + - monitor: Fix memory leak with readline completion + - qcow2: Silence false warning + - kvm: i8254: Fix conversion of in-kernel to userspace state + - kvm/apic: correct short memset + - exec: fix TB invalidation after breakpoint insertion/deletion + - virtio-blk: Fix geometry sector calculation + +--- Old: kvm-qemu-preXX-qemu-kvm-Add-missing-default-machine-options.patch qemu-kvm-1.1.0.tar.bz2 New: qemu-kvm-1.1.1.tar.bz2 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.SHhKPm/_old 2012-07-24 17:22:12.0 +0200 +++ /var/tmp/diff_new_pack.SHhKPm/_new 2012-07-24 17:22:12.0 +0200 @@ -19,8 +19,8 @@ %bcond_without spice -%define package_true_version 1.1.0 -%define package_base_version 1.1.0 +%define package_true_version 1.1.1 +%define package_base_version 1.1.1 %define bios_id seabios-1.7.0 # ipxe is through git commit id: addf699c86ae18edd7de13433da78be926c22504 %define pxe_rom_id ipxe-1.0.0 @@ -144,7 +144,6 @@ Patch105: kvm-qemu-preXX-dictzip3.patch Patch106: kvm-qemu-preXX-use--libexecdir-instead-of-ignoring.patch Patch107: kvm-qemu-preXX-uhci-fix-uhci_async_cancel_all.patch -Patch108: kvm-qemu-preXX-qemu-kvm-Add-missing-default-machine-options.patch Patch200: kvm-studio-slirp-nooutgoing.patch Patch201: kvm-studio-vnc.patch @@ -238,7 +237,6 @@ %patch105 -p1 %patch106 -p1 %patch107 -p1 -%patch108 -p1 # Studio addons %patch200 -p1 @@ -413,8 +411,6 @@ %files %defattr(-,root,root) -# qmp-commands.txt needs to be included as doc, we well as qemu-nbd.8? (we delete this above, also virtfs-proxy-helper.1 if building virtfs -# Also see what qemu has doc'd/ Do we want to NOT include kvm-supported.txt for oS? %doc COPYING COPYING.LIB Changelog README qemu-kvm.html qemu-kvm-tech.html kvm-supported.txt qmp-commands.txt %attr(755,root,kvm) %{_bindir}/qemu-kvm %attr(755,root,kvm) %{_bindir}/kvm_stat ++ qemu-kvm-1.1.0.tar.bz2 -> qemu-kvm-1.1.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qemu-kvm-1.1.0/Makefile new/qemu-kvm-1.1.1/Makefile --- old/qemu-kvm-1.1.0/Makefile 2012-06-30 04:14:15.0 +0200 +++ new/qemu-kvm-1.1.1/Makefile 2012-07-16 09:52:03.0 +0200 @@ -271,6 +271,7 @@ install-doc: $(DOCS) $(INSTALL_DIR) "$(DESTDIR)$(qemu_docdir)" $(INSTALL_DATA) qemu-doc.html qemu-tech.html "$(DESTDIR)$(qemu_docdir)" + $(INSTALL_DATA) QMP/qmp-commands.txt "$(DESTDIR)$(qemu_docdir)" ifdef CONFIG_POSIX $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man1" $(INSTALL_DATA) qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qemu-kvm-1.1.0/VERSION new/qemu-kvm-1.1.1/VERSION --- old/qemu-kvm-1.1.0/VERSION 2012-06-30 04:14:15.0 +0200 +++ new/qemu-kvm-1.1.1/VERSION 2012-07-16 09:52:03.0 +0200 @@ -1 +1 @@ -1.1.0 +1.1.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qemu-kvm-1.1.0/block/qcow2-cluster.c new/qemu-kvm-1.1.1/block/qcow2-cluster.c --- old/qemu-kvm-1.1.0/block/qcow2-cluster.c2012-06-30 04:14:15.0 +0200 +++ new/qemu-kvm-1.1.1/block/qcow2-cluster.c2012-07-16 09:52:03.0 +0200 @@ -471,6 +471,8 @@ QCOW_OFLAG_COMPRESSED | QCOW_OFLAG_ZERO); *cluster_offset &= L2E_OFFSET_MASK; break; +default: +abort(); } qcow2_cache_put(bs, s->l2_table_cache, (void**) &l2_table); diff -urN '--exclude=CVS' '--
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2012-07-09 08:01:39 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm", Maintainer is "brog...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2012-07-02 10:28:58.0 +0200 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2012-07-09 08:01:46.0 +0200 @@ -1,0 +2,12 @@ +Tue Jul 3 15:28:24 UTC 2012 - brog...@suse.com + +- Update to qemu-kvm v1.1.0 + - see http://wiki.qemu.org/ChangeLog/1.1 for details + +--- +Mon Jul 2 16:16:55 UTC 2012 - brog...@suse.com + +- segfault can occur with -M pc-1.0 and -M pc-0.15 due to bad + machine default settings (bnc#765038) + +--- Old: kvm-qemu-preXX-block-prevent-snapshot-mode-TMPDIR-symlink-attack.patch qemu-kvm-1.1.rc3.tar.bz2 New: kvm-qemu-preXX-qemu-kvm-Add-missing-default-machine-options.patch qemu-kvm-1.1.0.tar.bz2 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.6GtcqO/_old 2012-07-09 08:01:53.0 +0200 +++ /var/tmp/diff_new_pack.6GtcqO/_new 2012-07-09 08:01:53.0 +0200 @@ -19,8 +19,8 @@ %bcond_without spice -%define package_true_version 1.1.rc3 -%define package_base_version 1.1 +%define package_true_version 1.1.0 +%define package_base_version 1.1.0 %define bios_id seabios-1.7.0 # ipxe is through git commit id: addf699c86ae18edd7de13433da78be926c22504 %define pxe_rom_id ipxe-1.0.0 @@ -143,8 +143,8 @@ Patch104: kvm-qemu-madvise-hugepages.patch Patch105: kvm-qemu-preXX-dictzip3.patch Patch106: kvm-qemu-preXX-use--libexecdir-instead-of-ignoring.patch -Patch107: kvm-qemu-preXX-block-prevent-snapshot-mode-TMPDIR-symlink-attack.patch -Patch108: kvm-qemu-preXX-uhci-fix-uhci_async_cancel_all.patch +Patch107: kvm-qemu-preXX-uhci-fix-uhci_async_cancel_all.patch +Patch108: kvm-qemu-preXX-qemu-kvm-Add-missing-default-machine-options.patch Patch200: kvm-studio-slirp-nooutgoing.patch Patch201: kvm-studio-vnc.patch @@ -274,7 +274,6 @@ --extra-cflags="%{optflags}" \ --disable-debug-tcg \ --disable-sparse \ ---disable-strip \ --enable-werror \ --enable-sdl \ %if 0%{?suse_version} >= 1100 ++ kvm-qemu-preXX-qemu-kvm-Add-missing-default-machine-options.patch ++ qemu-kvm-specific machine defaults were missing for pc-0.15 and pc-1.0. References: bnc#765038 Signed-off-by: Jan Kiszka Acked-by: Bruce Rogers --- hw/pc_piix.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index c3fb74e..4e8a280 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -393,6 +393,7 @@ static QEMUMachine pc_machine_v1_0 = { .desc = "Standard PC", .init = pc_init_pci, .max_cpus = 255, +.default_machine_opts = "accel=kvm,kernel_irqchip=on", .compat_props = (GlobalProperty[]) { PC_COMPAT_1_0, { /* end of list */ } @@ -407,6 +408,7 @@ static QEMUMachine pc_machine_v0_15 = { .desc = "Standard PC", .init = pc_init_pci, .max_cpus = 255, +.default_machine_opts = "accel=kvm,kernel_irqchip=on", .compat_props = (GlobalProperty[]) { PC_COMPAT_0_15, { /* end of list */ } ++ qemu-kvm-1.1.rc3.tar.bz2 -> qemu-kvm-1.1.0.tar.bz2 ++ 2594 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2012-07-01 15:07:56 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm", Maintainer is "brog...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2012-05-29 10:33:38.0 +0200 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2012-07-02 10:28:58.0 +0200 @@ -1,0 +2,24 @@ +Wed Jun 27 22:05:42 UTC 2012 - brog...@suse.com + +- fix qemu-kvm crash with "-usbdevice tablet". (bnc#766310) +- fix CVE-2012-2652, where a tmpdir symlink attack is possible + when using snapshots (bnc#764526) +- drop qemu-img-kvm, which is a rename of the qemu-img file and + delivers no additional value +- drop qemu-ga. This file is now provided by the qemu-guest-agent + package. + +--- +Wed Jun 13 22:33:20 UTC 2012 - brog...@suse.com + +- update to most recent ipxe code +- avoid array bounds error building ipxe +- include more "standard" doc files +- misc spec file cleanups + +--- +Sun Jun 10 19:35:58 UTC 2012 - brog...@suse.com + +- rely on newly created qemu-tools package for bridge helper + +--- Old: qemu-img-vmdk-scsi.patch New: ipxe-avoid-bad-array-reference.patch kvm-qemu-preXX-block-prevent-snapshot-mode-TMPDIR-symlink-attack.patch kvm-qemu-preXX-uhci-fix-uhci_async_cancel_all.patch kvm-qemu-preXX-use--libexecdir-instead-of-ignoring.patch Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.UahdKQ/_old 2012-07-02 10:29:02.0 +0200 +++ /var/tmp/diff_new_pack.UahdKQ/_new 2012-07-02 10:29:02.0 +0200 @@ -22,6 +22,7 @@ %define package_true_version 1.1.rc3 %define package_base_version 1.1 %define bios_id seabios-1.7.0 +# ipxe is through git commit id: addf699c86ae18edd7de13433da78be926c22504 %define pxe_rom_id ipxe-1.0.0 %define vgabios_id vgabios-0.6c # sgabios comes from: http://sgabios.googlecode.com/svn/trunk, Rev 8 @@ -94,10 +95,11 @@ BuildRequires: pwdutils Requires: pwdutils Requires: python-curses -Requires: virt-utils %if 0%{?suse_version} < 1110 Requires: kvm-kmp %endif +Recommends: qemu-tools +Recommends: virt-utils Summary:Kernel-based Virtual Machine License:BSD-3-Clause ; GPL-2.0 ; GPL-2.0+ ; LGPL-2.1+ ; MIT Group: System/Kernel @@ -118,6 +120,7 @@ # ipxe patches Patch01:ipxe-rom-settings.patch +Patch02:ipxe-avoid-bad-array-reference.patch # seabios patches Patch20:seabios-sanitize-version.patch @@ -139,10 +142,12 @@ Patch103: kvm-qemu-preXX-console.patch Patch104: kvm-qemu-madvise-hugepages.patch Patch105: kvm-qemu-preXX-dictzip3.patch +Patch106: kvm-qemu-preXX-use--libexecdir-instead-of-ignoring.patch +Patch107: kvm-qemu-preXX-block-prevent-snapshot-mode-TMPDIR-symlink-attack.patch +Patch108: kvm-qemu-preXX-uhci-fix-uhci_async_cancel_all.patch -Patch200: qemu-img-vmdk-scsi.patch -Patch201: kvm-studio-slirp-nooutgoing.patch -Patch202: kvm-studio-vnc.patch +Patch200: kvm-studio-slirp-nooutgoing.patch +Patch201: kvm-studio-vnc.patch # for IA64 Source500: ia64-fix-pagesize.pl @@ -159,8 +164,9 @@ Patch706: S390-hp-0004-Expose-drive_add-on-all-architectures.patch # For upstream patches: + BuildRoot: %{_tmppath}/%{name}-%{version}-build -PreReq: /usr/sbin/groupadd +Requires(pre): /usr/sbin/groupadd %description KVM (Kernel-based Virtual Machine) is virtualization software for @@ -187,7 +193,6 @@ libvirt, virt-manager and vm-install. - Authors: Avi Kivity @@ -202,6 +207,7 @@ %setup -q -T -D -n %{pxe_rom_id} -b 7 # ipxe patches %patch01 -p1 +%patch02 -p1 %endif %setup -q -n qemu-%{name}-%{package_true_version} -a 6 -a 9 -a 10 %if %{build_fw_from_source} @@ -230,11 +236,13 @@ %patch103 -p1 %patch104 -p1 %patch105 -p1 +%patch106 -p1 +%patch107 -p1 +%patch108 -p1 # Studio addons %patch200 -p1 %patch201 -p1 -%patch202 -p1 # IA64 support %ifarch ia64 @@ -261,6 +269,7 @@ ./configure \ --prefix=%{_prefix} \ --sysconfdir=%{_sysconfdir} \ +--libexecdir=%{_libexecdir} \ --with-confsuffix=/qemu-kvm \ --extra-cflags="%{optflags}" \ --disable-debug-tcg \ @@ -320,41 +329,41 @@ sed -i 's/CFLAGS =/CFLAGS +=/' roms/vgabios/Makefile # userspace: -make %{?jobs:-j%jobs} +make %{?_smp_mflags} # Firmware %ifarch %ix86 x86_64 %if %{build_fw_fro
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2012-05-29 10:33:37 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm", Maintainer is "brog...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2012-05-22 08:16:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2012-05-29 10:33:38.0 +0200 @@ -1,0 +2,6 @@ +Fri May 25 19:28:40 UTC 2012 - brog...@suse.com + +- Update to qemu-kvm v1.1-rc3 + - see http://wiki.qemu.org/ChangeLog/1.1 for details + +--- Old: qemu-kvm-1.1.rc2.tar.bz2 New: qemu-kvm-1.1.rc3.tar.bz2 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.OIBRIw/_old 2012-05-29 10:33:41.0 +0200 +++ /var/tmp/diff_new_pack.OIBRIw/_new 2012-05-29 10:33:41.0 +0200 @@ -19,7 +19,7 @@ %bcond_without spice -%define package_true_version 1.1.rc2 +%define package_true_version 1.1.rc3 %define package_base_version 1.1 %define bios_id seabios-1.7.0 %define pxe_rom_id ipxe-1.0.0 ++ qemu-kvm-1.1.rc2.tar.bz2 -> qemu-kvm-1.1.rc3.tar.bz2 ++ 1731 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2012-05-22 08:16:15 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm", Maintainer is "brog...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2012-05-03 10:58:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2012-05-22 08:16:16.0 +0200 @@ -1,0 +2,17 @@ +Mon May 21 18:43:08 UTC 2012 - brog...@suse.com + +- use correct type to avoid gnutls deprecation warnings + +--- +Mon May 21 11:54:32 UTC 2012 - badshah...@gmail.com + +- Use BuildRequires: libgnutls-devel instead of gnutls-devel for + Factory in keeping with gnutls package naming changes. + +--- +Mon May 21 04:41:51 UTC 2012 - brog...@suse.com + +- Update to qemu-kvm v1.1-rc2 + - see http://wiki.qemu.org/ChangeLog/1.1 for details + +--- Old: kvm-qemu-avoid-zero-length-memset.patch kvm-qemu-preXX-g_thread_init-users-don-t-call-it-if-glib-2.31.patch kvm-qemu-user-space-tool-name.patch qemu-kvm-1.0.1.tar.bz2 qemu-kvm-common-code-fixes-for-s390-build.patch New: kvm-qemu-avoid-deprecated-gnutls-types.patch qemu-kvm-1.1.rc2.tar.bz2 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.ZVP5A2/_old 2012-05-22 08:16:20.0 +0200 +++ /var/tmp/diff_new_pack.ZVP5A2/_new 2012-05-22 08:16:20.0 +0200 @@ -19,8 +19,8 @@ %bcond_without spice -%define package_true_version 1.0.1 -%define package_base_version 1.0.1 +%define package_true_version 1.1.rc2 +%define package_base_version 1.1 %define bios_id seabios-1.7.0 %define pxe_rom_id ipxe-1.0.0 %define vgabios_id vgabios-0.6c @@ -29,7 +29,7 @@ # note that this list doesn't include the ipxe roms since they get handled # individually and not as a group -%define firmware_files {bios.bin sgabios.bin vgabios.bin vgabios-cirrus.bin vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin optionrom/linuxboot.bin optionrom/multiboot.bin optionrom/vapic.bin} +%define firmware_files {bios.bin 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} ExclusiveArch: %ix86 x86_64 ia64 s390x @@ -47,7 +47,11 @@ BuildRequires: alsa BuildRequires: alsa-devel BuildRequires: glib2-devel +%if 0%{?suse_version} > 1210 +BuildRequires: libgnutls-devel +%else BuildRequires: gnutls-devel +%endif BuildRequires: libaio-devel BuildRequires: libattr-devel BuildRequires: libcurl-devel @@ -125,9 +129,8 @@ # qemu-kvm patches Patch60:qemu-datadir.diff Patch61:kvm-qemu-default-memsize.patch -Patch62:kvm-qemu-user-space-tool-name.patch -Patch63:kvm-qemu-madvise-DONTFORK-for-tight-memory-migration.patch -Patch64:kvm-qemu-avoid-zero-length-memset.patch +Patch62:kvm-qemu-madvise-DONTFORK-for-tight-memory-migration.patch +Patch63:kvm-qemu-avoid-deprecated-gnutls-types.patch # Post-release upstream patches Patch100: kvm-qemu-preXX-dictzip1.patch @@ -136,9 +139,6 @@ Patch103: kvm-qemu-preXX-console.patch Patch104: kvm-qemu-madvise-hugepages.patch Patch105: kvm-qemu-preXX-dictzip3.patch -Patch106: kvm-qemu-preXX-g_thread_init-users-don-t-call-it-if-glib-2.31.patch - -Patch150: qemu-kvm-common-code-fixes-for-s390-build.patch Patch200: qemu-img-vmdk-scsi.patch Patch201: kvm-studio-slirp-nooutgoing.patch @@ -222,7 +222,6 @@ %patch61 -p1 %patch62 -p1 %patch63 -p1 -%patch64 -p1 # Post-release patches %patch100 -p1 @@ -231,9 +230,6 @@ %patch103 -p1 %patch104 -p1 %patch105 -p1 -%patch106 -p1 - -%patch150 -p1 # Studio addons %patch200 -p1 @@ -265,6 +261,7 @@ ./configure \ --prefix=%{_prefix} \ --sysconfdir=%{_sysconfdir} \ +--with-confsuffix=/qemu-kvm \ --extra-cflags="%{optflags}" \ --disable-debug-tcg \ --disable-sparse \ @@ -297,7 +294,6 @@ --disable-fdt \ --disable-bluez \ --enable-kvm \ ---enable-kvm-pit \ --enable-kvm-device-assignment \ --disable-user \ --enable-vde \ @@ -355,11 +351,11 @@ %endif %install -make DESTDIR=%{buildroot} install %{?jobs:-j%jobs} +make DESTDIR=%{buildroot} install %{?jobs:-j%jobs} libexecdir=%_libexecdir mkdir -p %{buildroot}%{_docdir}/kvm cp qemu-doc.html qemu-kvm.html cp qemu-tech.html qemu-kvm-tech.html -install -m 755 kvm/kvm_stat %{
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2012-05-03 10:57:49 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm", Maintainer is "brog...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2012-01-25 10:37:43.0 +0100 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2012-05-03 10:58:16.0 +0200 @@ -1,0 +2,20 @@ +Mon Apr 23 22:10:09 UTC 2012 - brog...@suse.com + +- Update to qemu-kvm v1.0.1 + - see http://wiki.qemu.org/ChangeLog/1.0 for details + +- Update SeaBIOS to v1.7.0, which includes the following: + - Many enhancements to VGA BIOS code - it should now be feature +complete with LGPL vgabios + - Support for virtio-scsi + - Improved USB drive (usb-msc) support + - Several USB controller bug fixes and improvements + - Runtime ACPI AML PCI hotplug construction + - Support for running on i386 and i486 CPUs + - Enhancements to PCI init when running on emulators + - Several bug fixes + +- Update to iPXE v1.0.0 + - many misc fixes + +--- Old: ipxe-git-aaf7a35.tar.bz2 kvm-qemu-preXX-e1000-check-for-overflow-whenever-issuing-PCI-dma-reads.patch qemu-kvm-1.0.tar.bz2 seabios-1.6.3.tar.bz2 New: ipxe-1.0.0.tar.bz2 kvm-qemu-avoid-zero-length-memset.patch qemu-kvm-1.0.1.tar.bz2 seabios-1.7.0.tar.bz2 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.MMog4J/_old 2012-05-03 10:58:18.0 +0200 +++ /var/tmp/diff_new_pack.MMog4J/_new 2012-05-03 10:58:18.0 +0200 @@ -19,10 +19,10 @@ %bcond_without spice -%define package_true_version 1.0 -%define package_base_version 1.0 -%define bios_id seabios-1.6.3 -%define pxe_rom_id ipxe-git-aaf7a35 +%define package_true_version 1.0.1 +%define package_base_version 1.0.1 +%define bios_id seabios-1.7.0 +%define pxe_rom_id ipxe-1.0.0 %define vgabios_id vgabios-0.6c # sgabios comes from: http://sgabios.googlecode.com/svn/trunk, Rev 8 %define sgabios_id sgabios @@ -89,8 +89,8 @@ %endif BuildRequires: pwdutils Requires: pwdutils -Requires: virt-utils Requires: python-curses +Requires: virt-utils %if 0%{?suse_version} < 1110 Requires: kvm-kmp %endif @@ -127,6 +127,7 @@ Patch61:kvm-qemu-default-memsize.patch Patch62:kvm-qemu-user-space-tool-name.patch Patch63:kvm-qemu-madvise-DONTFORK-for-tight-memory-migration.patch +Patch64:kvm-qemu-avoid-zero-length-memset.patch # Post-release upstream patches Patch100: kvm-qemu-preXX-dictzip1.patch @@ -136,7 +137,6 @@ Patch104: kvm-qemu-madvise-hugepages.patch Patch105: kvm-qemu-preXX-dictzip3.patch Patch106: kvm-qemu-preXX-g_thread_init-users-don-t-call-it-if-glib-2.31.patch -Patch107: kvm-qemu-preXX-e1000-check-for-overflow-whenever-issuing-PCI-dma-reads.patch Patch150: qemu-kvm-common-code-fixes-for-s390-build.patch @@ -222,6 +222,7 @@ %patch61 -p1 %patch62 -p1 %patch63 -p1 +%patch64 -p1 # Post-release patches %patch100 -p1 @@ -231,7 +232,6 @@ %patch104 -p1 %patch105 -p1 %patch106 -p1 -%patch107 -p1 %patch150 -p1 @@ -329,6 +329,7 @@ # Firmware %ifarch %ix86 x86_64 %if %{build_fw_from_source} +echo "%{bios_id}" > roms/seabios/.version make -C roms/seabios %{?jobs:-j%jobs} cp roms/seabios/out/bios.bin pc-bios/bios.bin @@ -343,6 +344,7 @@ cp roms/vgabios/VGABIOS-lgpl-latest.vmware.bin pc-bios/vgabios-vmware.bin cp roms/vgabios/VGABIOS-lgpl-latest.qxl.bin pc-bios/vgabios-qxl.bin cd ../%{pxe_rom_id}/src +make NO_WERROR=1 bin/blib.a %{?jobs:-j%jobs} make bin/8086100e.rom %{?jobs:-j%jobs} make bin/10222000.rom %{?jobs:-j%jobs} make bin/10500940.rom %{?jobs:-j%jobs} ++ ipxe-git-aaf7a35.tar.bz2 -> ipxe-1.0.0.tar.bz2 ++ 340422 lines of diff (skipped) ++ kvm-qemu-avoid-zero-length-memset.patch ++ Index: qemu-kvm-1.0.1/slirp/misc.c === --- qemu-kvm-1.0.1.orig/slirp/misc.c +++ qemu-kvm-1.0.1/slirp/misc.c @@ -398,7 +398,8 @@ void slirp_connection_info(Slirp *slirp, dst_addr = so->so_faddr; dst_port = so->so_fport; } -memset(&buf[n], ' ', 19 - n); +if (n < 19) +memset(&buf[n], ' ', 19 - n); buf[19] = 0; monitor_printf(mon, "%s %3d %15s %5d ", buf, so->s, src.sin_addr.s_addr ? inet_ntoa(src.sin_addr) : "*", ++ qemu-kvm-1.0.tar.bz2 -> qemu-kvm-1.0.1.tar.bz2 ++ 2197 lines of diff (skipped) ++ seabios-1.6.3.tar.bz2 -> seabios-1.7.0.tar.bz2 ++ 23283 lines of di
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2012-01-25 10:37:41 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm", Maintainer is "brog...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2012-01-17 16:10:13.0 +0100 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2012-01-25 10:37:43.0 +0100 @@ -1,0 +2,5 @@ +Mon Jan 23 19:15:54 UTC 2012 - brog...@suse.com + +- avoid buffer overflow in e1000 device emulation (bnc#740165) + +--- New: kvm-qemu-preXX-e1000-check-for-overflow-whenever-issuing-PCI-dma-reads.patch Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.E7dmRi/_old 2012-01-25 10:37:45.0 +0100 +++ /var/tmp/diff_new_pack.E7dmRi/_new 2012-01-25 10:37:45.0 +0100 @@ -136,6 +136,7 @@ Patch104: kvm-qemu-madvise-hugepages.patch Patch105: kvm-qemu-preXX-dictzip3.patch Patch106: kvm-qemu-preXX-g_thread_init-users-don-t-call-it-if-glib-2.31.patch +Patch107: kvm-qemu-preXX-e1000-check-for-overflow-whenever-issuing-PCI-dma-reads.patch Patch150: qemu-kvm-common-code-fixes-for-s390-build.patch @@ -230,6 +231,7 @@ %patch104 -p1 %patch105 -p1 %patch106 -p1 +%patch107 -p1 %patch150 -p1 ++ kvm-qemu-preXX-e1000-check-for-overflow-whenever-issuing-PCI-dma-reads.patch ++ >From 7fff7710abc9893d8dce5dbad1e7093caf521132 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Wed, 4 Jan 2012 14:50:45 -0600 Subject: e1000: check for overflow whenever issuing PCI dma reads Reported-by: Nicolae Mogoreanu Signed-off-by: Anthony Liguori --- hw/e1000.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) Index: qemu-kvm-0.12.5/hw/e1000.c === --- qemu-kvm-0.12.5.orig/hw/e1000.c +++ qemu-kvm-0.12.5/hw/e1000.c @@ -466,6 +466,8 @@ process_tx_desc(E1000State *s, struct e1000_tx_desc *dp) bytes = split_size; if (tp->size + bytes > msh) bytes = msh - tp->size; + +bytes = MIN(sizeof(tp->data) - tp->size, bytes); pci_dma_read(&s->dev, addr, tp->data + tp->size, bytes); if ((sz = tp->size + bytes) >= hdr && tp->size < hdr) memmove(tp->header, tp->data, hdr); @@ -481,6 +483,7 @@ process_tx_desc(E1000State *s, struct e1000_tx_desc *dp) // context descriptor TSE is not set, while data descriptor TSE is set DBGOUT(TXERR, "TCP segmentaion Error\n"); } else { +split_size = MIN(sizeof(tp->data) - tp->size, split_size); pci_dma_read(&s->dev, addr, tp->data + tp->size, split_size); tp->size += split_size; } -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2012-01-17 11:33:38 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm", Maintainer is "brog...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2011-10-29 08:00:33.0 +0200 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2012-01-17 16:10:13.0 +0100 @@ -1,0 +2,27 @@ +Wed Jan 11 05:21:04 UTC 2012 - brog...@suse.com + +- fix issue with g_thread_init deprecation now treated as error + +--- +Tue Dec 13 12:57:10 UTC 2011 - bku...@suse.com + +- Fix dictzip with long file names. + +--- +Tue Dec 13 05:01:48 UTC 2011 - brog...@suse.com + +- Update to qemu-kvm v1.0 + - see http://wiki.qemu.org/ChangeLog/1.0 for details + +--- +Tue Nov 29 21:46:36 UTC 2011 - brog...@suse.com + +- change a build dependency from spice-devel to spice-protocol + +--- +Mon Nov 28 20:28:51 UTC 2011 - brog...@suse.com + +- add missing break. Plugs potential buffer overflow in CCID card + passthru device (bnc#731086) + +--- Old: kvm-qemu-fix-1mb-memory-assert.patch kvm-qemu-fix-unused-but-set.patch kvm-qemu-preXX-block-curl-Don-t-finish-AIOCBs-too-early.patch kvm-qemu-preXX-block-curl-Implement-a-flush-function-on-the-fd-han.patch kvm-qemu-preXX-e1000-Don-t-set-the-Capabilities-List-bit.patch kvm-qemu-preXX-qemu_vmalloc-align-properly-for-transparent-hugepag.patch kvm-qemu-preXX-vns-tls-don-t-use-depricated-gnutls-functions.patch qemu-kvm-0.15.1.tar.bz2 New: kvm-qemu-preXX-dictzip3.patch kvm-qemu-preXX-g_thread_init-users-don-t-call-it-if-glib-2.31.patch qemu-kvm-1.0.tar.bz2 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.x1lsTO/_old 2012-01-17 16:10:17.0 +0100 +++ /var/tmp/diff_new_pack.x1lsTO/_new 2012-01-17 16:10:17.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package kvm # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -14,14 +14,13 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - -# norootforbuild # icecream 0 -%bcond_with spice -%define package_true_version 0.15.1 -%define package_base_version 0.15.1 +%bcond_without spice + +%define package_true_version 1.0 +%define package_base_version 1.0 %define bios_id seabios-1.6.3 %define pxe_rom_id ipxe-git-aaf7a35 %define vgabios_id vgabios-0.6c @@ -30,7 +29,7 @@ # note that this list doesn't include the ipxe roms since they get handled # individually and not as a group -%define firmware_files {bios.bin sgabios.bin vgabios.bin vgabios-cirrus.bin vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin optionrom/extboot.bin optionrom/linuxboot.bin optionrom/multiboot.bin optionrom/vapic.bin} +%define firmware_files {bios.bin sgabios.bin vgabios.bin vgabios-cirrus.bin vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin optionrom/linuxboot.bin optionrom/multiboot.bin optionrom/vapic.bin} ExclusiveArch: %ix86 x86_64 ia64 s390x @@ -44,9 +43,21 @@ %define using_buildservice 0%{?opensuse_bs} Name: kvm -BuildRequires: SDL-devel alsa alsa-devel gnutls-devel libaio-devel -BuildRequires: libcurl-devel libpulse-devel ncurses-devel pciutils-devel perl -BuildRequires: glib2-devel libattr-devel python texinfo xfsprogs-devel +BuildRequires: SDL-devel +BuildRequires: alsa +BuildRequires: alsa-devel +BuildRequires: glib2-devel +BuildRequires: gnutls-devel +BuildRequires: libaio-devel +BuildRequires: libattr-devel +BuildRequires: libcurl-devel +BuildRequires: libpulse-devel +BuildRequires: ncurses-devel +BuildRequires: pciutils-devel +BuildRequires: perl +BuildRequires: python +BuildRequires: texinfo +BuildRequires: xfsprogs-devel %if 0%{?suse_version} >= 1130 BuildRequires: brlapi-devel %endif @@ -71,7 +82,8 @@ %if 0%{?suse_version} >= 1130 # Spice support does not currently build with -Werror on 32-bit platforms %ifnarch %ix86 -BuildRequires: libspice-server-devel spice-devel +BuildRequires: libspice-server-devel +BuildRequires: spice-protocol-devel %endif %endif %endif @@ -82,9 +94,9 @@ %if 0%{?suse_version} < 1110 Requires: kvm-k
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at 2011-10-29 08:00:32 Comparing /work/SRC/openSUSE:Factory/kvm (Old) and /work/SRC/openSUSE:Factory/.kvm.new (New) Package is "kvm", Maintainer is "brog...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/kvm/kvm.changes 2011-10-11 16:56:45.0 +0200 +++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes 2011-10-29 08:00:33.0 +0200 @@ -1,0 +2,7 @@ +Wed Oct 26 20:02:43 UTC 2011 - brog...@suse.com + +- Update to qemu-kvm v0.15.1 + - see http://wiki.qemu.org/ChangeLog/0.15 for details +- update to most recent ipxe upstream development sources + +--- Old: ipxe-git-149b502.tar.bz2 kvm-qemu-preXX-Fix-termination-by-signal-with-no-shutdown.patch qemu-kvm-0.15.0.tar.bz2 New: ipxe-git-aaf7a35.tar.bz2 qemu-kvm-0.15.1.tar.bz2 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.Jy7VHK/_old 2011-10-29 08:00:37.0 +0200 +++ /var/tmp/diff_new_pack.Jy7VHK/_new 2011-10-29 08:00:37.0 +0200 @@ -20,10 +20,10 @@ %bcond_with spice -%define package_true_version 0.15.0 -%define package_base_version 0.15.0 +%define package_true_version 0.15.1 +%define package_base_version 0.15.1 %define bios_id seabios-1.6.3 -%define pxe_rom_id ipxe-git-149b502 +%define pxe_rom_id ipxe-git-aaf7a35 %define vgabios_id vgabios-0.6c # sgabios comes from: http://sgabios.googlecode.com/svn/trunk, Rev 8 %define sgabios_id sgabios @@ -87,7 +87,7 @@ Summary:Kernel-based Virtual Machine Url:http://www.linux-kvm.org Version:%{package_true_version} -Release:2 +Release:0 Source0:qemu-%{name}-%{package_true_version}.tar.bz2 Source1:60-kvm.rules Source2:qemu-ifup @@ -126,10 +126,9 @@ Patch104: kvm-qemu-preXX-vns-tls-don-t-use-depricated-gnutls-functions.patch Patch105: kvm-qemu-preXX-qemu_vmalloc-align-properly-for-transparent-hugepag.patch Patch106: kvm-qemu-madvise-hugepages.patch -Patch107: kvm-qemu-preXX-Fix-termination-by-signal-with-no-shutdown.patch -Patch108: kvm-qemu-preXX-block-curl-Implement-a-flush-function-on-the-fd-han.patch -Patch109: kvm-qemu-preXX-block-curl-Don-t-finish-AIOCBs-too-early.patch -Patch110: kvm-qemu-preXX-e1000-Don-t-set-the-Capabilities-List-bit.patch +Patch107: kvm-qemu-preXX-block-curl-Implement-a-flush-function-on-the-fd-han.patch +Patch108: kvm-qemu-preXX-block-curl-Don-t-finish-AIOCBs-too-early.patch +Patch109: kvm-qemu-preXX-e1000-Don-t-set-the-Capabilities-List-bit.patch Patch150: qemu-kvm-common-code-fixes-for-s390-build.patch @@ -229,7 +228,6 @@ %patch107 -p1 %patch108 -p1 %patch109 -p1 -%patch110 -p1 %patch150 -p1 ++ ipxe-git-149b502.tar.bz2 -> ipxe-git-aaf7a35.tar.bz2 ++ 81233 lines of diff (skipped) ++ qemu-kvm-0.15.0.tar.bz2 -> qemu-kvm-0.15.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qemu-kvm-0.15.0/VERSION new/qemu-kvm-0.15.1/VERSION --- old/qemu-kvm-0.15.0/VERSION 2011-08-09 14:40:29.0 +0200 +++ new/qemu-kvm-0.15.1/VERSION 2011-10-19 15:54:48.0 +0200 @@ -1 +1 @@ -0.15.0 +0.15.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qemu-kvm-0.15.0/arm.ld new/qemu-kvm-0.15.1/arm.ld --- old/qemu-kvm-0.15.0/arm.ld 2011-08-09 14:40:29.0 +0200 +++ new/qemu-kvm-0.15.1/arm.ld 2011-10-19 15:54:48.0 +0200 @@ -71,23 +71,23 @@ .data1 : { *(.data1) } .preinit_array : { -PROVIDE_HIDDEN (__preinit_array_start = .); +PROVIDE (__preinit_array_start = .); KEEP (*(.preinit_array)) -PROVIDE_HIDDEN (__preinit_array_end = .); +PROVIDE (__preinit_array_end = .); } .init_array : { - PROVIDE_HIDDEN (__init_array_start = .); + PROVIDE (__init_array_start = .); KEEP (*(SORT(.init_array.*))) KEEP (*(.init_array)) - PROVIDE_HIDDEN (__init_array_end = .); + PROVIDE (__init_array_end = .); } .fini_array : { -PROVIDE_HIDDEN (__fini_array_start = .); +PROVIDE (__fini_array_start = .); KEEP (*(.fini_array)) KEEP (*(SORT(.fini_array.*))) -PROVIDE_HIDDEN (__fini_array_end = .); +PROVIDE (__fini_array_end = .); } .ctors : { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qemu-kvm-0.15.0/block/qed-table.c new/qemu-kvm-0.15.1/block/qed-table.c --- old/qemu-kvm-0.15.0/block/qed-table.c 2011-08-09 14:40:29.0 +0200 +++ new/qemu-kvm-0.15.1/block/qed-table.c
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at Tue Oct 11 16:56:50 CEST 2011. --- openSUSE:Factory/kvm/kvm.changes2011-09-23 02:07:29.0 +0200 +++ /mounts/work_src_done/STABLE/kvm/kvm.changes2011-10-10 23:22:28.0 +0200 @@ -1,0 +2,8 @@ +Mon Oct 10 21:05:56 UTC 2011 - brog...@suse.com + +- Update seabios to v1.6.3 +- fix curl based disk access +- fix termination by signal with -no-shutdown option set +- dont set e1000 capabilities list bit + +--- calling whatdependson for head-i586 Old: seabios-git-8e30147.tar.bz2 New: kvm-qemu-preXX-Fix-termination-by-signal-with-no-shutdown.patch kvm-qemu-preXX-block-curl-Don-t-finish-AIOCBs-too-early.patch kvm-qemu-preXX-block-curl-Implement-a-flush-function-on-the-fd-han.patch kvm-qemu-preXX-e1000-Don-t-set-the-Capabilities-List-bit.patch seabios-1.6.3.tar.bz2 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.zEruSF/_old 2011-10-11 16:56:42.0 +0200 +++ /var/tmp/diff_new_pack.zEruSF/_new 2011-10-11 16:56:42.0 +0200 @@ -22,7 +22,7 @@ %define package_true_version 0.15.0 %define package_base_version 0.15.0 -%define bios_id seabios-git-8e30147 +%define bios_id seabios-1.6.3 %define pxe_rom_id ipxe-git-149b502 %define vgabios_id vgabios-0.6c # sgabios comes from: http://sgabios.googlecode.com/svn/trunk, Rev 8 @@ -87,7 +87,7 @@ Summary:Kernel-based Virtual Machine Url:http://www.linux-kvm.org Version:%{package_true_version} -Release:1 +Release:2 Source0:qemu-%{name}-%{package_true_version}.tar.bz2 Source1:60-kvm.rules Source2:qemu-ifup @@ -99,16 +99,24 @@ Source8:bcc-0.16.17-2.i486.rpm Source9:%{vgabios_id}.tar.bz2 Source10: %{sgabios_id}.tar.bz2 -# common and X86 patches + +# ipxe patches Patch01:ipxe-rom-settings.patch -Patch02:seabios-sanitize-version.patch -Patch03:vgabios-bcc-paths.patch -Patch04:qemu-datadir.diff -Patch05:kvm-qemu-default-memsize.patch -Patch06:kvm-qemu-user-space-tool-name.patch -Patch07:kvm-qemu-fix-unused-but-set.patch -Patch08:kvm-qemu-madvise-DONTFORK-for-tight-memory-migration.patch -Patch09:kvm-qemu-fix-1mb-memory-assert.patch + +# seabios patches +Patch20:seabios-sanitize-version.patch + +# vgabios patches +Patch40:vgabios-bcc-paths.patch + +# common and X86 patches +# qemu-kvm patches +Patch60:qemu-datadir.diff +Patch61:kvm-qemu-default-memsize.patch +Patch62:kvm-qemu-user-space-tool-name.patch +Patch63:kvm-qemu-fix-unused-but-set.patch +Patch64:kvm-qemu-madvise-DONTFORK-for-tight-memory-migration.patch +Patch65:kvm-qemu-fix-1mb-memory-assert.patch # Post-release upstream patches Patch100: kvm-qemu-preXX-dictzip1.patch @@ -118,8 +126,12 @@ Patch104: kvm-qemu-preXX-vns-tls-don-t-use-depricated-gnutls-functions.patch Patch105: kvm-qemu-preXX-qemu_vmalloc-align-properly-for-transparent-hugepag.patch Patch106: kvm-qemu-madvise-hugepages.patch +Patch107: kvm-qemu-preXX-Fix-termination-by-signal-with-no-shutdown.patch +Patch108: kvm-qemu-preXX-block-curl-Implement-a-flush-function-on-the-fd-han.patch +Patch109: kvm-qemu-preXX-block-curl-Don-t-finish-AIOCBs-too-early.patch +Patch110: kvm-qemu-preXX-e1000-Don-t-set-the-Capabilities-List-bit.patch -Patch155: qemu-kvm-common-code-fixes-for-s390-build.patch +Patch150: qemu-kvm-common-code-fixes-for-s390-build.patch Patch200: qemu-img-vmdk-scsi.patch Patch201: kvm-studio-slirp-nooutgoing.patch @@ -181,6 +193,7 @@ cd bcc-bits/ rpm2cpio %{SOURCE8} | cpio -id ./usr/bin/bcc ./usr/lib/bcc/bcc-cc1 %setup -q -T -D -n %{pxe_rom_id} -b 7 +# ipxe patches %patch01 -p1 %endif %setup -q -n qemu-%{name}-%{package_true_version} -a 6 -a 9 -a 10 @@ -190,16 +203,21 @@ do rm -f pc-bios/$i done -%patch02 -p1 -%patch03 -p1 +# seabios patches +%patch20 -p1 + +# vgabios patches +%patch40 -p1 %endif -cp %{SOURCE3} . -%patch04 -p1 -%patch05 -p1 -%patch06 -p1 -%patch07 -p1 -%patch08 -p1 -%patch09 -p1 + +# qemu-kvm patches +%patch60 -p1 +%patch61 -p1 +%patch62 -p1 +%patch63 -p1 +%patch64 -p1 +%patch65 -p1 + # Post-release patches %patch100 -p1 %patch101 -p1 @@ -208,8 +226,12 @@ %patch104 -p1 %patch105 -p1 %patch106 -p1 +%patch107 -p1 +%patch108 -p1 +%patch109 -p1 +%patch110 -p1 -%patch155 -p1 +%patch150 -p1 # Studio addons %patch200 -p1 @@ -232,6 +254,8 @@ %patch706 -p1 %endif +cp %{SOURCE3} . + %build # change from devel version to actual version echo "%{package_base_version}" > VERSION ++ kvm-qemu-preXX-Fix-termination-by-signal-with-no-shutdown.patch ++ >Fro
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at Mon Sep 19 22:54:34 CEST 2011. --- kvm/kvm.changes 2011-08-26 00:25:05.0 +0200 +++ /mounts/work_src_done/STABLE/kvm/kvm.changes2011-09-16 00:44:48.0 +0200 @@ -1,0 +2,6 @@ +Thu Sep 15 19:47:54 UTC 2011 - brog...@suse.com + +- take advantage of Transparent Huge Pages on host +- include sgabios.bin + +--- calling whatdependson for head-i586 Old: kvm-qemu-preXX-ui-avoid-deprecated-gnutls_-_set_priority-functions.patch New: kvm-qemu-madvise-hugepages.patch kvm-qemu-preXX-qemu_vmalloc-align-properly-for-transparent-hugepag.patch kvm-qemu-preXX-vns-tls-don-t-use-depricated-gnutls-functions.patch sgabios.tar.bz2 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.K1q41Y/_old 2011-09-19 22:54:24.0 +0200 +++ /var/tmp/diff_new_pack.K1q41Y/_new 2011-09-19 22:54:24.0 +0200 @@ -25,10 +25,12 @@ %define bios_id seabios-git-8e30147 %define pxe_rom_id ipxe-git-149b502 %define vgabios_id vgabios-0.6c +# sgabios comes from: http://sgabios.googlecode.com/svn/trunk, Rev 8 +%define sgabios_id sgabios # note that this list doesn't include the ipxe roms since they get handled # individually and not as a group -%define firmware_files {bios.bin vgabios.bin vgabios-cirrus.bin vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin optionrom/extboot.bin optionrom/linuxboot.bin optionrom/multiboot.bin optionrom/vapic.bin} +%define firmware_files {bios.bin sgabios.bin vgabios.bin vgabios-cirrus.bin vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin optionrom/extboot.bin optionrom/linuxboot.bin optionrom/multiboot.bin optionrom/vapic.bin} ExclusiveArch: %ix86 x86_64 ia64 s390x @@ -96,6 +98,7 @@ Source7:%{pxe_rom_id}.tar.bz2 Source8:bcc-0.16.17-2.i486.rpm Source9:%{vgabios_id}.tar.bz2 +Source10: %{sgabios_id}.tar.bz2 # common and X86 patches Patch01:ipxe-rom-settings.patch Patch02:seabios-sanitize-version.patch @@ -112,7 +115,9 @@ Patch101: kvm-qemu-preXX-dictzip2.patch Patch102: kvm-qemu-preXX-report-default-mac-used.patch Patch103: kvm-qemu-preXX-console.patch -Patch104: kvm-qemu-preXX-ui-avoid-deprecated-gnutls_-_set_priority-functions.patch +Patch104: kvm-qemu-preXX-vns-tls-don-t-use-depricated-gnutls-functions.patch +Patch105: kvm-qemu-preXX-qemu_vmalloc-align-properly-for-transparent-hugepag.patch +Patch106: kvm-qemu-madvise-hugepages.patch Patch155: qemu-kvm-common-code-fixes-for-s390-build.patch @@ -178,7 +183,7 @@ %setup -q -T -D -n %{pxe_rom_id} -b 7 %patch01 -p1 %endif -%setup -q -n qemu-%{name}-%{package_true_version} -a 6 -a 9 +%setup -q -n qemu-%{name}-%{package_true_version} -a 6 -a 9 -a 10 %if %{build_fw_from_source} #ensure that we only end up with the ones we built for i in %firmware_files @@ -201,6 +206,8 @@ %patch102 -p1 %patch103 -p1 %patch104 -p1 +%patch105 -p1 +%patch106 -p1 %patch155 -p1 @@ -300,6 +307,10 @@ make -C roms/seabios %{?jobs:-j%jobs} cp roms/seabios/out/bios.bin pc-bios/bios.bin +make -C roms/sgabios +#make -C roms/sgabios %{?jobs:-j%jobs} +cp roms/sgabios/sgabios.bin pc-bios/sgabios.bin + make -C roms/vgabios %{?jobs:-j%jobs} cp roms/vgabios/VGABIOS-lgpl-latest.bin pc-bios/vgabios.bin cp roms/vgabios/VGABIOS-lgpl-latest.cirrus.bin pc-bios/vgabios-cirrus.bin ++ kvm-qemu-madvise-hugepages.patch ++ Index: qemu-kvm-0.15.0/exec.c === --- qemu-kvm-0.15.0.orig/exec.c +++ qemu-kvm-0.15.0/exec.c @@ -2942,6 +2942,9 @@ ram_addr_t qemu_ram_alloc_from_ptr(Devic new_block->host = qemu_vmalloc(size); qemu_madvise(new_block->host, size, QEMU_MADV_MERGEABLE); qemu_madvise(new_block->host, size, QEMU_MADV_DONTFORK); +#ifdef MADV_HUGEPAGE +qemu_madvise(new_block->host, size, MADV_HUGEPAGE); +#endif } #else fprintf(stderr, "-mem-path option unsupported\n"); @@ -2970,6 +2973,9 @@ ram_addr_t qemu_ram_alloc_from_ptr(Devic #endif qemu_madvise(new_block->host, size, QEMU_MADV_MERGEABLE); qemu_madvise(new_block->host, size, QEMU_MADV_DONTFORK); +#ifdef MADV_HUGEPAGE +qemu_madvise(new_block->host, size, MADV_HUGEPAGE); +#endif } } new_block->length = size; ++ kvm-qemu-preXX-qemu_vmalloc-align-properly-for-transparent-hugepag.patch ++ >From 36b586284e678da28df3af9fd0907d2b16f9311c Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Mon, 5 Sep 2011 11:07:05 +0300 Subject: [PATCH] qemu_vmalloc: align properly for transparent hugepages and KVM To make good use of transparent hugepages, KVM requires that gu
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at Fri Aug 26 09:40:22 CEST 2011. --- kvm/kvm.changes 2011-08-05 15:17:20.0 +0200 +++ /mounts/work_src_done/STABLE/kvm/kvm.changes2011-08-26 00:25:05.0 +0200 @@ -1,0 +2,15 @@ +Thu Aug 25 22:12:00 UTC 2011 - brog...@novell.com + +- update to v0.15.0 + for details, see: http://wiki.qemu.org/ChangeLog/0.15 +- update to latest seabios (ahci is enabled there now) +- fix failures migrating or saving large memory vms when remaining + host memory is insuffienct (bnc#705095) +- fix for creating 1MB vm + +--- +Thu Aug 25 20:57:01 UTC 2011 - brog...@novell.com + +- fix build: don't use deprecated functions + +--- calling whatdependson for head-i586 Old: kvm-seabios-enable-ahci.patch qemu-kvm-0.15.rc1.tar.bz2 seabios-git-e0f87ce.tar.bz2 New: kvm-qemu-fix-1mb-memory-assert.patch kvm-qemu-madvise-DONTFORK-for-tight-memory-migration.patch kvm-qemu-preXX-ui-avoid-deprecated-gnutls_-_set_priority-functions.patch qemu-kvm-0.15.0.tar.bz2 seabios-git-8e30147.tar.bz2 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.WFAvFp/_old 2011-08-26 09:35:51.0 +0200 +++ /var/tmp/diff_new_pack.WFAvFp/_new 2011-08-26 09:35:51.0 +0200 @@ -20,9 +20,9 @@ %bcond_with spice -%define package_true_version 0.15.rc1 +%define package_true_version 0.15.0 %define package_base_version 0.15.0 -%define bios_id seabios-git-e0f87ce +%define bios_id seabios-git-8e30147 %define pxe_rom_id ipxe-git-149b502 %define vgabios_id vgabios-0.6c @@ -73,6 +73,8 @@ %endif %endif %endif +BuildRequires: pwdutils +Requires: pwdutils Requires: virt-utils Requires: python-curses %if 0%{?suse_version} < 1110 @@ -101,14 +103,16 @@ Patch04:qemu-datadir.diff Patch05:kvm-qemu-default-memsize.patch Patch06:kvm-qemu-user-space-tool-name.patch -Patch07:kvm-seabios-enable-ahci.patch -Patch08:kvm-qemu-fix-unused-but-set.patch +Patch07:kvm-qemu-fix-unused-but-set.patch +Patch08:kvm-qemu-madvise-DONTFORK-for-tight-memory-migration.patch +Patch09:kvm-qemu-fix-1mb-memory-assert.patch # Post-release upstream patches Patch100: kvm-qemu-preXX-dictzip1.patch Patch101: kvm-qemu-preXX-dictzip2.patch Patch102: kvm-qemu-preXX-report-default-mac-used.patch Patch103: kvm-qemu-preXX-console.patch +Patch104: kvm-qemu-preXX-ui-avoid-deprecated-gnutls_-_set_priority-functions.patch Patch155: qemu-kvm-common-code-fixes-for-s390-build.patch @@ -190,11 +194,13 @@ %patch06 -p1 %patch07 -p1 %patch08 -p1 +%patch09 -p1 # Post-release patches %patch100 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 +%patch104 -p1 %patch155 -p1 @@ -225,7 +231,7 @@ echo "kvm-%{version}-%{release}" > KVM_VERSION ./configure \ --prefix=%{_prefix} \ ---sysconfdir=/etc \ +--sysconfdir=%{_sysconfdir} \ --extra-cflags="%{optflags}" \ --disable-debug-tcg \ --disable-sparse \ @@ -285,7 +291,8 @@ sed -i 's/CFLAGS =/CFLAGS +=/' roms/vgabios/Makefile # userspace: -make %{?jobs:-j%jobs} +make +#make %{?jobs:-j%jobs} # Firmware %ifarch %ix86 x86_64 @@ -370,7 +377,7 @@ %attr(755,root,kvm) %{_bindir}/qemu-ga %attr(755,root,kvm) %{_bindir}/kvm_stat %{_datadir}/qemu-kvm -%dir %attr(0700, root, kvm) %{_sysconfdir}/qemu-kvm/ +%dir %attr(0755, root, kvm) %{_sysconfdir}/qemu-kvm/ %config %attr(644,root,kvm) %{_sysconfdir}/qemu-kvm/target-x86_64.conf %config %{_sysconfdir}/udev/rules.d/60-kvm.rules %_mandir/man1/qemu-kvm.1.gz ++ kvm-qemu-fix-1mb-memory-assert.patch ++ diff --git a/hw/pc.c b/hw/pc.c index c0a88e1..3412bfa 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -978,9 +978,10 @@ void pc_memory_init(const char *kernel_filename, ram_addr = qemu_ram_alloc(NULL, "pc.ram", below_4g_mem_size + above_4g_mem_size); cpu_register_physical_memory(0, 0xa, ram_addr); -cpu_register_physical_memory(0x10, - below_4g_mem_size - 0x10, - ram_addr + 0x10); +if (below_4g_mem_size > 0x10) { +cpu_register_physical_memory(0x10, below_4g_mem_size - 0x10, + ram_addr + 0x10); +} if (above_4g_mem_size > 0) { cpu_register_physical_memory(0x1ULL, above_4g_mem_size, ram_addr + below_4g_mem_size); ++ kvm-qemu-madvise-DONTFORK-for-tight-memory-migration.patch ++ Index: qemu-kvm-0.15.0/exec.c === --- qemu-kvm-0.15.0.orig/exec.c +++ qemu-kv
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at Mon Jul 11 12:35:16 CEST 2011. --- kvm/kvm.changes 2011-07-06 21:22:00.0 +0200 +++ /mounts/work_src_done/STABLE/kvm/kvm.changes2011-07-08 19:01:00.0 +0200 @@ -1,0 +2,6 @@ +Fri Jul 8 16:44:55 UTC 2011 - brog...@novell.com + +- validate virtqueue indirect descriptor against max size + (bnc#701161) + +--- calling whatdependson for head-i586 New: kvm-qemu-preXX-validate-virtqueue.patch Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.77Po6v/_old 2011-07-11 12:34:20.0 +0200 +++ /var/tmp/diff_new_pack.77Po6v/_new 2011-07-11 12:34:20.0 +0200 @@ -89,7 +89,7 @@ Summary:Kernel-based Virtual Machine Url:http://kvm.qumranet.com/ Version:%{package_base_version}%{package_extra_version} -Release:7 +Release:9 Source0:qemu-%{name}-%{package_base_version}.tar.bz2 Source1:60-kvm.rules Source2:qemu-ifup @@ -181,6 +181,7 @@ Patch134: kvm-qemu-preXX-severe-memory-leak-caused-by-broken-palett.patch Patch135: kvm-qemu-no-hot-unplug-for-certain-devices.patch Patch136: kvm-qemu-preXX-virtio-guard-against-negative-vq-notifies.patch +Patch137: kvm-qemu-preXX-validate-virtqueue.patch Patch200: qemu-img-vmdk-scsi.patch Patch201: kvm-studio-slirp-nooutgoing.patch @@ -337,6 +338,7 @@ %patch134 -p1 %patch135 -p1 %patch136 -p1 +%patch137 -p1 # Studio addons %patch200 -p1 ++ kvm-qemu-preXX-validate-virtqueue.patch ++ EMBARGOED CVE-2011-2212 qemu-kvm: virtqueue: too-large indirect descriptor buffer overflow It was found that virtio subsystem in qemu-kvm did not properly validate virtqueue in and out requests from the guest. A privileged guest user could use this flaw to cause buffer overflow, causing the guest to crash (denial of service) or, possibly, resulting in the privileged guest user escalating their privileges on the host. -- virtqueue_pop (and less importantly, virtqueue_avail_bytes) do not limit the size of an indirect descriptor entry, which allows a guest to specify an arbitrarily-long descriptor chain, which will overflow the fixed-size arrays in VirtQueueElement, leading to memory corruption. >From 8e16077bfcd2d06a98aec8348cc171402ed75b51 Mon Sep 17 00:00:00 2001 From: Nelson Elhage Date: Thu, 19 May 2011 13:23:17 -0400 Subject: [PATCH] virtqueue: Sanity-check the length of indirect descriptors. We were previously allowing arbitrarily-long descriptors, which could lead to a buffer overflow in the qemu-kvm process. --- hw/virtio.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/hw/virtio.c b/hw/virtio.c index 6e8814c..4935282 100644 --- a/hw/virtio.c +++ b/hw/virtio.c @@ -335,6 +335,11 @@ int virtqueue_avail_bytes(VirtQueue *vq, int in_bytes, int out_bytes) max = vring_desc_len(desc_pa, i) / sizeof(VRingDesc); num_bufs = i = 0; desc_pa = vring_desc_addr(desc_pa, i); + +if (max > VIRTQUEUE_MAX_SIZE) { +error_report("Too-large indirect descriptor"); +exit(1); +} } do { @@ -405,6 +410,11 @@ int virtqueue_pop(VirtQueue *vq, VirtQueueElement *elem) max = vring_desc_len(desc_pa, i) / sizeof(VRingDesc); desc_pa = vring_desc_addr(desc_pa, i); i = 0; + +if (max > VIRTQUEUE_MAX_SIZE) { +error_report("Too-large indirect descriptor"); +exit(1); +} } /* Collect all the descriptors */ -- 1.7.4.44.gf9e72 Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at Thu Jul 7 15:00:49 CEST 2011. --- kvm/kvm.changes 2011-06-07 17:21:43.0 +0200 +++ /mounts/work_src_done/STABLE/kvm/kvm.changes2011-07-06 21:22:00.0 +0200 @@ -1,0 +2,5 @@ +Wed Jul 6 19:14:24 UTC 2011 - brog...@novell.com + +- fix possible out of bounds memory access (bnc#702823) + +--- calling whatdependson for head-i586 New: kvm-qemu-preXX-virtio-guard-against-negative-vq-notifies.patch Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.jVuz1T/_old 2011-07-07 14:57:55.0 +0200 +++ /var/tmp/diff_new_pack.jVuz1T/_new 2011-07-07 14:57:55.0 +0200 @@ -89,7 +89,7 @@ Summary:Kernel-based Virtual Machine Url:http://kvm.qumranet.com/ Version:%{package_base_version}%{package_extra_version} -Release:5 +Release:7 Source0:qemu-%{name}-%{package_base_version}.tar.bz2 Source1:60-kvm.rules Source2:qemu-ifup @@ -180,6 +180,7 @@ Patch133: kvm-qemu-preXX-vnc-fix-build-error-from-VNC_DIRTY_WORDS.patch Patch134: kvm-qemu-preXX-severe-memory-leak-caused-by-broken-palett.patch Patch135: kvm-qemu-no-hot-unplug-for-certain-devices.patch +Patch136: kvm-qemu-preXX-virtio-guard-against-negative-vq-notifies.patch Patch200: qemu-img-vmdk-scsi.patch Patch201: kvm-studio-slirp-nooutgoing.patch @@ -335,6 +336,7 @@ %patch133 -p1 %patch134 -p1 %patch135 -p1 +%patch136 -p1 # Studio addons %patch200 -p1 ++ kvm-qemu-preXX-virtio-guard-against-negative-vq-notifies.patch ++ >From 7157e2e23e89adcd436caeab31fdd6b47eded377 Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Sun, 8 May 2011 22:29:07 +0100 Subject: [PATCH] virtio: guard against negative vq notifies The virtio_queue_notify() function checks that the virtqueue number is less than the maximum number of virtqueues. A signed comparison is used but the virtqueue number could be negative if a buggy or malicious guest is run. This results in memory accesses outside of the virtqueue array. It is risky doing input validation in common code instead of at the guest<->host boundary. Note that virtio_queue_set_addr(), virtio_queue_get_addr(), virtio_queue_get_num(), and many other virtio functions do *not* validate the virtqueue number argument. Instead of fixing the comparison in virtio_queue_notify(), move the comparison to the virtio bindings (just like VIRTIO_PCI_QUEUE_SEL) where we have a uint32_t value and can avoid ever calling into common virtio code if the virtqueue number is invalid. Signed-off-by: Stefan Hajnoczi Signed-off-by: Michael S. Tsirkin --- hw/syborg_virtio.c |4 +++- hw/virtio-pci.c|4 +++- hw/virtio.c|4 +--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/hw/syborg_virtio.c b/hw/syborg_virtio.c index 2f3e6da..00c7be8 100644 --- a/hw/syborg_virtio.c +++ b/hw/syborg_virtio.c @@ -146,7 +146,9 @@ static void syborg_virtio_writel(void *opaque, target_phys_addr_t offset, vdev->queue_sel = value; break; case SYBORG_VIRTIO_QUEUE_NOTIFY: -virtio_queue_notify(vdev, value); +if (value < VIRTIO_PCI_QUEUE_MAX) { +virtio_queue_notify(vdev, value); +} break; case SYBORG_VIRTIO_STATUS: virtio_set_status(vdev, value & 0xFF); diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c index 270e2c7..b86c441 100644 --- a/hw/virtio-pci.c +++ b/hw/virtio-pci.c @@ -348,7 +348,9 @@ static void virtio_ioport_write(void *opaque, uint32_t addr, uint32_t val) vdev->queue_sel = val; break; case VIRTIO_PCI_QUEUE_NOTIFY: -virtio_queue_notify(vdev, val); +if (val < VIRTIO_PCI_QUEUE_MAX) { +virtio_queue_notify(vdev, val); +} break; case VIRTIO_PCI_STATUS: if (!(val & VIRTIO_CONFIG_S_DRIVER_OK)) { diff --git a/hw/virtio.c b/hw/virtio.c index 6e8814c..a651860 100644 --- a/hw/virtio.c +++ b/hw/virtio.c @@ -585,9 +585,7 @@ void virtio_queue_notify_vq(VirtQueue *vq) void virtio_queue_notify(VirtIODevice *vdev, int n) { -if (n < VIRTIO_PCI_QUEUE_MAX) { -virtio_queue_notify_vq(&vdev->vq[n]); -} +virtio_queue_notify_vq(&vdev->vq[n]); } uint16_t virtio_queue_vector(VirtIODevice *vdev, int n) -- 1.6.0.2 Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at Fri Jul 1 16:49:50 CEST 2011. --- kvm/kvm.changes 2011-05-19 17:11:28.0 +0200 +++ /mounts/work_src_done/STABLE/kvm/kvm.changes2011-06-07 17:21:43.0 +0200 @@ -0,0 +1,6 @@ +--- +Tue Jun 7 15:19:50 UTC 2011 - brog...@novell.com + +- added creation of user/group qemu/qemu for use by libvirt (and + potentially others) to avoid running as root + calling whatdependson for head-i586 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.FqGtiV/_old 2011-07-01 16:44:58.0 +0200 +++ /var/tmp/diff_new_pack.FqGtiV/_new 2011-07-01 16:44:58.0 +0200 @@ -83,12 +83,13 @@ %if 0%{?suse_version} < 1110 Requires: kvm-kmp %endif +Requires(pre): pwdutils License:BSD3c ; GPLv2 ; GPLv2+ ; LGPLv2.1+ ; MIT Group: System/Kernel Summary:Kernel-based Virtual Machine Url:http://kvm.qumranet.com/ Version:%{package_base_version}%{package_extra_version} -Release:3 +Release:5 Source0:qemu-%{name}-%{package_base_version}.tar.bz2 Source1:60-kvm.rules Source2:qemu-ifup @@ -503,7 +504,11 @@ rm -rf $RPM_BUILD_ROOT %pre -/usr/sbin/groupadd -r kvm 2>/dev/null || : +%{_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 %files %defattr(-,root,root) Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at Mon May 23 15:10:37 CEST 2011. --- kvm/kvm.changes 2011-05-19 00:04:27.0 +0200 +++ /mounts/work_src_done/STABLE/kvm/kvm.changes2011-05-19 17:11:28.0 +0200 @@ -0,0 +1,4 @@ +Thu May 19 15:09:05 UTC 2011 - and...@opensuse.org + +- clean up buildrequires removing unsed vde libraries packages + calling whatdependson for head-i586 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.kgEHpG/_old 2011-05-23 15:04:28.0 +0200 +++ /var/tmp/diff_new_pack.kgEHpG/_new 2011-05-23 15:04:28.0 +0200 @@ -18,7 +18,6 @@ # norootforbuild # icecream 0 -%bcond_with vde %bcond_with spice %define package_base_version 0.14.1 @@ -48,7 +47,9 @@ %define using_buildservice 0%{?opensuse_bs} Name: kvm -BuildRequires: SDL-devel alsa alsa-devel gnutls-devel libaio-devel libcurl-devel libpulse-devel ncurses-devel pciutils-devel perl python texinfo +BuildRequires: SDL-devel alsa alsa-devel gnutls-devel libaio-devel +BuildRequires: libcurl-devel libpulse-devel ncurses-devel pciutils-devel perl +BuildRequires: python texinfo %if 0%{?suse_version} >= 1130 BuildRequires: brlapi-devel libattr-devel %endif @@ -67,10 +68,7 @@ BuildRequires: pmtools %endif %endif -BuildRequires: libvdehist0-devel -BuildRequires: libvdemgmt0-devel BuildRequires: libvdeplug3-devel -BuildRequires: libvdesnmp0-devel %if %{with spice} # Spice support requires pixman > 0.17, which does not included in older suse versions %if 0%{?suse_version} >= 1130 @@ -90,7 +88,7 @@ Summary:Kernel-based Virtual Machine Url:http://kvm.qumranet.com/ Version:%{package_base_version}%{package_extra_version} -Release:1 +Release:3 Source0:qemu-%{name}-%{package_base_version}.tar.bz2 Source1:60-kvm.rules Source2:qemu-ifup @@ -202,7 +200,6 @@ Patch801: 0002-qxl-implement-get_command-in-vga-mode-without-locks.patch Patch802: 0003-qxl-spice-remove-qemu_mutex_-un-lock_iothread-around.patch Patch803: 0004-hw-qxl-render-drop-cursor-locks-replace-with-pipe.patch - # For upstream patches: BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: /usr/sbin/groupadd Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at Thu May 19 09:47:14 CEST 2011. --- kvm/kvm.changes 2011-05-16 21:51:56.0 +0200 +++ /mounts/work_src_done/STABLE/kvm/kvm.changes2011-05-19 00:04:27.0 +0200 @@ -1,0 +2,22 @@ +Wed May 18 20:01:23 UTC 2011 - brog...@novell.com + +- update to version 0.14.1 + includes patches we already carry, also the following fixes: + qed consistency check + use after free issue with drive_del + device assignment issue + emulated scsi adapter ABORT message handling + applesmc REV key + handling of vhostforce parameter to -net + allow ISA IRQ sharing +--- +Tue May 17 10:41:58 UTC 2011 - mh...@novell.com + +- Add libattr-devel to BuildRequires for OS11.3 and up (required for -virtfs). + +--- +Sun May 15 12:44:31 UTC 2011 - and...@opensuse.org + +- enabled vde2 support + +--- calling whatdependson for head-i586 Old: kvm-qemu-preXX-Don-t-allow-multiwrites-against-a-block-de.patch kvm-qemu-preXX-exit-if-drive-specified-is-invalid-instead.patch kvm-qemu-preXX-hw-sd.c-Add-missing-state-change-for-SD_ST.patch kvm-qemu-preXX-vhost-fix-dirty-page-handling.patch kvm-qemu-preXX-virtio-blk-fail-unaligned-requests.patch kvm-qemu-preXX-virtio-pci-fix-bus-master-work-around-on-l.patch kvm-qemu-preXX-vnc-Fix-fatal-crash-with-vnc-reverse-mode.patch kvm-qemu-preXX-vnc-tight-Fix-crash-after-2GB-of-output.patch qemu-kvm-0.14.0.tar.bz2 New: kvm-qemu-no-hot-unplug-for-certain-devices.patch qemu-kvm-0.14.1.tar.bz2 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.IPzBmP/_old 2011-05-19 09:46:25.0 +0200 +++ /var/tmp/diff_new_pack.IPzBmP/_new 2011-05-19 09:46:25.0 +0200 @@ -21,7 +21,7 @@ %bcond_with vde %bcond_with spice -%define package_base_version 0.14.0 +%define package_base_version 0.14.1 %define package_extra_version .0 %define bios_id seabios-0.6.2 %define pxe_rom_id gpxe-1.0.1 @@ -50,7 +50,7 @@ Name: kvm BuildRequires: SDL-devel alsa alsa-devel gnutls-devel libaio-devel libcurl-devel libpulse-devel ncurses-devel pciutils-devel perl python texinfo %if 0%{?suse_version} >= 1130 -BuildRequires: brlapi-devel +BuildRequires: brlapi-devel libattr-devel %endif %ifarch %ix86 x86_64 ia64 %if %{build_fw_from_source} @@ -67,9 +67,10 @@ BuildRequires: pmtools %endif %endif -%if %{with vde} -BuildRequires: vde2-devel -%endif +BuildRequires: libvdehist0-devel +BuildRequires: libvdemgmt0-devel +BuildRequires: libvdeplug3-devel +BuildRequires: libvdesnmp0-devel %if %{with spice} # Spice support requires pixman > 0.17, which does not included in older suse versions %if 0%{?suse_version} >= 1130 @@ -89,7 +90,7 @@ Summary:Kernel-based Virtual Machine Url:http://kvm.qumranet.com/ Version:%{package_base_version}%{package_extra_version} -Release:3 +Release:1 Source0:qemu-%{name}-%{package_base_version}.tar.bz2 Source1:60-kvm.rules Source2:qemu-ifup @@ -148,45 +149,38 @@ Patch101: kvm-qemu-preXX-dictzip2.patch Patch102: kvm-qemu-preXX-report-default-mac-used.patch Patch103: kvm-qemu-preXX-eepro100-pad-to-ensure-minimum-packet-size.patch -Patch104: kvm-qemu-preXX-vnc-Fix-fatal-crash-with-vnc-reverse-mode.patch -Patch105: kvm-qemu-preXX-hw-sd.c-Add-missing-state-change-for-SD_ST.patch -Patch106: kvm-qemu-preXX-vnc-fix-a-memory-leak-in-threaded-vnc-serv.patch -Patch107: kvm-qemu-preXX-device-assignment-detect-pre-fectchable-me.patch -Patch108: kvm-qemu-preXX-qemu-kvm-Mark-VCPU-state-dirty-on-creation.patch -Patch109: kvm-qemu-preXX-net-fix-qemu_can_send_packet-logic.patch -Patch110: kvm-qemu-preXX-hw-pcnet.c-Fix-EPROM-contents-to-suit-AMD-.patch -Patch111: kvm-qemu-preXX-fix-linuxboot.bin-and-multiboot.bin-to-not.patch -Patch112: kvm-qemu-preXX-exit-if-drive-specified-is-invalid-instead.patch -Patch113: kvm-qemu-preXX-Fix-performance-regression-in-qemu_get_ram.patch -Patch114: kvm-qemu-preXX-kvm-Mark-VCPU-state-dirty-on-creation.patch -Patch115: kvm-qemu-preXX-Don-t-allow-multiwrites-against-a-block-de.patch -Patch116: kvm-qemu-preXX-virtio-pci-fix-bus-master-work-around-on-l.patch -Patch117: kvm-qemu-preXX-virtio-serial-don-t-crash-on-invalid-input.patch -Patch118: kvm-qemu-preXX-vhost-fix-dirty-page-handling.patch -Patch119: kvm-qemu-preXX-e1000-multi-buffer-packet-support.patch -Patch120: kvm-qemu-preXX-e1000-clear-EOP-for-multi-buffer-descripto.patch -Patch121: kvm-qemu-preXX-e1000-verify-we-have-buffers-upfront.patch -Patch
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at Sun Feb 27 14:09:43 CET 2011. --- kvm/kvm.changes 2011-02-22 20:11:03.0 +0100 +++ kvm/kvm.changes 2011-02-25 17:06:42.0 +0100 @@ -1,0 +2,10 @@ +Fri Feb 25 14:58:29 UTC 2011 - brog...@novell.com + +- disable vnc threading due to memory leak (bnc#671809) + +--- +Wed Feb 23 15:01:25 UTC 2011 - bwiedem...@novell.com + +- fix building with vde + +--- calling whatdependson for head-i586 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.6aACil/_old 2011-02-27 14:07:22.0 +0100 +++ /var/tmp/diff_new_pack.6aACil/_new 2011-02-27 14:07:22.0 +0100 @@ -66,10 +66,10 @@ BuildRequires: pmtools %endif %endif -Requires: virt-utils %if %{with vde} BuildRequires: vde2-devel %endif +Requires: virt-utils Requires: python-curses %if 0%{?suse_version} < 1110 Requires: kvm-kmp @@ -79,7 +79,7 @@ Summary:Kernel-based Virtual Machine Url:http://kvm.qumranet.com/ Version:%{package_base_version}%{package_extra_version} -Release:1 +Release:2 Source0:qemu-%{name}-%{package_base_version}.tar.bz2 Source1:60-kvm.rules Source2:qemu-ifup @@ -264,7 +264,7 @@ --disable-vnc-sasl \ --disable-vnc-jpeg \ --disable-vnc-png \ ---enable-vnc-thread \ +--disable-vnc-thread \ --enable-curses \ --enable-curl \ --disable-fdt \ @@ -273,7 +273,9 @@ --enable-kvm-pit \ --enable-kvm-device-assignment \ --disable-user \ +%if !%{with vde} --disable-vde \ +%endif %if %{build_fw_from_source} --disable-blobs \ %endif Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at Tue Feb 22 20:50:56 CET 2011. --- kvm/kvm.changes 2011-02-21 03:25:45.0 +0100 +++ kvm/kvm.changes 2011-02-22 20:11:03.0 +0100 @@ -1,0 +2,7 @@ +Tue Feb 22 18:51:42 UTC 2011 - brog...@novell.com + +- update to version 0.14.0 + See http://wiki.qemu.org/Changelog/0.14 for changes in 0.14 + upstream qemu. Also includes kvm-specific enhancements. + +--- calling whatdependson for head-i586 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.rJxVRk/_old 2011-02-22 20:50:36.0 +0100 +++ /var/tmp/diff_new_pack.rJxVRk/_new 2011-02-22 20:50:36.0 +0100 @@ -20,9 +20,8 @@ %bcond_with vde -# qemu-kvm git id 8eef0b %define package_base_version 0.14.0 -%define package_extra_version .rcX +%define package_extra_version .0 %define bios_id seabios-0.6.1.2 %define pxe_rom_id gpxe-1.0.1 %define vgabios_id vgabios-0.6c ++ kvm-qemu-user-space-tool-name.patch ++ --- /var/tmp/diff_new_pack.rJxVRk/_old 2011-02-22 20:50:37.0 +0100 +++ /var/tmp/diff_new_pack.rJxVRk/_new 2011-02-22 20:50:37.0 +0100 @@ -2,7 +2,7 @@ === --- qemu-kvm-0.14.0.orig/vl.c +++ qemu-kvm-0.14.0/vl.c -@@ -1519,7 +1519,7 @@ static void help(int exitcode) +@@ -1507,7 +1507,7 @@ static void help(int exitcode) "ctrl-alttoggle mouse and keyboard grab\n" "\n" "When using -nographic, press 'ctrl-a h' to get some help.\n", ++ kvm-studio-slirp-nooutgoing.patch ++ --- /var/tmp/diff_new_pack.rJxVRk/_old 2011-02-22 20:50:37.0 +0100 +++ /var/tmp/diff_new_pack.rJxVRk/_new 2011-02-22 20:50:37.0 +0100 @@ -10,7 +10,7 @@ int no_reboot = 0; int no_shutdown = 0; int cursor_hide = 1; -@@ -2351,6 +2352,14 @@ int main(int argc, char **argv, char **e +@@ -2339,6 +2340,14 @@ int main(int argc, char **argv, char **e case QEMU_OPTION_singlestep: singlestep = 1; break; ++ qemu-kvm-0.14.0.tar.bz2 ++ 6125 lines of diff (skipped) Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kvm for openSUSE:Factory
Hello community, here is the log from the commit of package kvm for openSUSE:Factory checked in at Mon Feb 21 12:09:26 CET 2011. --- kvm/kvm.changes 2011-02-05 22:43:00.0 +0100 +++ kvm/kvm.changes 2011-02-21 03:25:45.0 +0100 @@ -1,0 +2,16 @@ +Mon Feb 21 02:17:30 UTC 2011 - brog...@novell.com + +- update to latest pre 0.14.0 rc. (Includes the qemu 0.14.0 code as + a basis) +- more parallel makes + +--- +Thu Feb 10 05:59:21 UTC 2011 - brog...@novell.com + +- update to rc1 of qemu-kvm version 0.14.0 +- provide missing video bios files (bnc#669912) +- fix issues with using i82559er emulated nic +- be explicit about more configure options +- enable vnc threading + +--- calling whatdependson for head-i586 Old: kvm-qemu-preXX-slirp-fix-buffer-overrun.patch qemu-kvm-0.14.0.rc0.tar.bz2 New: kvm-qemu-preXX-eepro100-pad-to-ensure-minimum-packet-size.patch kvm-qemu-preXX-fix-rom-file-name-for-e100-nic.patch qemu-img-vmdk-scsi.patch qemu-kvm-0.14.0.tar.bz2 seabios-fix-parallel-make.patch vgabios-0.6c.tar.bz2 Other differences: -- ++ kvm.spec ++ --- /var/tmp/diff_new_pack.lYCswz/_old 2011-02-21 12:05:41.0 +0100 +++ /var/tmp/diff_new_pack.lYCswz/_new 2011-02-21 12:05:41.0 +0100 @@ -20,16 +20,18 @@ %bcond_with vde +# qemu-kvm git id 8eef0b +%define package_base_version 0.14.0 +%define package_extra_version .rcX %define bios_id seabios-0.6.1.2 %define pxe_rom_id gpxe-1.0.1 -#%define vgabios_id vgabios-0.6c +%define vgabios_id vgabios-0.6c # note that this list doesn't include the gpxe roms since they get handled # individually and not as a group -%define firmware_files {bios.bin vgabios.bin vgabios-cirrus.bin optionrom/extboot.bin optionrom/linuxboot.bin optionrom/multiboot.bin optionrom/vapic.bin} +%define firmware_files {bios.bin vgabios.bin vgabios-cirrus.bin vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin optionrom/extboot.bin optionrom/linuxboot.bin optionrom/multiboot.bin optionrom/vapic.bin} -#ExclusiveArch: %ix86 x86_64 ia64 s390x -ExclusiveArch: %ix86 x86_64 s390x +ExclusiveArch: %ix86 x86_64 ia64 s390x %ifarch %ix86 x86_64 # choice of building all from source or using provided binary x86 blobs @@ -59,7 +61,7 @@ BuildRequires: glibc-32bit %endif %endif -%if %suse_version > 1110 +%if 0%{?suse_version} > 1110 BuildRequires: acpica %else BuildRequires: pmtools @@ -70,19 +72,16 @@ BuildRequires: vde2-devel %endif Requires: python-curses -%if %suse_version < 1110 +%if 0%{?suse_version} < 1110 Requires: kvm-kmp %endif -%if 0%{?suse_version} >= 1130 -Requires: libbrlapi0_5 -%endif License:BSD3c ; GPLv2 ; GPLv2+ ; LGPLv2.1+ ; MIT Group: System/Kernel Summary:Kernel-based Virtual Machine Url:http://kvm.qumranet.com/ -Version:0.14.0.rc0 +Version:%{package_base_version}%{package_extra_version} Release:1 -Source0:qemu-%{name}-%{version}.tar.bz2 +Source0:qemu-%{name}-%{package_base_version}.tar.bz2 Source1:60-kvm.rules Source2:qemu-ifup Source4:win-virtio-drivers.iso @@ -90,16 +89,18 @@ Source6:%{bios_id}.tar.bz2 Source7:%{pxe_rom_id}.tar.bz2 Source8:bcc-0.16.17-2.i486.rpm -#Source9:%{vgabios_id}.tar.bz2 +Source9:%{vgabios_id}.tar.bz2 Source10: kvm-supported.txt Source11: s390-zipl.rom # common and X86 patches Patch01:gpxe-rom-settings.patch Patch02:seabios-sanitize-version.patch -Patch03:vgabios-bcc-paths.patch -Patch04:qemu-datadir.diff -Patch05:kvm-qemu-default-memsize.patch -Patch06:kvm-qemu-user-space-tool-name.patch +Patch03:seabios-fix-parallel-make.patch +Patch04:vgabios-bcc-paths.patch +Patch05:qemu-datadir.diff +Patch06:kvm-qemu-default-memsize.patch +Patch07:kvm-qemu-user-space-tool-name.patch +Patch08:kvm-qemu-preXX-fix-rom-file-name-for-e100-nic.patch # Mac OS X patches Patch20:kvm-qemu-lpc.patch @@ -111,7 +112,8 @@ Patch100: kvm-qemu-preXX-dictzip1.patch Patch101: kvm-qemu-preXX-dictzip2.patch Patch102: kvm-qemu-preXX-report-default-mac-used.patch -Patch103: kvm-qemu-preXX-slirp-fix-buffer-overrun.patch +Patch103: kvm-qemu-preXX-eepro100-pad-to-ensure-minimum-packet-size.patch +Patch104: qemu-img-vmdk-scsi.patch Patch200: kvm-studio-slirp-nooutgoing.patch Patch201: kvm-studio-vnc.patch @@ -171,8 +173,7 @@ %setup -q -T -D -n %{pxe_rom_id} -b 7 %patch01 -p1 %endif -%setup -q -n qemu-%{name}-%{version} -a 6 -#%setup -q -n qemu-%{name}-%{version} -a 6 -a 9 +%setup -q -n qemu-%{name}-%{package_base_version} -a 6 -a 9