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-Handle-CPU-interrupts-by-inline-che.patch 0000007007 6.84 KB
0002-linux-user-fix-QEMU_STRACE-1-segfau.patch 0000002671 2.61 KB
0003-linux-user-save-auxv-length.patch.patch 0000002913 2.84 KB
0004-linux-user-add-open-hijack-infrastr.patch 0000002864 2.8 KB
0005-linux-user-fake-proc-self-maps.patc.patch 0000001670 1.63 KB
0006-linux-user-fake-proc-self-stat.patc.patch 0000001817 1.77 KB
0007-linux-user-fake-proc-self-auxv.patc.patch 0000002057 2.01 KB
0008-XXX-dont-dump-core-on-sigabort.patc.patch 0000001170 1.14 KB
0009-linux-user-fix-wait-syscall-status-.patch 0000001987 1.94 KB
0010-Revert-linux-user-fix-wait-syscall-.patch 0000001387 1.35 KB
0011-linux-user-fix-wait-syscall-status-.patch 0000002072 2.02 KB
0012-XXX-linux-user-fake-proc-self-maps-.patch 0000002352 2.3 KB
0013-XXX-work-around-SA_RESTART-race-wit.patch 0000008159 7.97 KB
0014-XXX-move-qemu-binary-lower-in-addre.patch 0000000688 688 Bytes
0015-linux-user-map-lower-in-address-spa.patch 0000001182 1.15 KB
0016-XXX-fake-proc-self-maps-also-fclose.patch 0000000705 705 Bytes
0017-XXX-map-qemu-higher-again-so-we-hav.patch 0000001146 1.12 KB
0018-qemu-0.9.0.cvs-binfmt.patch.patch 0000009292 9.07 KB
0019-qemu-cvs-alsa_bitfield.patch.patch 0000002493 2.43 KB
0020-qemu-cvs-alsa_ioctl.patch.patch 0000133890 131 KB
0021-qemu-cvs-alsa_mmap.patch.patch 0000001574 1.54 KB
0022-qemu-cvs-gettimeofday.patch.patch 0000000805 805 Bytes
0023-qemu-cvs-ioctl_debug.patch.patch 0000001478 1.44 KB
0024-qemu-cvs-ioctl_nodirection.patch.patch 0000001634 1.6 KB
0025-qemu-img-vmdk-scsi.patch.patch 0000004548 4.44 KB
0026-qemu-nonvoid_return.patch.patch 0000001106 1.08 KB
0027-fix-mipsn32-linux-user-builds.patch.patch 0000001908 1.86 KB
0028-Integrating-Dynamips-and-GNS3-UDP-t.patch 0000011625 11.4 KB
0029-linux-user-add-binfmt-wrapper-for-a.patch 0000012278 12 KB
0030-linux-user-Ignore-timer_create-sysc.patch 0000000996 996 Bytes
0031-linux-user-be-silent-about-capget-f.patch 0000000969 969 Bytes
0032-linux-user-reserve-4GB-of-vmem-for-.patch 0000001393 1.36 KB
0033-PPC-KVM-Disable-mmu-notifier-check..patch 0000001017 1017 Bytes
0034-linux-user-improve-fake-proc-self-s.patch 0000001797 1.75 KB
0035-linux-user-target_argv-is-placed-on.patch 0000001119 1.09 KB
0036-PPC-KVM-Ignore-SET_ONE_REG-failures.patch 0000001179 1.15 KB
0037-PPC-KVM-Ignore-ENABLE_PAPR-to-suppo.patch 0000000873 873 Bytes
0038-linux-user-fix-segfault-deadlock.pa.patch 0000002169 2.12 KB
0039-linux-user-implement-device-mapper-.patch 0000013702 13.4 KB
0040-linux-user-add-struct-old_dev_t-com.patch 0000004305 4.2 KB
0041-linux-user-fix-BLK-ioctl-arguments..patch 0000001740 1.7 KB
0042-linux-user-add-BLKSSZGET-ioctl-wrap.patch 0000000788 788 Bytes
0043-linux-user-Add-ioctl-for-BLKBSZGET..patch 0000000803 803 Bytes
0044-linux-user-take-RESERVED_VA-into-ac.patch 0000001106 1.08 KB
0045-linux-user-binfmt-support-host-bina.patch 0000001673 1.63 KB
0046-linux-user-fix-fallocate.patch.patch 0000001110 1.08 KB
0047-linux-user-resolve-reserved_va-vma-.patch 0000003577 3.49 KB
0048-XXX-fix-prov-self-maps-major-minor-.patch 0000001455 1.42 KB
0049-XXX-linux-user-proc-self-maps-fix-c.patch 0000001153 1.13 KB
0050-XXX-fix-syntax-error-in-qemu-binfmt.patch 0000001273 1.24 KB
0051-linux-user-Fix-stale-tbs-after-mmap.patch 0000003237 3.16 KB
qemu-1.0.1.tar.bz2 0009062824 8.64 MB
qemu.changes 0000032003 31.3 KB
qemu.spec 0000009624 9.4 KB
qemu.spec.in 0000005753 5.62 KB
rpmlintrc 0000000132 132 Bytes
update_git.sh 0000001787 1.75 KB
Revision 65 (latest revision is 864)
Alexander Graf's avatar Alexander Graf (algraf) committed (revision 65)
fix tb invalidation 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