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
AIO-Reduce-number-of-threads-for-32bit-h.patch 0000001329 1.3 KB
Conditionalize-ui-bitmap-installation-be.patch 0000000876 876 Bytes
Do-not-apply-WORKAROUND_CFLAGS-for-host-.patch 0000002781 2.72 KB
Enable-cross-compile-prefix-for-C-compil.patch 0000001095 1.07 KB
Fix-double-free-issue-in-qemu_set_log_fi.patch 0000001087 1.06 KB
Fix-s-directive-argument-is-null-error.patch 0000001248 1.22 KB
Make-char-muxer-more-robust-wrt-small-FI.patch 0000004144 4.05 KB
Make-installed-scripts-explicitly-python.patch 0000001114 1.09 KB
Make-keycode-gen-output-reproducible-use.patch 0000001297 1.27 KB
PPC-KVM-Disable-mmu-notifier-check.patch 0000001019 1019 Bytes
README.PACKAGING 0000003515 3.43 KB
Raise-soft-address-space-limit-to-hard-l.patch 0000001659 1.62 KB
Revert-qemu-options.hx-Update-for-reboot.patch 0000001413 1.38 KB
Revert-vnc-allow-fall-back-to-RAW-encodi.patch 0000002646 2.58 KB
Switch-order-of-libraries-for-mpath-supp.patch 0000001253 1.22 KB
Workaround-compilation-error-with-gcc-9..patch 0000002236 2.18 KB
XXX-dont-dump-core-on-sigabort.patch 0000001176 1.15 KB
_constraints 0000001582 1.54 KB
_multibuild 0000000094 94 Bytes
acpi_piix4-Fix-migration-from-SLE11-SP2.patch 0000001026 1 KB
arm-arm-powerctl-set-NSACR.-CP11-CP10-bi.patch 0000001790 1.75 KB
audio-oss-fix-buffer-pos-calculation.patch 0000001264 1.23 KB
backup-top-Begin-drain-earlier.patch 0000001349 1.32 KB
blkdebug-Allow-taking-unsharing-permissi.patch 0000006954 6.79 KB
block-Activate-recursively-even-for-alre.patch 0000003818 3.73 KB
block-Add-bdrv_qapi_perm_to_blk_perm.patch 0000003030 2.96 KB
block-Fix-VM-size-field-width-in-snapsho.patch 0000002065 2.02 KB
block-backup-fix-memory-leak-in-bdrv_bac.patch 0000002072 2.02 KB
block-backup-top-fix-failure-path.patch 0000003087 3.01 KB
block-block-copy-fix-progress-calculatio.patch 0000007126 6.96 KB
block-fix-crash-on-zero-length-unaligned.patch 0000003690 3.6 KB
block-fix-memleaks-in-bdrv_refresh_filen.patch 0000003217 3.14 KB
block-nbd-extract-the-common-cleanup-cod.patch 0000002288 2.23 KB
block-nbd-fix-memory-leak-in-nbd_open.patch 0000003542 3.46 KB
block-qcow2-threads-fix-qcow2_decompress.patch 0000002482 2.42 KB
bridge.conf 0000000441 441 Bytes
bundles.tar.xz 0000105540 103 KB
config.sh 0000003163 3.09 KB
configure-only-populate-roms-if-softmmu.patch 0000000889 889 Bytes
display-bochs-display-fix-memory-leak.patch 0000001138 1.11 KB
enable-cross-compilation-on-ARM.patch 0000000694 694 Bytes
ensure-headers-included-are-compatible-w.patch 0000001537 1.5 KB
hmat-acpi-Build-Memory-Proximity-Domain-.patch 0000008870 8.66 KB
hmat-acpi-Build-Memory-Side-Cache-Inform.patch 0000004504 4.4 KB
hmat-acpi-Build-System-Locality-Latency-.patch 0000005754 5.62 KB
hw-arm-cubieboard-use-ARM-Cortex-A8-as-t.patch 0000002187 2.14 KB
hw-arm-smmuv3-Align-stream-table-base-ad.patch 0000002979 2.91 KB
hw-arm-smmuv3-Apply-address-mask-to-line.patch 0000001936 1.89 KB
hw-arm-smmuv3-Check-stream-IDs-against-a.patch 0000002120 2.07 KB
hw-arm-smmuv3-Correct-SMMU_BASE_ADDR_MAS.patch 0000001623 1.58 KB
hw-arm-smmuv3-Report-F_STE_FETCH-fault-a.patch 0000001798 1.76 KB
hw-arm-smmuv3-Use-correct-bit-positions-.patch 0000002164 2.11 KB
hw-i386-disable-smbus-migration-for-xenf.patch 0000001818 1.78 KB
hw-i386-pc-fix-regression-in-parsing-vga.patch 0000002067 2.02 KB
hw-intc-arm_gicv3_kvm-Stop-wrongly-progr.patch 0000002486 2.43 KB
hw-intc-exynos4210_gic-provide-more-room.patch 0000003552 3.47 KB
hw-smbios-handle-both-file-formats-regar.patch 0000004181 4.08 KB
hw-usb-dev-mtp-Fix-GCC-9-build-warning.patch 0000001741 1.7 KB
hw-usb-hcd-xhci-Fix-GCC-9-build-warning.patch 0000002076 2.03 KB
i386-Add-MSR-feature-bit-for-MDS-NO.patch 0000001179 1.15 KB
i386-Add-macro-for-stibp.patch 0000001350 1.32 KB
i386-Add-new-CPU-model-Cooperlake.patch 0000004190 4.09 KB
i386-Resolve-CPU-models-to-v1-by-default.patch 0000003475 3.39 KB
i8254-Fix-migration-from-SLE11-SP2.patch 0000001466 1.43 KB
increase-x86_64-physical-bits-to-42.patch 0000001111 1.08 KB
intel_iommu-a-fix-to-vtd_find_as_from_bu.patch 0000001385 1.35 KB
iotests-Fix-IMGOPTSSYNTAX-for-nbd.patch 0000001421 1.39 KB
iotests-Fix-nonportable-use-of-od-endian.patch 0000002115 2.07 KB
iotests-Provide-a-function-for-checking-.patch 0000003052 2.98 KB
iotests-Skip-test-060-if-it-is-not-possi.patch 0000001300 1.27 KB
iotests-Skip-test-079-if-it-is-not-possi.patch 0000001329 1.3 KB
iotests-add-test-for-backup-top-failure-.patch 0000006101 5.96 KB
ipxe-Makefile-fix-issues-of-build-reprod.patch 0000002043 2 KB
iscsi-Cap-block-count-from-GET-LBA-STATU.patch 0000002342 2.29 KB
job-refactor-progress-to-separate-object.patch 0000008810 8.6 KB
ksm.service 0000000314 314 Bytes
kvm.conf 0000000036 36 Bytes
linux-user-Fake-proc-cpuinfo.patch 0000002070 2.02 KB
linux-user-add-binfmt-wrapper-for-argv-0.patch 0000004459 4.35 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-properly-test-for-infinite-ti.patch 0000001160 1.13 KB
linux-user-use-target_ulong.patch 0000003655 3.57 KB
m68k-Fix-regression-causing-Single-Step-.patch 0000003278 3.2 KB
migration-Rate-limit-inside-host-pages.patch 0000006029 5.89 KB
migration-test-ppc64-fix-FORTH-test-prog.patch 0000002597 2.54 KB
numa-Extend-CLI-to-provide-initiator-inf.patch 0000012369 12.1 KB
numa-Extend-CLI-to-provide-memory-latenc.patch 0000019963 19.5 KB
numa-Extend-CLI-to-provide-memory-side-c.patch 0000012735 12.4 KB
numa-properly-check-if-numa-is-supported.patch 0000002579 2.52 KB
pc-bios-s390-ccw-net-avoid-warning-about.patch 0000001039 1.01 KB
pc-bios-s390x-Save-iplb-location-in-lowc.patch 0000004775 4.66 KB
qcow2-bitmaps-fix-qcow2_can_store_new_di.patch 0000003429 3.35 KB
qemu-4.2.0.tar.xz 0062222068 59.3 MB
qemu-4.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 0000000898 898 Bytes
qemu-cvs-ioctl_debug.patch 0000001758 1.72 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-rpmlintrc 0000000203 203 Bytes
qemu-supportconfig 0000002004 1.96 KB
qemu.changes 0000268248 262 KB
qemu.keyring 0000031860 31.1 KB
qemu.spec 0000065604 64.1 KB
qemu.spec.in 0000054717 53.4 KB
roms-Makefile-enable-cross-compile-for-b.patch 0000000730 730 Bytes
roms-Makefile-pass-a-packaging-timestamp.patch 0000002545 2.49 KB
roms-change-cross-compiler-naming-to-be-.patch 0000000869 869 Bytes
roms-sgabios-Fix-csum8-to-be-built-by-ho.patch 0000000641 641 Bytes
runstate-ignore-finishmigrate-prelaunch-.patch 0000002386 2.33 KB
s390x-adapter-routes-error-handling.patch 0000002828 2.76 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
slirp-use-correct-size-while-emulating-I.patch 0000002758 2.69 KB
slirp-use-correct-size-while-emulating-c.patch 0000002346 2.29 KB
stub-out-the-SAN-req-s-in-int13.patch 0000003124 3.05 KB
supported.arm.txt 0000030173 29.5 KB
supported.ppc.txt 0000026246 25.6 KB
supported.s390.txt 0000026774 26.1 KB
supported.x86.txt 0000030793 30.1 KB
target-arm-Correct-definition-of-PMCRDP.patch 0000001344 1.31 KB
target-arm-Return-correct-IL-bit-in-merg.patch 0000001830 1.79 KB
target-arm-Set-ISSIs16Bit-in-make_issinf.patch 0000001359 1.33 KB
target-arm-fix-TCG-leak-for-fcvt-half-do.patch 0000001834 1.79 KB
target-arm-monitor-query-cpu-model-expan.patch 0000002440 2.38 KB
target-i386-Add-missed-features-to-Coope.patch 0000005123 5 KB
target-i386-Add-new-bit-definitions-of-M.patch 0000001737 1.7 KB
target-i386-kvm-initialize-feature-MSRs-.patch 0000005032 4.91 KB
tcp_emu-Fix-oob-access.patch 0000001484 1.45 KB
tcp_emu-fix-unsafe-snprintf-usages.patch 0000006498 6.35 KB
test-add-mapping-from-arch-of-i686-to-qe.patch 0000000926 926 Bytes
tests-Disable-some-block-tests-for-now.patch 0000002522 2.46 KB
tests-Fix-block-tests-to-be-compatible-w.patch 0000004088 3.99 KB
tests-change-error-message-in-test-162.patch 0000001104 1.08 KB
tests-numa-Add-case-for-QMP-build-HMAT.patch 0000013131 12.8 KB
tests-qemu-iotests-Triple-timeout-of-i-o.patch 0000001069 1.04 KB
tpm-ppi-page-align-PPI-RAM.patch 0000001739 1.7 KB
update_git.sh 0000034178 33.4 KB
util-add-slirp_fmt-helpers.patch 0000003702 3.62 KB
vga-Raise-VRAM-to-16-MiB-for-pc-0.15-and.patch 0000002132 2.08 KB
vhost-user-blk-delete-virtioqueues-in-un.patch 0000002801 2.74 KB
vhost-user-gpu-Drop-trailing-json-comma.patch 0000001367 1.33 KB
virtio-add-ability-to-delete-vq-through-.patch 0000002081 2.03 KB
virtio-blk-fix-out-of-bounds-access-to-b.patch 0000001475 1.44 KB
virtio-crypto-do-delete-ctrl_vq-in-virti.patch 0000002689 2.63 KB
virtio-don-t-enable-notifications-during.patch 0000005171 5.05 KB
virtio-mmio-update-queue-size-on-guest-w.patch 0000001394 1.36 KB
virtio-net-delete-also-control-queue-whe.patch 0000001338 1.31 KB
virtio-pmem-do-delete-rq_vq-in-virtio_pm.patch 0000001408 1.38 KB
virtio-update-queue-size-on-guest-write.patch 0000001239 1.21 KB
vnc-prioritize-ZRLE-compression-over-ZLI.patch 0000002348 2.29 KB
xen-add-block-resize-support-for-xen-dis.patch 0000001124 1.1 KB
xen-ignore-live-parameter-from-xen-save-.patch 0000001751 1.71 KB
xen_disk-Add-suse-specific-flush-disable.patch 0000001976 1.93 KB
Revision 537 (latest revision is 864)
Bruce Rogers's avatar Bruce Rogers (bfrogers) accepted request 786944 from Liang Yan's avatar Liang Yan (lyan) (revision 537)
fix issue that s390x could not read ipl program when using dasd as boot device
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