Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304771 - app-emulation/qemu-0.12.2 version bump (maybe?)
Summary: app-emulation/qemu-0.12.2 version bump (maybe?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-12 20:52 UTC by Daniel Douglas
Modified: 2011-04-29 19:13 UTC (History)
11 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for qemu 0.12-4 (qemu-0.12.4.ebuild,4.66 KB, text/plain)
2010-06-13 20:07 UTC, 404 Error
Details
ebuild for QEMU 0.12.5 (qemu-0.12.5.ebuild,4.66 KB, text/plain)
2010-08-25 23:37 UTC, Raffaello D. Di Napoli
Details
ebuild for QEMU 0.13.0 (qemu-0.13.0.ebuild,5.94 KB, text/plain)
2011-01-05 04:59 UTC, Raffaello D. Di Napoli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Douglas 2010-02-12 20:52:29 UTC
I'm not sure whether the most recent version numbers of both qemu-kvm and qemu (according to the qemu website) are 0.12.2 due to coincidence, or qemu being superseded by qemu-kvm, but qemu-kvm was updated in the tree long ago while qemu 0.12.x has been out since early December yet remains at 0.11.1 in the tree with no bugs reported about it. Qemu also has a kvm use flag so I'm really not sure what the difference is - but in any event the latest tree version doesn't appear to be the latest so I thought I'd post a bug about it. Sorry if I'm misunderstanding something.

Reproducible: Always

Steps to Reproduce:
Comment 1 Jesse Adelman 2010-02-26 08:00:34 UTC
"ChangeLog
From QEMU

version 0.12.3:

 - kvm: Fix eflags corruption in kvm mode (Jan Kiszka)
 - qcow2: Fix access after end of array (Kevin Wolf)
 - ide save/restore pio/atapi cmd transfer fields and io buffer (Marcelo Tosatti)
 - net: Monitor command set_link finds only VLAN clients, fix (Markus Armbruster)
 - net: info network shows only VLAN clients, fix (Markus Armbruster)
 - net: net_check_clients() checks only VLAN clients, fix (Markus Armbruster)
 - net: Fix bogus "Warning: vlan 0 with no nics" with -device (Markus Armbruster)
 - net: net_check_clients() runs too early to see -device, fix (Markus Armbruster)
 - net: Remove unused net_client_uninit() (Markus Armbruster)
 - don't dereference NULL after failed strdup (Jim Meyering)
 - virtio-net: fix network stall under load (Tom Lendacky)
 - json: fix PRId64 on Win32 (Roy Tam)
 - fix inet_parse typo (Marcelo Tosatti)
 - iothread: fix vcpu stop with smp tcg (Marcelo Tosatti)
 - segfault due to buffer overrun in usb-serial (David S. Ahern)
 - qcow2: Fix signedness bugs (Kevin Wolf)
 - Do not ignore error, if open file failed (-serial /dev/tty) (Evgeniy Dushistov)
 - pc-bios: update to newer version of (stable) seabios (Anthony Liguori)
 - target-mips: fix ROTR and DROTR by zero (Aurelien Jarno)
 - target-mips: fix CpU exception for coprocessor 0 (Nathan Froyd)
 - tcg/mips: fix crash in tcg_out_qemu_ld() (Aurelien Jarno)
 - target-mips: don't call cpu_loop_exit() from helper.c (Aurelien Jarno)
 - virtio-blk: Fix error cases which ignored rerror/werror (Kevin Wolf)
 - virtio-blk: Fix restart after read error (Kevin Wolf)
 - virtio_blk: Factor virtio_blk_handle_request out (Kevin Wolf)
 - cirrus: Properly re-register cirrus_linear_io_addr on vram unmap (Jan Kiszka)
 - qcow2: Don't ignore qcow2_alloc_clusters return value (Kevin Wolf)
 - qcow2: Don't ignore update_refcount return value (Kevin Wolf)
 - qcow2: Allow updating no refcounts (Kevin Wolf)
 - qcow2: Improve error handling in update_refcount (Kevin Wolf)
 - qcow2: Fix error handling in grow_refcount_table (Kevin Wolf)
 - block: Return original error codes in bdrv_pread/write (Kevin Wolf)
 - qcow2: Return 0/-errno in qcow2_alloc_cluster_offset (Kevin Wolf)
 - qcow2: Return 0/-errno in get_cluster_table (Kevin Wolf)
 - qcow2: Fix error handling in qcow_save_vmstate (Kevin Wolf)
 - qcow2: Fix error handling in qcow2_grow_l1_table (Kevin Wolf)
 - win32/sdl: Fix toggle full screen (Herve Poussineau)
 - win32: pair qemu_memalign() with qemu_vfree() (Herve Poussineau)
 - vnc_refresh: calling vnc_update_client might free vs (Stefano Stabellini)
 - Musicpal: Fix descriptor walk in eth_send (Jan Kiszka)
 - Musicpal: Fix wm8750 I2C address (Jan Kiszka)
 - fix savevm command without id or tag (Marcelo Tosatti)
 - reduce number of reinjects on ACK (Gleb Natapov)
 - QMP: Fix asynchronous events delivery (Luiz Capitulino)
 - Documentation: Add missing documentation for qdev related command line options (Stefan Weil)
 - pc: add driver version compat properties (Gerd Hoffmann)
 - scsi: device version property (Gerd Hoffmann)
 - ide: device version property (Gerd Hoffmann)
 - QMP: Emit asynchronous events on all QMP monitors (Adam Litke)
 - Fix QEMU_WARN_UNUSED_RESULT (Kevin Wolf)"

Thanks!
Comment 2 Patrick Lauer gentoo-dev 2010-05-03 21:43:49 UTC
Looks like kqemu support got removed, and:

  CC    cmd.o
Makefile:4: ../config-all-devices.mak: No such file or directory
make[1]: *** No rule to make target `../config-all-devices.mak'.  Stop.
make: *** [subdir-libhw32] Error 2
make: *** Waiting for unfinished jobs....
rm multiboot.o linuxboot.raw linuxboot.img multiboot.raw multiboot.img linuxboot.o
 * ERROR: app-emulation/qemu-0.12.3 failed:
Comment 3 Thomas Sachau gentoo-dev 2010-05-13 14:14:15 UTC
(In reply to comment #2)
> Looks like kqemu support got removed, and:
> 
>   CC    cmd.o
> Makefile:4: ../config-all-devices.mak: No such file or directory
> make[1]: *** No rule to make target `../config-all-devices.mak'.  Stop.
> make: *** [subdir-libhw32] Error 2
> make: *** Waiting for unfinished jobs....
> rm multiboot.o linuxboot.raw linuxboot.img multiboot.raw multiboot.img
> linuxboot.o
>  * ERROR: app-emulation/qemu-0.12.3 failed:
> 

This looks familiar, i had similar issues bumping qemu-kvm. See my changes for that, Main issue is changed targets, you need to update the target list.
Comment 4 Sven 2010-05-14 18:32:26 UTC
0.12.4 is out
Comment 5 404 Error 2010-06-13 20:07:31 UTC
Created attachment 235211 [details]
ebuild for qemu 0.12-4

My proposal in attached file (a re-worked ebuild from qemu-0.11.1 with an updated targets list, an epatch line removed and no more references to kqemu)

"works on my machine!"(tm) => AMD64 Funtoo, however Gentoo shouldn't bring troubles as both share the same portage tree.
Comment 6 404 Error 2010-06-13 20:14:55 UTC
See http://wiki.qemu.org/ChangeLog for the full information.

version 0.12.4: 

 - Workaround for broken OSS_GETVERSION on FreeBSD, part two (Juergen Lock)
 - oss: fix fragment setting (malc)
 - oss: issue OSS_GETVERSION ioctl only when needed (malc)
 - oss: refactor code around policy setting (malc)
 - oss: workaround for cases when OSS_GETVERSION is not defined (malc)
 - block: Free iovec arrays allocated by multiwrite_merge() (Stefan Hajnoczi)
 - lsi: fix segfault in lsi_command_complete (Gerd Hoffmann)
 - lsi: pass lsi_request to lsi_reselect (Gerd Hoffmann)
 - lsi: move dma_len+dma_buf into lsi_request (Gerd Hoffmann)
 - lsi: move current_dev into lsi_request (Gerd Hoffmann)
 - lsi: have lsi_request for the whole life time of the request. (Gerd Hoffmann)
 - lsi: use QTAILQ for lsi_queue (Gerd Hoffmann)
 - tcp/mips: Change TCG_AREG0 (fp -> s0) (Stefan Weil)
 - sh_pci: fix memory and I/O access (Aurelien Jarno)
 - Fix incoming migration with iothread (Marcelo Tosatti)
 - Fix SIGFPE for vnc display of width/height = 1 (Chris Webb)
 - net: remove broken net_set_boot_mask() boot device validation (Eduardo Habkost)
 - qcow2: Remove request from in-flight list after error (Kevin Wolf)
 - qcow2: Don't ignore immediate read/write failures (Kevin Wolf)
 - block: Fix multiwrite memory leak in error case (Kevin Wolf)
 - block: Fix error code in multiwrite for immediate failures (Kevin Wolf)
 - block: Fix multiwrite error handling (Kevin Wolf)
 - scsi-disk: fix buffer overflow (Gerd Hoffmann)
 - qcow2: Rewrite alloc_refcount_block/grow_refcount_table (Kevin Wolf)
 - qcow2: Factor next_refcount_table_size out (Kevin Wolf)
 - block: avoid creating too large iovecs in multiwrite_merge (Christoph Hellwig)
 - json-parser: Fix segfault on malformed input (Kevin Wolf)
 - linux-user: switch default ppc64 CPU to 970fx from 970 (Aurelien Jarno)
 - target-sh4: MMU: fix store queue addresses (Aurelien Jarno)
 - target-sh4: MMU: fix ITLB priviledge check (Aurelien Jarno)
 - target-sh4: MMU: fix mem_idx computation (Aurelien Jarno)
 - sh7750: handle MMUCR TI bit (Aurelien Jarno)
 - UHCI spurious interrut fix (Paul Brook)
 - tcg/mips: fix branch offset during retranslation (Aurelien Jarno)
 - tcg/arm: correctly save/restore registers in prologue/epilogue (Aurelien Jarno)
 - workaround for cmd646 bmdma register access while no dma is active (Igor V. Kovalenko)
 - Fix corner case in chardev udp: parameter (Jan Kiszka)
 - Don't set default monitor when there is a mux'ed one (Jan Kiszka)
 - spelling typo (compatibilty) in hw/fw_cfg.c (Vagrant Cascadian)
 - fdc: fix drive property handling. (Gerd Hoffmann)
 - target-i386: fix commit c22549204a6edc431e8e4358e61bd56386ff6957 (TeLeMan)
 - target-i386: fix SIB decoding with index = 4 (Aurelien Jarno)
 - Fix segfault with ram_size > 4095M without kvm (Ryan Harper)
 - target-i386: Fix long jumps/calls in long mode with REX.W set (malc)
 - target-i386: fix lddqu SSE instruction (Aurelien Jarno)
 - qemu-char.c: drop debug printfs from qemu_chr_parse_compat (Jan Kiszka)
 - fix undefined shifts by >32 (Paolo Bonzini)
 - Fix qemu -net user,hostfwd= example (Aurelien Jarno)
Comment 7 Raffaello D. Di Napoli 2010-08-25 23:37:03 UTC
Created attachment 244617 [details]
ebuild for QEMU 0.12.5

I updated the ebuild to version 0.12.5, here’s the changelog from http://wiki.qemu.org/ChangeLog :

 - audio/alsa: Handle SND_PCM_STATE_SETUP in alsa_poll_handler
 - block: Handle multiwrite errors only when all requests have completed
 - block: Fix early failure in multiwrite
 - vpc: Use bdrv_(p)write_sync for metadata writes
 - vmdk: Use bdrv_(p)write_sync for metadata writes
 - qcow2: Use bdrv_(p)write_sync for metadata writes
 - qcow: Use bdrv_(p)write_sync for metadata writes
 - block: Add bdrv_(p)write_sync
 - qcow2: Restore L1 entry on l2_allocate failure
 - block/vdi: Fix image opening and creation for odd disk sizes
 - block/vpc: Fix conversion from size to disk geometry
 - qcow2: Remove abort on free_clusters failure
 - vmdk: Fix COW
 - qcow2: Fix creation of large images
 - vmdk: fix double free
 - qemu-options: add documentation for stdio signal=on|off
 - target-arm : fix parallel saturated subtraction implementation
 - target-arm : fix thumb2 parallel add/sub opcode decoding
 - target-arm: fix addsub/subadd implementation
 - target-i386: fix xchg rax,r8
 - block/vvfat.c: fix warnings with _FORTIFY_SOURCE
 - audio/alsa: Spelling typo (paramters)
 - target-mips: fix DINSU instruction
 - Correct definitions for FD_CMD_SAVE and FD_CMD_RESTORE
 - qcow2: Fix corruption after error in update_refcount
 - qcow2: Fix corruption after refblock allocation
 - block: Fix multiwrite with overlapping requests
 - qcow2: Fix error handling in l2_allocate
 - qcow2: Clear L2 table cache after write error
 - ide: Fix ide_dma_cancel
 - usb-bus: fix no params
 - Avoid crash on '-usbdevice <device>' without parameters
 - Fix -usbdevice crash
 - Fix multiboot compilation
 - Fix missing symbols in .rel/.rela.plt sections
 - target-ppc: fix RFI by clearing some bits of MSR
 - Fix typo in balloon help
 - arm_timer: fix oneshot mode
 - arm_timer: reload timer when enabled
 - qemu-sockets: avoid strlen of NULL pointer
 - block: fix aio_flush segfaults for read-only protocols (e.g. curl)
 - virtio-blk: fix barrier support
 - block: fix sector comparism in multiwrite_req_compare
 - pci: irq_state vmstate breakage
 - qemu-img: use the heap instead of the huge stack array for win32
Comment 8 Raffaello D. Di Napoli 2011-01-05 04:59:55 UTC
Created attachment 258896 [details]
ebuild for QEMU 0.13.0

I don’t know if anyone’s interested anymore; I, for one, still am.
So I throughly revised the ebuild for 0.13.0, copying large portions from qemu-kvm-0.13.0 and removing, of course, references to KVM; as a result, this ebuild requires a few patches from qemu-kvm, renamed from qemu-kvm-* to qemu-*.

I also tried to address a few QA issues with the prebuilt BIOS images shipped, but I couldn’t solve them entirely.

I’ve been trying this new 0.13.0 for my own needs, and it seems to work fine.

I might offer to maintain this package, if anybody cares.
Comment 9 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-04-29 19:13:31 UTC
I'm marking this bug as fixed since Luca added 0.14.0 to the tree 2 months ago.

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-emulation/qemu/qemu-0.14.0.ebuild?revision=1.3&view=markup