5c37348
Summary: QEMU is a FAST! processor emulator
5c37348
Name: qemu
2a5d721
Version: 0.15.1
259bd79
Release: 9%{?dist}
cd9d161
# Epoch because we pushed a qemu-1.0 package. AIUI this can't ever be dropped
Glauber Costa 9235f99
Epoch: 2
913ab98
License: GPLv2+ and LGPLv2+ and BSD
5c37348
Group: Development/Tools
67348d7
URL: http://www.qemu.org/
Glauber Costa 9e9690b
3a55055
# Allow one off builds to be minimalized without foreign
3a55055
# architecture support (--with x86only):
3a55055
%define with_x86only  %{?_with_x86only:     1} %{?!_with_x86only:     0}
3a55055
3304918
# OOM killer breaks builds with parallel make on s390(x)
3304918
%ifarch s390 s390x
3304918
%define _smp_mflags %{nil}
3304918
%endif
3304918
fc5c27b
Source0: http://downloads.sourceforge.net/sourceforge/kvm/qemu-kvm-%{version}.tar.gz
0c846be
2a5d721
Source1: qemu.binfmt
b112209
b112209
# Loads kvm kernel modules at boot
92dcc13
Source2: kvm.modules
b112209
b112209
# Creates /dev/kvm
fc8b74d
Source3: 80-kvm.rules
92dcc13
cd8d5cb
# KSM control scripts
2a5d721
Source4: ksm.service
b112209
Source5: ksm.sysconfig
2a5d721
Source6: ksmctl.c
2a5d721
Source7: ksmtuned.service
2a5d721
Source8: ksmtuned
2a5d721
Source9: ksmtuned.conf
b112209
f057293
Source10: qemu-guest-agent.service
f057293
Source11: 99-qemu-guest-agent.rules
f057293
45e28a1
# Add compatibility to fedora-13 machine type, to be removed fir F17
45e28a1
Patch00: pc-add-a-Fedora-13-machine-type-for-backward-compat.patch
45e28a1
3f1f296
# Amit's flow control patches, waiting to glib conversion before going upstream
5e10b14
Patch01: 0001-char-Split-out-tcp-socket-close-code-in-a-separate-f.patch
5e10b14
Patch02: 0002-char-Add-a-QemuChrHandlers-struct-to-initialise-char.patch
5e10b14
Patch03: 0003-iohandlers-Add-enable-disable_write_fd_handler-funct.patch
5e10b14
Patch04: 0004-char-Add-framework-for-a-write-unblocked-callback.patch
5e10b14
Patch05: 0005-char-Update-send_all-to-handle-nonblocking-chardev-w.patch
5e10b14
Patch06: 0006-char-Equip-the-unix-tcp-backend-to-handle-nonblockin.patch
5e10b14
Patch07: 0007-char-Throttle-when-host-connection-is-down.patch
5e10b14
Patch08: 0008-virtio-console-Enable-port-throttling-when-chardev-i.patch
5e10b14
Patch09: 0009-spice-qemu-char.c-add-throttling.patch
5e10b14
Patch10: 0010-spice-qemu-char.c-remove-intermediate-buffer.patch
5e10b14
Patch11: 0011-usb-redir-Add-flow-control-support.patch
fc5c27b
Patch12: 0012-spice-add-worker-wrapper-functions.patch
fc5c27b
Patch13: 0013-spice-add-qemu_spice_display_init_common.patch
fc5c27b
Patch14: 0014-spice-qxl-move-worker-wrappers.patch
fc5c27b
Patch15: 0015-qxl-fix-surface-tracking-locking.patch
fc5c27b
Patch16: 0016-qxl-add-io_port_to_string.patch
fc5c27b
Patch17: 0017-qxl-error-handling-fixes-and-cleanups.patch
fc5c27b
Patch18: 0018-qxl-make-qxl_guest_bug-take-variable-arguments.patch
fc5c27b
Patch19: 0019-qxl-only-disallow-specific-io-s-in-vga-mode.patch
fc5c27b
Patch20: 0020-qxl-async-io-support-using-new-spice-api.patch
fc5c27b
Patch21: 0021-qxl-add-QXL_IO_FLUSH_-SURFACES-RELEASE-for-guest-S3-.patch
fc5c27b
Patch22: 0022-qxl-bump-pci-rev.patch
fc5c27b
Patch23: 0023-virtio-serial-bus-replay-guest_open-on-migration.patch
fc5c27b
Patch24: 0024-qemu-char-make-qemu_chr_event-public.patch
fc5c27b
Patch25: 0025-spice-qemu-char-Generate-chardev-open-close-events.patch
fc5c27b
Patch26: 0026-usb-redir-Call-qemu_chr_guest_open-close.patch
fc5c27b
Patch27: 0027-usb-redir-Device-disconnect-re-connect-robustness-fi.patch
fc5c27b
Patch28: 0028-usb-redir-Don-t-try-to-write-to-the-chardev-after-a-.patch
6f9d9cf
Patch29: 0029-fdc-Fix-floppy-port-I-O.patch
6f9d9cf
Patch30: 0030-dma-Avoid-reentrancy-in-DMA-transfer-handlers.patch
6f9d9cf
Patch31: 0031-pc-Fix-floppy-drives-with-if-none.patch
6f9d9cf
db8fd94
6ba4785
# Allow -machine parameter to be used without specifying a machine type.
6ba4785
# Upstream in qemu but apparently not in qemu-kvm yet.
6ba4785
# qemu commit 2645c6dcaf6ea2a51a3b6dfa407dd203004e4d11
6ba4785
Patch100: qemu-Allow-to-leave-type-on-default-in-machine.patch
6ba4785
6f9d9cf
# Upstream patches from 1.0
6f9d9cf
Patch101: 0101-usb-hub-dont_trigger_assert_on_packet_completion.patch
20c0da0
# CVE-2012-0029 e1000 buffer overflow (bz 783984, bz 772075)
20c0da0
Patch102: %{name}-CVE-2012-0029.patch
20c0da0
# virtio-blk: refuse SG_IO requests with scsi=off (bz 826042)
20c0da0
Patch103: %{name}-virtio-blk_refuse_SG_IO_requests_with_scsi_off.patch
d2798f5
# Fix fedora guest hang with virtio console (bz 837925)
d2798f5
Patch104: %{name}-virtio-console-unconnected-pty.patch
6f9d9cf
cd9d161
# Patches from 0.15 stable
cd9d161
Patch200: 0200-ccid-Fix-buffer-overrun-in-handling-of-VSC_ATR-messa.patch
cd9d161
Patch201: 0201-qdev-Reset-hot-plugged-devices.patch
cd9d161
Patch202: 0202-e1000-use-MII-status-register-for-link-up-down.patch
cd9d161
Patch203: 0203-e1000-Don-t-set-the-Capabilities-List-bit.patch
cd9d161
Patch205: 0205-compatfd.c-Don-t-pass-NULL-pointer-to-SYS_signalfd.patch
cd9d161
Patch206: 0206-kvm-avoid-reentring-kvm_flush_coalesced_mmio_buffer.patch
cd9d161
Patch207: 0207-vmdk-vmdk_read_cid-returns-garbage-if-p_name-is-NULL.patch
cd9d161
Patch208: 0208-block-Fix-bdrv_open-use-after-free.patch
cd9d161
Patch209: 0209-ide-Fix-off-by-one-error-in-array-index-check.patch
cd9d161
Patch210: 0210-acl-Fix-use-after-free-in-qemu_acl_reset.patch
cd9d161
Patch211: 0211-migration-flush-migration-data-to-disk.patch
cd9d161
Patch212: 0212-Fix-X86-CPU-topology-in-KVM-mode.patch
cd9d161
Patch213: 0213-hw-lan9118.c-Add-missing-break-to-fix-buffer-overrun.patch
cd9d161
Patch214: 0214-ac97-don-t-override-the-pci-subsystem-id.patch
cd9d161
Patch215: 0215-vvfat-Fix-potential-buffer-overflow.patch
cd9d161
Patch216: 0216-vns-tls-don-t-use-depricated-gnutls-functions.patch
cd9d161
Patch217: 0217-block-curl-Implement-a-flush-function-on-the-fd-hand.patch
cd9d161
Patch218: 0218-hda-do-not-mix-output-and-input-streams-RHBZ-740493.patch
cd9d161
Patch219: 0219-hda-do-not-mix-output-and-input-stream-states-RHBZ-7.patch
cd9d161
Patch220: 0220-Teach-block-vdi-about-discarded-no-longer-allocated-.patch
cd9d161
Patch221: 0221-vmdk-Improve-error-handling.patch
cd9d161
Patch222: 0222-block-set-bs-read_only-before-.bdrv_open.patch
cd9d161
Patch223: 0223-console-Fix-rendering-of-VGA-underline.patch
cd9d161
Patch224: 0224-block-Fix-vpc-initialization-of-the-Dynamic-Disk-Hea.patch
cd9d161
Patch225: 0225-qcow-Fix-bdrv_write_compressed-error-handling.patch
cd9d161
Patch226: 0226-block-reinitialize-across-bdrv_close-bdrv_open.patch
cd9d161
Patch227: 0227-qxl-stride-fixup.patch
cd9d161
Patch228: 0228-vmdk-Fix-possible-segfaults.patch
cd9d161
Patch230: 0230-cpu-common-Have-a-ram_addr_t-of-uint64-with-Xen.patch
cd9d161
Patch231: 0231-Error-check-find_ram_offset.patch
cd9d161
Patch236: 0236-block-vpc-write-checksum-back-to-footer-after-check.patch
cd9d161
Patch237: 0237-bt-host-add-missing-break-statement.patch
cd9d161
Patch238: 0238-ds1338-Add-missing-break-statement.patch
cd9d161
Patch239: 0239-block-vdi-Zero-unused-parts-when-allocating-a-new-bl.patch
cd9d161
# CVE-2012-2652: Possible symlink attacks with -snapshot (bz 825697, bz
cd9d161
# 824919)
cd9d161
Patch240: %{name}-snapshot-symlink-attack.patch
cd9d161
# Fix systemtap tapsets (bz 831763)
cd9d161
Patch241: %{name}-fix-systemtap.patch
cd9d161
# Fix qmp response race caused by spice server bug (bz 744015)
cd9d161
Patch242: %{name}-spice-server-threading.patch
cd9d161
# Fix text mode screendumps (bz 819155)
cd9d161
Patch243: %{name}-fix-text-mode-screendumps.patch
495677c
# CVE-2012-3515 VT100 emulation vulnerability (bz 854600, bz 851252)
495677c
Patch244: 0244-console-bounds-check-whenever-changing-the-cursor-du.patch
259bd79
# CVE-2012-6075: Buffer overflow in e1000 nic (bz 889301, bz 889304)
259bd79
Patch245: 0001-e1000-Discard-oversized-packets-based-on-SBP-LPE.patch
cd9d161
f8cb040
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
31a0831
BuildRequires: SDL-devel zlib-devel which texi2html gnutls-devel cyrus-sasl-devel
3a55055
BuildRequires: libaio-devel
fcb1a47
BuildRequires: rsync
9a6ed39
BuildRequires: pciutils-devel
6d887bd
BuildRequires: pulseaudio-libs-devel
62fb375
BuildRequires: ncurses-devel
2af28c1
BuildRequires: libattr-devel
eb1968b
BuildRequires: usbredir-devel
14af2bd
BuildRequires: texinfo
0516054
%ifarch x86_64
4111552
BuildRequires: spice-protocol >= 0.8.1
4111552
BuildRequires: spice-server-devel >= 0.9.0
0516054
%endif
7d651b6
# For network block driver
cb9bff3
BuildRequires: libcurl-devel
307d808
# For rbd block driver
307d808
BuildRequires: ceph-devel
292d6df
# We need both because the 'stap' binary is probed for by configure
292d6df
BuildRequires: systemtap
292d6df
BuildRequires: systemtap-sdt-devel
Glauber Costa 9235f99
Requires: %{name}-user = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
Requires: %{name}-system-x86 = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
Requires: %{name}-system-arm = %{epoch}:%{version}-%{release}
bc9e714
Requires: %{name}-system-cris = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
Requires: %{name}-system-sh4 = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
Requires: %{name}-system-m68k = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
Requires: %{name}-system-mips = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
Requires: %{name}-img = %{epoch}:%{version}-%{release}
Glauber Costa 8571d06
6c5f3fb
Obsoletes: %{name}-system-ppc
6c5f3fb
Obsoletes: %{name}-system-sparc
6c5f3fb
cd9d161
# Needed for F14->F16+ upgrade
cd9d161
# https://bugzilla.redhat.com/show_bug.cgi?id=694802
cd9d161
Obsoletes: openbios-common
cd9d161
Obsoletes: openbios-ppc
cd9d161
Obsoletes: openbios-sparc32
cd9d161
Obsoletes: openbios-sparc64
cd9d161
Glauber Costa 485711f
%define qemudocdir %{_docdir}/%{name}-%{version}
Glauber Costa 485711f
5c37348
%description
67348d7
QEMU is a generic and open source processor emulator which achieves a good
67348d7
emulation speed by using dynamic translation. QEMU has two operating modes:
5c37348
67348d7
 * Full system emulation. In this mode, QEMU emulates a full system (for
67348d7
   example a PC), including a processor and various peripherials. It can be
