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
50-seabios-256k.json 0000000664 664 Bytes
60-seabios-128k.json 0000000909 909 Bytes
80-kvm.rules 0000000040 40 Bytes
80-qemu-ga.rules 0000000159 159 Bytes
9pfs-Fully-restart-unreclaim-loop-CVE-20.patch 0000003203 3.13 KB
AIO-Reduce-number-of-threads-for-32bit-h.patch 0000001329 1.3 KB
Make-char-muxer-more-robust-wrt-small-FI.patch 0000004577 4.47 KB
Make-installed-scripts-explicitly-python.patch 0000001120 1.09 KB
Make-keycode-gen-output-reproducible-use.patch 0000001297 1.27 KB
Makefile-Don-t-check-pc-bios-as-pre-requ.patch 0000000939 939 Bytes
PPC-KVM-Disable-mmu-notifier-check.patch 0000001074 1.05 KB
README.PACKAGING 0000004869 4.75 KB
Raise-soft-address-space-limit-to-hard-l.patch 0000001789 1.75 KB
Revert-qht-constify-qht_statistics_init.patch 0000002060 2.01 KB
Revert-roms-efirom-tests-uefi-test-tools.patch 0000001440 1.41 KB
Update-linux-headers-to-5.11-rc2.patch 0000038794 37.9 KB
XXX-dont-dump-core-on-sigabort.patch 0000001176 1.15 KB
_constraints 0000001890 1.85 KB
_multibuild 0000000094 94 Bytes
acpi_piix4-Fix-migration-from-SLE11-SP2.patch 0000001026 1 KB
ath5k-Add-missing-AR5K_EEPROM_READ-in-at.patch 0000001266 1.24 KB
audio-add-sanity-check.patch 0000001179 1.15 KB
block-Fix-deadlock-in-bdrv_co_yield_to_d.patch 0000004657 4.55 KB
block-Fix-locking-in-qmp_block_resize.patch 0000001317 1.29 KB
block-Separate-blk_is_writable-and-blk_s.patch 0000019641 19.2 KB
block-Simplify-qmp_block_resize-error-pa.patch 0000001971 1.92 KB
block-nfs-fix-int-overflow-in-nfs_client.patch 0000001152 1.13 KB
block-rbd-Fix-memory-leak-in-qemu_rbd_co.patch 0000002092 2.04 KB
block-rbd-fix-memory-leak-in-qemu_rbd_co.patch 0000002654 2.59 KB
blockjob-Fix-crash-with-IOthread-when-bl.patch 0000004843 4.73 KB
bridge.conf 0000000441 441 Bytes
brotli-fix-actual-variable-array-paramet.patch 0000002255 2.2 KB
build-be-explicit-about-mx86-used-note-n.patch 0000001194 1.17 KB
build-no-pie-is-no-functional-linker-fla.patch 0000003082 3.01 KB
bundles.tar.xz 0000108908 106 KB
cadence_gem-switch-to-use-qemu_receive_p.patch 0000001613 1.58 KB
config.sh 0000004268 4.17 KB
configure-only-populate-roms-if-softmmu.patch 0000000889 889 Bytes
configure-remove-pkgversion-from-CONFIG_.patch 0000001498 1.46 KB
cpu-core-Fix-help-of-CPU-core-device-typ.patch 0000002324 2.27 KB
docs-add-SUSE-support-statements-to-html.patch 0000001097 1.07 KB
dp8393x-switch-to-use-qemu_receive_packe.patch 0000001308 1.28 KB
e1000-fail-early-for-evil-descriptor.patch 0000001701 1.66 KB
e1000-switch-to-use-qemu_receive_packet-.patch 0000001218 1.19 KB
enable-cross-compilation-on-ARM.patch 0000000694 694 Bytes
help-compiler-out-by-initializing-array.patch 0000001169 1.14 KB
hw-arm-virt-Disable-pl011-clock-migratio.patch 0000003027 2.96 KB
hw-arm-virt-acpi-build-Fix-GSIV-values-o.patch 0000001566 1.53 KB
hw-block-fdc-Fix-fallback-property-on-sy.patch 0000002154 2.1 KB
hw-intc-arm_gic-Fix-interrupt-ID-in-GICD.patch 0000002572 2.51 KB
hw-intc-exynos4210_gic-provide-more-room.patch 0000003580 3.5 KB
hw-isa-Kconfig-Add-missing-dependency-VI.patch 0000001036 1.01 KB
hw-isa-piix4-Migrate-Reset-Control-Regis.patch 0000001937 1.89 KB
hw-net-lan9118-Fix-RX-Status-FIFO-PEEK-v.patch 0000001350 1.32 KB
hw-s390x-fix-build-for-virtio-9p-ccw.patch 0000001970 1.92 KB
hw-sd-sd-Actually-perform-the-erase-oper.patch 0000002455 2.4 KB
hw-sd-sd-Fix-build-error-when-DEBUG_SD-i.patch 0000001128 1.1 KB
hw-sd-sd-Move-the-sd_block_-read-write-a.patch 0000002844 2.78 KB
hw-sd-sd-Skip-write-protect-groups-check.patch 0000002487 2.43 KB
hw-sd-sdhci-Correctly-set-the-controller.patch 0000002818 2.75 KB
hw-sd-sdhci-Don-t-transfer-any-data-when.patch 0000003398 3.32 KB
hw-sd-sdhci-Don-t-write-to-SDHC_SYSAD-re.patch 0000003943 3.85 KB
hw-sd-sdhci-Limit-block-size-only-when-S.patch 0000002187 2.14 KB
hw-sd-sdhci-Reset-the-data-pointer-of-s-.patch 0000003397 3.32 KB
hw-smbios-handle-both-file-formats-regar.patch 0000004194 4.1 KB
hw-timer-slavio_timer-Allow-64-bit-acces.patch 0000003252 3.18 KB
hw-virtio-pci-Added-AER-capability.patch 0000003152 3.08 KB
hw-virtio-pci-Added-counter-for-pcie-cap.patch 0000001586 1.55 KB
i386-acpi-restore-device-paths-for-pre-5.patch 0000004552 4.45 KB
i8254-Fix-migration-from-SLE11-SP2.patch 0000001466 1.43 KB
increase-x86_64-physical-bits-to-42.patch 0000001111 1.08 KB
iotests-Fix-_send_qemu_cmd-with-bash-5.1.patch 0000099653 97.3 KB
ipxe-Makefile-fix-issues-of-build-reprod.patch 0000002043 2 KB
ksm.service 0000000314 314 Bytes
kvm.conf 0000000036 36 Bytes
lan9118-switch-to-use-qemu_receive_packe.patch 0000001445 1.41 KB
linux-user-Fake-proc-cpuinfo.patch 0000002094 2.04 KB
linux-user-add-binfmt-wrapper-for-argv-0.patch 0000003182 3.11 KB
linux-user-binfmt-support-host-binaries.patch 0000001649 1.61 KB
linux-user-lseek-explicitly-cast-non-set.patch 0000001318 1.29 KB
linux-user-use-target_ulong.patch 0000003637 3.55 KB
lsilogic-Use-PCIDevice-exit-instead-of-D.patch 0000002119 2.07 KB
memory-clamp-cached-translation-in-case-.patch 0000005345 5.22 KB
meson-install-ivshmem-client-and-ivshmem.patch 0000001307 1.28 KB
module-for-virtio-gpu-pre-load-module-to.patch 0000003987 3.89 KB
monitor-Fix-assertion-failure-on-shutdow.patch 0000003522 3.44 KB
msf2-mac-switch-to-use-qemu_receive_pack.patch 0000001235 1.21 KB
net-Fix-handling-of-id-in-netdev_add-and.patch 0000004242 4.14 KB
net-introduce-qemu_receive_packet.patch 0000006105 5.96 KB
net-vmxnet3-validate-configuration-value.patch 0000003581 3.5 KB
pc-bios-s390-ccw-net-avoid-warning-about.patch 0000001061 1.04 KB
pcnet-switch-to-use-qemu_receive_packet-.patch 0000001429 1.4 KB
pkg-split.txt 0000000423 423 Bytes
qboot-add-cross.ini-file-to-handle-aarch.patch 0000000607 607 Bytes
qemu-5.2.0.tar.xz 0106902800 102 MB
qemu-5.2.0.tar.xz.sig 0000000310 310 Bytes
qemu-binfmt-conf-Modify-default-path.patch 0000000853 853 Bytes
qemu-binfmt-conf-use-qemu-ARCH-binfmt.patch 0000001176 1.15 KB
qemu-bridge-helper-reduce-security-profi.patch 0000002660 2.6 KB
qemu-cvs-gettimeofday.patch 0000000844 844 Bytes
qemu-cvs-ioctl_debug.patch 0000001841 1.8 KB
qemu-cvs-ioctl_nodirection.patch 0000001729 1.69 KB
qemu-ga@.service 0000000257 257 Bytes
qemu-ifup 0000000678 678 Bytes
qemu-kvm.1.gz 0000000047 47 Bytes
qemu-nbd-Use-SOMAXCONN-for-socket-listen.patch 0000003449 3.37 KB
qemu-rpmlintrc 0000000203 203 Bytes
qemu-storage-daemon-Enable-object-add.patch 0000001550 1.51 KB
qemu-supportconfig 0000002004 1.96 KB
qemu.changes 0000318138 311 KB
qemu.keyring 0000031860 31.1 KB
qemu.spec 0000078155 76.3 KB
qemu.spec.in 0000066808 65.2 KB
qht-Revert-some-constification-in-qht.c.patch 0000003149 3.08 KB
qom-handle-case-of-chardev-spice-module-.patch 0000001103 1.08 KB
roms-Makefile-add-cross-file-to-qboot-me.patch 0000000929 929 Bytes
roms-Makefile-pass-a-packaging-timestamp.patch 0000002494 2.44 KB
roms-change-cross-compiler-naming-to-be-.patch 0000000912 912 Bytes
roms-sgabios-Fix-csum8-to-be-built-by-ho.patch 0000000641 641 Bytes
rtl8139-switch-to-use-qemu_receive_packe.patch 0000001388 1.36 KB
s390x-Fix-stringop-truncation-issue-repo.patch 0000001080 1.05 KB
s390x-add-have_virtio_ccw.patch 0000001698 1.66 KB
s390x-css-report-errors-from-ccw_dstream.patch 0000010488 10.2 KB
s390x-modularize-virtio-gpu-ccw.patch 0000004033 3.94 KB
s390x-move-S390_ADAPTER_SUPPRESSIBLE.patch 0000003579 3.5 KB
s390x-pci-restore-missing-Query-PCI-Func.patch 0000001887 1.84 KB
seabios-switch-to-python3-as-needed.patch 0000006615 6.46 KB
seabios-use-python2-explicitly-as-needed.patch 0000001882 1.84 KB
sgabios-Makefile-fix-issues-of-build-rep.patch 0000001141 1.11 KB
spice-app-avoid-crash-when-core-spice-mo.patch 0000002062 2.01 KB
stub-out-the-SAN-req-s-in-int13.patch 0000003124 3.05 KB
sungem-switch-to-use-qemu_receive_packet.patch 0000001354 1.32 KB
supported.arm.txt 0000032168 31.4 KB
supported.ppc.txt 0000000112 112 Bytes
supported.s390.txt 0000027687 27 KB
supported.x86.txt 0000031877 31.1 KB
target-arm-Don-t-decode-insns-in-the-XSc.patch 0000002132 2.08 KB
target-arm-Fix-MTE0_ACTIVE.patch 0000001438 1.4 KB
target-arm-Introduce-PREDDESC-field-defi.patch 0000001697 1.66 KB
target-arm-Update-PFIRST-PNEXT-for-pred_.patch 0000002786 2.72 KB
target-arm-Update-REV-PUNPK-for-pred_des.patch 0000003084 3.01 KB
target-arm-Update-ZIP-UZP-TRN-for-pred_d.patch 0000003969 3.88 KB
target-xtensa-fix-meson.build-rule-for-x.patch 0000001892 1.85 KB
tcg-Use-memset-for-large-vector-byte-rep.patch 0000004285 4.18 KB
test-add-mapping-from-arch-of-i686-to-qe.patch 0000000926 926 Bytes
tests-Fix-block-tests-to-be-compatible-w.patch 0000004076 3.98 KB
tests-change-error-message-in-test-162.patch 0000001104 1.08 KB
tests-qemu-iotests-Triple-timeout-of-i-o.patch 0000001069 1.04 KB
tools-virtiofsd-Replace-the-word-whiteli.patch 0000003678 3.59 KB
tx_pkt-switch-to-use-qemu_receive_packet.patch 0000001258 1.23 KB
ui-vnc-Add-missing-lock-for-send_color_m.patch 0000001379 1.35 KB
update-linux-headers-Include-const.h.patch 0000002126 2.08 KB
update_git.sh 0000044061 43 KB
usb-Help-compiler-out-to-avoid-a-warning.patch 0000001849 1.81 KB
util-fix-use-after-free-in-module_load_o.patch 0000002366 2.31 KB
vfio-ccw-Connect-the-device-request-noti.patch 0000003854 3.76 KB
vhost-user-blk-fix-blkcfg-num_queues-end.patch 0000001786 1.74 KB
viriofsd-Add-support-for-FUSE_HANDLE_KIL.patch 0000013705 13.4 KB
virtio-move-use-disabled-flag-property-t.patch 0000002526 2.47 KB
virtio-pci-compat-page-aligned-ATS.patch 0000005445 5.32 KB
virtiofs-drop-remapped-security.capabili.patch 0000007012 6.85 KB
virtiofsd-Save-error-code-early-at-the-f.patch 0000003245 3.17 KB
virtiofsd-extract-lo_do_open-from-lo_ope.patch 0000004436 4.33 KB
virtiofsd-optionally-return-inode-pointe.patch 0000003982 3.89 KB
virtiofsd-prevent-opening-of-special-fil.patch 0000009955 9.72 KB
xen-add-block-resize-support-for-xen-dis.patch 0000001124 1.1 KB
xen-block-Fix-removal-of-backend-instanc.patch 0000001861 1.82 KB
xen-ignore-live-parameter-from-xen-save-.patch 0000001750 1.71 KB
xen_disk-Add-suse-specific-flush-disable.patch 0000001976 1.93 KB
Revision 634 (latest revision is 864)
Bruce Rogers's avatar Bruce Rogers (bfrogers) accepted request 885459 from Bruce Rogers's avatar Bruce Rogers (bfrogers) (revision 634)
- Include upstream patches designated as stable material and
  reviewed for applicability to include here. NOTE that the
  PIIX4 patch has migration implications: the change will also be
  applied to the SLE-15-SP2 qemu, and a live migration from that
  version to this SLE-15-SP3 qemu would require this patch to be
  applied for a successful migration if PIIX4 southbridge is used
  in the machine emulation (x86 i440fx)
  block-rbd-fix-memory-leak-in-qemu_rbd_co.patch
  block-rbd-Fix-memory-leak-in-qemu_rbd_co.patch
  cpu-core-Fix-help-of-CPU-core-device-typ.patch
  hw-arm-virt-acpi-build-Fix-GSIV-values-o.patch
  hw-block-fdc-Fix-fallback-property-on-sy.patch
  hw-isa-Kconfig-Add-missing-dependency-VI.patch
  hw-isa-piix4-Migrate-Reset-Control-Regis.patch
  hw-virtio-pci-Added-AER-capability.patch
  hw-virtio-pci-Added-counter-for-pcie-cap.patch
  s390x-css-report-errors-from-ccw_dstream.patch
  target-xtensa-fix-meson.build-rule-for-x.patch
  util-fix-use-after-free-in-module_load_o.patch
  virtio-pci-compat-page-aligned-ATS.patch
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