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 0000001140 1.11 KB
0002-qemu-binfmt-conf-Modify-default-pat.patch 0000000817 817 Bytes
0003-qemu-cvs-gettimeofday.patch 0000000862 862 Bytes
0004-qemu-cvs-ioctl_debug.patch 0000001722 1.68 KB
0005-qemu-cvs-ioctl_nodirection.patch 0000001693 1.65 KB
0006-linux-user-add-binfmt-wrapper-for-a.patch 0000004362 4.26 KB
0007-PPC-KVM-Disable-mmu-notifier-check.patch 0000000983 983 Bytes
0008-linux-user-binfmt-support-host-bina.patch 0000001613 1.58 KB
0009-linux-user-Fake-proc-cpuinfo.patch 0000001966 1.92 KB
0010-linux-user-use-target_ulong.patch 0000003597 3.51 KB
0011-Make-char-muxer-more-robust-wrt-sma.patch 0000003964 3.87 KB
0012-linux-user-lseek-explicitly-cast-no.patch 0000001282 1.25 KB
0013-AIO-Reduce-number-of-threads-for-32.patch 0000001293 1.26 KB
0014-xen_disk-Add-suse-specific-flush-di.patch 0000001940 1.89 KB
0015-qemu-bridge-helper-reduce-security-.patch 0000002628 2.57 KB
0016-qemu-binfmt-conf-use-qemu-ARCH-binf.patch 0000001140 1.11 KB
0017-linux-user-properly-test-for-infini.patch 0000001124 1.1 KB
0018-roms-Makefile-pass-a-packaging-time.patch 0000002495 2.44 KB
0019-Raise-soft-address-space-limit-to-h.patch 0000001623 1.58 KB
0020-increase-x86_64-physical-bits-to-42.patch 0000001075 1.05 KB
0021-vga-Raise-VRAM-to-16-MiB-for-pc-0.1.patch 0000002103 2.05 KB
0022-i8254-Fix-migration-from-SLE11-SP2.patch 0000001437 1.4 KB
0023-acpi_piix4-Fix-migration-from-SLE11.patch 0000000980 980 Bytes
0024-Switch-order-of-libraries-for-mpath.patch 0000001181 1.15 KB
0025-Make-installed-scripts-explicitly-p.patch 0000001035 1.01 KB
0026-hw-smbios-handle-both-file-formats-.patch 0000004136 4.04 KB
0027-tests-test-thread-pool-is-racy-add-.patch 0000001644 1.61 KB
0028-xen-add-block-resize-support-for-xe.patch 0000001030 1.01 KB
0029-tests-qemu-iotests-Triple-timeout-o.patch 0000001033 1.01 KB
0030-tests-block-io-test-130-needs-some-.patch 0000001150 1.12 KB
0031-xen-ignore-live-parameter-from-xen-.patch 0000001657 1.62 KB
0032-tests-Fix-Makefile-handling-of-chec.patch 0000000899 899 Bytes
0033-Conditionalize-ui-bitmap-installati.patch 0000000869 869 Bytes
0034-Revert-target-i386-kvm-add-VMX-migr.patch 0000002363 2.31 KB
0035-tests-change-error-message-in-test-.patch 0000001045 1.02 KB
0036-sockets-avoid-string-truncation-war.patch 0000004154 4.06 KB
0037-hw-usb-hcd-xhci-Fix-GCC-9-build-war.patch 0000001946 1.9 KB
0038-hw-usb-dev-mtp-Fix-GCC-9-build-warn.patch 0000001613 1.58 KB
0039-linux-user-avoid-string-truncation-.patch 0000002071 2.02 KB
0040-linux-user-elfload-Fix-GCC-9-build-.patch 0000001915 1.87 KB
0041-qxl-avoid-unaligned-pointer-reads-w.patch 0000005410 5.28 KB
0042-libvhost-user-fix-Waddress-of-packe.patch 0000003154 3.08 KB
0043-target-i386-define-md-clear-bit.patch 0000002561 2.5 KB
0044-hw-intc-exynos4210_gic-provide-more.patch 0000003516 3.43 KB
0045-kbd-state-fix-autorepeat-handling.patch 0000001217 1.19 KB
0046-target-ppc-ensure-we-get-null-termi.patch 0000000784 784 Bytes
0047-configure-only-populate-roms-if-sof.patch 0000001079 1.05 KB
0048-pc-bios-s390-ccw-net-avoid-warning-.patch 0000001003 1003 Bytes
80-kvm.rules 0000000040 40 Bytes
80-qemu-ga.rules 0000000159 159 Bytes
_constraints 0000001255 1.23 KB
bridge.conf 0000000441 441 Bytes
ipxe-build-Disable-gcc-address-of-packed-member-warning.patch 0000001585 1.55 KB
ipxe-efi-Avoid-string-op-warning-with-cross-gcc-7-compile.patch 0000001392 1.36 KB
ipxe-efi-Simplify-diagnostic-for-NULL-handle.patch 0000001408 1.38 KB
ipxe-stable-buildid.patch 0000001736 1.7 KB
ipxe-stub-out-the-SAN-req-s-in-int13.patch 0000003080 3.01 KB
ipxe-use-gcc6-for-more-compact-code.patch 0000001210 1.18 KB
ksm.service 0000000284 284 Bytes
kvm.conf 0000000036 36 Bytes
pre_checkin.sh 0000000185 185 Bytes
qemu-4.0.0.tar.xz 0055628624 53.1 MB
qemu-4.0.0.tar.xz.sig 0000000310 310 Bytes
qemu-ga@.service 0000000257 257 Bytes
qemu-ifup 0000000678 678 Bytes
qemu-kvm.1.gz 0000000047 47 Bytes
qemu-linux-user.changes 0000171935 168 KB
qemu-linux-user.spec 0000010380 10.1 KB
qemu-linux-user.spec.in 0000006590 6.44 KB
qemu-rpmlintrc 0000000168 168 Bytes
qemu-supportconfig 0000002004 1.96 KB
qemu-testsuite.changes 0000236403 231 KB
qemu-testsuite.spec 0000054038 52.8 KB
qemu.changes 0000236403 231 KB
qemu.keyring 0000031860 31.1 KB
qemu.spec 0000054018 52.8 KB
qemu.spec.in 0000050214 49 KB
seabios-fix_cross_compilation.patch 0000000375 375 Bytes
seabios-switch-to-python3-as-needed.patch 0000005700 5.57 KB
seabios-use-python2-explicitly-as-needed.patch 0000001253 1.22 KB
sgabios-fix-cross-build.patch 0000000296 296 Bytes
sgabios-stable-buildid.patch 0000000810 810 Bytes
skiboot-gcc9-compat.patch 0000000822 822 Bytes
supported.arm.txt 0000029389 28.7 KB
supported.ppc.txt 0000025509 24.9 KB
supported.s390.txt 0000026012 25.4 KB
supported.x86.txt 0000029690 29 KB
update_git.sh 0000014657 14.3 KB
Revision 475 (latest revision is 864)
Bruce Rogers's avatar Bruce Rogers (bfrogers) accepted request 708391 from Bruce Rogers's avatar Bruce Rogers (bfrogers) (revision 475)
- Switch from python-Sphinx to Sphinx from python variant we are
  building with (new Sphinx is for python3 only)
- Switch from python-Sphinx to Sphinx from python variant we are
  building with (new Sphinx is for python3 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