67348d7
   used to launch different Operating Systems without rebooting the PC or
67348d7
   to debug system code.
5c37348
 * User mode emulation. In this mode, QEMU can launch Linux processes compiled
67348d7
   for one CPU on another CPU.
5c37348
67348d7
As QEMU requires no host kernel patches to run, it is safe and easy to use.
5c37348
d7d988b
%package kvm
d7d988b
Summary: QEMU metapackage for KVM support
d7d988b
Group: Development/Tools
d7d988b
%ifarch %{ix86} x86_64
d7d988b
Requires: qemu-system-x86 = %{epoch}:%{version}-%{release}
d7d988b
%endif
d7d988b
d7d988b
%description kvm
d7d988b
This is a meta-package that provides a qemu-system-<arch> package for native
d7d988b
architectures where kvm can be enabled. For example, in an x86 system, this
d7d988b
will install qemu-system-x86
d7d988b
Glauber Costa 9235f99
%package  img
Glauber Costa 9235f99
Summary: QEMU command line tool for manipulating disk images
Glauber Costa 9235f99
Group: Development/Tools
Glauber Costa 9235f99
%description img
308e9c7
This package provides a command line tool for manipulating disk images
36ffedc
Glauber Costa 9235f99
%package  common
Glauber Costa 9235f99
Summary: QEMU common files needed by all QEMU targets
Glauber Costa 9235f99
Group: Development/Tools
6d739f7
Requires(post): /usr/bin/getent
6d739f7
Requires(post): /usr/sbin/groupadd
6d739f7
Requires(post): /usr/sbin/useradd
cd9d161
Requires(post): systemd-units
cd9d161
Requires(preun): systemd-units
cd9d161
Requires(postun): systemd-units
Glauber Costa 9235f99
%description common
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
Glauber Costa 9235f99
This package provides the common files needed by all QEMU targets
Glauber Costa 485711f
f057293
%package guest-agent
f057293
Summary: QEMU guest agent
f057293
Group: System Environment/Daemons
f057293
Requires(post): systemd-units
f057293
Requires(preun): systemd-units
f057293
Requires(postun): systemd-units
f057293
f057293
%description guest-agent
f057293
QEMU is a generic and open source processor emulator which achieves a good
f057293
emulation speed by using dynamic translation.
f057293
f057293
This package provides an agent to run inside guests, which communicates
f057293
with the host over a virtio-serial channel named "org.qemu.guest_agent.0"
f057293
f057293
This package does not need to be installed on the host OS.
f057293
f057293
%post guest-agent
f057293
if [ $1 -eq 1 ] ; then
f057293
    # Initial installation.
f057293
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
f057293
fi
f057293
f057293
%preun guest-agent
f057293
if [ $1 -eq 0 ] ; then
f057293
    # Package removal, not upgrade.
f057293
    /bin/systemctl stop qemu-guest-agent.service > /dev/null 2>&1 || :
f057293
fi
f057293
f057293
%postun guest-agent
f057293
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
f057293
if [ $1 -ge 1 ] ; then
f057293
    # Package upgrade, not uninstall.
f057293
    /bin/systemctl try-restart qemu-guest-agent.service >/dev/null 2>&1 || :
f057293
fi
f057293
f057293
f057293
Glauber Costa 9235f99
%package user
Glauber Costa 9235f99
Summary: QEMU user mode emulation of qemu targets
Glauber Costa 9235f99
Group: Development/Tools
Glauber Costa 9235f99
Requires: %{name}-common = %{epoch}:%{version}-%{release}
cd9d161
Requires(post): systemd-units
cd9d161
Requires(postun): systemd-units
Glauber Costa 9235f99
%description user
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 485711f
Glauber Costa 9235f99
This package provides the user mode emulation of qemu targets
Glauber Costa 9235f99
Glauber Costa 9235f99
%package system-x86
Glauber Costa 9235f99
Summary: QEMU system emulator for x86
Glauber Costa 9235f99
Group: Development/Tools
Glauber Costa 9235f99
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 0c2ec92
Provides: kvm = 85
Glauber Costa 9235f99
Obsoletes: kvm < 85
dbbd2b2
Requires: vgabios >= 0.6c-2
2a5d721
Requires: seabios-bin >= 0.6.0-2
cd9d161
Requires: sgabios-bin
dbbd2b2
Requires: /usr/share/gpxe/8086100e.rom
51f16eb
Requires: /usr/share/gpxe/rtl8029.rom
51f16eb
Requires: /usr/share/gpxe/pcnet32.rom
51f16eb
Requires: /usr/share/gpxe/rtl8139.rom
51f16eb
Requires: /usr/share/gpxe/virtio-net.rom
Glauber Costa 9235f99
Glauber Costa 9235f99
%description system-x86
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
Glauber Costa 4da298f
This package provides the system emulator for x86. When being run in a x86
Glauber Costa 4da298f
machine that supports it, this package also provides the KVM virtualization
Glauber Costa 4da298f
platform.
Glauber Costa 9235f99
3a55055
%if !%{with_x86only}
Glauber Costa 9235f99
%package system-arm
Glauber Costa 9235f99
Summary: QEMU system emulator for arm
Glauber Costa 9235f99
Group: Development/Tools
Glauber Costa 9235f99
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
%description system-arm
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
Glauber Costa 9235f99
This package provides the system emulator for arm
Glauber Costa 9235f99
Glauber Costa 9235f99
%package system-mips
Glauber Costa 9235f99
Summary: QEMU system emulator for mips
Glauber Costa 9235f99
Group: Development/Tools
Glauber Costa 9235f99
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
%description system-mips
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
Glauber Costa 9235f99
This package provides the system emulator for mips
Glauber Costa 485711f
bc9e714
%package system-cris
bc9e714
Summary: QEMU system emulator for cris
bc9e714
Group: Development/Tools
bc9e714
Requires: %{name}-common = %{epoch}:%{version}-%{release}
bc9e714
%description system-cris
bc9e714
QEMU is a generic and open source processor emulator which achieves a good
bc9e714
emulation speed by using dynamic translation.
Glauber Costa 9235f99
bc9e714
This package provides the system emulator for cris
Glauber Costa 9235f99
Glauber Costa 9235f99
%package system-m68k
Glauber Costa 9235f99
Summary: QEMU system emulator for m68k
Glauber Costa 9235f99
Group: Development/Tools
Glauber Costa 9235f99
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
%description system-m68k
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
Glauber Costa 9235f99
This package provides the system emulator for m68k
36ffedc
Glauber Costa 9235f99
%package system-sh4
Glauber Costa 9235f99
Summary: QEMU system emulator for sh4
Glauber Costa 9235f99
Group: Development/Tools
Glauber Costa 9235f99
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
%description system-sh4
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
Glauber Costa 9235f99
This package provides the system emulator for sh4
3a55055
%endif
36ffedc
Glauber Costa 0f3f164
%ifarch %{ix86} x86_64
Glauber Costa 0f3f164
%package kvm-tools
Glauber Costa 0f3f164
Summary: KVM debugging and diagnostics tools
Glauber Costa 0f3f164
Group: Development/Tools
Glauber Costa 0f3f164
Glauber Costa 0f3f164
%description kvm-tools
Glauber Costa 0f3f164
This package contains some diagnostics and debugging tools for KVM,
990c3a7
such as kvm_stat.
Glauber Costa 0f3f164
%endif
Glauber Costa 0f3f164
5c37348
%prep
502ffee
%setup -q -n qemu-kvm-%{version}
45e28a1
%patch00 -p1
5e10b14
%patch01 -p1
5e10b14
%patch02 -p1
5e10b14
%patch03 -p1
5e10b14
%patch04 -p1
5e10b14
%patch05 -p1
5e10b14
%patch06 -p1
5e10b14
%patch07 -p1
5e10b14
%patch08 -p1
5e10b14
%patch09 -p1
3f1f296
%patch10 -p1
3f1f296
%patch11 -p1
3f1f296
%patch12 -p1
3f1f296
%patch13 -p1
13f703f
%patch14 -p1
13f703f
%patch15 -p1
13f703f
%patch16 -p1
13f703f
%patch17 -p1
13f703f
%patch18 -p1
13f703f
%patch19 -p1
13f703f
%patch20 -p1
13f703f
%patch21 -p1
13f703f
%patch22 -p1
13f703f
%patch23 -p1
13f703f
%patch24 -p1
13f703f
%patch25 -p1
fc5c27b
%patch26 -p1
fc5c27b
%patch27 -p1
fc5c27b
%patch28 -p1
6f9d9cf
%patch29 -p1
6f9d9cf
%patch30 -p1
6f9d9cf
%patch31 -p1
db8fd94
6ba4785
%patch100 -p1
6f9d9cf
%patch101 -p1
20c0da0
%patch102 -p1
20c0da0
%patch103 -p1
d2798f5
%patch104 -p1
6ba4785
cd9d161
%patch200 -p1
cd9d161
%patch201 -p1
cd9d161
%patch202 -p1
cd9d161
%patch203 -p1
cd9d161
%patch205 -p1
cd9d161
%patch206 -p1
cd9d161
%patch207 -p1
cd9d161
%patch208 -p1
cd9d161
%patch209 -p1
cd9d161
%patch210 -p1
cd9d161
%patch211 -p1
cd9d161
%patch212 -p1
cd9d161
%patch213 -p1
cd9d161
%patch214 -p1
cd9d161
%patch215 -p1
cd9d161
%patch216 -p1
cd9d161
%patch217 -p1
cd9d161
%patch218 -p1
cd9d161
%patch219 -p1
cd9d161
%patch220 -p1
cd9d161
%patch221 -p1
cd9d161
%patch222 -p1
cd9d161
%patch223 -p1
cd9d161
%patch224 -p1
cd9d161
%patch225 -p1
cd9d161
%patch226 -p1
cd9d161
%patch227 -p1
cd9d161
%patch228 -p1
cd9d161
%patch230 -p1
cd9d161
%patch231 -p1
cd9d161
%patch236 -p1
cd9d161
%patch237 -p1
cd9d161
%patch238 -p1
cd9d161
%patch239 -p1
cd9d161
%patch240 -p1
cd9d161
%patch241 -p1
cd9d161
%patch242 -p1
cd9d161
%patch243 -p1
495677c
%patch244 -p1
259bd79
%patch245 -p1
cd9d161
5c37348
%build
3a55055
# By default we build everything, but allow x86 to build a minimal version
3a55055
# with only similar arch target support
3a55055
%if %{with_x86only}
3a55055
    buildarch="i386-softmmu x86_64-softmmu i386-linux-user x86_64-linux-user"
