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-XXX-dont-dump-core-on-sigabort.patc.patch 0000001143 1.12 KB
0002-XXX-work-around-SA_RESTART-race-wit.patch 0000008174 7.98 KB
0003-qemu-0.9.0.cvs-binfmt.patch.patch 0000009293 9.08 KB
0004-qemu-cvs-alsa_bitfield.patch.patch 0000002585 2.52 KB
0005-qemu-cvs-alsa_ioctl.patch.patch 0000133854 131 KB
0006-qemu-cvs-alsa_mmap.patch.patch 0000001555 1.52 KB
0007-qemu-cvs-gettimeofday.patch.patch 0000000785 785 Bytes
0008-qemu-cvs-ioctl_debug.patch.patch 0000001473 1.44 KB
0009-qemu-cvs-ioctl_nodirection.patch.patch 0000001614 1.58 KB
0010-block-vmdk-Support-creation-of-SCSI.patch 0000004659 4.55 KB
0011-linux-user-add-binfmt-wrapper-for-a.patch 0000013164 12.9 KB
0012-linux-user-Ignore-timer_create-sysc.patch 0000000976 976 Bytes
0013-linux-user-be-silent-about-capget-f.patch 0000000963 963 Bytes
0014-PPC-KVM-Disable-mmu-notifier-check..patch 0000001024 1 KB
0015-linux-user-fix-segfault-deadlock.pa.patch 0000002384 2.33 KB
0016-linux-user-binfmt-support-host-bina.patch 0000001654 1.62 KB
0017-linux-user-arm-no-tb_flush-on-reset.patch 0000001044 1.02 KB
0018-linux-user-Ignore-broken-loop-ioctl.patch 0000002540 2.48 KB
0019-linux-user-lock-tcg.patch.patch 0000004115 4.02 KB
0020-linux-user-Run-multi-threaded-code-.patch 0000001564 1.53 KB
0021-linux-user-lock-tb-flushing-too.pat.patch 0000003844 3.75 KB
0022-linux-user-Fake-proc-cpuinfo.patch.patch 0000002036 1.99 KB
0023-linux-user-implement-FS_IOC_GETFLAG.patch 0000001405 1.37 KB
0024-linux-user-implement-FS_IOC_SETFLAG.patch 0000001291 1.26 KB
0025-linux-user-XXX-disable-fiemap.patch.patch 0000000805 805 Bytes
0026-slirp-nooutgoing.patch.patch 0000003860 3.77 KB
0027-vnc-password-file-and-incoming-conn.patch 0000004311 4.21 KB
0028-linux-user-add-more-blk-ioctls.patc.patch 0000002614 2.55 KB
0029-linux-user-use-target_ulong.patch.patch 0000002539 2.48 KB
0030-block-Add-support-for-DictZip-enabl.patch 0000020622 20.1 KB
0031-block-Add-tar-container-format.patc.patch 0000013252 12.9 KB
0032-Legacy-Patch-kvm-qemu-preXX-dictzip.patch 0000001768 1.73 KB
0033-Legacy-Patch-kvm-qemu-preXX-report-.patch 0000001466 1.43 KB
0034-console-add-question-mark-escape-op.patch 0000001129 1.1 KB
0035-Make-char-muxer-more-robust-wrt-sma.patch 0000002435 2.38 KB
0036-linux-user-lseek-explicitly-cast-no.patch 0000001395 1.36 KB
0037-virtfs-proxy-helper-Provide-__u64-f.patch 0000000844 844 Bytes
0038-roms-Build-vgabios.bin.patch.patch 0000000669 669 Bytes
0039-configure-Enable-PIE-for-ppc-and-pp.patch 0000000851 851 Bytes
0040-linux-user-Implement-BLKPG-ioctl.pa.patch 0000002878 2.81 KB
bridge.conf 0000000441 441 Bytes
ipxe-build-Avoid-strict-aliasing-warning.patch 0000001027 1 KB
ipxe-build-Work-around-bug-in-gcc-4.8.patch 0000002271 2.22 KB
ipxe-zbin-Fix-size-used-for-memset-in-al.patch 0000001371 1.34 KB
qemu-1.7.0.tar.bz2 0012248954 11.7 MB
qemu-linux-user.changes 0000049466 48.3 KB
qemu-linux-user.spec 0000007686 7.51 KB
qemu-linux-user.spec.in 0000004678 4.57 KB
qemu.changes 0000052536 51.3 KB
qemu.spec 0000014340 14 KB
qemu.spec.in 0000011332 11.1 KB
rpmlintrc 0000000132 132 Bytes
update_git.sh 0000001885 1.84 KB
Revision 177 (latest revision is 864)
Andreas Färber's avatar Andreas Färber (a_faerber) accepted request 214315 from Andreas Färber's avatar Andreas Färber (a_faerber) (revision 177)
Attempt to implement BLKPG ioctl 0x1269 to fix KIWI builds
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