QEMU

Edit Package qemu
https://www.qemu.org/documentation/

QEMU is a generic and open source machine emulator and virtualizer.

QEMU can be used in several different ways. The most common is for System Emulation, where it provides a virtual model of an entire machine (CPU, memory and emulated devices) to run a guest OS. In this mode the CPU may be fully emulated, or it may work with a hypervisor such as KVM or Xen to allow the guest to run directly on the host CPU.

Note that this package is produced using a Git based workflow. Please refer to README.PACKAGING before making modifications.

Refresh
Refresh
Source Files
Filename Size Changed
0001-XXX-dont-dump-core-on-sigabort.patch 0000001146 1.12 KB
0002-qemu-0.9.0.cvs-binfmt.patch 0000010000 9.77 KB
0003-qemu-cvs-alsa_bitfield.patch 0000002585 2.52 KB
0004-qemu-cvs-alsa_ioctl.patch 0000133889 131 KB
0005-qemu-cvs-alsa_mmap.patch 0000001555 1.52 KB
0006-qemu-cvs-gettimeofday.patch 0000000785 785 Bytes
0007-qemu-cvs-ioctl_debug.patch 0000001468 1.43 KB
0008-qemu-cvs-ioctl_nodirection.patch 0000001604 1.57 KB
0009-block-vmdk-Support-creation-of-SCSI.patch 0000003580 3.5 KB
0010-linux-user-add-binfmt-wrapper-for-a.patch 0000013859 13.5 KB
0011-PPC-KVM-Disable-mmu-notifier-check.patch 0000000986 986 Bytes
0012-linux-user-fix-segfault-deadlock.patch 0000001652 1.61 KB
0013-linux-user-binfmt-support-host-bina.patch 0000001686 1.65 KB
0014-linux-user-Ignore-broken-loop-ioctl.patch 0000002754 2.69 KB
0015-linux-user-lock-tcg.patch 0000004267 4.17 KB
0016-linux-user-Run-multi-threaded-code-.patch 0000001564 1.53 KB
0017-linux-user-lock-tb-flushing-too.patch 0000003761 3.67 KB
0018-linux-user-Fake-proc-cpuinfo.patch 0000002039 1.99 KB
0019-linux-user-implement-FS_IOC_GETFLAG.patch 0000001403 1.37 KB
0020-linux-user-implement-FS_IOC_SETFLAG.patch 0000001289 1.26 KB
0021-linux-user-XXX-disable-fiemap.patch 0000000805 805 Bytes
0022-slirp-nooutgoing.patch 0000003821 3.73 KB
0023-vnc-password-file-and-incoming-conn.patch 0000004066 3.97 KB
0024-linux-user-add-more-blk-ioctls.patch 0000002614 2.55 KB
0025-linux-user-use-target_ulong.patch 0000002548 2.49 KB
0026-block-Add-support-for-DictZip-enabl.patch 0000020829 20.3 KB
0027-block-Add-tar-container-format.patch 0000013436 13.1 KB
0028-Legacy-Patch-kvm-qemu-preXX-dictzip.patch 0000001767 1.73 KB
0029-console-add-question-mark-escape-op.patch 0000001168 1.14 KB
0030-Make-char-muxer-more-robust-wrt-sma.patch 0000002429 2.37 KB
0031-linux-user-lseek-explicitly-cast-no.patch 0000001395 1.36 KB
0032-virtfs-proxy-helper-Provide-__u64-f.patch 0000000848 848 Bytes
0033-configure-Enable-PIE-for-ppc-and-pp.patch 0000000851 851 Bytes
0034-qtest-Increase-socket-timeout.patch 0000000743 743 Bytes
0035-AIO-Reduce-number-of-threads-for-32.patch 0000001341 1.31 KB
0036-configure-Enable-libseccomp-for-ppc.patch 0000000821 821 Bytes
0037-dictzip-Fix-on-big-endian-systems.patch 0000005429 5.3 KB
0038-block-split-large-discard-requests-.patch 0000001726 1.69 KB
0039-xen_disk-Add-suse-specific-flush-di.patch 0000002092 2.04 KB
0041-net-mipsnet-check-packet-length-aga.patch 0000001093 1.07 KB
0042-i386-kvmvapic-initialise-imm32-vari.patch 0000001323 1.29 KB
0043-esp-check-command-buffer-length-bef.patch 0000001601 1.56 KB
0044-esp-check-dma-length-before-reading.patch 0000002524 2.46 KB
0045-scsi-pvscsi-check-command-descripto.patch 0000003166 3.09 KB
0046-scsi-mptsas-infinite-loop-while-fet.patch 0000001591 1.55 KB
0047-vga-add-sr_vbe-register-set.patch 0000009486 9.26 KB
0048-scsi-megasas-use-appropriate-proper.patch 0000001424 1.39 KB
0049-scsi-megasas-check-read_queue_head-.patch 0000001607 1.57 KB
0050-scsi-megasas-null-terminate-bios-ve.patch 0000001310 1.28 KB
0051-vmsvga-move-fifo-sanity-checks-to-v.patch 0000002581 2.52 KB
0052-vmsvga-don-t-process-more-than-1024.patch 0000001689 1.65 KB
0053-block-iscsi-avoid-potential-overflo.patch 0000001313 1.28 KB
0054-scsi-esp-check-TI-buffer-index-befo.patch 0000002871 2.8 KB
0055-xen-introduce-dummy-system-device.patch 0000003238 3.16 KB
0056-xen-write-information-about-support.patch 0000006579 6.42 KB
0057-xen-add-pvUSB-backend.patch 0000035884 35 KB
0058-usb-Fix-conditions-that-xen-usb.c-i.patch 0000001069 1.04 KB
0059-vnc-add-configurable-keyboard-delay.patch 0000004615 4.51 KB
0060-scsi-megasas-initialise-local-confi.patch 0000001355 1.32 KB
0061-configure-add-echo_version-helper.patch 0000002062 2.01 KB
0062-configure-support-vte-2.91.patch 0000002602 2.54 KB
60-kvm.rules 0000000040 40 Bytes
60-kvm.x86.rules 0000000247 247 Bytes
80-kvm.rules 0000000040 40 Bytes
80-qemu-ga.rules 0000000119 119 Bytes
_constraints 0000000482 482 Bytes
bridge.conf 0000000441 441 Bytes
ipxe-ath-Fix-building-with-GCC-6.patch 0000043529 42.5 KB
ipxe-ath9k-Fix-buffer-overrun-for-ar9287.patch 0000002094 2.04 KB
ipxe-efi-fix-garbage-bytes-in-device-path.patch 0000001793 1.75 KB
ipxe-efi-fix-uninitialised-data-in-HII.patch 0000001143 1.12 KB
ipxe-legacy-Fix-building-with-GCC-6.patch 0000000957 957 Bytes
ipxe-mucurses-Fix-GCC-6-nonnull-compare-errors.patch 0000002257 2.2 KB
ipxe-sis190-Fix-building-with-GCC-6.patch 0000001613 1.58 KB
ipxe-skge-Fix-building-with-GCC-6.patch 0000001324 1.29 KB
ipxe-util-v5.24-perl-errors-on-redeclare.patch 0000001068 1.04 KB
ksm.service 0000000304 304 Bytes
kvm.conf 0000000036 36 Bytes
kvm_stat 0000014898 14.5 KB
pre_checkin.sh 0000000185 185 Bytes
qemu-2.6.0.tar.bz2 0025755267 24.6 MB
qemu-2.6.0.tar.bz2.sig 0000000287 287 Bytes
qemu-ga.service 0000000289 289 Bytes
qemu-ifup 0000000711 711 Bytes
qemu-kvm.1.gz 0000000047 47 Bytes
qemu-linux-user.changes 0000078231 76.4 KB
qemu-linux-user.spec 0000009976 9.74 KB
qemu-linux-user.spec.in 0000005374 5.25 KB
qemu-rpmlintrc 0000000132 132 Bytes
qemu-testsuite.changes 0000101861 99.5 KB
qemu-testsuite.spec 0000040038 39.1 KB
qemu.changes 0000101861 99.5 KB
qemu.spec 0000040018 39.1 KB
qemu.spec.in 0000035407 34.6 KB
seabios_128kb.patch 0000010534 10.3 KB
update_git.sh 0000005587 5.46 KB
Revision 306 (latest revision is 864)
Andreas Färber's avatar Andreas Färber (a_faerber) accepted request 408598 from Bruce Rogers's avatar Bruce Rogers (bfrogers) (revision 306)
Improve the spec file and conditionals used to maximize feature availability. Work is done with an eye toward syncing more closely with the IBS qemu spec file. More passes are needed but this was some of the low hanging fruit.
Comments 5