3a55055
%else
bc9e714
    buildarch="i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu \
6c5f3fb
           mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu \
6c5f3fb
           sh4-softmmu sh4eb-softmmu \
3a55055
           i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user \
3a55055
           armeb-linux-user cris-linux-user m68k-linux-user mips-linux-user \
6c5f3fb
           mipsel-linux-user sh4-linux-user sh4eb-linux-user" \
3a55055
%endif
3a55055
3a55055
bfc5c6d
# --build-id option is used fedora 8 onwards for giving info to the debug packages.
bfc5c6d
extraldflags="-Wl,--build-id";
bfc5c6d
buildldflags="VL_LDFLAGS=-Wl,--build-id"
Glauber Costa 485711f
35db8c0
%ifarch s390
502ffee
# drop -g flag to prevent memory exhaustion by linker
502ffee
%global optflags %(echo %{optflags} | sed 's/-g//')
c65e6f2
sed -i.debug 's/"-g $CFLAGS"/"$CFLAGS"/g' configure
502ffee
%endif
502ffee
Glauber Costa 8571d06
%ifarch %{ix86} x86_64
6d887bd
# sdl outputs to alsa or pulseaudio depending on system config, but it's broken (#495964)
Glauber Costa 0c2ec92
# alsa works, but causes huge CPU load due to bugs
Glauber Costa 0c2ec92
# oss works, but is very problematic because it grabs exclusive control of the device causing other apps to go haywire
Glauber Costa 9e9690b
./configure --target-list=x86_64-softmmu \
ccf76b7
            --prefix=%{_prefix} \
afaf04c
            --sysconfdir=%{_sysconfdir} \
6d887bd
            --audio-drv-list=pa,sdl,alsa,oss \
Glauber Costa 47b0758
            --disable-strip \
2a5d721
            --extra-ldflags="$extraldflags -pie -Wl,-z,relro -Wl,-z,now" \
2a5d721
            --extra-cflags="%{optflags} -fPIE -DPIE" \
0516054
%ifarch x86_64
990c3a7
            --enable-spice \
0516054
%endif
292d6df
            --enable-trace-backend=dtrace \
0c846be
            --disable-werror \
308a9a0
            --disable-xen
Glauber Costa 8571d06
f2bd6c6
echo "config-host.mak contents:"
f2bd6c6
echo "==="
f2bd6c6
cat config-host.mak
f2bd6c6
echo "==="
f2bd6c6
910c5e3
make V=1 %{?_smp_mflags} $buildldflags
292d6df
./scripts/tracetool --dtrace --binary %{_bindir}/qemu-kvm \
292d6df
  --target-arch x86_64 --target-type system --stap \
292d6df
  --probe-prefix qemu.kvm < ./trace-events > qemu-kvm.stp
ccf76b7
cp -a x86_64-softmmu/qemu-system-x86_64 qemu-kvm
Glauber Costa 8571d06
make clean
ccf76b7
Glauber Costa 8571d06
%endif
Glauber Costa 8571d06
e6d232d
./configure \
3a55055
    --target-list="$buildarch" \
e6d232d
    --prefix=%{_prefix} \
afaf04c
    --sysconfdir=%{_sysconfdir} \
e6d232d
    --interp-prefix=%{_prefix}/qemu-%%M \
ccf76b7
    --audio-drv-list=pa,sdl,alsa,oss \
Glauber Costa 8571d06
    --disable-kvm \
ccf76b7
    --disable-strip \
2a5d721
    --extra-ldflags="$extraldflags -pie -Wl,-z,relro -Wl,-z,now" \
2a5d721
    --extra-cflags="%{optflags} -fPIE -DPIE" \
afaf04c
    --disable-xen \
0516054
%ifarch x86_64
990c3a7
    --enable-spice \
0516054
%endif
292d6df
    --enable-trace-backend=dtrace \
afaf04c
    --disable-werror
Glauber Costa 0c2ec92
f2bd6c6
echo "config-host.mak contents:"
f2bd6c6
echo "==="
f2bd6c6
cat config-host.mak
f2bd6c6
echo "==="
f2bd6c6
92dcc13
make V=1 %{?_smp_mflags} $buildldflags
5c37348
2a5d721
gcc %{SOURCE6} -O2 -g -o ksmctl
2a5d721
2a5d721
5c37348
%install
5c37348
rm -rf $RPM_BUILD_ROOT
5c37348
2a5d721
install -D -p -m 0755 %{SOURCE4} $RPM_BUILD_ROOT/lib/systemd/system/ksm.service
b112209
install -D -p -m 0644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ksm
2a5d721
install -D -p -m 0755 ksmctl $RPM_BUILD_ROOT/lib/systemd/ksmctl
b112209
2a5d721
install -D -p -m 0755 %{SOURCE7} $RPM_BUILD_ROOT/lib/systemd/system/ksmtuned.service
2a5d721
install -D -p -m 0755 %{SOURCE8} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
2a5d721
install -D -p -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
cd8d5cb
Glauber Costa 9235f99
%ifarch %{ix86} x86_64
fc8b74d
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules
Glauber Costa 9235f99
mkdir -p $RPM_BUILD_ROOT%{_bindir}/
ccf76b7
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
fc8b74d
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
292d6df
mkdir -p $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset
Glauber Costa 9235f99
fc8b74d
install -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules/kvm.modules
ccf76b7
install -m 0755 kvm/kvm_stat $RPM_BUILD_ROOT%{_bindir}/
Glauber Costa 4da298f
install -m 0755 qemu-kvm $RPM_BUILD_ROOT%{_bindir}/
292d6df
install -m 0644 qemu-kvm.stp $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/
6db7331
install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
Glauber Costa 9235f99
%endif
Glauber Costa 9235f99
5c37348
make prefix="${RPM_BUILD_ROOT}%{_prefix}" \
67348d7
     bindir="${RPM_BUILD_ROOT}%{_bindir}" \
ccf76b7
     sharedir="${RPM_BUILD_ROOT}%{_datadir}/%{name}" \
67348d7
     mandir="${RPM_BUILD_ROOT}%{_mandir}" \
67348d7
     docdir="${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}" \
afaf04c
     datadir="${RPM_BUILD_ROOT}%{_datadir}/%{name}" \
afaf04c
     sysconfdir="${RPM_BUILD_ROOT}%{_sysconfdir}" install
