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-binfmt-conf-Modify-default-pat.patch 0000000955 955 Bytes
0003-qemu-cvs-alsa_bitfield.patch 0000002585 2.52 KB
0004-qemu-cvs-alsa_ioctl.patch 0000134084 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 0000001614 1.58 KB
0009-linux-user-add-binfmt-wrapper-for-a.patch 0000004495 4.39 KB
0010-PPC-KVM-Disable-mmu-notifier-check.patch 0000000986 986 Bytes
0011-linux-user-fix-segfault-deadlock.patch 0000001655 1.62 KB
0012-linux-user-binfmt-support-host-bina.patch 0000001686 1.65 KB
0013-linux-user-lock-tcg.patch 0000004266 4.17 KB
0014-linux-user-Run-multi-threaded-code-.patch 0000001564 1.53 KB
0015-linux-user-lock-tb-flushing-too.patch 0000003720 3.63 KB
0016-linux-user-Fake-proc-cpuinfo.patch 0000002039 1.99 KB
0017-linux-user-implement-FS_IOC_GETFLAG.patch 0000001416 1.38 KB
0018-linux-user-implement-FS_IOC_SETFLAG.patch 0000001302 1.27 KB
0019-linux-user-XXX-disable-fiemap.patch 0000000805 805 Bytes
0020-slirp-nooutgoing.patch 0000003821 3.73 KB
0021-vnc-password-file-and-incoming-conn.patch 0000004097 4 KB
0022-linux-user-use-target_ulong.patch 0000002548 2.49 KB
0023-block-Add-support-for-DictZip-enabl.patch 0000021080 20.6 KB
0024-block-Add-tar-container-format.patch 0000013620 13.3 KB
0025-Legacy-Patch-kvm-qemu-preXX-dictzip.patch 0000001773 1.73 KB
0026-console-add-question-mark-escape-op.patch 0000001168 1.14 KB
0027-Make-char-muxer-more-robust-wrt-sma.patch 0000002445 2.39 KB
0028-linux-user-lseek-explicitly-cast-no.patch 0000001395 1.36 KB
0029-virtfs-proxy-helper-Provide-__u64-f.patch 0000000848 848 Bytes
0030-configure-Enable-PIE-for-ppc-and-pp.patch 0000000851 851 Bytes
0031-AIO-Reduce-number-of-threads-for-32.patch 0000001341 1.31 KB
0032-dictzip-Fix-on-big-endian-systems.patch 0000005482 5.35 KB
0033-xen_disk-Add-suse-specific-flush-di.patch 0000002092 2.04 KB
0034-xen-SUSE-xenlinux-unplug-for-emulat.patch 0000001957 1.91 KB
0035-qemu-bridge-helper-reduce-security-.patch 0000002692 2.63 KB
0036-qemu-binfmt-conf-use-qemu-ARCH-binf.patch 0000001222 1.19 KB
0037-configure-Fix-detection-of-seccomp-.patch 0000000771 771 Bytes
0038-linux-user-properly-test-for-infini.patch 0000001189 1.16 KB
0039-Fix-tlb_vaddr_to_host-with-CONFIG_U.patch 0000001253 1.22 KB
0040-linux-user-remove-all-traces-of-qem.patch 0000002550 2.49 KB
0041-vmsvga-correct-bitmap-and-pixmap-si.patch 0000001972 1.93 KB
0042-scsi-mptconfig-fix-an-assert-expres.patch 0000001391 1.36 KB
0043-scsi-mptconfig-fix-misuse-of-MPTSAS.patch 0000001621 1.58 KB
0044-scsi-pvscsi-limit-loop-to-fetch-SG-.patch 0000002659 2.6 KB
0045-usb-xhci-fix-memory-leak-in-usb_xhc.patch 0000001244 1.21 KB
0046-scsi-mptsas-use-g_new0-to-allocate-.patch 0000001309 1.28 KB
0047-scsi-pvscsi-limit-process-IO-loop-t.patch 0000001561 1.52 KB
0048-virtio-add-check-for-descriptor-s-m.patch 0000001470 1.44 KB
0049-net-mcf-limit-buffer-descriptor-cou.patch 0000001849 1.81 KB
0050-usb-ehci-fix-memory-leak-in-ehci_pr.patch 0000001302 1.27 KB
0052-9pfs-allocate-space-for-guest-origi.patch 0000002345 2.29 KB
0054-9pfs-fix-potential-host-memory-leak.patch 0000001380 1.35 KB
0055-9pfs-fix-information-leak-in-xattr-.patch 0000001216 1.19 KB
0056-9pfs-fix-memory-leak-in-v9fs_xattrc.patch 0000001403 1.37 KB
0057-9pfs-fix-memory-leak-in-v9fs_write.patch 0000001146 1.12 KB
0058-char-serial-check-divider-value-aga.patch 0000001402 1.37 KB
0059-net-pcnet-check-rx-tx-descriptor-ri.patch 0000001373 1.34 KB
0060-net-eepro100-fix-memory-leak-in-dev.patch 0000001116 1.09 KB
0061-net-rocker-set-limit-to-DMA-buffer-.patch 0000001538 1.5 KB
0062-net-vmxnet-initialise-local-tx-desc.patch 0000001306 1.28 KB
0063-net-rtl8139-limit-processing-of-rin.patch 0000001231 1.2 KB
0064-audio-intel-hda-check-stream-entry-.patch 0000001483 1.45 KB
0065-virtio-gpu-fix-memory-leak-in-virti.patch 0000001420 1.39 KB
0066-9pfs-fix-integer-overflow-issue-in-.patch 0000003027 2.96 KB
0067-dma-rc4030-limit-interval-timer-rel.patch 0000001156 1.13 KB
0068-net-imx-limit-buffer-descriptor-cou.patch 0000001544 1.51 KB
0069-roms-Makefile-pass-a-packaging-time.patch 0000002457 2.4 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-stable-buildid.patch 0000001736 1.7 KB
ksm.service 0000000304 304 Bytes
kvm.conf 0000000036 36 Bytes
kvm_stat 0000025820 25.2 KB
pre_checkin.sh 0000000185 185 Bytes
qemu-2.7.0.tar.bz2 0026867760 25.6 MB
qemu-2.7.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 0000090798 88.7 KB
qemu-linux-user.spec 0000010577 10.3 KB
qemu-linux-user.spec.in 0000005372 5.25 KB
qemu-rpmlintrc 0000000132 132 Bytes
qemu-testsuite.changes 0000119727 117 KB
qemu-testsuite.spec 0000041217 40.3 KB
qemu.changes 0000119727 117 KB
qemu.spec 0000041197 40.2 KB
qemu.spec.in 0000035978 35.1 KB
seabios_128kb.patch 0000010534 10.3 KB
sgabios-stable-buildid.patch 0000000731 731 Bytes
slof_xhci.patch 0000004972 4.86 KB
update_git.sh 0000005587 5.46 KB
Revision 325 (latest revision is 864)
Andreas Färber's avatar Andreas Färber (a_faerber) accepted request 442479 from Andreas Färber's avatar Andreas Färber (a_faerber) (revision 325)
SLOF XHCI keyboard fixes for ppc64 (boo#977027)
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