Eric Schirra's avatar

qemu-kvm ist missing now for all arch!

And this wrong:

Pacakges we OBSOLETE (and CONFLICT)

Obsoletes: kvm <= %{version} Obsoletes: qemu-kvm <= %{version} Obsoletes: qemu-sgabios <= 8

Should be <, not <=


Dario Faggioli's avatar

I'm sorry, maybe I still missing something about Obsoletes & Friends enough... Can you help me understand why qemu-kvm would be missing for all arches? In fact, I'm not only Obsoleting it, I'm also Providing it, isn't that fine?

FWIW, I've done a few tests with this repository enabled, and it seemed to work:

$ zypper lr Repository priorities in effect: > (See 'zypper lr -P' for details) 90 (raised priority) : 1 repository 99 (default priority) : 4 repositories

| Alias | Name | Enabled | GPG Check | Refresh --+----------------+----------------------------------------+---------+-----------+-------- 1 | Virtualization | Virtualization (openSUSE_Tumbleweed) | Yes | (r ) Yes | Yes 2 | repo-debug | openSUSE-Tumbleweed-Debug | No | ---- | ---- 3 | repo-non-oss | openSUSE-Tumbleweed-Non-Oss | Yes | (r ) Yes | Yes 4 | repo-openh264 | Open H.264 Codec (openSUSE Tumbleweed) | Yes | (r ) Yes | Yes 5 | repo-oss | openSUSE-Tumbleweed-Oss | Yes | (r ) Yes | Yes 6 | repo-source | openSUSE-Tumbleweed-Source | No | ---- | ---- 7 | repo-update | openSUSE-Tumbleweed-Update | Yes | (r ) Yes | Yes

