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 0000000128 128 Bytes
APIC.core-count2 0000002478 2.42 KB
DSDT.core-count2 0000032552 31.8 KB
DSDT.pcie 0000003023 2.95 KB
Disable-some-tests-that-have-problems-in.patch 0000001919 1.87 KB
FACP.core-count2 0000000244 244 Bytes
Make-char-muxer-more-robust-wrt-small-FI.patch 0000004157 4.06 KB
Make-installed-scripts-explicitly-python.patch 0000001120 1.09 KB
Makefile-fix-build-with-binutils-2.38.patch 0000002648 2.59 KB
PPC-KVM-Disable-mmu-notifier-check.patch 0000001083 1.06 KB
README.PACKAGING 0000004901 4.79 KB
Raise-soft-address-space-limit-to-hard-l.patch 0000001548 1.51 KB
Revert-linux-user-fix-compat-with-glibc-.patch 0000003142 3.07 KB
Revert-roms-efirom-tests-uefi-test-tools.patch 0000001558 1.52 KB
Revert-tests-qtest-enable-more-vhost-use.patch 0000002386 2.33 KB
Update-linux-headers-to-v6.0-rc4.patch 0000048352 47.2 KB
_constraints 0000001890 1.85 KB
_multibuild 0000000061 61 Bytes
accel-abort-if-we-fail-to-load-the-accel.patch 0000002001 1.95 KB
acpi-cpuhp-fix-guest-visible-maximum-acc.patch 0000007417 7.24 KB
ath5k-Add-missing-AR5K_EEPROM_READ-in-at.patch 0000001266 1.24 KB
bios-tables-test-add-test-for-number-of-.patch 0000005033 4.92 KB
bios-tables-test-teach-test-to-use-smbio.patch 0000007360 7.19 KB
block-Handle-curl-7.55.0-7.85.0-version-.patch 0000004518 4.41 KB
block-io_uring-revert-Use-io_uring_regis.patch 0000002794 2.73 KB
bridge.conf 0000000441 441 Bytes
bundles.tar.xz 0000130584 128 KB
config.sh 0000004051 3.96 KB
configure-Add-Wno-gnu-variable-sized-typ.patch 0000002397 2.34 KB
dmg-warn-when-opening-dmg-images-contain.patch 0000001994 1.95 KB
dump-Add-architecture-section-and-sectio.patch 0000012173 11.9 KB
dump-Refactor-dump_iterate-and-introduce.patch 0000004503 4.4 KB
dump-Reintroduce-memory_offset-and-secti.patch 0000001282 1.25 KB
dump-Rename-write_elf-_phdr_note-to-prep.patch 0000002141 2.09 KB
dump-Rename-write_elf_loads-to-write_elf.patch 0000001480 1.45 KB
dump-Reorder-struct-DumpState.patch 0000001921 1.88 KB
dump-Replace-opaque-DumpState-pointer-wi.patch 0000018855 18.4 KB
dump-Rework-dump_calculate_size-function.patch 0000002342 2.29 KB
dump-Rework-filter-area-variables.patch 0000006663 6.51 KB
dump-Rework-get_start_block.patch 0000002893 2.83 KB
dump-Split-elf-header-functions-into-pre.patch 0000006725 6.57 KB
dump-Use-a-buffer-for-ELF-section-data-a.patch 0000004632 4.52 KB
dump-Write-ELF-section-headers-right-aft.patch 0000003284 3.21 KB
hw-acpi-erst.c-Fix-memory-handling-issue.patch 0000002559 2.5 KB
hw-display-qxl-Avoid-buffer-overrun-in-q.patch 0000004705 4.59 KB
hw-display-qxl-Document-qxl_phys2virt.patch 0000001990 1.94 KB
hw-display-qxl-Have-qxl_log_command-Retu.patch 0000001849 1.81 KB
hw-display-qxl-Pass-requested-buffer-siz.patch 0000008815 8.61 KB
hw-pvrdma-Protect-against-buggy-or-malic.patch 0000001465 1.43 KB
hw-scsi-megasas-check-for-NULL-frame-in-.patch 0000001123 1.1 KB
hw-smbios-add-core_count2-to-smbios-tabl.patch 0000005851 5.71 KB
hw-smbios-handle-both-file-formats-regar.patch 0000004194 4.1 KB
hw-smbios-support-for-type-8-port-connec.patch 0000006447 6.3 KB
include-elf.h-add-s390x-note-types.patch 0000001205 1.18 KB
increase-x86_64-physical-bits-to-42.patch 0000002690 2.63 KB
ksm.service 0000000314 314 Bytes
kvm.conf 0000000036 36 Bytes
linux-user-Fake-proc-cpuinfo.patch 0000002672 2.61 KB
linux-user-lseek-explicitly-cast-non-set.patch 0000001326 1.29 KB
linux-user-remove-conditionals-for-many-.patch 0000003576 3.49 KB
linux-user-use-max-as-default-CPU-model-.patch 0000002868 2.8 KB
linux-user-use-target_ulong.patch 0000003946 3.85 KB
meson-install-ivshmem-client-and-ivshmem.patch 0000001319 1.29 KB
meson-remove-pkgversion-from-CONFIG_STAM.patch 0000001520 1.48 KB
module-add-Error-arguments-to-module_loa.patch 0000024325 23.8 KB
module-removed-unused-function-argument-.patch 0000005823 5.69 KB
module-rename-module_load_one-to-module_.patch 0000009449 9.23 KB
net-tulip-Restrict-DMA-engine-to-memorie.patch 0000002778 2.71 KB
openSUSE-Basetools-Ignore-spurious-GCC-1.patch 0000003908 3.82 KB
openSUSE-Makefile-Fix-csum8-to-be-built-.patch 0000000648 648 Bytes
openSUSE-Makefile-define-endianess-for-c.patch 0000001084 1.06 KB
openSUSE-Makefile-fix-issues-of-build-re.patch 0000001144 1.12 KB
openSUSE-add-cross.ini-file-to-handle-aa.patch 0000000611 611 Bytes
openSUSE-build-Makefile-fix-issues-of-bu.patch 0000002057 2.01 KB
openSUSE-build-Silence-GCC-12-spurious-w.patch 0000002476 2.42 KB
openSUSE-build-be-explicit-about-mx86-us.patch 0000001205 1.18 KB
openSUSE-build-enable-cross-compilation-.patch 0000000712 712 Bytes
openSUSE-pc-q35-Bump-max_cpus-to-1024.patch 0000001502 1.47 KB
openSUSE-pcbios-stub-out-the-SAN-req-s-i.patch 0000003144 3.07 KB
openSUSE-switch-to-python3-as-needed.patch 0000006614 6.46 KB
openSUSE-test-help-compiler-out-by-initi.patch 0000001187 1.16 KB
qemu-7.1.0.tar.xz 0121833004 116 MB
qemu-7.1.0.tar.xz.sig 0000000310 310 Bytes
qemu-binfmt-conf-Modify-default-path.patch 0000000855 855 Bytes
qemu-bridge-helper-reduce-security-profi.patch 0000002660 2.6 KB
qemu-guest-agent.service 0000000398 398 Bytes
qemu-ifup 0000000678 678 Bytes
qemu-kvm.1.gz 0000000047 47 Bytes
qemu-osdep-Switch-position-of-extern-and.patch 0000004896 4.78 KB
qemu-rpmlintrc 0000000233 233 Bytes
qemu-supportconfig 0000002114 2.06 KB
qemu.changes 0000383262 374 KB
qemu.keyring 0000031860 31.1 KB
qemu.spec 0000073384 71.7 KB
qemu.spec.in 0000067002 65.4 KB
roms-Makefile-add-cross-file-to-qboot-me.patch 0000000967 967 Bytes
roms-Makefile-pass-a-packaging-timestamp.patch 0000002494 2.44 KB
roms-change-cross-compiler-naming-to-be-.patch 0000000912 912 Bytes
s390x-Add-KVM-PV-dump-interface.patch 0000004114 4.02 KB
s390x-Add-protected-dump-cap.patch 0000003547 3.46 KB
s390x-Introduce-PV-query-interface.patch 0000005393 5.27 KB
s390x-pci-add-routine-to-get-host-functi.patch 0000005925 5.79 KB
s390x-pci-don-t-fence-interpreted-device.patch 0000001753 1.71 KB
s390x-pci-enable-adapter-event-notificat.patch 0000009048 8.84 KB
s390x-pci-enable-for-load-store-interpre.patch 0000011242 11 KB
s390x-pci-let-intercept-devices-have-sep.patch 0000006966 6.8 KB
s390x-pci-reflect-proper-maxstbl-for-gro.patch 0000001528 1.49 KB
s390x-pci-reset-ISM-passthrough-devices-.patch 0000005117 5 KB
s390x-pci-shrink-DMA-aperture-to-be-boun.patch 0000003142 3.07 KB
s390x-pv-Add-dump-support.patch 0000015597 15.2 KB
s390x-tod-kvm-don-t-save-restore-the-TOD.patch 0000001953 1.91 KB
scsi-generic-check-for-additional-SG_IO-.patch 0000001419 1.39 KB
scsi-generic-replace-logical-block-count.patch 0000003701 3.61 KB
supported.arm.txt 0000033900 33.1 KB
supported.ppc.txt 0000000160 160 Bytes
supported.s390.txt 0000029093 28.4 KB
supported.x86.txt 0000033237 32.5 KB
test-vmstate-fix-bad-GTree-usage-use-aft.patch 0000002537 2.48 KB
tests-acpi-allow-changes-for-core_count2.patch 0000001909 1.86 KB
tests-acpi-update-tables-for-new-core-co.patch 0000004892 4.78 KB
tests-change-error-message-in-test-162.patch 0000001158 1.13 KB
tests-qemu-iotests-Triple-timeout-of-i-o.patch 0000001116 1.09 KB
ui-vnc-clipboard-fix-integer-underflow-i.patch 0000002294 2.24 KB
update_git.sh 0000046046 45 KB
xen-add-block-resize-support-for-xen-dis.patch 0000001124 1.1 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 770 (latest revision is 867)
Dario Faggioli's avatar Dario Faggioli (dfaggioli) accepted request 1073731 from Dario Faggioli's avatar Dario Faggioli (dfaggioli) (revision 770)
- Further fixes for bsc#1209546
* Patches added:
  test-vmstate-fix-bad-GTree-usage-use-aft.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