666df9e
chmod -x ${RPM_BUILD_ROOT}%{_mandir}/man1/*
fc8b74d
install -D -p -m 0644 -t ${RPM_BUILD_ROOT}%{qemudocdir} Changelog README TODO COPYING COPYING.LIB LICENSE
5c37348
42af212
install -D -p -m 0644 qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl2/qemu.conf
42af212
ccf76b7
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pxe*bin
0c846be
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pxe*rom
afaf04c
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/gpxe*rom
ccf76b7
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/vgabios*bin
ccf76b7
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/bios.bin
ccf76b7
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-ppc
ccf76b7
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc32
ccf76b7
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc64
0c846be
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/petalogix*.dtb
afaf04c
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/s390-zipl.rom
3a55055
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/bamboo.dtb
0c846be
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/slof.bin
0c846be
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/spapr-rtas.bin
3a55055
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/ppc_rom.bin
Glauber Costa f0365cc
Glauber Costa 247782d
# the pxe gpxe images will be symlinks to the images on
Glauber Costa 247782d
# /usr/share/gpxe, as QEMU doesn't know how to look
Glauber Costa f0365cc
# for other paths, yet.
Glauber Costa f0365cc
pxe_link() {
0c846be
  ln -s ../gpxe/$2.rom %{buildroot}%{_datadir}/%{name}/pxe-$1.rom
Glauber Costa f0365cc
}
Glauber Costa f0365cc
990c3a7
pxe_link e1000 8086100e
51f16eb
pxe_link ne2k_pci rtl8029
Glauber Costa f0365cc
pxe_link pcnet pcnet32
Glauber Costa f0365cc
pxe_link rtl8139 rtl8139
Glauber Costa f0365cc
pxe_link virtio virtio-net
ccf76b7
ln -s ../vgabios/VGABIOS-lgpl-latest.bin  %{buildroot}/%{_datadir}/%{name}/vgabios.bin
ccf76b7
ln -s ../vgabios/VGABIOS-lgpl-latest.cirrus.bin %{buildroot}/%{_datadir}/%{name}/vgabios-cirrus.bin
dbbd2b2
ln -s ../vgabios/VGABIOS-lgpl-latest.qxl.bin %{buildroot}/%{_datadir}/%{name}/vgabios-qxl.bin
dbbd2b2
ln -s ../vgabios/VGABIOS-lgpl-latest.stdvga.bin %{buildroot}/%{_datadir}/%{name}/vgabios-stdvga.bin
dbbd2b2
ln -s ../vgabios/VGABIOS-lgpl-latest.vmware.bin %{buildroot}/%{_datadir}/%{name}/vgabios-vmware.bin
cd9d161
ln -s ../sgabios/sgabios.bin %{buildroot}/%{_datadir}/%{name}/sgabios.bin
31d8927
ln -s ../seabios/bios.bin %{buildroot}/%{_datadir}/%{name}/bios.bin
f057293
2a5d721
mkdir -p $RPM_BUILD_ROOT%{_exec_prefix}/lib/binfmt.d
2a5d721
for i in dummy \
2a5d721
%ifnarch %{ix86} x86_64
2a5d721
    qemu-i386 \
2a5d721
%endif
2a5d721
%if !%{with_x86only}
2a5d721
%ifnarch arm
2a5d721
    qemu-arm \
2a5d721
%endif
2a5d721
%ifnarch ppc ppc64
2a5d721
    qemu-ppc \
2a5d721
%endif
2a5d721
%ifnarch sparc sparc64
2a5d721
    qemu-sparc \
2a5d721
%endif
2a5d721
%ifnarch sh4
2a5d721
    qemu-sh4 \
2a5d721
%endif
2a5d721
%endif
2a5d721
; do
2a5d721
  test $i = dummy && continue
2a5d721
  grep /$i:\$ %{SOURCE1} > $RPM_BUILD_ROOT%{_exec_prefix}/lib/binfmt.d/$i.conf
2a5d721
  chmod 644 $RPM_BUILD_ROOT%{_exec_prefix}/lib/binfmt.d/$i.conf
2a5d721
done < %{SOURCE1}
f057293
f057293
# For the qemu-guest-agent subpackage install the systemd
f057293
# service and udev rules.
f057293
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
f057293
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
f057293
install -m 0644 %{SOURCE10} $RPM_BUILD_ROOT%{_unitdir}
f057293
install -m 0644 %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
f057293
f057293
5c37348
%clean
5c37348
rm -rf $RPM_BUILD_ROOT
5c37348
Glauber Costa 8571d06
%post system-x86
1a58885
%ifarch %{ix86} x86_64
Glauber Costa 8571d06
# load kvm modules now, so we can make sure no reboot is needed.
Glauber Costa 8571d06
# If there's already a kvm module installed, we don't mess with it
cd9d161
sh %{_sysconfdir}/sysconfig/modules/kvm.modules || :
Glauber Costa 8571d06
%endif
Glauber Costa 8571d06
cd8d5cb
%post common
45e28a1
if [ $1 -eq 1 ] ; then
cd9d161
    # Initial installation
cd9d161
    /bin/systemctl enable ksm.service >/dev/null 2>&1 || :
cd9d161
    /bin/systemctl enable ksmtuned.service >/dev/null 2>&1 || :
45e28a1
fi
cd8d5cb
cd9d161
getent group kvm >/dev/null || groupadd -g 36 -r kvm
cd9d161
getent group qemu >/dev/null || groupadd -g 107 -r qemu
cd9d161
getent passwd qemu >/dev/null || \
cd9d161
    useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
cd9d161
    -c "qemu user" qemu
cd9d161
cd8d5cb
%preun common
cd9d161
if [ $1 -eq 0 ] ; then
cd9d161
    # Package removal, not upgrade
cd9d161
    /bin/systemctl --no-reload disable ksmtuned.service > /dev/null 2>&1 || :
cd9d161
    /bin/systemctl --no-reload disable ksm.service > /dev/null 2>&1 || :
cd9d161
    /bin/systemctl stop ksmtuned.service > /dev/null 2>&1 || :
cd9d161
    /bin/systemctl stop ksm.service > /dev/null 2>&1 || :
cd8d5cb
fi
cd8d5cb
cd8d5cb
%postun common
cd9d161
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
cd9d161
if [ $1 -ge 1 ] ; then
cd9d161
    # Package upgrade, not uninstall
cd9d161
    /bin/systemctl try-restart ksmtuned.service >/dev/null 2>&1 || :
cd9d161
    /bin/systemctl try-restart ksm.service >/dev/null 2>&1 || :
cd8d5cb
fi
cd8d5cb
cd9d161
Glauber Costa d56efc3
%post user
2a5d721
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
67348d7
Glauber Costa d56efc3
%postun user
2a5d721
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
5c37348
cd9d161
eec5cd5
%files
Glauber Costa 485711f
%defattr(-,root,root)
Glauber Costa 485711f
f2160a7
%files kvm
f2160a7
%defattr(-,root,root)
f2160a7
Glauber Costa 485711f
%files common
Glauber Costa 485711f
%defattr(-,root,root)
73d3c28
%dir %{qemudocdir}
Glauber Costa 485711f
%doc %{qemudocdir}/Changelog
Glauber Costa 485711f
%doc %{qemudocdir}/README
Glauber Costa 485711f
%doc %{qemudocdir}/TODO
eec5cd5
%doc %{qemudocdir}/qemu-doc.html
Glauber Costa 485711f
%doc %{qemudocdir}/qemu-tech.html
eec5cd5
%doc %{qemudocdir}/COPYING
eec5cd5
%doc %{qemudocdir}/COPYING.LIB
Glauber Costa 485711f
%doc %{qemudocdir}/LICENSE
ccf76b7
%dir %{_datadir}/%{name}/
ccf76b7
%{_datadir}/%{name}/keymaps/
666df9e
%{_mandir}/man1/qemu.1*
666df9e
%{_mandir}/man8/qemu-nbd.8*
Glauber Costa 485711f
%{_bindir}/qemu-nbd
42af212
%config(noreplace) %{_sysconfdir}/sasl2/qemu.conf
2a5d721
/lib/systemd/system/ksm.service
2a5d721
/lib/systemd/ksmctl
b112209
%config(noreplace) %{_sysconfdir}/sysconfig/ksm
2a5d721
/lib/systemd/system/ksmtuned.service
cd8d5cb
%{_sbindir}/ksmtuned
cd8d5cb
%config(noreplace) %{_sysconfdir}/ksmtuned.conf
35d458d
%dir %{_sysconfdir}/qemu
35d458d
f057293
%files guest-agent
f057293
%defattr(-,root,root,-)
f057293
%doc COPYING README
f057293
%{_bindir}/qemu-ga
f057293
%{_unitdir}/qemu-guest-agent.service
f057293
%{_sysconfdir}/udev/rules.d/99-qemu-guest-agent.rules
f057293
Glauber Costa 485711f
%files user
5c37348
%defattr(-,root,root)
2a5d721
%{_exec_prefix}/lib/binfmt.d/qemu-*.conf
3a55055
%{_bindir}/qemu-i386
3a55055
%{_bindir}/qemu-x86_64
3a55055
%if !%{with_x86only}
b4adffa
%{_bindir}/qemu-alpha
36ffedc
%{_bindir}/qemu-arm
36ffedc
%{_bindir}/qemu-armeb
b4adffa
%{_bindir}/qemu-cris
36ffedc
%{_bindir}/qemu-m68k
36ffedc
%{_bindir}/qemu-mips
36ffedc
%{_bindir}/qemu-mipsel
b4adffa
%{_bindir}/qemu-sh4
b4adffa
%{_bindir}/qemu-sh4eb
3a55055
%endif
292d6df
%{_datadir}/systemtap/tapset/qemu-i386.stp
292d6df
%{_datadir}/systemtap/tapset/qemu-x86_64.stp
292d6df
%if !%{with_x86only}
292d6df
%{_datadir}/systemtap/tapset/qemu-alpha.stp
292d6df
%{_datadir}/systemtap/tapset/qemu-arm.stp
292d6df
%{_datadir}/systemtap/tapset/qemu-armeb.stp
292d6df
%{_datadir}/systemtap/tapset/qemu-cris.stp
292d6df
%{_datadir}/systemtap/tapset/qemu-m68k.stp
292d6df
%{_datadir}/systemtap/tapset/qemu-mips.stp
292d6df
%{_datadir}/systemtap/tapset/qemu-mipsel.stp
292d6df
%{_datadir}/systemtap/tapset/qemu-sh4.stp
292d6df
%{_datadir}/systemtap/tapset/qemu-sh4eb.stp
292d6df
%endif
35d458d
Glauber Costa 485711f
%files system-x86
Glauber Costa 485711f
%defattr(-,root,root)
Glauber Costa 485711f
%{_bindir}/qemu
Glauber Costa 485711f
%{_bindir}/qemu-system-x86_64
ccf76b7
%{_datadir}/%{name}/bios.bin
cd9d161
%{_datadir}/%{name}/sgabios.bin
41dea4d
%{_datadir}/%{name}/linuxboot.bin
f2bd6c6
%{_datadir}/%{name}/multiboot.bin
0c846be
%{_datadir}/%{name}/mpc8544ds.dtb
41dea4d
%{_datadir}/%{name}/vapic.bin
ccf76b7
%{_datadir}/%{name}/vgabios.bin
ccf76b7
%{_datadir}/%{name}/vgabios-cirrus.bin
dbbd2b2
%{_datadir}/%{name}/vgabios-qxl.bin
dbbd2b2
%{_datadir}/%{name}/vgabios-stdvga.bin
dbbd2b2
%{_datadir}/%{name}/vgabios-vmware.bin
0c846be
%{_datadir}/%{name}/pxe-e1000.rom
0c846be
%{_datadir}/%{name}/pxe-virtio.rom
0c846be
%{_datadir}/%{name}/pxe-pcnet.rom
0c846be
%{_datadir}/%{name}/pxe-rtl8139.rom
0c846be
%{_datadir}/%{name}/pxe-ne2k_pci.rom
35d458d
%config(noreplace) %{_sysconfdir}/qemu/target-x86_64.conf
292d6df
%{_datadir}/systemtap/tapset/qemu.stp
292d6df
%{_datadir}/systemtap/tapset/qemu-system-x86_64.stp
35d458d
Glauber Costa 8571d06
%ifarch %{ix86} x86_64
ccf76b7
%{_datadir}/%{name}/extboot.bin
Glauber Costa 8571d06
%{_bindir}/qemu-kvm
Glauber Costa 8571d06
%{_sysconfdir}/sysconfig/modules/kvm.modules
fc8b74d
%{_sysconfdir}/udev/rules.d/80-kvm.rules
292d6df
%{_datadir}/systemtap/tapset/qemu-kvm.stp
35d458d
%endif
35d458d
35d458d
%ifarch %{ix86} x86_64
Glauber Costa 0f3f164
%files kvm-tools
Glauber Costa 0f3f164
%defattr(-,root,root,-)
Glauber Costa 0f3f164
%{_bindir}/kvm_stat
Glauber Costa 8571d06
%endif
35d458d
3a55055
%if !%{with_x86only}
35d458d
Glauber Costa 485711f
%files system-arm
Glauber Costa 485711f
%defattr(-,root,root)
36ffedc
%{_bindir}/qemu-system-arm
292d6df
%{_datadir}/systemtap/tapset/qemu-system-arm.stp
35d458d
Glauber Costa 485711f
%files system-mips
Glauber Costa 485711f
%defattr(-,root,root)
36ffedc
%{_bindir}/qemu-system-mips
36ffedc
%{_bindir}/qemu-system-mipsel
b4adffa
%{_bindir}/qemu-system-mips64
b4adffa
%{_bindir}/qemu-system-mips64el
292d6df
%{_datadir}/systemtap/tapset/qemu-system-mips.stp
292d6df
%{_datadir}/systemtap/tapset/qemu-system-mipsel.stp
292d6df
%{_datadir}/systemtap/tapset/qemu-system-mips64el.stp
292d6df
%{_datadir}/systemtap/tapset/qemu-system-mips64.stp
35d458d
bc9e714
%files system-cris
bc9e714
%defattr(-,root,root)
bc9e714
%{_bindir}/qemu-system-cris
292d6df
%{_datadir}/systemtap/tapset/qemu-system-cris.stp
35d458d
Glauber Costa 485711f
%files system-m68k
Glauber Costa 485711f
%defattr(-,root,root)
Glauber Costa 485711f
%{_bindir}/qemu-system-m68k
292d6df
%{_datadir}/systemtap/tapset/qemu-system-m68k.stp
35d458d
Glauber Costa 485711f
%files system-sh4
Glauber Costa 485711f
%defattr(-,root,root)
b4adffa
%{_bindir}/qemu-system-sh4
b4adffa
%{_bindir}/qemu-system-sh4eb
292d6df
%{_datadir}/systemtap/tapset/qemu-system-sh4.stp
292d6df
%{_datadir}/systemtap/tapset/qemu-system-sh4eb.stp
35d458d
3a55055
%endif
36ffedc
36ffedc
%files img
36ffedc
%defattr(-,root,root)
36ffedc
%{_bindir}/qemu-img
92dcc13
%{_bindir}/qemu-io
666df9e
%{_mandir}/man1/qemu-img.1*
5c37348
5c37348
%changelog
259bd79
* Wed Jan 16 2013 Cole Robinson <crobinso@redhat.com> - 2:0.15.1-9
259bd79
- CVE-2012-6075: Buffer overflow in e1000 nic (bz #889301, bz #889304)
259bd79
495677c
* Sun Oct 07 2012 Cole Robinson <crobinso@redhat.com> - 0.15.1-8
495677c
- CVE-2012-3515 VT100 emulation vulnerability (bz #854600, bz #851252)
495677c
cd9d161
* Sun Jul 29 2012 Cole Robinson <crobinso@redhat.com> - 0.15.1-7
cd9d161
- Pull patches from 0.15 stable
cd9d161
- CVE-2012-2652: Possible symlink attacks with -snapshot (bz 825697, bz
cd9d161
  824919)
cd9d161
- Fix systemtap tapsets (bz 831763)
cd9d161
- Fix qmp response race caused by spice server bug (bz 744015)
cd9d161
- Fix text mode screendumps (bz 819155)
cd9d161
- Don't renable ksm on update (bz 815156)
cd9d161
- Fix RPM install error on non-virt machines (bz 660629)
cd9d161
- Obsolete openbios to fix upgrade dependency issues (bz 694802)
cd9d161
- Fix sgabios integration (bz 791344)
cd9d161
d2798f5
* Wed Jul 18 2012 Cole Robinson <crobinso@redhat.com> - 0.15.1-6
d2798f5
- Fix fedora guest hang with virtio console (bz 837925)
d2798f5
20c0da0
* Tue May 29 2012 Cole Robinson <crobinso@redhat.com> - 0.15.1-5
20c0da0
- CVE-2012-0029 e1000 buffer overflow (bz 783984, bz 772075)
20c0da0
- virtio-blk: refuse SG_IO requests with scsi=off (bz 826042)
20c0da0
6f9d9cf
* Mon Jan 30 2012 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.1-4
6f9d9cf
- Add vhost-net to kvm.modules
6f9d9cf
- Fix USB passthrough assert on packet completion (#769625)
cd9d161
6f9d9cf
* Thu Jan  5 2012 Christophe Fergeau <cfergeau@redhat.com> - 2:0.15.1-3.1
6f9d9cf
- Backport patches from qemu 1.0 to fix floppy drives (#753863)
6f9d9cf
45e28a1
* Fri Nov 18 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.1-3
45e28a1
- Enable support for fedora-13 machine type (#748218)
45e28a1
- don't force ksm enable on updates (#754946)
45e28a1
d5ae025
* Thu Nov 03 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.1-2
d5ae025
- Fix POSTIN scriplet failure (#748281)
d5ae025
2a5d721
* Fri Oct 21 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.1-1
2a5d721
- Require seabios-bin >= 0.6.0-2 (#741992)
2a5d721
- Replace init scripts with systemd units (#741920)
2a5d721
- Update to 0.15.1 stable upstream
cd9d161
2a5d721
* Fri Oct 21 2011 Paul Moore <pmoore@redhat.com>
2a5d721
- Enable full relro and PIE (rhbz #738812)
2a5d721
307d808
* Wed Oct 12 2011 Daniel P. Berrange <berrange@redhat.com> - 2:0.15.0-6
307d808
- Add BR on ceph-devel to enable RBD block device
307d808
f057293
* Wed Oct  5 2011 Daniel P. Berrange <berrange@redhat.com> - 2:0.15.0-5
f057293
- Create a qemu-guest-agent sub-RPM for guest installation
f057293
292d6df
* Tue Sep 13 2011 Daniel P. Berrange <berrange@redhat.com> - 2:0.15.0-4
292d6df
- Enable DTrace tracing backend for SystemTAP (rhbz #737763)
7d651b6
- Enable build with curl (rhbz #737006)
292d6df
eb1968b
* Thu Aug 18 2011 Hans de Goede <hdegoede@redhat.com> - 2:0.15.0-3
eb1968b
- Add missing BuildRequires: usbredir-devel, so that the usbredir code
eb1968b
  actually gets build
eb1968b
6ba4785
* Thu Aug 18 2011 Richard W.M. Jones <rjones@redhat.com> - 2:0.15.0-2
6ba4785
- Add upstream qemu patch 'Allow to leave type on default in -machine'
6ba4785
  (2645c6dcaf6ea2a51a3b6dfa407dd203004e4d11).
6ba4785
fc5c27b
* Sun Aug 14 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.0-1
fc5c27b
- Update to 0.15.0 stable release.
fc5c27b
13f703f
* Thu Aug 04 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.0-0.3.201108040af4922
13f703f
- Update to 0.15.0-rc1 as we prepare for 0.15.0 release
13f703f
db8fd94
* Thu Aug  4 2011 Daniel P. Berrange <berrange@redhat.com> - 2:0.15.0-0.3.2011072859fadcc
db8fd94
- Fix default accelerator for non-KVM builds (rhbz #724814)
db8fd94
5e10b14
* Thu Jul 28 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.0-0.1.2011072859fadcc
5e10b14
- Update to 0.15.0-rc0 as we prepare for 0.15.0 release
5e10b14
3f1f296
* Tue Jul 19 2011 Hans de Goede <hdegoede@redhat.com> - 2:0.15.0-0.2.20110718525e3df
3f1f296
- Add support usb redirection over the network, see:
3f1f296
  http://fedoraproject.org/wiki/Features/UsbNetworkRedirection
3f1f296
- Restore chardev flow control patches
3f1f296
0c846be
* Mon Jul 18 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.0-0.1.20110718525e3df
0c846be
- Update to git snapshot as we prepare for 0.15.0 release
0c846be
2af28c1
* Wed Jun 22 2011 Richard W.M. Jones <rjones@redhat.com> - 2:0.14.0-9
2af28c1
- Add BR libattr-devel.  This caused the -fstype option to be disabled.
2af28c1
  https://www.redhat.com/archives/libvir-list/2011-June/thread.html#01017
2af28c1
7a6484a
* Mon May  2 2011 Hans de Goede <hdegoede@redhat.com> - 2:0.14.0-8
7a6484a
- Fix a bug in the spice flow control patches which breaks the tcp chardev
7a6484a
6c5f3fb
* Tue Mar 29 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-7
6c5f3fb
- Disable qemu-ppc and qemu-sparc packages (#679179)
6c5f3fb
252f3af
* Mon Mar 28 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-6
252f3af
- Spice fixes for flow control.
252f3af
c65e6f2
* Tue Mar 22 2011 Dan Horák <dan[at]danny.cz> - 2:0.14.0-5
c65e6f2
- be more careful when removing the -g flag on s390
c65e6f2
67f4e9b
* Fri Mar 18 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-4
67f4e9b
- Fix thinko on adding the most recent patches.
67f4e9b
da92986
* Wed Mar 16 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-3
da92986
- Fix migration issue with vhost
da92986
- Fix qxl locking issues for spice
da92986
bc9e714
* Wed Mar 02 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-2
bc9e714
- Re-enable sparc and cris builds
bc9e714
a0e5e9b
* Thu Feb 24 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-1
a0e5e9b
- Update to 0.14.0 release
a0e5e9b
6473047
* Fri Feb 11 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-0.1.20110210git7aa8c46
6473047
- Update git snapshot
6473047
- Temporarily disable qemu-cris and qemu-sparc due to build errors (to be resolved shorly)
6473047
6a630c5
* Tue Feb 08 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-0.1.20110208git3593e6b
6a630c5
- Update to 0.14.0 rc git snapshot
6a630c5
- Add virtio-net to modules
6a630c5
35d458d
* Wed Nov  3 2010 Daniel P. Berrange <berrange@redhat.com> - 2:0.13.0-2
35d458d
- Revert previous change
35d458d
- Make qemu-common own the /etc/qemu directory
35d458d
- Add /etc/qemu/target-x86_64.conf to qemu-system-x86 regardless
35d458d
  of host architecture.
35d458d
34f7671
* Wed Nov 03 2010 Dan Horák <dan[at]danny.cz> - 2:0.13.0-2
34f7671
- Remove kvm config file on non-x86 arches (part of #639471)
34f7671
- Own the /etc/qemu directory
34f7671
502ffee
* Mon Oct 18 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-1
502ffee
- Update to 0.13.0 upstream release
502ffee
- Fixes for vhost
502ffee
- Fix mouse in certain guests (#636887)
502ffee
- Fix issues with WinXP guest install (#579348)
502ffee
- Resolve build issues with S390 (#639471)
502ffee
- Fix Windows XP on Raw Devices (#631591)
502ffee
Jesse Keating 3f0f147
* Tue Oct 05 2010 jkeating - 2:0.13.0-0.7.rc1.1
Jesse Keating 3f0f147
- Rebuilt for gcc bug 634757
Jesse Keating 3f0f147
2b6f88d
* Tue Sep 21 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.7.rc1
2b6f88d
- Flip qxl pci id from unstable to stable (#634535)
2b6f88d
- KSM Fixes from upstream (#558281)
2b6f88d
2b6f88d
* Tue Sep 14 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.6.rc1
a81953e
- Move away from git snapshots as 0.13 is close to release
a81953e
- Updates for spice 0.6
a81953e
dbbd2b2
* Tue Aug 10 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.5.20100809git25fdf4a
dbbd2b2
- Fix typo in e1000 gpxe rom requires.
dbbd2b2
- Add links to newer vgabios
dbbd2b2
0516054
* Tue Aug 10 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.4.20100809git25fdf4a
0516054
- Disable spice on 32bit, it is not supported and buildreqs don't exist.
0516054
990c3a7
* Mon Aug 9 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.3.20100809git25fdf4a
990c3a7
- Updates from upstream towards 0.13 stable
990c3a7
- Fix requires on gpxe
990c3a7
- enable spice now that buildreqs are in the repository.
990c3a7
- ksmtrace has moved to a separate upstream package
990c3a7
14af2bd
* Tue Jul 27 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.2.20100727gitb81fe95
14af2bd
- add texinfo buildreq for manpages.
14af2bd
afaf04c
* Tue Jul 27 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.1.20100727gitb81fe95
afaf04c
- Update to 0.13.0 upstream snapshot
afaf04c
- ksm init fixes from upstream
afaf04c
3304918
* Tue Jul 20 2010 Dan Horák <dan[at]danny.cz> - 2:0.12.3-8
3304918
- Add avoid-llseek patch from upstream needed for building on s390(x)
3304918
- Don't use parallel make on s390(x)
3304918
afaefd0
* Tue Jun 22 2010 Amit Shah <amit.shah@redhat.com> - 2:0.12.3-7
afaefd0
- Add vvfat hardening patch from upstream (#605202)
afaefd0
73d3c28
* Fri Apr 23 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-6
73d3c28
- Change requires to the noarch seabios-bin
73d3c28
- Add ownership of docdir to qemu-common (#572110)
73d3c28
- Fix "Cannot boot from non-existent NIC" error when using virt-install (#577851)
73d3c28
2eeb502
* Thu Apr 15 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-5
2eeb502
- Update virtio console patches from upstream
2eeb502
c98f18f
* Mon Mar 11 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-4
c98f18f
- Detect cdrom via ioctl (#473154)
c98f18f
- re add increased buffer for USB control requests (#546483)
c98f18f
4382ef6
* Wed Mar 10 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-3
4382ef6
- Migration clear the fd in error cases (#518032)
4382ef6
3a55055
* Tue Mar 09 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-2
3a55055
- Allow builds --with x86only
3a55055
- Add libaio-devel buildreq for aio support
3a55055
eff9421
* Fri Feb 26 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-1
eff9421
- Update to 0.12.3 upstream
eff9421
- vhost-net migration/restart fixes
eff9421
- Add F-13 machine type
eff9421
- virtio-serial fixes
eff9421
272dfe3
* Tue Feb 09 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.2-6
272dfe3
- Add vhost net support.
272dfe3
563054a
* Thu Feb 04 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.2-5
563054a
- Avoid creating too large iovecs in multiwrite merge (#559717)
563054a
- Don't try to set max_kernel_pages during ksm init on newer kernels (#558281)
563054a
- Add logfile options for ksmtuned debug.
563054a
fcb1a47
* Wed Jan 27 2010 Amit Shah <amit.shah@redhat.com> - 2:0.12.2-4
fcb1a47
- Remove build dependency on iasl now that we have seabios
fcb1a47
fcb1a47
* Wed Jan 27 2010 Amit Shah <amit.shah@redhat.com> - 2:0.12.2-3
fcb1a47
- Remove source target for 0.12.1.2
fcb1a47
99a9ef9
* Wed Jan 27 2010 Amit Shah <amit.shah@redhat.com> - 2:0.12.2-2
99a9ef9
- Add virtio-console patches from upstream for the F13 VirtioSerial feature
99a9ef9
34b6f77
* Mon Jan 25 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.2-1
34b6f77
- Update to 0.12.2 upstream
34b6f77
31d8927
* Fri Jan 10 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.1.2-3
31d8927
- Point to seabios instead of bochs, and add a requires for seabios
31d8927
28be77f
* Mon Jan  4 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.1.2-2
28be77f
- Remove qcow2 virtio backing file patch
28be77f
41dea4d
* Mon Jan  4 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.1.2-1
41dea4d
- Update to 0.12.1.2 upstream
41dea4d
- Remove patches included in upstream
41dea4d
018bb53
* Fri Nov 20 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-12
018bb53
- Fix a use-after-free crasher in the slirp code (#539583)
018bb53
- Fix overflow in the parallels image format support (#533573)
018bb53
0bb0ade
* Wed Nov  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-11
0bb0ade
- Temporarily disable preadv/pwritev support to fix data corruption (#526549)
0bb0ade
8e8b4c1
* Tue Nov  3 2009 Justin M. Forbes <jforbes@redhat.com> - 2:0.11.0-10
8e8b4c1
- Default ksm and ksmtuned services on.
8e8b4c1
b29fd25
* Thu Oct 29 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-9
b29fd25
- Fix dropped packets with non-virtio NICs (#531419)
b29fd25
86104d8
* Wed Oct 21 2009 Glauber Costa <gcosta@redhat.com> - 2:0.11.0-8
86104d8
- Properly save kvm time registers (#524229)
86104d8
5df4748
* Mon Oct 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-7
5df4748
- Fix potential segfault from too small MSR_COUNT (#528901)
5df4748
6d739f7
* Fri Oct  9 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-6
6d739f7
- Fix fs errors with virtio and qcow2 backing file (#524734)
6d739f7
- Fix ksm initscript errors on kernel missing ksm (#527653)
6d739f7
- Add missing Requires(post): getent, useradd, groupadd (#527087)
6d739f7
39f14e1
* Tue Oct  6 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-5
39f14e1
- Add 'retune' verb to ksmtuned init script
39f14e1
51f16eb
* Mon Oct  5 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-4
51f16eb
- Use rtl8029 PXE rom for ne2k_pci, not ne (#526777)
51f16eb
- Also, replace the gpxe-roms-qemu pkg requires with file-based requires
51f16eb
def6e73
* Thu Oct  1 2009 Justin M. Forbes <jmforbes@redhat.com> - 2:0.11.0-3
def6e73
- Improve error reporting on file access (#524695)
def6e73
48e123e
* Mon Sep 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-2
48e123e
- Fix pci hotplug to not exit if supplied an invalid NIC model (#524022)
48e123e
904b1d4
* Mon Sep 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-1
904b1d4
- Update to 0.11.0 release
904b1d4
- Drop a couple of upstreamed patches
904b1d4
1c9931d
* Wed Sep 23 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-5
1c9931d
- Fix issue causing NIC hotplug confusion when no model is specified (#524022)
1c9931d
ef961da
* Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-4
ef961da
- Fix for KSM patch from Justin Forbes
ef961da
cd8d5cb
* Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-3
cd8d5cb
- Add ksmtuned, also from Dan Kenigsberg
cd8d5cb
- Use %_initddir macro
cd8d5cb
b112209
* Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-2
b112209
- Add ksm control script from Dan Kenigsberg
b112209
6780ef8
* Mon Sep  7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-1
6780ef8
- Update to qemu-kvm-0.11.0-rc2
6780ef8
- Drop upstreamed patches
6780ef8
- extboot install now fixed upstream
6780ef8
- Re-place TCG init fix (#516543) with the one gone upstream
6780ef8
dc5736c
* Mon Sep  7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.10.rc1
dc5736c
- Fix MSI-X error handling on older kernels (#519787)
dc5736c
ee62648
* Fri Sep  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.9.rc1
ee62648
- Make pulseaudio the default audio backend (#519540, #495964, #496627)
ee62648
9d0bd0d
* Thu Aug 20 2009 Richard W.M. Jones <rjones@redhat.com> - 2:0.10.91-0.8.rc1
9d0bd0d
- Fix segfault when qemu-kvm is invoked inside a VM (#516543)
9d0bd0d
6db7331
* Tue Aug 18 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.7.rc1
6db7331
- Fix permissions on udev rules (#517571)
6db7331
baac614
* Mon Aug 17 2009 Lubomir Rintel <lkundrak@v3.sk> - 2:0.10.91-0.6.rc1
6db7331
- Allow blacklisting of kvm modules (#517866)
baac614
0c2ae84
* Fri Aug  7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.5.rc1
0c2ae84
- Fix virtio_net with -net user (#516022)
0c2ae84
dc170b4
* Tue Aug  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.4.rc1
dc170b4
- Update to qemu-kvm-0.11-rc1; no changes from rc1-rc0
dc170b4
f4d6ad7
* Tue Aug  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.3.rc1.rc0
f4d6ad7
- Fix extboot checksum (bug #514899)
f4d6ad7
fc7c34c
* Fri Jul 31 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.2.rc1.rc0
fc7c34c
- Add KSM support
fc7c34c
- Require bochs-bios >= 2.3.8-0.8 for latest kvm bios updates
fc7c34c
ddfcbf7
* Thu Jul 30 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.1.rc1.rc0
ddfcbf7
- Update to qemu-kvm-0.11.0-rc1-rc0
ddfcbf7
- This is a pre-release of the official -rc1
ddfcbf7
- A vista installer regression is blocking the official -rc1 release
ddfcbf7
- Drop qemu-prefer-sysfs-for-usb-host-devices.patch
ddfcbf7
- Drop qemu-fix-build-for-esd-audio.patch
ddfcbf7
- Drop qemu-slirp-Fix-guestfwd-for-incoming-data.patch
ddfcbf7
- Add patch to ensure extboot.bin is installed
ddfcbf7
0344cfb
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.10.50-14.kvm88
0344cfb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0344cfb
Glauber Costa 5e6fc53
* Thu Jul 23 2009 Glauber Costa <glommer@redhat.com> - 2:0.10.50-13.kvm88
Glauber Costa 5e6fc53
- Fix bug 513249, -net channel option is broken
Glauber Costa 5e6fc53
308a9a0
* Thu Jul 16 2009 Daniel P. Berrange <berrange@redhat.com> - 2:0.10.50-12.kvm88
308a9a0
- Add 'qemu' user and group accounts
308a9a0
- Force disable xen until it can be made to build
308a9a0
a8abd8e
* Thu Jul 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-11.kvm88
a8abd8e
- Update to kvm-88, see http://www.linux-kvm.org/page/ChangeLog
a8abd8e
- Package mutiboot.bin
a8abd8e
- Update for how extboot is built
a8abd8e
- Fix sf.net source URL
a8abd8e
- Drop qemu-fix-ppc-softmmu-kvm-disabled-build.patch
a8abd8e
- Drop qemu-fix-pcspk-build-with-kvm-disabled.patch
a8abd8e
- Cherry-pick fix for esound support build failure
a8abd8e
fc8b74d
* Wed Jul 15 2009 Daniel Berrange <berrange@lettuce.camlab.fab.redhat.com> - 2:0.10.50-10.kvm87
fc8b74d
- Add udev rules to make /dev/kvm world accessible & group=kvm (rhbz #497341)
fc8b74d
- Create a kvm group if it doesn't exist (rhbz #346151)
fc8b74d
Glauber Costa 247782d
* Tue Jul 07 2009 Glauber Costa <glommer@redhat.com> - 2:0.10.50-9.kvm87
Glauber Costa 247782d
- use pxe roms from gpxe, instead of etherboot package.
Glauber Costa 247782d
9954466
* Fri Jul  3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-8.kvm87
9954466
- Prefer sysfs over usbfs for usb passthrough (#508326)
9954466
997cc54
* Sat Jun 27 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-7.kvm87
997cc54
- Update to kvm-87
997cc54
- Drop upstreamed patches
bc0345f
- Cherry-pick new ppc build fix from upstream
98d891d
- Work around broken linux-user build on ppc
d298fd0
- Fix hw/pcspk.c build with --disable-kvm
997cc54
- Re-enable preadv()/pwritev() since #497429 is long since fixed
bd50c41
- Kill petalogix-s3adsp1800.dtb, since we don't ship the microblaze target
997cc54
62fb375
* Fri Jun  5 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-6.kvm86
62fb375
- Fix 'kernel requires an x86-64 CPU' error
62fb375
- BuildRequires ncurses-devel to enable '-curses' option (#504226)
62fb375
e376157
* Wed Jun  3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-5.kvm86
e376157
- Prevent locked cdrom eject - fixes hang at end of anaconda installs (#501412)
e376157
- Avoid harmless 'unhandled wrmsr' warnings (#499712)
e376157
666df9e
* Thu May 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-4.kvm86
ccf76b7
- Update to kvm-86 release
ccf76b7
- ChangeLog here: http://marc.info/?l=kvm&m=124282885729710
ccf76b7
f2160a7
* Fri May  1 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-3.kvm85
f2160a7
- Really provide qemu-kvm as a metapackage for comps
f2160a7
d7d988b
* Tue Apr 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-2.kvm85
d7d988b
- Provide qemu-kvm as a metapackage for comps
d7d988b
92dcc13
* Mon Apr 27 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-1.kvm85
92dcc13
- Update to qemu-kvm-devel-85
92dcc13
- kvm-85 is based on qemu development branch, currently version 0.10.50
92dcc13
- Include new qemu-io utility in qemu-img package
92dcc13
- Re-instate -help string for boot=on to fix virtio booting with libvirt
92dcc13
- Drop upstreamed patches
92dcc13
- Fix missing kernel/include/asm symlink in upstream tarball
92dcc13
- Fix target-arm build
7701e01
- Fix build on ppc
92dcc13
- Disable preadv()/pwritev() until bug #497429 is fixed
92dcc13
- Kill more .kernelrelease uselessness
92dcc13
- Make non-kvm qemu build verbose
92dcc13
171644e
* Fri Apr 24 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-15
171644e
- Fix source numbering typos caused by make-release addition
171644e
6694afc
* Thu Apr 23 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-14
6694afc
- Improve instructions for generating the tarball
6694afc
6d887bd
* Tue Apr 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-13
6d887bd
- Enable pulseaudio driver to fix qemu lockup at shutdown (#495964)
6d887bd
e1eeded
* Tue Apr 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-12
e1eeded
- Another qcow2 image corruption fix (#496642)
e1eeded
35588fd
* Mon Apr 20 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-11
35588fd
- Fix qcow2 image corruption (#496642)
35588fd
1a58885
* Sun Apr 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-10
1a58885
- Run sysconfig.modules from %post on x86_64 too (#494739)
1a58885
513689d
* Sun Apr 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-9
513689d
- Align VGA ROM to 4k boundary - fixes 'qemu-kvm -std vga' (#494376)
513689d
Glauber Costa 52ac188
* Tue Apr  14 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-8
Glauber Costa 52ac188
- Provide qemu-kvm conditional on the architecture.
Glauber Costa 52ac188
3dcd9a4
* Thu Apr  9 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-7
3dcd9a4
- Add a much cleaner fix for vga segfault (#494002)
3dcd9a4
Glauber Costa 3b07569
* Sun Apr  5 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-6
Glauber Costa 3b07569
- Fixed qcow2 segfault creating disks over 2TB. #491943
Glauber Costa 3b07569
910c5e3
* Fri Apr  3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-5
910c5e3
- Fix vga segfault under kvm-autotest (#494002)
910c5e3
- Kill kernelrelease hack; it's not needed
910c5e3
- Build with "make V=1" for more verbose logs
910c5e3
Glauber Costa 3afbf09
* Thu Apr 02 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-4
Glauber Costa 3afbf09
- Support botting gpxe roms.
Glauber Costa 3afbf09
Glauber Costa 0b5d26d
* Wed Apr 01 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-2
Glauber Costa 0b5d26d
- added missing patch. love for CVS.
Glauber Costa 0b5d26d
Glauber Costa 47b0758
* Wed Apr 01 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-1
Glauber Costa 47b0758
- Include debuginfo for qemu-img
Glauber Costa 47b0758
- Do not require qemu-common for qemu-img
Glauber Costa 47b0758
- Explicitly own each of the firmware files
Glauber Costa 47b0758
- remove firmwares for ppc and sparc. They should be provided by an external package.
Glauber Costa 47b0758
  Not that the packages exists for sparc in the secondary arch repo as noarch, but they
Glauber Costa 47b0758
  don't automatically get into main repos. Unfortunately it's the best we can do right
Glauber Costa 47b0758
  now.
Glauber Costa 47b0758
- rollback a bit in time. Snapshot from avi's maint/2.6.30
Glauber Costa 47b0758
  - this requires the sasl patches to come back.
Glauber Costa 47b0758
  - with-patched-kernel comes back.
Glauber Costa 47b0758
9a6ed39
* Wed Mar 25 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-0.12.kvm20090323git
9a6ed39
- BuildRequires pciutils-devel for device assignment (#492076)
9a6ed39
Glauber Costa 9e9690b
* Mon Mar 23 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.11.kvm20090323git
Glauber Costa 9e9690b
- Update to snapshot kvm20090323.
Glauber Costa 9e9690b
- Removed patch2 (upstream).
Glauber Costa 9e9690b
- use upstream's new split package.
Glauber Costa 9e9690b
- --with-patched-kernel flag not needed anymore
Glauber Costa 9e9690b
- Tell how to get the sources.
Glauber Costa 9e9690b
Glauber Costa a2460b8
* Wed Mar 18 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.10.kvm20090310git
Glauber Costa a2460b8
- Added extboot to files list.
Glauber Costa a2460b8
Glauber Costa 5b0b644
* Wed Mar 11 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.9.kvm20090310git
Glauber Costa 5b0b644
- Fix wrong reference to bochs bios.
Glauber Costa 5b0b644
Glauber Costa 0c2ec92
* Wed Mar 11 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.8.kvm20090310git
Glauber Costa 0c2ec92
- fix Obsolete/Provides pair
Glauber Costa 0c2ec92
- Use kvm bios from bochs-bios package.
Glauber Costa 0c2ec92
- Using RPM_OPT_FLAGS in configure
Glauber Costa 0c2ec92
- Picked back audio-drv-list from kvm package
Glauber Costa 0c2ec92
Glauber Costa 206c786
* Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.7.kvm20090310git
Glauber Costa 206c786
- modify ppc patch
Glauber Costa 206c786
Glauber Costa 31b341d
* Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.6.kvm20090310git
Glauber Costa 31b341d
- updated to kvm20090310git
Glauber Costa 31b341d
- removed sasl patches (already in this release)
Glauber Costa 31b341d
Glauber Costa 4da298f
* Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.5.kvm20090303git
Glauber Costa 4da298f
- kvm.modules were being wrongly mentioned at %%install.
Glauber Costa 4da298f
- update description for the x86 system package to include kvm support
Glauber Costa 4da298f
- build kvm's own bios. It is still necessary while kvm uses a slightly different
Glauber Costa 4da298f
  irq routing mechanism
Glauber Costa e41549d
Glauber Costa b9aebde
* Thu Mar 05 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.4.kvm20090303git
Glauber Costa b9aebde
- seems Epoch does not go into the tags. So start back here.
Glauber Costa b9aebde
Glauber Costa e0f4cd7
* Thu Mar 05 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.1.kvm20090303git
Glauber Costa e0f4cd7
- Use bochs-bios instead of bochs-bios-data
Glauber Costa e0f4cd7
- It's official: upstream set on 0.10
Glauber Costa e0f4cd7
913ab98
* Thu Mar  5 2009 Daniel P. Berrange <berrange@redhat.com> - 2:0.9.2-0.2.kvm20090303git
913ab98
- Added BSD to license list, since many files are covered by BSD
913ab98
Glauber Costa 420de02
* Wed Mar 04 2009 Glauber Costa <glommer@redhat.com> - 0.9.2-0.1.kvm20090303git
Glauber Costa 420de02
- missing a dot. shame on me
Glauber Costa 420de02
Glauber Costa 9235f99
* Wed Mar 04 2009 Glauber Costa <glommer@redhat.com> - 0.92-0.1.kvm20090303git
Glauber Costa 9235f99
- Set Epoch to 2
Glauber Costa 9235f99
- Set version to 0.92. It seems upstream keep changing minds here, so pick the lowest
Glauber Costa 9235f99
- Provides KVM, Obsoletes KVM
Glauber Costa 9235f99
- Only install qemu-kvm in ix86 and x86_64
Glauber Costa 9235f99
- Remove pkgdesc macros, as they were generating bogus output for rpm -qi.
Glauber Costa 9235f99
- fix ppc and ppc64 builds
Glauber Costa 9235f99
Glauber Costa d56efc3
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.3.kvm20090303git
Glauber Costa d56efc3
- only execute post scripts for user package.
Glauber Costa 0f3f164
- added kvm tools.
Glauber Costa d56efc3
Glauber Costa b8bea84
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.2.kvm20090303git
Glauber Costa b8bea84
- put kvm.modules into cvs
Glauber Costa b8bea84
Glauber Costa 8571d06
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.1.kvm20090303git
Glauber Costa 8571d06
- Set Epoch to 1
Glauber Costa 8571d06
- Build KVM (basic build, no tools yet)
Glauber Costa 8571d06
- Set ppc in ExcludeArch. This is temporary, just to fix one issue at a time.
Glauber Costa 8571d06
  ppc users (IBM ? ;-)) please wait a little bit.
Glauber Costa 8571d06
42af212
* Tue Mar  3 2009 Daniel P. Berrange <berrange@redhat.com> - 1.0-0.5.svn6666
42af212
- Support VNC SASL authentication protocol
42af212
- Fix dep on bochs-bios-data
42af212
Glauber Costa f97a706
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.4.svn6666
Glauber Costa f97a706
- use bios from bochs-bios package.
Glauber Costa f97a706
Glauber Costa 3e01e73
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.3.svn6666
Glauber Costa 3e01e73
- use vgabios from vgabios package.
Glauber Costa 3e01e73
Glauber Costa f0365cc
* Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.2.svn6666
Glauber Costa f0365cc
- use pxe roms from etherboot package.
Glauber Costa f0365cc
Glauber Costa 485711f
* Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.1.svn6666
Glauber Costa 485711f
- Updated to tip svn (release 6666). Featuring split packages for qemu.
Glauber Costa 485711f
  Unfortunately, still using binary blobs for the bioses.
Glauber Costa 485711f
c6f944a
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-13
c6f944a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c6f944a
ff91915
* Sun Jan 11 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.9.1-12
ff91915
- Updated build patch. Closes Red Hat Bugzilla bug #465041.
ff91915
1cd90b0
* Wed Dec 31 2008 Dennis Gilmore <dennis@ausil.us> - 0.9.1-11
1cd90b0
- add sparcv9 and sparc64 support
1cd90b0
a7289f8
* Fri Jul 25 2008 Bill Nottingham <notting@redhat.com>
a7289f8
- Fix qemu-img summary (#456344)
a7289f8
549de8e
* Wed Jun 25 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-10.fc10
549de8e
- Rebuild for GNU TLS ABI change
549de8e
b4adffa
* Wed Jun 11 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-9.fc10
b4adffa
- Remove bogus wildcard from files list (rhbz #450701)
b4adffa
4c8582a
* Sat May 17 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.9.1-8
4c8582a
- Register binary handlers also for shared libraries
4c8582a
a1020fb
* Mon May  5 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-7.fc10
a1020fb
- Fix text console PTYs to be in rawmode
a1020fb
d0fefc1
* Sun Apr 27 2008 Lubomir Kundrak <lkundrak@redhat.com> - 0.9.1-6
d0fefc1
- Register binary handler for SuperH-4 CPU
d0fefc1
36ffedc
* Wed Mar 19 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-5.fc9
36ffedc
- Split qemu-img tool into sub-package for smaller footprint installs
36ffedc
0778a10
* Wed Feb 27 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-4.fc9
0778a10
- Fix block device checks for extendable disk formats (rhbz #435139)
0778a10
0778a10
* Sat Feb 23 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-3.fc9
b80713d
- Fix block device extents check (rhbz #433560)
b80713d
6095772
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-2
6095772
- Autorebuild for GCC 4.3
6095772
e62519f
* Tue Jan  8 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-1.fc9
e62519f
- Updated to 0.9.1 release
e62519f
- Fix license tag syntax
e62519f
- Don't mark init script as a config file
e62519f
f4a1bb2
* Wed Sep 26 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-5.fc8
f4a1bb2
- Fix rtl8139 checksum calculation for Vista (rhbz #308201)
f4a1bb2
4ecadb0
* Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-4.fc8
4ecadb0
- Fix debuginfo by passing -Wl,--build-id to linker
4ecadb0
e415ab2
* Tue Aug 28 2007 David Woodhouse <dwmw2@infradead.org> 0.9.0-4
e415ab2
- Update licence
e415ab2
- Fix CDROM emulation (#253542)
e415ab2
304b402
* Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-3.fc8
304b402
- Added backport of VNC password auth, and TLS+x509 cert auth
304b402
- Switch to rtl8139 NIC by default for linkstate reporting
304b402
- Fix rtl8139 mmio region mappings with multiple NICs
304b402
76b47ee
* Sun Apr  1 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.9.0-2
76b47ee
- Fix direct loading of a linux kernel with -kernel & -initrd (bz 234681)
76b47ee
- Remove spurious execute bits from manpages (bz 222573)
76b47ee
4cf268e
* Tue Feb  6 2007 David Woodhouse <dwmw2@infradead.org> 0.9.0-1
4cf268e
- Update to 0.9.0
4cf268e
f579225
* Wed Jan 31 2007 David Woodhouse <dwmw2@infradead.org> 0.8.2-5
f579225
- Include licences
f579225
019db4e
* Mon Nov 13 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.2-4
019db4e
- Backport patch to make FC6 guests work by Kevin Kofler
019db4e
  <Kevin@tigcc.ticalc.org> (bz 207843).
019db4e
f6b93be
* Mon Sep 11 2006 David Woodhouse <dwmw2@infradead.org> 0.8.2-3
f6b93be
- Rebuild
f6b93be
e6d232d
* Thu Aug 24 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-2
e6d232d
- Remove the target-list iteration for x86_64 since they all build again.
e6d232d
- Make gcc32 vs. gcc34 conditional on %%{fedora} to share the same spec for
e6d232d
  FC5 and FC6.
e6d232d
67348d7
* Wed Aug 23 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-1
67348d7
- Update to 0.8.2 (#200065).
67348d7
- Drop upstreamed syscall-macros patch2.
67348d7
- Put correct scriplet dependencies.
67348d7
- Force install mode for the init script to avoid umask problems.
67348d7
- Add %%postun condrestart for changes to the init script to be applied if any.
67348d7
- Update description with the latest "about" from the web page (more current).
67348d7
- Update URL to qemu.org one like the Source.
67348d7
- Add which build requirement.
67348d7
- Don't include texi files in %%doc since we ship them in html.
01139d8
- Switch to using gcc34 on devel, FC5 still has gcc32.
5d09533
- Add kernheaders patch to fix linux/compiler.h inclusion.
5c9bd86
- Add target-sparc patch to fix compiling on ppc (some int32 to float).
67348d7
1ca9271
* Thu Jun  8 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-3
1ca9271
- More header abuse in modify_ldt(), change BuildRoot:
1ca9271
1ca9271
* Wed Jun  7 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-2
fb30f3e
- Fix up kernel header abuse
fb30f3e
7b2bfbe
* Tue May 30 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-1
7b2bfbe
- Update to 0.8.1
7b2bfbe
9432920
* Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-6
9432920
- Update linker script for PPC
9432920
9432920
* Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-5
9432920
- Just drop $RPM_OPT_FLAGS. They're too much of a PITA
9432920
9432920
* Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-4
9432920
- Disable stack-protector options which gcc 3.2 doesn't like
9432920
9f8ef0c
* Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-3
9f8ef0c
- Use -mcpu= instead of -mtune= on x86_64 too
9f8ef0c
- Disable SPARC targets on x86_64, because dyngen doesn't like fnegs
9f8ef0c
bf44302
* Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-2
bf44302
- Don't use -mtune=pentium4 on i386. GCC 3.2 doesn't like it
bf44302
a08e53e
* Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-1
a08e53e
- Update to 0.8.0
a08e53e
- Resort to using compat-gcc-32
a08e53e
- Enable ALSA
a08e53e
a08e53e
* Mon May 16 2005 David Woodhouse <dwmw2@infradead.org> 0.7.0-2
66db2b3
- Proper fix for GCC 4 putting 'blr' or 'ret' in the middle of the function,
66db2b3
  for i386, x86_64 and PPC.
66db2b3
a08e53e
* Sat Apr 30 2005 David Woodhouse <dwmw2@infradead.org> 0.7.0-1
9b980ed
- Update to 0.7.0
9b980ed
- Fix dyngen for PPC functions which end in unconditional branch
9b980ed
e4c6058
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
e4c6058
- rebuilt
e4c6058
c8e4b31
* Sun Feb 13 2005 David Woodhouse <dwmw2@infradead.org> 0.6.1-2
c8e4b31
- Package cleanup
c8e4b31
5c37348
* Sun Nov 21 2004 David Woodhouse <dwmw2@redhat.com> 0.6.1-1
5c37348
- Update to 0.6.1
5c37348
5c37348
* Tue Jul 20 2004 David Woodhouse <dwmw2@redhat.com> 0.6.0-2
5c37348
- Compile fix from qemu CVS, add x86_64 host support
5c37348
5c37348
* Mon May 12 2004 David Woodhouse <dwmw2@redhat.com> 0.6.0-1
5c37348
- Update to 0.6.0.
5c37348
5c37348
* Sat May 8 2004 David Woodhouse <dwmw2@redhat.com> 0.5.5-1
5c37348
- Update to 0.5.5.
5c37348
5c37348
* Thu May 2 2004 David Woodhouse <dwmw2@redhat.com> 0.5.4-1
5c37348
- Update to 0.5.4.
5c37348
5c37348
* Thu Apr 22 2004 David Woodhouse <dwmw2@redhat.com> 0.5.3-1
5c37348
- Update to 0.5.3. Add init script.
5c37348
5c37348
* Thu Jul 17 2003 Jeff Johnson <jbj@redhat.com> 0.4.3-1
5c37348
- Create.