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 0000001172 1.14 KB
0002-qemu-binfmt-conf-Modify-default-pat.patch 0000000961 961 Bytes
0003-qemu-cvs-alsa_bitfield.patch 0000002597 2.54 KB
0004-qemu-cvs-alsa_ioctl.patch 0000134187 131 KB
0005-qemu-cvs-alsa_mmap.patch 0000001561 1.52 KB
0006-qemu-cvs-gettimeofday.patch 0000000791 791 Bytes
0007-qemu-cvs-ioctl_debug.patch 0000001474 1.44 KB
0008-qemu-cvs-ioctl_nodirection.patch 0000001620 1.58 KB
0009-linux-user-add-binfmt-wrapper-for-a.patch 0000004528 4.42 KB
0010-PPC-KVM-Disable-mmu-notifier-check.patch 0000000992 992 Bytes
0011-linux-user-fix-segfault-deadlock.patch 0000001661 1.62 KB
0012-linux-user-binfmt-support-host-bina.patch 0000001692 1.65 KB
0013-linux-user-Fake-proc-cpuinfo.patch 0000002045 2 KB
0014-linux-user-XXX-disable-fiemap.patch 0000000811 811 Bytes
0015-slirp-nooutgoing.patch 0000003845 3.75 KB
0016-vnc-password-file-and-incoming-conn.patch 0000004124 4.03 KB
0017-linux-user-use-target_ulong.patch 0000002560 2.5 KB
0018-block-Add-support-for-DictZip-enabl.patch 0000021124 20.6 KB
0019-block-Add-tar-container-format.patch 0000013674 13.4 KB
0020-Legacy-Patch-kvm-qemu-preXX-dictzip.patch 0000001779 1.74 KB
0021-console-add-question-mark-escape-op.patch 0000001174 1.15 KB
0022-Make-char-muxer-more-robust-wrt-sma.patch 0000002535 2.48 KB
0023-linux-user-lseek-explicitly-cast-no.patch 0000001401 1.37 KB
0024-configure-Enable-PIE-for-ppc-and-pp.patch 0000000857 857 Bytes
0025-AIO-Reduce-number-of-threads-for-32.patch 0000001372 1.34 KB
0026-dictzip-Fix-on-big-endian-systems.patch 0000005488 5.36 KB
0027-xen_disk-Add-suse-specific-flush-di.patch 0000002102 2.05 KB
0028-qemu-bridge-helper-reduce-security-.patch 0000002698 2.63 KB
0029-qemu-binfmt-conf-use-qemu-ARCH-binf.patch 0000001228 1.2 KB
0030-configure-Fix-detection-of-seccomp-.patch 0000000777 777 Bytes
0031-linux-user-properly-test-for-infini.patch 0000001197 1.17 KB
0032-linux-user-remove-all-traces-of-qem.patch 0000002556 2.5 KB
0033-roms-Makefile-pass-a-packaging-time.patch 0000002471 2.41 KB
0034-Raise-soft-address-space-limit-to-h.patch 0000001730 1.69 KB
0035-increase-x86_64-physical-bits-to-42.patch 0000001154 1.13 KB
0036-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch 0000002255 2.2 KB
0037-i8254-Fix-migration-from-SLE11-SP2.patch 0000001516 1.48 KB
0038-acpi_piix4-Fix-migration-from-SLE11.patch 0000001048 1.02 KB
0039-Fix-tigervnc-long-press-issue.patch 0000002077 2.03 KB
0040-fix-xen-hvm-direct-kernel-boot.patch 0000002098 2.05 KB
0041-string-input-visitor-Fix-uint64-par.patch 0000004244 4.14 KB
0042-test-string-input-visitor-Add-int-t.patch 0000001192 1.16 KB
0043-test-string-input-visitor-Add-uint6.patch 0000002097 2.05 KB
0044-tests-Add-QOM-property-unit-tests.patch 0000005642 5.51 KB
0045-tests-Add-scsi-disk-test.patch 0000004733 4.62 KB
0046-RFC-update-Linux-headers-from-irqs-.patch 0000002159 2.11 KB
0047-ARM-KVM-Enable-in-kernel-timers-wit.patch 0000003716 3.63 KB
0048-input-Add-trace-event-for-empty-key.patch 0000001804 1.76 KB
0049-ACPI-don-t-call-acpi_pcihp_device_p.patch 0000002249 2.2 KB
0050-i386-Allow-cpuid-bit-override.patch 0000003984 3.89 KB
0051-input-limit-kbd-queue-depth.patch 0000003405 3.33 KB
0052-audio-release-capture-buffers.patch 0000001352 1.32 KB
0053-scsi-avoid-an-off-by-one-error-in-m.patch 0000001711 1.67 KB
0054-vmw_pvscsi-check-message-ring-page-.patch 0000001328 1.3 KB
0055-9pfs-local-forbid-client-access-to-.patch 0000005778 5.64 KB
0056-jazz_led-fix-bad-snprintf.patch 0000001628 1.59 KB
0057-slirp-smb-Replace-constant-strings-.patch 0000003956 3.86 KB
0058-altera_timer-fix-incorrect-memset.patch 0000000932 932 Bytes
0059-Hacks-for-building-on-gcc-7-Fedora-.patch 0000005168 5.05 KB
0061-megasas-do-not-read-DCMD-opcode-mor.patch 0000004171 4.07 KB
0062-megasas-always-store-SCSIRequest-in.patch 0000005118 5 KB
0063-nbd-Fully-initialize-client-in-case.patch 0000002760 2.7 KB
0064-9pfs-local-remove-use-correct-path-.patch 0000000895 895 Bytes
0065-hid-Reset-kbd-modifiers-on-reset.patch 0000000951 951 Bytes
0066-input-Decrement-queue-count-on-kbd-.patch 0000001052 1.03 KB
0067-xhci-only-update-dequeue-ptr-on-com.patch 0000002195 2.14 KB
0068-vnc-Set-default-kbd-delay-to-10ms.patch 0000002294 2.24 KB
0069-qemu-nbd-Ignore-SIGPIPE.patch 0000001750 1.71 KB
0070-usb-redir-fix-stack-overflow-in-usb.patch 0000001587 1.55 KB
0071-exec-use-qemu_ram_ptr_length-to-acc.patch 0000001663 1.62 KB
0072-slirp-check-len-against-dhcp-option.patch 0000001269 1.24 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-Add-missing-break-statements.patch 0000001019 1019 Bytes
ipxe-build-Avoid-implicit-fallthrough-warnings-on-GCC-7.patch 0000006120 5.98 KB
ipxe-iscsi-Always-send-FirstBurstLength-parameter.patch 0000003185 3.11 KB
ipxe-mucurses-Fix-erroneous-__nonnull-attribute.patch 0000001059 1.03 KB
ipxe-stable-buildid.patch 0000001736 1.7 KB
ipxe-use-gcc6-for-more-compact-code.patch 0000000863 863 Bytes
ksm.service 0000000304 304 Bytes
kvm.conf 0000000036 36 Bytes
kvm_stat 0000025820 25.2 KB
kvm_stat.1.gz 0000001709 1.67 KB
pre_checkin.sh 0000000185 185 Bytes
qemu-2.9.0.tar.xz 0022830688 21.8 MB
qemu-2.9.0.tar.xz.sig 0000000287 287 Bytes
qemu-ga.service 0000000284 284 Bytes
qemu-ifup 0000000659 659 Bytes
qemu-kvm.1.gz 0000000047 47 Bytes
qemu-linux-user.changes 0000118381 116 KB
qemu-linux-user.spec 0000011568 11.3 KB
qemu-linux-user.spec.in 0000006180 6.04 KB
qemu-rpmlintrc 0000000132 132 Bytes
qemu-testsuite.changes 0000154235 151 KB
qemu-testsuite.spec 0000047146 46 KB
qemu.changes 0000154235 151 KB
qemu.spec 0000047126 46 KB
qemu.spec.in 0000041724 40.7 KB
sgabios-stable-buildid.patch 0000000810 810 Bytes
supported.arm.txt 0000024491 23.9 KB
supported.ppc.txt 0000000112 112 Bytes
supported.s390.txt 0000021747 21.2 KB
supported.x86.txt 0000025535 24.9 KB
update_git.sh 0000005599 5.47 KB
Revision 351 (latest revision is 864)
Bruce Rogers's avatar Bruce Rogers (bfrogers) accepted request 515068 from Bruce Rogers's avatar Bruce Rogers (bfrogers) (revision 351)
More support doc tweaks. Also, switch one patch with upstream version (header changes only).
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