$ zypper in --from 1 qemu-kvm Loading repository data... Reading installed packages... 'qemu-kvm' not found in package names. Trying capabilities. Resolving package dependencies...

The following 37 NEW packages are going to be installed: acl canokey-qemu kernel-devel kernel-macros libaio1 libcapstone4 libefa1 libfdt1 libibverbs libibverbs1 libjpeg8 liblzo2-2 libmana1 libmlx4-1 libmlx5-1 libndctl6 libnuma1 libpixman-1-0 libpmem1 libpng16-16 librdmacm1 libslirp0 libsnappy1 liburing2 libvdeplug3 libxdp1 libyajl2 qemu qemu-accel-tcg-x86 qemu-ipxe qemu-ovmf-x86_64 qemu-seabios qemu-vgabios qemu-x86 rdma-core system-user-qemu xen-libs

I.e., as you can see, no qemu-kvm package is being installed:

$ rpm -qa|grep qemu-kvm $

And:

$ zypper in --from 1 qemu-kvm Loading repository data... Reading installed packages... 'qemu-kvm' not found in package names. Trying capabilities. 'qemu' providing 'qemu-kvm' is already installed. Resolving package dependencies... Nothing to do. $ zypper se --provides qemu-kvm Loading repository data... Reading installed packages...

S | Name | Summary | Type ---+----------------------+----------------------------------------------------+----------- | os-autoinst-qemu-kvm | Convenience package providing os-autoinst+qemu-kvm | package | qemu | Machine emulator and virtualizer | srcpackage i+ | qemu | Machine emulator and virtualizer | package

Furthermore, if I have the actual qemu-kvm package installed, with <= it is automatically removed, which is what I want... So things look good to me. What am I missing?


Eric Schirra's avatar

First a short answer. An offered version (=) cannot be obsolete (<=) at the same time.

And why should qemu-kvm be removed? Doesn't the package require other packages to build or install?


Dario Faggioli's avatar

Mmm... I guess I can try with "Obsoletes: qemu-kvm < %{version}-%{release}

But, yes, the actual qemu-kvm package must be removed, because now the qemu pacakge Obsoletes it, by providing everything that it was providing before (i.e., one symlink).

I don't understand what you mean with "Doesn't the package require other packages to build or install?"


Dario Faggioli's avatar

Ok, I've now tested Obsoletes: qemu-kvm < %{version}-%{release}, and no, it does not do what I want and need, while Obsoletes: qemu-kvm = %{version} does. And the SR has been accepted already, so I'm sticking to that

openSUSE Build Service is sponsored by