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-qemu-0.7.0-amd64.patch 0000001431 1.4 KB
0002-qemu-0.9.0.cvs-binfmt.patch 0000007525 7.35 KB
0003-qemu-cvs-alsa_bitfield.patch 0000002463 2.41 KB
0004-qemu-cvs-alsa_ioctl.patch 0000134019 131 KB
0005-qemu-cvs-alsa_mmap.patch 0000001555 1.52 KB
0006-qemu-cvs-gettimeofday.patch 0000000825 825 Bytes
0007-qemu-cvs-ioctl_debug.patch 0000001434 1.4 KB
0008-qemu-cvs-ioctl_nodirection.patch 0000001603 1.57 KB
0009-qemu-cvs-newpath.patch 0000006250 6.1 KB
0010-qemu-cvs-sched_getaffinity.patch 0000001952 1.91 KB
0011-qemu-cvs-mmap-amd64.patch 0000001206 1.18 KB
0012-qemu-cvs-pthread.patch 0000000728 728 Bytes
0013-qemu-img-vmdk-scsi.patch 0000005045 4.93 KB
0014-qemu-nonvoid_return.patch 0000001125 1.1 KB
0015-pcap-network-emulation.patch 0000005606 5.47 KB
0016-i386-linux-user-NPTL-support.patch 0000002097 2.05 KB
0017-qemu-0.11-git-ioctl_mount.patch 0000000893 893 Bytes
0018-qemu-0.11-git-user-linux-ppc-uid16_fix.patch 0000004886 4.77 KB
0019-Rewrite-mmap_find_vma-to-work-fine-on-64-bit-hosts.patch 0000004076 3.98 KB
0020-TCG-sync-op-32-bit-targets-fixed.patch 0000002431 2.37 KB
0021-S-390-CPU-emulation.patch 0000148332 145 KB
0022-S-390-host-target-build-system-support.patch 0000003597 3.51 KB
0023-S-390-host-support-for-TCG.patch 0000052822 51.6 KB
0024-linux-user-S-390-64-bit-s390x-support.patch 0000045933 44.9 KB
0025-linux-user-don-t-do-locking-in-single-threaded-proc.patch 0000003571 3.49 KB
0026-linux-user-dup3-fallocate-syscalls.patch 0000002311 2.26 KB
0027-linux-user-fcntl-fixes-for-LTP.patch 0000007642 7.46 KB
0028-linux-user-enable-getdents-for-32-bit-systems.patch 0000001371 1.34 KB
0029-linux-user-define-a-couple-of-syscalls-for-non-uid1.patch 0000008162 7.97 KB
0030-linux-user-getpriority-errno-fix.patch 0000001024 1 KB
0031-linux-user-fadvise64-implementation.patch 0000001528 1.49 KB
0032-linux-user-zero-fstat-buffer-to-initialize-nsec-fie.patch 0000001241 1.21 KB
0033-dup3-check-fallocate-check-fixed.patch 0000002241 2.19 KB
qemu-0.11.0.tar.bz2 0003292681 3.14 MB
qemu.changes 0000023454 22.9 KB
qemu.spec 0000005978 5.84 KB
rpmlintrc 0000000132 132 Bytes
Revision 5 (latest revision is 864)
Bruce Rogers's avatar Bruce Rogers (bfrogers) committed (revision 5)
- co-exist with virt-utils, which provides some qemu components
  (bnc#586115)
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