Commit Graph

573 Commits

Author SHA1 Message Date
Ville Skyttä
c4896d008b Add libcacard ldconfig %post* scriptlets. 2013-12-21 20:30:28 +02:00
Cole Robinson
c4025101e7 Add kill() to seccomp whitelist, fix AC97 with -sandbox on (bz #1043521)
Changing streaming mode default to off for spice (bz #1038336)
Fix guest scsi verify command (bz #1001617)
2013-12-18 12:11:24 -05:00
Cole Robinson
cf5f9d239e Clarify chrpath comment 2013-12-04 18:13:23 -05:00
Cole Robinson
bacd9b0468 Fix qemu-img create with NBD backing file (bz #1034433)
Rebase to qemu-1.7 GA
New monitor command blockdev-add for full featured block device hotplug.
Performance and functionality improvements for USB 3.0.
Many VFIO improvements
ACPI tables can be generated by QEMU and can be used by firmware directly.
Support creating and writing .vhdx images.
qemu-img map: dump detailed image file metadata
2013-12-03 06:36:52 -05:00
Richard W.M. Jones
dd16baaeb5 Run chrpath on binaries, so qemu can be built using rpmbuild. 2013-11-29 13:36:26 +00:00
Cole Robinson
45bdef1ab0 Update to qemu-1.7.0-rc1 2013-11-21 16:20:05 -05:00
Cole Robinson
4b57421a2c Fix drive discard options via libvirt (bz #1029953)
Fix process exit with -sandbox on (bz #1027421)
2013-11-17 17:32:44 -05:00
Cole Robinson
acbc4a5d3a Reduce CPU usage when audio is playing (bz #1017644)
Base on qemu 1.6.1 tarball
ksmtuned: Fix matching qemu w/o set_process_name (bz #1012604)
ksmtuned: Fix committed_memory when no qemu running (bz #1012610)
Make sure bridge helper is setuid (bz #1017660)
2013-11-05 19:42:39 -05:00
Cole Robinson
0c698d13b9 Fix migration from qemu <= 1.5 2013-10-09 13:38:07 -04:00
Cole Robinson
2983660f65 Rebase to pending 1.6.1 stable
CVE-2013-4377: Fix crash when unplugging virtio devices (bz #1012633, bz #1012641)
Fix 'new snapshot' slowness after the first snap (bz #988436)
Fix 9pfs xattrs on kernel 3.11 (bz #1013676)
CVE-2013-4344: buffer overflow in scsi_target_emulate_report_luns (bz #1015274, bz #1007330)
2013-10-06 14:33:55 -04:00
Cole Robinson
840b28a1f8 Fix -vga qxl with -display vnc (bz #948717)
Fix USB crash when installing reactos (bz #1005495)
Don't ship x86 kvm wrapper on arm (bz #1005581)
2013-09-24 10:17:48 -04:00
Dan Horák
52cf04624c - Enable TCG interpreter for s390 as the native backend supports 64-bit only
- Don't require RDMA on s390(x)
2013-09-12 19:09:51 +02:00
Cole Robinson
9e0a86718c Fix qmp capabilities calls on i686 (bz #1003162)
Fix crash with -M isapc -cpu Haswell (bz #986790)
Fix crash in lsi_soft_reset (bz #1000947)
Fix initial /dev/kvm permissions (bz #993491)
2013-09-03 14:49:39 -04:00
Cole Robinson
81ec822962 Only dependy on qemu-sanity-check where it's currently available 2013-08-29 12:26:19 -04:00
Richard W.M. Jones
54891983e0 Enable qemu-sanity-check, however do not fail the build if it fails. 2013-08-28 15:22:29 +01:00
Cole Robinson
89d8790801 Only build against libssh2 on F20+ to fix virt-preview 2013-08-28 08:36:13 -04:00
Richard W.M. Jones
bfefcc20b8 Require newer libssh2 to fix missing libssh2_sftp_fsync (bz #999161) 2013-08-21 09:48:54 +01:00
Cole Robinson
f950cd7985 Require newer ceph-libs to fix symbol error (bz #995883) 2013-08-20 14:13:58 -04:00
Richard W.M. Jones
64e123aeee Try to rebuild since previous i686 build was broken (RHBZ#998722).
- In build, qemu -help just to check the binary is not broken.
2013-08-20 12:34:22 +01:00
Cole Robinson
76dcac38f6 Rebased to version 1.6.0
Support for live migration over RDMA
TCG target for aarch64.
Support for auto-convergence in live migration ("CPU stunning")
The XHCI (USB 3.0) controller supports live migration.
New device "nvme" provides a PCI device that implements the NVMe
standard.
ACPI hotplug of devices behind a PCI bridge is supported
2013-08-16 14:20:08 -04:00
Dennis Gilmore
54ffecd5cf re-enable spice support 2013-08-04 08:02:10 -05:00
Dennis Gilmore
2ed53bed7d try another way to disable spice 2013-08-03 08:12:44 -05:00
Dennis Gilmore
558d4c194e build without spice support to build against new libiscsi
- spice requires parts of qemu
2013-08-02 21:47:40 -05:00
Paolo Bonzini
1c81baa208 Rebuild for libiscsi soname bump 2013-08-02 17:38:43 +02:00
Cole Robinson
67ad330b45 Rebased to version 1.5.2
Fix mouse display with spice and latest libvirt (bz #981094)
2013-07-29 14:24:38 -04:00
Cole Robinson
b6a83a54d0 Update to work with seabios 1.7.3 2013-07-09 10:33:08 -04:00
Cole Robinson
bc2c95de5f Remove BuildRequires: check-devel, not needed for a while 2013-07-01 11:21:43 -04:00
Cole Robinson
8a0cce2bab Rebased to version 1.5.1 2013-06-28 20:11:02 -04:00
Cole Robinson
81a3da8be9 Don't install conflicting binfmt handler on arm (bz #974804)
Use upstream patch for libfdt build fix
2013-06-19 10:35:19 -04:00
Peter Robinson
09747c8a31 Put ARM kvm bits in right sub package 2013-06-15 17:41:18 +01:00
Cole Robinson
562b652dea Fix build with both new and old fdt 2013-06-13 14:57:15 -04:00
Cole Robinson
05409c7381 Fix build with rawhide libfdt 2013-06-12 12:37:46 -04:00
Cole Robinson
e1f7cc577f Fix rtl8139 + windows 7 + large transfers (bz #970240) 2013-06-11 16:56:15 -04:00
Peter Robinson
441340007b build qemu-kvm on ARMv7 2013-06-01 23:30:46 +01:00
Dan Horák
f81e73803f - Install the qemu-kvm.1 man page only on arches with kvm 2013-05-27 14:30:37 +02:00
Cole Robinson
979ec18948 Alias qemu-system-* man page to qemu.1 (bz #907746)
Drop execute bit on service files (bz #963917)
Conditionalize KSM service on host virt support (bz #963681)
Split out KSM package, make it not pulled in by default
2013-05-25 14:54:03 -04:00
Cole Robinson
b9a8d04040 Add BuildRequires: gettext 2013-05-21 14:51:10 -04:00
Cole Robinson
7fae7fbaf1 Update to qemu 1.5
KVM for ARM support
A native GTK+ UI with internationalization support
Experimental VFIO support for VGA passthrough
Support for VMware PVSCSI and VMXNET3 device emulation
CPU hot-add support
2013-05-21 14:26:12 -04:00
Paolo Bonzini
d8d9ba50c6 Drop loading of vhost-net module (bz #963198)
It is loaded via udev these days.
2013-05-16 11:58:11 +02:00
Cole Robinson
af14887e96 Fix crash with usbredir (bz #962826)
Drop unneeded kvm.modules on x86 (bz #963198)
Make ksmtuned handle set_progname usage (bz #955230)
Enable gluster support
2013-05-15 17:00:49 -04:00
Cole Robinson
1c306606ca Rebased to version 1.4.1
qemu stable release 1.4.1 (bz 952599)
CVE-2013-1922: qemu-nbd block format auto-detection vulnerability (bz
952574, bz 923219)
2013-04-20 20:10:19 -04:00
Richard W.M. Jones
0194f981be Rebuild to attempt to fix broken dep on libbrlapi.so.0.5 2013-04-04 22:29:51 +01:00
Cole Robinson
b049f1674f binfmt fixes and improvements 2013-04-03 21:06:24 -04:00
Hans de Goede
44aa5d78d7 Fix USB-tablet not working with some Linux guests (bz #929068) 2013-04-03 12:17:47 +02:00
Cole Robinson
49c3b9cb0c Fix dep on seavgabios-bin 2013-04-02 09:20:11 -04:00
Cole Robinson
d1a627e27f Fixes for iscsi dep
Fix TCG ld/st optimization (lp 1127369)
Fix possible crash with VNC and qxl (bz #919777)
Fix kvm module permissions after first install (bz #907215)
Switch to seavgabios by default
2013-04-01 20:47:11 -04:00
Richard W.M. Jones
32fdc73a1f Fix TCG ld/st optimization. https://bugs.launchpad.net/bugs/1127369 2013-03-31 21:05:33 +01:00
Paolo Bonzini
933c1850b6 backport xfsprogs and usbredir flags from el6 2013-03-14 16:57:11 +01:00
Paolo Bonzini
6b31a2a39a do not package libcacard in the separate_kvm case 2013-03-14 16:57:06 +01:00
Paolo Bonzini
30823602b7 Use pkg-config to search for libiscsi 2013-03-11 18:12:05 +01:00
Paolo Bonzini
625ba4a454 Added libiscsi-devel BuildRequires 2013-03-11 17:25:17 +01:00
Cole Robinson
c0e5414d6e Fix test ordering with latest glib 2013-03-01 13:05:58 -05:00
Cole Robinson
55b1cb43bd Handful of packaging fixes
- Drop old patches
- Fix SLOF dep after latest rawhide build
- Fix qemu-kvm wrapper script
- Fix doc generation with texinfo 5
2013-02-20 12:18:15 -05:00
Cole Robinson
96a5f8d770 Rebased to version 1.4.0
block: dataplane for virtio, potentially large performance improvment
migration: threaded live migration
usb-tablet: usb 2.0 support, significantly lowering CPU usage
usb: improved support for pass-through of USB serial devices
virtio-net: added support supports multiqueue operation
2013-02-19 20:14:18 -05:00
Michael Schwendt
475c910487 add BR perl-podlators for pod2man (F19 development) 2013-02-02 21:02:48 +01:00
Michael Schwendt
b58f704893 fix "bogus date" entries in %changelog to fix rebuild 2013-02-02 20:04:37 +01:00
Alon Levy
2c0fbb0128 revert the last change but bump version to avoid going back in time 2013-02-01 16:24:28 +01:00
Alon Levy
6be650bd29 qemu now provides libcacard, advertise with Provides & Obsoletes 2013-01-29 12:51:17 +02:00
Richard W.M. Jones
0fdf09c7f4 Bump and rebuild for updated libseccomp. 2013-01-28 19:46:36 +00:00
Alon Levy
9e8e016378 Fix missing error_set symbol in libcacard.so (bz #891552)
Signed-off-by: Alon Levy <alevy@redhat.com>
2013-01-22 17:36:14 +02:00
Adam Tkac
83b95606fe Rebuild due to "jpeg8-ABI" feature drop
Signed-off-by: Adam Tkac <atkac@redhat.com>
2013-01-21 16:36:56 +01:00
Cole Robinson
6986e10cf3 Fix migration from qemu-kvm
Fix the test suite on i686
Use systemd macros in specfile (bz #850285)
2013-01-16 09:37:23 -05:00
Hans de Goede
4e26a3bcc1 Fix 0110-usb-redir-Add-flow-control-support.patch being mangled on rebase
to 1.3.0, breaking usbredir support
2013-01-15 11:56:09 +01:00
Cole Robinson
911f928556 Disable tests, currently failing on i686 (and then hanging koji)
GTESTER check-qtest-i386
**
ERROR:tests/rtc-test.c:209:set_year_20xx: assertion failed (cmos_read(RTC_HOURS) == 0x02): (25 == 2)
GTester: last random seed: R02S3c33904d728a7716fb49ee76edbb6e40
2012-12-08 10:35:36 -05:00
Cole Robinson
22d63f488d Switch base tarball from qemu-kvm to qemu
qemu 1.3 release
Option to use linux VFIO driver to assign PCI devices
Many USB3 improvements
New paravirtualized hardware random number generator device.
Support for Glusterfs volumes with "gluster://" -drive URI
Block job commands for live block commit and storage migration
2012-12-07 13:18:14 -05:00
Cole Robinson
7e50c47580 qemu spec temp 2012-12-06 17:42:50 -05:00
Alon Levy
c8a79ad751 add libcacard, -25
Conflicts:
	qemu.spec
2012-12-03 19:36:09 +02:00
Paolo Bonzini
7ebab2ca78 Merge branch 'f18' 2012-11-22 12:20:08 +01:00
Paolo Bonzini
2daa1c5706 Move vscclient to qemu-common, qemu-nbd to qemu-img 2012-11-22 12:18:34 +01:00
Alon Levy
cc85c43370 Virtio-serial fixes
1. Post migration inject interrupt to a running vm to workaround
a bug in kvm irqchip emulation (pending upstream acceptance)
2. Redo fedora only fix for #725965 (replay guest open after migration)
based on the above fix.
2012-11-20 11:05:19 -05:00
Eduardo Habkost
0fe1b70a59 replacing tarball with the one from kvm.sourceforge.net
File from http://sourceforge.net/projects/kvm/files/qemu-kvm/1.2.0/

SHA1:ce0d1c5067414f2eeaf34c5f2976e64634f34cc8

Signed-off-by: Eduardo Habkost <ehabkost@raisama.net>
2012-11-19 16:15:42 -02:00
Alon Levy
d195bae2d0 Virtio-serial fixes
1. Post migration inject interrupt to a running vm to workaround
a bug in kvm irqchip emulation (pending upstream acceptance)
2. Redo fedora only fix for #725965 (replay guest open after migration)
based on the above fix.
2012-11-19 13:46:12 +02:00
Paolo Bonzini
bd903e8207 Allow building a package that is able to coexist with RHEL's KVM package
Backport of commit 683d072d47 from el6
branch.
2012-11-16 13:42:05 +01:00
Paolo Bonzini
156e0fb737 Fix previous commit 2012-11-16 10:08:47 +01:00
Paolo Bonzini
31bb198284 Backport commit 38f419f (configure: Fix CONFIG_QEMU_HELPERDIR generation, 2012-10-17) 2012-11-16 09:11:22 +01:00
Paolo Bonzini
773d5bd0fe fixes for -netdev bridge
- Install qemu-bridge-helper as suid root
- Distribute a sample /etc/qemu/bridge.conf file
2012-11-15 17:58:12 +01:00
Hans de Goede
64c339471e Sync spice patches with upstream, minor bugfixes and set the qxl pci
device revision to 4 by default, so that guests know they can use
  the new features
2012-11-01 11:46:02 +01:00
Cole Robinson
771708e988 Fix loading arm initrd if kernel is very large (bz #862766)
Don't use reserved word 'function' in systemtap files (bz #871286)
Drop assertion that was triggering when pausing guests w/ qxl (bz #870972)
2012-10-30 20:56:59 -04:00
Cole Robinson
5544c1b492 Pull patches queued for qemu 1.2.1 2012-10-28 14:05:07 -04:00
Paolo Bonzini
ae1cd7de6a bump release to 16 2012-10-19 11:47:08 +02:00
Paolo Bonzini
31c6335e4b add s390x KVM support 2012-10-19 11:47:08 +02:00
Paolo Bonzini
c32efea44f add system targets that require pre-built firmware 2012-10-19 11:47:08 +02:00
Paolo Bonzini
40e61a7815 add more system targets that do not require any firmware 2012-10-19 11:47:08 +02:00
Paolo Bonzini
b7a1ff8921 add missing linux-user targets 2012-10-19 11:47:08 +02:00
Paolo Bonzini
a8e3fc5c28 fix previous commit
When doing a kvmonly build, "make install" failed to find files that were
deleted by the "make clean".  Only do "make clean" in non-kvmonly builds that
do need a qemu-kvm binary (which basically means Fedora x86).
2012-10-19 11:45:55 +02:00
Dan Horák
e5989dca67 fix build on non-kvm arches like s390(x) 2012-10-18 17:27:22 +02:00
Paolo Bonzini
861e5caceb bump release number 2012-10-17 12:02:42 +02:00
Paolo Bonzini
cede367975 Change SLOF Requires for the new version number 2012-10-17 12:01:14 +02:00
Paolo Bonzini
2803fc8daa restructure conditionals for bug 859314 2012-10-12 00:03:30 +02:00
Paolo Bonzini
74cc437ed3 bump release to 12 2012-09-28 17:46:20 +02:00
Paolo Bonzini
8cc727f1fa Call udevadm on post, fixing bug 860658
* Fri Sep 28 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-12
- Call udevadm on post, fixing bug 860658
2012-09-28 17:44:46 +02:00
Hans de Goede
ca70dc3e47 Rebuild against latest spice-server and spice-protocol
- Fix non-seamless migration failing with vms with usb-redir devices,
  to allow boxes to load such vms from disk
2012-09-28 12:23:45 +02:00
Hans de Goede
5ba1a77e21 Sync Spice patchsets with upstream (rhbz#860238)
- Fix building with usbredir >= 0.5.2
2012-09-25 21:47:24 +02:00
Hans de Goede
93b7e385db Sync USB and Spice patchsets with upstream 2012-09-20 22:04:51 +02:00
Cole Robinson
a7058a8d2f Re-enable %check, works fine for me with 2 scratch builds 2012-09-19 07:07:53 -04:00
Richard W.M. Jones
f933b63504 Include dist tag too ... 2012-09-16 22:00:43 +01:00
Richard W.M. Jones
a7d1ff8071 Use SLOF = 0-0.1.git<date> (ie. n-v-r). The version is literally "0". 2012-09-16 21:08:21 +01:00
Richard W.M. Jones
9ab3f1d107 Apparently need to include dist tag in the dependency too. 2012-09-16 19:55:19 +01:00
Richard W.M. Jones
a6d8d36a6d Further fix for RHBZ#855252. 2012-09-16 18:55:24 +01:00
Paolo Bonzini
1fbcf81188 add versioned dependency from qemu-system-ppc to SLOF (BZ#855252) 2012-09-14 12:47:22 +02:00
Richard W.M. Jones
dbb388cc95 Fix RHBZ#853408 which causes libguestfs failure. 2012-09-12 19:48:55 +01:00
Hans de Goede
3e10261f1d Fix dates in changelog
To be picked up with a future build.
2012-09-08 16:41:14 +02:00
Hans de Goede
393f81befe Fix crash on (seamless) migration
- Sync usbredir live migration patches with upstream
2012-09-08 16:06:35 +02:00
Hans de Goede
c8dfc65f53 New upstream release 1.2.0 final
- Add support for Spice seamless migration
- Add support for Spice dynamic monitors
- Add support for usb-redir live migration
2012-09-07 17:20:05 +02:00
Adam Jackson
9acdac90af Flip Requires: ceph >= foo to Conflicts: ceph < foo, so we pull in only the
libraries which we need and not the rest of ceph which we don't.
2012-09-04 15:57:07 -04:00
Cole Robinson
bd56df9b7a Update to qemu-kvm 1.2.0-rc1 2012-08-28 11:16:35 -04:00
Eduardo Habkost
a383819763 x86only: remove unpackaged non-x86 bios files
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2012-08-24 16:06:28 -03:00
Eduardo Habkost
d7a2863e19 x86only: build no-kvm-by-default {x86_64,i386}-softmmu binaries, too
This fixes two issues at the same time:
 - The qemu-system-x86_64 binary was not being built in the
   second configure+make run
 - The second configure+make run was not generating the qemu-img and
   qemu-io binaries because it didn't include any -softtmu target

Those issues appeared only if x86only option was enabled, as the default
$buildarch definition already included x86_64-softmmu and i386-softmmu.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2012-08-24 15:08:27 -03:00
Richard W.M. Jones
93c32ff4aa Backport Bonzini's vhost-net fix (RHBZ#848400). 2012-08-20 11:49:50 +01:00
Eduardo Habkost
a90c98ade8 enable x86only build option on RHEL builds
Resolves: bz#821913

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2012-08-14 12:48:47 -03:00
Cole Robinson
b5b3696547 Bump release number, previous build forgot but the dist bump helped us out 2012-08-14 10:27:45 -04:00
Cole Robinson
17b55bc021 Bump spec with latest changes 2012-08-14 09:11:37 -04:00
Cole Robinson
c5cd364aca Build KVM for all targets 2012-08-14 08:54:17 -04:00
Cole Robinson
57c57a19f5 Revive sparc and ppc 2012-08-13 10:48:00 -04:00
Cole Robinson
71430da381 Various spec file cleanups
- Reduce duplication between the two ./configure calls
- Remove some old comments
- Document what roms we are deleting and why
- Document what targets we aren't building

Should all be a no-op
2012-08-13 08:58:27 -04:00
Cole Robinson
b6dd5ac167 Rebase to upstream qemu-kvm checkout in time for F18 feature freeze 2012-08-06 19:15:48 -04:00
Cole Robinson
5439f9b0ec Fix systemtap tapsets (bz 831763)
Fix VNC audio tunnelling (bz 840653)
Don't renable ksm on update (bz 815156)
Bump usbredir dep (bz 812097)
Fix RPM install error on non-virt machines (bz 660629)
Obsolete openbios to fix upgrade dependency issues (bz 694802)
2012-07-29 20:13:45 -04:00
Dennis Gilmore
207a244702 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 07:52:23 -05:00
Daniel P. Berrange
5da8fbc4fb Fix default machine type patch to apply correctly
The previous commit added a new patch  0001-qemu-kvm-Fix-default-machine-options.patch
but then mistakenly applied the old patch 0001-qemu-kvm-Add-missing-default-machine-options.patch
as Patch5 (having previously disabled it as Patch1). The new patch
did not actually apply cleanly anyway, since it was diff'd against
master, not stable-1.1
2012-07-16 15:22:47 +01:00
Richard W.M. Jones
a1f6edcc3a Back out patch 1 which conflicts with Dan's patch.
Note: I confirmed this change is correct with Dan Berrange.
2012-07-10 11:20:58 +01:00
Richard W.M. Jones
91a090265a Add patch to fix default machine options. This fixes libvirt
detection of qemu.
2012-07-10 10:58:42 +01:00
Hans de Goede
ad66101689 Fix qemu crashing (on an assert) whenever USB-2.0 isoc transfers are used 2012-07-06 12:12:49 +02:00
Richard W.M. Jones
0552ca5eb7 Use upstream patch to fix build failure in msi/virtio-pci (thanks Hans de Goede). 2012-07-05 16:03:54 +01:00
Richard W.M. Jones
852ee389bc Build and include virtfs-proxy-helper + man page (thanks Hans de Goede). 2012-07-05 14:45:27 +01:00
Richard W.M. Jones
d979973623 Patch to fix siginfo sent upstream. Include this patch. 2012-07-05 14:36:03 +01:00
Richard W.M. Jones
5c9ec95e32 Revert "Cherry pick patch from upstream which fixes build system,"
This reverts commit 79efbf73df.

Sorry, this broke the build.
2012-07-05 14:12:43 +01:00
Richard W.M. Jones
79efbf73df Cherry pick patch from upstream which fixes build system,
and remove hack.
2012-07-05 13:56:56 +01:00
Richard W.M. Jones
46f7a97f71 Further fixes to try to get a Koji build.
Add a hack to use siginfo_t instead of siginfo with glibc from
Rawhide.  This patch is highly UNlikely to be correct.  It only
affects linux-user which approximately no one cares about.

Disable 'make check' since it hangs intermittently.

Add kvmvapic.bin (replaces vapic.bin).

Add cpus-x86_64.conf.  qemu now creates /etc/qemu/target-x86_64.conf
as an empty file.

Add qemu-icon.bmp.

Add qemu-bridge-helper.
2012-07-05 11:28:55 +01:00
Richard W.M. Jones
4a5845b98b Try to get Koji build working.
- Add patch to fix build system (thanks Hans de Goede).
- Remove vapic.bin (BIOS file no longer being created).
2012-07-05 10:48:44 +01:00
Hans de Goede
329b588089 Upgrade to qemu-kvm-1.1.0
- WIP build fails, investigating
- New upstream release 1.1.0
- Drop about a 100 spice + USB patches, which are all upstream
2012-07-05 11:24:44 +02:00
Eduardo Habkost
188256aae3 add ceph dependency only if %{with rbd} is set
We can't depend on ceph if we aren't building with ceph-devel on the buildroot.

Signed-off-by: Eduardo Habkost <ehabkost@raisama.net>
2012-05-07 14:21:41 -03:00
Paolo Bonzini
45f96fecc4 Fix install failure due to set -e (rhbz #815272)
Shows up only on ARM for some reason.
2012-04-23 11:31:29 +02:00
Paolo Bonzini
34104a5fe7 Fix kvm.modules to exit successfully on non-KVM capable systems
Resolves rhbz #814932.
2012-04-23 10:10:29 +02:00
Hans de Goede
56753ff081 Add a couple of backported QXL/Spice bugfixes
- Add spice volume control patches
2012-04-19 17:28:17 +02:00
Paolo Bonzini
c7f7fc0b56 Merge branch 'f17'
Conflicts:
	qemu.spec
2012-04-06 14:18:49 +02:00
Paolo Bonzini
78e14dee0d bump release to 12 2012-04-06 14:16:24 +02:00
Paolo Bonzini
a96ffe838d update qemu.binfmt from upstream 2012-04-06 14:15:33 +02:00
Paolo Bonzini
ffa1ccd156 re-enable PPC and SPARC usermode 2012-04-06 14:15:33 +02:00
Hans de Goede
18956f263a Some more USB bugfixes from upstream 2012-04-02 14:11:35 +02:00
Hans de Goede
0fa3e51f4b Some more USB bugfixes from upstream 2012-04-02 14:09:43 +02:00
Eduardo Habkost
4b1ec2e2e4 bump release, add changelog
Signed-off-by: Eduardo Habkost <ehabkost@raisama.net>
2012-03-29 12:42:58 -03:00
Eduardo Habkost
49427c5345 Fix Fedora build arch list
Oops, I set exclusive_x86_64 by default. It was supposed to be
_disabled_ by default.

Also, define the --with x86only option, disabling it by default.

Signed-off-by: Eduardo Habkost <ehabkost@raisama.net>
2012-03-29 12:38:59 -03:00
Eduardo Habkost
34ccbbead5 bump release, add changelog entry
Signed-off-by: Eduardo Habkost <ehabkost@raisama.net>
2012-03-28 17:13:18 -03:00
Eduardo Habkost
5a3baf68a8 use --with variables for build-time settings
This keeps the Fedora and RHEL defaults as-is, but makes the spec code
clearer.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2012-03-28 17:05:43 -03:00
Daniel P. Berrange
5c86ae917c Fix build of x86_only RPMs 2012-03-28 20:18:43 +01:00
Daniel P. Berrange
4b952370af Switch to use iPXE for netboot ROMs 2012-03-28 20:18:31 +01:00
Daniel P. Berrange
2ee6c28339 Fix build of x86_only RPMs 2012-03-28 19:47:19 +01:00
Daniel P. Berrange
e907ae40c4 Switch to use iPXE for netboot ROMs 2012-03-28 19:47:01 +01:00
Eduardo Habkost
4b637e1a59 add --disable-fdt on all configure command-lines
The previous --disable-fdt patch was incomplete. Fixing it.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2012-03-26 11:34:10 -03:00
Eduardo Habkost
1127b2e918 use --disable-fdt on RHEL
RHEL doesn't have libfdt.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2012-03-26 11:21:58 -03:00
Eduardo Habkost
075dd061a6 Disable RBD support on RHEL builds
RHEL bug: bz#786927

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2012-03-23 16:33:17 -03:00
Eduardo Habkost
84395157f9 set ExclusiveArch: x86_64 to build it only on x86_64
RHEL bug: bz#786911

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2012-03-23 16:33:14 -03:00
Daniel P. Berrange
52a7a6ecbd Fix readonly 9p filesystems by removing O_NOATIME flag 2012-03-22 16:17:37 +00:00
Daniel P. Berrange
84237cca87 Fix readonly 9p filesystems by removing O_NOATIME flag 2012-03-22 15:52:26 +00:00
Daniel P. Berrange
3bd490d2d0 Move udev rules to /lib/udev/rules.d (rhbz #748207) 2012-03-19 11:25:15 +00:00
Daniel P. Berrange
fbe43c5562 Move udev rules to /lib/udev/rules.d (rhbz #748207) 2012-03-19 11:03:03 +00:00
Hans de Goede
1b1995dd67 Add a whole bunch of USB bugfixes from upstream 2012-03-12 16:33:46 +01:00
Daniel P. Berrange
eaebe4482c Add many more missing BRs for misc QEMU features & enable test suite 2012-02-14 10:51:14 -06:00
Justin M. Forbes
261b9ddbcd merge commit 2012-02-07 16:18:35 -06:00
Justin M. Forbes
357a44f060 Add support for virtio-scsi 2012-02-07 16:15:59 -06:00
Richard W.M. Jones
5ba935aeca Require updated ceph for latest librbd with rbd_flush symbol. 2012-02-05 21:06:01 +00:00
Justin M. Forbes
4d9bbd115e Add vPMU support and fix for CVE-2012-0029. 2012-01-24 16:25:49 -06:00
Justin M. Forbes
ff620283c7 remove palcode-clipper 2012-01-13 13:59:26 -06:00
Justin M. Forbes
d4cdad5451 Add USB redirect patches 2012-01-13 13:46:23 -06:00
Justin M. Forbes
27c3309077 Add patches from 1.0.1 queue finish 2012-01-11 15:28:54 -06:00
Justin M. Forbes
f30960ada5 Enable spice for i686 users as well 2011-11-15 14:27:38 -06:00
Justin M. Forbes
2bea147667 Fix POSTIN scriplet failure (#748281) 2011-11-03 15:53:07 -05:00
Justin M. Forbes
603dd6670b - Require seabios-bin >= 0.6.0-2 (#741992)
- Replace init scripts with systemd units (#741920)
- Update to 0.15.1 stable upstream
- Enable full relro and PIE (rhbz #738812)
2011-10-21 16:29:08 -05:00
Daniel P. Berrange
25a35cc7fb Add BR on ceph-devel to enable RBD block device 2011-10-12 16:08:53 +01:00
Daniel P. Berrange
1ad1f9a1d1 Fix packaging of the QEMU guest agent
The binary 'qemu-ga' is not a userspace emulator, it is the
QEMU guest agent. Since this typically needs to be installed
in the guest put it in a sub-RPM.

A systemd service is used to start the agent. A udev rule is
used to automatically start the systemd service, if the
corresponding virtio-serial port is present
2011-10-05 17:33:58 +01:00
Daniel P. Berrange
4a7239aade Fix typo in BR 2011-09-13 11:48:08 +01:00
Daniel P. Berrange
a9305073c7 Enable build with curl (rhbz #737006) 2011-09-13 11:29:25 +01:00
Daniel P. Berrange
7b1d66018c Enable DTrace tracing backend for SystemTAP (rhbz #737763) 2011-09-13 11:24:38 +01:00
Hans de Goede
eb1968bffe Add missing BuildRequires: usbredir-devel, so that the usbredir code
actually gets build
2011-08-18 16:37:51 -07:00
Richard W.M. Jones
4111552b44 Force newer spice-protocol.
Otherwise qemu build breaks with many errors like:

/home/rjones/d/fedora/qemu/master/qemu-kvm-0.15.0/hw/qxl.c:131:26: error: 'QXL_INTERRUPT_ERROR' undeclared (first use in this function)
/home/rjones/d/fedora/qemu/master/qemu-kvm-0.15.0/hw/qxl.c:131:26: note: each undeclared identifier is reported only once for each function it appears in
/home/rjones/d/fedora/qemu/master/qemu-kvm-0.15.0/hw/qxl.c: In function 'io_port_to_string':
/home/rjones/d/fedora/qemu/master/qemu-kvm-0.15.0/hw/qxl.c:495:10: error: 'QXL_IO_UPDATE_AREA_ASYNC' undeclared (first use in this function)

We also force newer spice-server-devel for good measure.
2011-08-18 16:43:49 +01:00
Richard W.M. Jones
6ba4785b4a - Add upstream qemu patch 'Allow to leave type on default in -machine'
(2645c6dcaf6ea2a51a3b6dfa407dd203004e4d11).
2011-08-18 16:39:31 +01:00
Justin M. Forbes
fc5c27b497 Update to 0.15.0 final 2011-08-14 14:24:40 -05:00
Justin M. Forbes
b51ebd0cd2 Merge branch 'master' of ssh://pkgs.fedoraproject.org/qemu
Conflicts:
	qemu.spec
2011-08-04 14:10:38 -05:00
Justin M. Forbes
13f703fb9a Update to 0.15.0-rc1 2011-08-04 14:07:48 -05:00
Daniel P. Berrange
db8fd942f7 Fix default accelerator for non-KVM builds (rhbz #724814) 2011-08-04 15:16:04 +01:00
Justin M. Forbes
5e10b14df0 Update to 0.15.0-rc0 2011-07-28 12:10:09 -05:00
Hans de Goede
3f1f2961c6 Add support usb redirection over the network, see:
http://fedoraproject.org/wiki/Features/UsbNetworkRedirection
Restore chardev flow control patches
2011-07-19 11:49:04 +02:00
Justin M. Forbes
0c846be9ae Update to git snapshot 525e3df as we prepare for 0.15.0 release 2011-07-18 14:26:30 -05:00
Richard W.M. Jones
2af28c1745 - Add BR libattr-devel. This caused the -fstype option to be disabled.
https://www.redhat.com/archives/libvir-list/2011-June/thread.html#01017
2011-06-22 12:48:48 +01:00
Hans de Goede
7a6484a3d9 Fix a bug in the spice flow control patches which breaks the tcp chardev 2011-05-02 18:26:59 +02:00
Justin M. Forbes
6c5f3fbce9 Disable qemu-ppc and qemu-sparc packages (#679179) 2011-03-29 16:55:04 -05:00
Justin M. Forbes
252f3af86e Spice fixes for flow control 2011-03-28 13:54:26 -05:00
Dan Horák
c65e6f2b3d be more careful when removing the -g flag on s390 2011-03-22 13:08:23 +01:00
Justin M. Forbes
67f4e9ba09 Fix thinko on adding the most recent patches. 2011-03-18 08:47:47 -05:00
Justin M. Forbes
da929861c3 fix vhost migration issues, and qxl locking for spice 2011-03-16 15:31:55 -05:00
Justin M. Forbes
bc9e714751 Re-enable cris and sparc 2011-03-02 11:09:57 -06:00
Justin M. Forbes
a0e5e9b322 Update to 0.14.0 release 2011-02-24 11:27:19 -06:00
Justin M. Forbes
6473047323 Update to newer git snapshot 2011-02-11 11:17:48 -06:00
Justin M. Forbes
6a630c531a Update to 0.14.0 git snapshot 3593e6b 2011-02-08 17:35:06 -06:00
Daniel P. Berrange
35d458d0e9 Fix handling of qemu config files from previous commit
The /etc/qemu directory is potentially used by any of the QEMU
sub RPMs, so needs to be in qemu-common.

The qemu-system-x86  sub-RPM should always include target-x86_64.conf
regardless host arch, since it can be used by both the TCG and KVM
binaries.
2010-11-03 17:20:53 +00:00
Dan Horák
34f76713e8 - Remove kvm config file on non-x86 arches (part of #639471)
- Own the /etc/qemu directory
2010-11-03 15:34:21 +01:00
Justin M. Forbes
345fdd95da Fix typo from S390 changes 2010-10-19 00:31:20 -05:00
Justin M. Forbes
ffada97a59 Merge branch 'f14/master' of ssh://pkgs.fedoraproject.org/qemu into f14
Conflicts:
	qemu.spec
2010-10-18 23:10:48 -05:00
Justin M. Forbes
35db8c0471 Fix typo in S390 changes 2010-10-18 23:08:13 -05:00
Justin M. Forbes
502ffeebf7 - Update to 0.13.0 release final
- Fixes for vhost
- Fix mouse in certain guests (#636887)
- Fix issues with WinXP guest install (#579348)
- Resolve build issues with S390 (#639471)
- Fix Windows XP on Raw Devices (#631591)
2010-10-18 23:05:18 -05:00
Jesse Keating
3f0f147a21 - Rebuilt for gcc bug 634757 2010-10-05 20:30:12 -07:00
Justin M. Forbes
2b6f88d8cb Fix qxl pci id, and grab ksm updates. 2010-09-21 16:52:25 -05:00
Justin M. Forbes
a81953e710 Updates from upstream to support spice 0.6.0 2010-09-14 14:26:08 -05:00
Justin M. Forbes
dbbd2b2c03 Fix requires and add links to newer vgabios 2010-08-10 10:28:21 -05:00
Justin M. Forbes
0516054896 Disable spice on 32bit, the server is 64bit only 2010-08-10 09:19:37 -05:00
Justin M. Forbes
990c3a7c7c Updates from upstream towards 0.13 stable, fix deps 2010-08-10 08:23:48 -05:00
Justin M. Forbes
14af2bd8b2 Add texinfo buildreq for man pages 2010-07-28 06:25:29 +00:00
Justin M. Forbes
afaf04c121 Update to upstream qemu-kvm-0.13 snapshot 2010-07-28 04:50:43 +00:00
Dan Horák
3304918990 - Add avoid-llseek patch from upstream needed for building on s390(x)
- Don't use parallel make on s390(x)
2010-07-20 12:39:23 +00:00
amitshah
afaefd001e Add vvfat hardening patch from upstream; fixes crash for bug 605202 2010-06-22 08:20:00 +00:00
Justin M. Forbes
73d3c2836b Fix seabios requires, own docdir, fix non-existent NIC error 2010-04-23 14:40:09 +00:00
Justin M. Forbes
2eeb502df7 Update virtio console patches from upstream 2010-04-15 18:15:44 +00:00
Justin M. Forbes
c98f18f73e Detect cdrom via ioctl (#473154) re add increased buffer for USB control
requests (#546483)
2010-03-18 15:06:46 +00:00
Justin M. Forbes
4382ef67eb Migration clear the fd in error cases (#518032) 2010-03-10 15:53:13 +00:00
Justin M. Forbes
3a55055403 Add aio support and option to build --with x86only 2010-03-09 16:18:48 +00:00
Justin M. Forbes
eff9421965 Update to 0.12.3 upstream vhost-net migration/restart fixes Add F-13
machine type virtio-serial fixes
2010-02-28 15:39:41 +00:00
Justin M. Forbes
272dfe37a0 Add vhost net support. 2010-02-09 17:10:07 +00:00
Justin M. Forbes
563054a863 - Avoid creating too large iovecs in multiwrite merge (#559717)
- Don't try to set max_kernel_pages during ksm init on newer kernels
    (#558281)
- Add logfile options for ksmtuned debug.
2010-02-04 15:58:29 +00:00
amitshah
fcb1a47bb4 We don't need the dev86 and iasl build deps to build qemu. They are needed
for bochs bios, but we've now migrated away to seabios anyway.
2010-01-27 18:20:38 +00:00
amitshah
99a9ef9548 Add patches for the VirtioSerial feature; update spec to build with the new
patches.
2010-01-27 18:10:32 +00:00
Justin M. Forbes
34b6f774d2 Update to upstream 0.12.2 2010-01-25 18:41:08 +00:00
Justin M. Forbes
31d89277dd Point to seabios instead of bochs, and add a requires for seabios 2010-01-12 06:41:37 +00:00
Justin M. Forbes
28be77f5f2 Remove qemu-fix-qcow2-backing-file-with-virtio.patch 2010-01-05 16:02:05 +00:00
Justin M. Forbes
41dea4d3a7 Update to 0.12.1.2 upstream 2010-01-05 15:44:16 +00:00
Mark McLoughlin
018bb538f4 - Fix a use-after-free crasher in the slirp code (#539583)
- Fix overflow in the parallels image format support (#533573)
2009-11-20 18:28:20 +00:00
Mark McLoughlin
0bb0ade830 - Temporarily disable preadv/pwritev support to fix data corruption
(#526549)
2009-11-04 17:36:09 +00:00
Justin M. Forbes
8e8b4c16f9 Default ksm and ksmtuned services on 2009-11-03 15:12:29 +00:00
Mark McLoughlin
b29fd25c2f - Fix dropped packets with non-virtio NICs (#531419) 2009-10-29 11:45:25 +00:00
Mark McLoughlin
86104d8b0f - Properly save kvm time registers (#524229) 2009-10-29 11:28:04 +00:00
Mark McLoughlin
5df4748ecf - Fix potential segfault from too small MSR_COUNT (#528901) 2009-10-19 10:33:27 +00:00
Mark McLoughlin
bfc5c6d4f6 Assume --build-id is always available 2009-10-14 15:57:31 +00:00
Mark McLoughlin
308e9c7b28 Fixup qemu-img description 2009-10-14 15:46:15 +00:00
Mark McLoughlin
eec5cd5a36 remove trailing blanks 2009-10-14 15:33:21 +00:00
Mark McLoughlin
6d739f7b52 - Fix fs errors with virtio and qcow2 backing file (#524734)
- Fix ksm initscript errors on kernel missing ksm (#527653)
- Add missing Requires(post): getent, useradd, groupadd (#527087)
2009-10-09 14:32:55 +00:00
Mark McLoughlin
39f14e1c08 - Add 'retune' verb to ksmtuned init script 2009-10-06 13:26:24 +00:00
Mark McLoughlin
51f16eba40 - Use rtl8029 PXE rom for ne2k_pci, not ne (#526777)
- Also, replace the gpxe-roms-qemu pkg requires with file-based requires
2009-10-05 14:27:23 +00:00
Justin M. Forbes
2e6a68e49c Update the Release for build 2009-10-01 22:34:54 +00:00
Justin M. Forbes
def6e7389c Improve error reporting on file access (#524695) 2009-10-01 21:32:06 +00:00
Mark McLoughlin
9019b061b3 typo 2009-09-28 17:13:52 +00:00
Mark McLoughlin
48e123e2be - Fix pci hotplug to not exit if supplied an invalid NIC model (#524022) 2009-09-28 16:42:19 +00:00
Mark McLoughlin
5d43a86aff Remove another use of %{kvmverfull} 2009-09-28 07:39:30 +00:00
Mark McLoughlin
904b1d4314 - Update to 0.11.0 release
- Drop a couple of upstreamed patches
2009-09-28 07:30:15 +00:00
Mark McLoughlin
1c9931d838 - Fix issue causing NIC hotplug confusion when no model is specified
(#524022)
2009-09-23 11:31:31 +00:00
Mark McLoughlin
ef961da223 - Fix for KSM patch from Justin Forbes 2009-09-16 22:20:32 +00:00
Mark McLoughlin
a8b17ae540 Fix typo 2009-09-16 20:18:42 +00:00
Mark McLoughlin
cd8d5cb64c - Add ksmtuned, also from Dan Kenigsberg
- Use %_initddir macro
2009-09-16 17:31:15 +00:00
Mark McLoughlin
b1122097d0 - Add ksm control script from Dan Kenigsberg 2009-09-16 09:38:29 +00:00
Mark McLoughlin
6780ef8405 - Update to qemu-kvm-0.11.0-rc2
- Drop upstreamed patches
- extboot install now fixed upstream
- Re-place TCG init fix (#516543) with the one gone upstream
2009-09-07 14:22:20 +00:00
Mark McLoughlin
dc5736caa0 - Fix MSI-X error handling on older kernels (#519787) 2009-09-07 07:02:08 +00:00
Mark McLoughlin
ee62648630 - Make pulseaudio the default audio backend (#519540, #495964, #496627) 2009-09-04 10:34:32 +00:00