[Qemu-devel] [Bug 604872] Re: qemu-system-arm segfaults emulating versatile machine after running debootstrap --second-stage inside vm

2011-02-16 Thread Peter Maydell
The commit in qemu-linaro is: http://git.linaro.org/gitweb?p=qemu/qemu-linaro.git;a=commit;h=98eac7cab4392ab28fa22265e27906f5b9c6c9da I asked you to undo the status change just because I don't own qemu- linaro (Ubuntu) and don't know what counts as fix released (eg maybe that only happens when it

[Qemu-devel] Re: [RFC] Some more io-thread optimizations

2011-02-16 Thread Jan Kiszka
On 2011-02-15 23:03, Marcelo Tosatti wrote: On Mon, Feb 14, 2011 at 10:50:42AM +0100, Jan Kiszka wrote: Hi, patch below further reduces the io-thread overhead in tcg mode so that specifically emulating smp boxes gets noticeably faster. Its essence: poll the file descriptors until select

[Qemu-devel] Re: [PATCH] fix halt emulation with icount and CONFIG_IOTHREAD (v2)

2011-02-16 Thread Jan Kiszka
On 2011-02-15 21:56, Marcelo Tosatti wrote: Note: to be applied to uq/master. In icount mode, halt emulation should take into account the nearest event when sleeping. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Reported-and-tested-by: Edgar E. Iglesias edgar.igles...@gmail.com

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-16 Thread Kevin Wolf
Am 16.02.2011 01:59, schrieb Anthony Liguori: On 02/15/2011 07:38 AM, Luiz Capitulino wrote: On Tue, 15 Feb 2011 10:20:01 +0100 Kevin Wolfkw...@redhat.com wrote: Am 14.02.2011 20:34, schrieb Anthony Liguori: On 02/14/2011 12:34 PM, Luiz Capitulino wrote: On Mon, 14 Feb

[Qemu-devel] Re: qemu compiling error on ppc64: kvm.c:81: error: 'struct kvm_sregs' has no member named 'pvr'

2011-02-16 Thread Avi Kivity
On 02/15/2011 05:59 PM, Dushyant Bansal wrote: 2. How to configure makefiles to get output of printk statements inside kvm/arch/powerpc/kvm/trace.h Better don't make them printks - just use the tracing framework. I'd write up a small howto here myself, but I'm pretty much on the jump to my

[Qemu-devel] Oferta do dia: Maior segurança e conforto com 70% OFF em Balanceamento e Alinhamento no Venancio Centro Automotivo (de R$40,00 por R$12,00)

2011-02-16 Thread Shopping do Povo
Não consegue visualizar a newsletter? Click aqui ( http://shoppingdopovo.com.br/site/index.php?option=com_acymailingctrl=archivetask=viewmailid=39key=e917fb84d1ba64e267277cdc9bde4ee8subid=117104-9a9cec8a6fdd74f317649577265edc31 ) para abrir no navegador. Oferta do dia: Maior segurança e conforto

[Qemu-devel] q: vgabios broken for older qemu[-kvm]

2011-02-16 Thread Michael Tokarev
I noticed that current vgabios (as shipped with 0.14.0-rc) does not work well with qemu-kvm-0.12, despite very small changes in the source. cirrus emulation works just fine. But with stdvga (which uses vgabios.bin file in 0.12), X does not start with the following message in X.org: (WW)

[Qemu-devel] Re: q: vgabios broken for older qemu[-kvm]

2011-02-16 Thread Michael Tokarev
16.02.2011 12:25, Michael Tokarev wrote: I noticed that current vgabios (as shipped with 0.14.0-rc) does not work well with qemu-kvm-0.12, despite very small changes in the source. cirrus emulation works just fine. But with stdvga (which uses vgabios.bin file in 0.12), X does not start

[Qemu-devel] [Bug 604872] Re: qemu-system-arm segfaults emulating versatile machine after running debootstrap --second-stage inside vm

2011-02-16 Thread Loïc Minier
Ok; the commit you point at is in the current qemu-linaro package Fix released in Ubuntu is when we upload a fixed source package to the Ubuntu development release The usual way to close Ubuntu bugs fixed with an upload is via the debian/changelog, when Launchpad processes the .changes file with

[Qemu-devel] Re: [PATCH] fix halt emulation with icount and CONFIG_IOTHREAD (v2)

2011-02-16 Thread Paolo Bonzini
On 02/15/2011 09:56 PM, Marcelo Tosatti wrote: Note: to be applied to uq/master. In icount mode, halt emulation should take into account the nearest event when sleeping. I agree with Jan that this patch is not the best solution, if not incorrect. However, in the iothread, the main loop can

Re: [Qemu-devel] [PATCH] fix memory leak when we uninit a drive

2011-02-16 Thread Markus Armbruster
Wen Congyang we...@cn.fujitsu.com writes: We alloc memory for dinfo-id, so we should free it in the function drive_uninit(). Already fixed in Kevin's block tree and 0.14-rc2 (commit e5f1c196), although not yet in stable. Thanks anyway!

Re: [Qemu-devel] [PATCH] uninit drive if drive_init failed

2011-02-16 Thread Markus Armbruster
Wen Congyang we...@cn.fujitsu.com writes: steps to reproduce this bug: 1. virsh attach-disk domain --source imagefile --target sdb --sourcetype file --driver qemu --subdriver qcow2 error: Failed to attach disk error: operation failed: adding

[Qemu-devel] Re: [PATCH] fix halt emulation with icount and CONFIG_IOTHREAD (v2)

2011-02-16 Thread Jan Kiszka
On 2011-02-16 10:32, Paolo Bonzini wrote: On 02/15/2011 09:56 PM, Marcelo Tosatti wrote: Note: to be applied to uq/master. In icount mode, halt emulation should take into account the nearest event when sleeping. I agree with Jan that this patch is not the best solution, if not incorrect.

Re: [Qemu-devel] [PATCH 06/10] vmmouse: convert to qdev

2011-02-16 Thread Markus Armbruster
Blue Swirl blauwir...@gmail.com writes: On Tue, Feb 15, 2011 at 12:07 PM, Markus Armbruster arm...@redhat.com wrote: Anthony Liguori anth...@codemonkey.ws writes: On 02/12/2011 11:03 AM, Markus Armbruster wrote: Blue Swirlblauwir...@gmail.com  writes: Convert to qdev, also add a proper

Re: [Qemu-devel] KVM call minutes for Feb 8

2011-02-16 Thread Gleb Natapov
On Tue, Feb 15, 2011 at 05:07:07PM -0600, Anthony Liguori wrote: On 02/15/2011 11:11 AM, Blue Swirl wrote: On Mon, Feb 14, 2011 at 11:47 PM, Anthony Liguorianth...@codemonkey.ws wrote: Any device we expose to the user through -device needs to maintain a compatible interface forever. For

[Qemu-devel] Re: [PATCH] fix halt emulation with icount and CONFIG_IOTHREAD (v2)

2011-02-16 Thread Paolo Bonzini
On 02/16/2011 10:46 AM, Jan Kiszka wrote: What should this be good for? The iothread already kicks the vcpu if it wants to acquire the contended global mutex. Assuming the VCPU is in the timedwait that Marcelo changed, the global mutex is free and the iothread will not kick the VCPU. And

Re: [Qemu-devel] [PATCH 05/10] vmport: convert to qdev

2011-02-16 Thread Markus Armbruster
Blue Swirl blauwir...@gmail.com writes: On Tue, Feb 15, 2011 at 12:22 PM, Markus Armbruster arm...@redhat.com wrote: Blue Swirl blauwir...@gmail.com writes: On Sat, Feb 12, 2011 at 6:57 PM, Markus Armbruster arm...@redhat.com wrote: [...] Old code has pc_init1() call vmport_init().  Where

Re: [Qemu-devel] [PATCH] uninit drive if drive_init failed

2011-02-16 Thread Wen Congyang
At 02/16/2011 05:45 PM, Markus Armbruster Write: Wen Congyang we...@cn.fujitsu.com writes: steps to reproduce this bug: 1. virsh attach-disk domain --source imagefile --target sdb --sourcetype file --driver qemu --subdriver qcow2 error: Failed to attach disk error: operation failed:

[Qemu-devel] Re: [PATCH] fix halt emulation with icount and CONFIG_IOTHREAD (v2)

2011-02-16 Thread Jan Kiszka
On 2011-02-16 10:57, Paolo Bonzini wrote: On 02/16/2011 10:46 AM, Jan Kiszka wrote: What should this be good for? The iothread already kicks the vcpu if it wants to acquire the contended global mutex. Assuming the VCPU is in the timedwait that Marcelo changed, the global mutex is free and

Re: [Qemu-devel] KVM call minutes for Feb 15

2011-02-16 Thread Avi Kivity
On 02/16/2011 01:13 AM, Anthony Liguori wrote: On 02/15/2011 10:26 AM, Chris Wright wrote: QAPI and QMP - Anthony adding a new wiki page to describe all of this http://wiki.qemu.org/Features/QAPI [ 'change', {'device': 'str', 'target': 'str'}, {'arg': 'str'}, 'none' ] - void

Re: [Qemu-devel] [PATCH 1/2] linux-user: add rmdir() strace

2011-02-16 Thread Riku Voipio
On Tue, Feb 15, 2011 at 09:10:43PM +0100, Laurent Vivier wrote: Signed-off-by: Laurent Vivier laur...@vivier.eu --- linux-user/strace.c| 12 linux-user/strace.list |3 +++ 2 files changed, 15 insertions(+), 0 deletions(-) Applied to que. diff --git

[Qemu-devel] Re: [PATCH] fix halt emulation with icount and CONFIG_IOTHREAD (v2)

2011-02-16 Thread Paolo Bonzini
On 02/16/2011 11:04 AM, Jan Kiszka wrote: On 2011-02-16 10:57, Paolo Bonzini wrote: On 02/16/2011 10:46 AM, Jan Kiszka wrote: What should this be good for? The iothread already kicks the vcpu if it wants to acquire the contended global mutex. Assuming the VCPU is in the timedwait that

Re: [Qemu-devel] [PATCH 2/2] linux-user: in linux-user/strace.c, tswap() is useless

2011-02-16 Thread Riku Voipio
Hi, On Tue, Feb 15, 2011 at 09:10:44PM +0100, Laurent Vivier wrote: Syscall parameters are already swapped by the caller. This patch removes useless tswap() from strace.c Thanks. Added to next linux-user que. I modified your patch to have casts to the given printf format specifiers, so we

[Qemu-devel] Re: [PATCH 0/2][v4] correct core dump format

2011-02-16 Thread Riku Voipio
On Sun, Feb 13, 2011 at 11:37:33PM +0100, Laurent Vivier wrote: This is the v4 of my patch correcting the core dump format. (3 versions for patch 2, 3 versions for patch 1 starting at version 2 of patch 2...) Thanks, tested to work and added to que. v4 adds some long alignments for 64bit

[Qemu-devel] Re: [PATCH] fix halt emulation with icount and CONFIG_IOTHREAD (v2)

2011-02-16 Thread Jan Kiszka
On 2011-02-16 11:27, Paolo Bonzini wrote: On 02/16/2011 11:04 AM, Jan Kiszka wrote: On 2011-02-16 10:57, Paolo Bonzini wrote: On 02/16/2011 10:46 AM, Jan Kiszka wrote: What should this be good for? The iothread already kicks the vcpu if it wants to acquire the contended global mutex.

Re: [Qemu-devel] [PATCH] linux-user: Support the epoll syscalls

2011-02-16 Thread Peter Maydell
On 15 February 2011 18:35, Peter Maydell peter.mayd...@linaro.org wrote: Support the epoll family of syscalls: epoll_create(), epoll_create1(), epoll_ctl(), epoll_wait() and epoll_pwait(). Note that epoll_create1() and epoll_pwait() are later additions, so we have to test separately in

Re: [Qemu-devel] [PATCH] linux-user: Support the epoll syscalls

2011-02-16 Thread Riku Voipio
On Wed, Feb 16, 2011 at 10:37:51AM +, Peter Maydell wrote: On 15 February 2011 18:35, Peter Maydell peter.mayd...@linaro.org wrote: Support the epoll family of syscalls: epoll_create(), epoll_create1(), epoll_ctl(), epoll_wait() and epoll_pwait(). Note that epoll_create1() and

[Qemu-devel] Re: [PATCH] fix halt emulation with icount and CONFIG_IOTHREAD (v2)

2011-02-16 Thread Paolo Bonzini
On 02/16/2011 11:34 AM, Jan Kiszka wrote: FWIW, I've rebased most of your patches on top of my outstanding ones and pushed them to git://git.kiszka.org/qemu-kvm.git queues/kvm-upstream Yep, I am waiting for Anthony to actually push it. In the meanwhile I have it at

Re: [Qemu-devel] [PULL 00/11] Block patches for master

2011-02-16 Thread Kevin Wolf
Am 14.02.2011 21:17, schrieb Anthony Liguori: On 02/10/2011 09:51 AM, Kevin Wolf wrote: The following changes since commit 6c5f738daec123020d32543fe90a6633a4f6643e: microblaze: Handle singlestepping over direct jmps (2011-02-10 00:46:09 +0100) are available in the git repository at:

[Qemu-devel] Re: [PATCHv2 0/3] e1000: multi-buffer packet support

2011-02-16 Thread Stefan Hajnoczi
On Tue, Feb 15, 2011 at 06:27:44PM +0200, Michael S. Tsirkin wrote: e1000 supports multi-buffer packets larger than rxbuf_size. This fixes the following (on linux): - in guest: ifconfig eth1 mtu 16110 - in host: ifconfig tap0 mtu 16110 ping -s 16082 guest-ip Red Hat bugzilla:

[Qemu-devel] CfP 6th Workshop on Virtualization in High-Performance Cloud Computing (VHPC'11)

2011-02-16 Thread VHPC2011
Apologies if you received multiple copies of this message. = CALL FOR PAPERS 6th Workshop on Virtualization in High-Performance Cloud Computing VHPC'11 as part of Euro-Par 2011, Bordeaux, France

Re: [Qemu-devel] [PATCH] softfloat: export float32_nan and float32_infinity.

2011-02-16 Thread Peter Maydell
On 14 February 2011 16:47, Christophe Lyon christophe.l...@st.com wrote: These two special values are needed to implement some helper functions, which return these values in some cases. I assume this is for vrecpe, right? I think it would be better to post this as part of that patchset; it's

Re: [Qemu-devel] NBD block device backend - 'improvements'

2011-02-16 Thread Kevin Wolf
Hi Nick, [ Please use reply to all so that the CC list is kept intact, re-adding Stefan ] Am 15.02.2011 22:26, schrieb Nicholas Thomas: Hi Kevin, Stefan. On Tue, 2011-02-15 at 12:09 +0100, Kevin Wolf wrote: Am 14.02.2011 21:32, schrieb Stefan Hajnoczi: [...] block/nbd.c needs to be made

[Qemu-devel] Re: [PULL 00/11] Block patches for master

2011-02-16 Thread Paolo Bonzini
On 02/16/2011 12:30 PM, Kevin Wolf wrote: Am 14.02.2011 21:17, schrieb Anthony Liguori: On 02/10/2011 09:51 AM, Kevin Wolf wrote: The following changes since commit 6c5f738daec123020d32543fe90a6633a4f6643e: microblaze: Handle singlestepping over direct jmps (2011-02-10 00:46:09 +0100)

[Qemu-devel] [V5 PATCH 0/8] virtio-9p: Use chroot to safely access files in passthrough security model

2011-02-16 Thread M. Mohan Kumar
In passthrough security model, following symbolic links in the server side could result in TOCTTOU vulnerabilities. This patchset resolves this issue by creating a dedicated process which chroots into the share path and all file object access is done in the chroot environment. This patchset

[Qemu-devel] [V5 PATCH 5/8] virtio-9p: Create support in chroot environment

2011-02-16 Thread M. Mohan Kumar
Add both server client side interfaces to create regular files in chroot environment Signed-off-by: M. Mohan Kumar mo...@in.ibm.com --- hw/9pfs/virtio-9p-chroot-sv.c | 41 + hw/9pfs/virtio-9p-local.c | 21 +++-- 2 files changed, 60

[Qemu-devel] [V5 PATCH 7/8] virtio-9p: Move file post creation changes to none security model

2011-02-16 Thread M. Mohan Kumar
After creating a file object, its permission and ownership details are updated as per client's request for both passthrough and none security model. But with chrooted environment its not required for passthrough security model. Move all post file creation changes to none security model

[Qemu-devel] [V5 PATCH 3/8] virtio-9p: Add client side interfaces for chroot environment

2011-02-16 Thread M. Mohan Kumar
Define QEMU side interfaces used for chroot environment. Signed-off-by: M. Mohan Kumar mo...@in.ibm.com --- Makefile.objs |2 +- hw/9pfs/virtio-9p-chroot-clnt.c | 96 +++ hw/9pfs/virtio-9p-chroot.h |1 + 3 files changed, 98

[Qemu-devel] [V5 PATCH 2/8] virtio-9p: Provide chroot environment server side interfaces

2011-02-16 Thread M. Mohan Kumar
Implement chroot server side interfaces like sending the file descriptor to qemu process, reading the object request from socket etc. Also add chroot main function and other helper routines. Signed-off-by: M. Mohan Kumar mo...@in.ibm.com --- Makefile.objs |1 +

Re: [Qemu-devel] Re: Comparing New Image Formats: FVD vs. QED

2011-02-16 Thread Kevin Wolf
Am 15.02.2011 20:45, schrieb Chunqiang Tang: Chunqiang Tang/Watson/IBM wrote on 01/28/2011 05:13:27 PM: As you requested, I set up a wiki page for FVD at http://wiki.qemu.org/Features/FVD . It includes a summary of FVD, a detailed specification of FVD, and a comparison of the design and

[Qemu-devel] [V5 PATCH 8/8] virtio-9p: Chroot environment for other functions

2011-02-16 Thread M. Mohan Kumar
Add chroot functionality for systemcalls that can operate on a file using relative directory file descriptor. Signed-off-by: M. Mohan Kumar mo...@in.ibm.com --- hw/9pfs/virtio-9p-local.c | 222 +++-- 1 files changed, 192 insertions(+), 30 deletions(-)

[Qemu-devel] [V5 PATCH 4/8] virtio-9p: Add support to open a file in chroot environment

2011-02-16 Thread M. Mohan Kumar
This patch adds both server and client side support to open a file (directory) in the chroot environment Signed-off-by: M. Mohan Kumar mo...@in.ibm.com --- hw/9pfs/virtio-9p-chroot-clnt.c | 22 +--- hw/9pfs/virtio-9p-chroot-sv.c | 26 +++

[Qemu-devel] [V5 PATCH 6/8] virtio-9p: Support for creating special files

2011-02-16 Thread M. Mohan Kumar
Add both server and client side interfaces to create special files (directory, device nodes, links and symbolic links) Signed-off-by: M. Mohan Kumar mo...@in.ibm.com --- hw/9pfs/virtio-9p-chroot-clnt.c | 26 ++ hw/9pfs/virtio-9p-chroot-sv.c | 59 ++

Re: [Qemu-devel] [PATCH 1/3] mainstone: correct and simplify irq handling

2011-02-16 Thread Dmitry Eremin-Solenikov
Hello, On Wed, Feb 16, 2011 at 4:13 AM, andrzej zaborowski balr...@gmail.com wrote: On 12 February 2011 01:15, Dmitry Eremin-Solenikov dbarysh...@gmail.com wrote: Simplify IRQ handling to stop setting an input irq pin. As a win, also get correct IRQ status after save/load cycle. Thanks, I

[Qemu-devel] Possible race condition when using TUN/TAP devices

2011-02-16 Thread Thomas Favre-Bulle
Hi, I noticed the following error when trying to run multiple Qemu/KVM instances: warning: could not open /dev/net/tun: no virtual network emulation qemu-kvm: -netdev tap,id=hostnet0: Device 'tap' could not be initialized Tracing the error showed that returned errno is

Re: [Qemu-devel] [PATCH] softfloat: export float32_nan and float32_infinity.

2011-02-16 Thread Christophe Lyon
On 16.02.2011 12:53, Peter Maydell wrote: On 14 February 2011 16:47, Christophe Lyon christophe.l...@st.com wrote: These two special values are needed to implement some helper functions, which return these values in some cases. I assume this is for vrecpe, right? I think it would be better

[Qemu-devel] [V5 PATCH 1/8] Implement qemu_read_full

2011-02-16 Thread M. Mohan Kumar
Add qemu_read_full function Signed-off-by: M. Mohan Kumar mo...@in.ibm.com --- osdep.c | 32 qemu-common.h |2 ++ 2 files changed, 34 insertions(+), 0 deletions(-) diff --git a/osdep.c b/osdep.c index 327583b..8d84a88 100644 --- a/osdep.c +++

Re: [Qemu-devel] Re: Comparing New Image Formats: FVD vs. QED

2011-02-16 Thread Stefan Hajnoczi
On Tue, Feb 15, 2011 at 7:45 PM, Chunqiang Tang ct...@us.ibm.com wrote: Chunqiang Tang/Watson/IBM wrote on 01/28/2011 05:13:27 PM: As you requested, I set up a wiki page for FVD at http://wiki.qemu.org/Features/FVD . It includes a summary of FVD, a detailed specification of FVD, and a

[Qemu-devel] [PATCH] mst_fpga: correct irq level settings

2011-02-16 Thread Dmitry Eremin-Solenikov
Final corrections for IRQ levels that are set by mst_fpga: * Don't retranslate IRQ if previously IRQ was masked. * After setting or clearing IRQs through register, apply mask before setting parent IRQ level. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- hw/mst_fpga.c |4

Re: [Qemu-devel] KVM call minutes for Feb 15

2011-02-16 Thread Anthony Liguori
On 02/16/2011 04:24 AM, Avi Kivity wrote: On 02/16/2011 01:13 AM, Anthony Liguori wrote: On 02/15/2011 10:26 AM, Chris Wright wrote: QAPI and QMP - Anthony adding a new wiki page to describe all of this http://wiki.qemu.org/Features/QAPI [ 'change', {'device': 'str', 'target': 'str'},

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-16 Thread Anthony Liguori
On 02/16/2011 02:50 AM, Kevin Wolf wrote: Am 16.02.2011 01:59, schrieb Anthony Liguori: On 02/15/2011 07:38 AM, Luiz Capitulino wrote: On Tue, 15 Feb 2011 10:20:01 +0100 Kevin Wolfkw...@redhat.com wrote: Am 14.02.2011 20:34, schrieb Anthony Liguori: On

Re: [Qemu-devel] [PATCH 2/3] target-arm: Fix soft interrupt in GIC distributor

2011-02-16 Thread Peter Maydell
On 15 February 2011 10:49, Adam Lackorzynski a...@os.inf.tu-dresden.de wrote: Fix selection of target list filter mode. Signed-off-by: Adam Lackorzynski a...@os.inf.tu-dresden.de ---  hw/arm_gic.c |    4 ++--  1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/arm_gic.c

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-16 Thread Kevin Wolf
Am 16.02.2011 14:43, schrieb Anthony Liguori: On 02/16/2011 02:50 AM, Kevin Wolf wrote: Am 16.02.2011 01:59, schrieb Anthony Liguori: On 02/15/2011 07:38 AM, Luiz Capitulino wrote: On Tue, 15 Feb 2011 10:20:01 +0100 Kevin Wolfkw...@redhat.com wrote: Am 14.02.2011

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-16 Thread Anthony Liguori
On 02/16/2011 08:15 AM, Kevin Wolf wrote: Am 16.02.2011 14:43, schrieb Anthony Liguori: On 02/16/2011 02:50 AM, Kevin Wolf wrote: Am 16.02.2011 01:59, schrieb Anthony Liguori: On 02/15/2011 07:38 AM, Luiz Capitulino wrote: On Tue, 15 Feb 2011 10:20:01 +0100

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-16 Thread Anthony Liguori
On 02/16/2011 08:15 AM, Kevin Wolf wrote: Am 16.02.2011 14:43, schrieb Anthony Liguori: On 02/16/2011 02:50 AM, Kevin Wolf wrote: Am 16.02.2011 01:59, schrieb Anthony Liguori: On 02/15/2011 07:38 AM, Luiz Capitulino wrote: On Tue, 15 Feb 2011 10:20:01 +0100

Re: [Qemu-devel] KVM call minutes for Feb 15

2011-02-16 Thread Amit Shah
On (Tue) 15 Feb 2011 [17:13:13], Anthony Liguori wrote: On 02/15/2011 10:26 AM, Chris Wright wrote: revisit new - old migration - Amit offers virtio-serial patches and some legwork So, to me, migration correctness trumps compatibility. I don't think compatibility is useful if it means

Re: [Qemu-devel] KVM call minutes for Feb 15

2011-02-16 Thread Anthony Liguori
On 02/16/2011 08:39 AM, Amit Shah wrote: On (Tue) 15 Feb 2011 [17:13:13], Anthony Liguori wrote: On 02/15/2011 10:26 AM, Chris Wright wrote: revisit new - old migration - Amit offers virtio-serial patches and some legwork So, to me, migration correctness trumps

[Qemu-devel] Re: [PATCHv2] Handle icount for powerpc tbl/tbu/decr load and store.

2011-02-16 Thread Edgar E. Iglesias
On Tue, Feb 15, 2011 at 09:39:54AM +0100, Tristan Gingold wrote: Handle option '-icount X' on powerpc targets. I've applied this one, thanks. Signed-off-by: Tristan Gingold ging...@adacore.com --- target-ppc/translate_init.c | 42 ++ 1 files

Re: [Qemu-devel] Re: [PULL 00/11] Block patches for master

2011-02-16 Thread Anthony Liguori
On 02/16/2011 06:00 AM, Paolo Bonzini wrote: On 02/16/2011 12:30 PM, Kevin Wolf wrote: Am 14.02.2011 21:17, schrieb Anthony Liguori: On 02/10/2011 09:51 AM, Kevin Wolf wrote: The following changes since commit 6c5f738daec123020d32543fe90a6633a4f6643e: microblaze: Handle singlestepping

[Qemu-devel] [PATCH v2 0/2] ARM: fix Neon vrecpe instruction.

2011-02-16 Thread christophe.lyon
From: Christophe Lyon christophe.l...@st.com These 2 patches fix the ARM Neon vrecpe instruction by matching the algorithm descibed in the ARM ARM. With these patches, qemu passes my ARM/Neon tests. Patch #1 modifies softfloat by exporting float32_nan and float32_infinity. For consistency, I

[Qemu-devel] [PATCH 1/2] softfloat: export float32_nan and float32_infinity.

2011-02-16 Thread christophe.lyon
From: Christophe Lyon christophe.l...@st.com These two special values are needed to implement some helper functions, which return these values in some cases. This patch also moves the definitions of default_nan for 16, 64, x80 and 128 bits floats for consistency with float32. Signed-off-by:

[Qemu-devel] [PATCH 2/2] target-arm: fix support for vrecpe.

2011-02-16 Thread christophe.lyon
From: Christophe Lyon christophe.l...@st.com Now use the same algorithm as described in the ARM ARM. Signed-off-by: Christophe Lyon christophe.l...@st.com --- target-arm/helper.c | 84 +++--- 1 files changed, 72 insertions(+), 12 deletions(-) diff

[Qemu-devel] [Bug 688085] Re: Guest kernel hang during boot when KVM is active on i386 host

2011-02-16 Thread Steve Conklin
** Changed in: linux (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/688085 Title: Guest kernel hang during boot when KVM is active on i386 host

Re: [Qemu-devel] [PATCH 3/3] target-arm: Implement cp15 VA-PA translation

2011-02-16 Thread Peter Maydell
On 15 February 2011 10:49, Adam Lackorzynski a...@os.inf.tu-dresden.de wrote: Implement VA-PA translations by cp15-c7 that went through unchanged previously. +        uint32_t c7_par;  /* Translation result. */ I think this new env field needs extra code so it is saved and loaded by

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-02-16 Thread Jes Sorensen
On 01/17/11 14:14, Michael Roth wrote: These patches apply to master (1-14-2011), and can also be obtained from: git://repo.or.cz/qemu/mdroth.git virtagent_v6 CHANGES IN V6: - Added a sentinel value to reliably detect the start of an http hdr. Used to skip past partially sent http

Re: [Qemu-devel] [ANNOUNCE] QEMU 0.14.0-rc2 is available

2011-02-16 Thread Rick Vernam
Using 0.14.0-rc2 it looks like a SPICE pid file is left over in /dev/shm, ie spice.10005, after qemu closes.

Re: [Qemu-devel] [ANNOUNCE] QEMU 0.14.0-rc2 is available

2011-02-16 Thread Anthony Liguori
On 02/16/2011 10:28 AM, Rick Vernam wrote: Using 0.14.0-rc2 it looks like a SPICE pid file is left over in /dev/shm, ie spice.10005, after qemu closes. I think that's coming from libspice, not QEMU. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH 2/2] target-arm: fix support for vrecpe.

2011-02-16 Thread Peter Maydell
On 16 February 2011 14:51, christophe.l...@st.com wrote: Your corner case handling isn't quite right, I'm afraid.  float32 HELPER(recpe_f32)(float32 a, CPUState *env)  { -    float_status *s = env-vfp.fp_status; -    float32 one = int32_to_float32(1, s); -    return float32_div(one, a, s);

Re: [Qemu-devel] [ANNOUNCE] QEMU 0.14.0-rc2 is available

2011-02-16 Thread Gerd Hoffmann
On 02/16/11 17:37, Anthony Liguori wrote: On 02/16/2011 10:28 AM, Rick Vernam wrote: Using 0.14.0-rc2 it looks like a SPICE pid file is left over in /dev/shm, ie spice.10005, after qemu closes. I think that's coming from libspice, not QEMU. Indeed. It isn't a pidfile, it is a shared memory

Re: [Qemu-devel] [PATCH 1/2] softfloat: export float32_nan and float32_infinity.

2011-02-16 Thread Peter Maydell
On 16 February 2011 14:51, christophe.l...@st.com wrote: From: Christophe Lyon christophe.l...@st.com These two special values are needed to implement some helper functions, which return these values in some cases. This patch also moves the definitions of default_nan for 16, 64, x80 and

Re: [Qemu-devel] [PATCH 1/2] softfloat: export float32_nan and float32_infinity.

2011-02-16 Thread Christophe Lyon
On 16.02.2011 17:54, Peter Maydell wrote: On 16 February 2011 14:51, christophe.l...@st.com wrote: From: Christophe Lyon christophe.l...@st.com These two special values are needed to implement some helper functions, which return these values in some cases. This patch also moves the

Re: [Qemu-devel] [ANNOUNCE] QEMU 0.14.0-rc2 is available

2011-02-16 Thread Anthony Liguori
On 02/16/2011 10:52 AM, Gerd Hoffmann wrote: On 02/16/11 17:37, Anthony Liguori wrote: On 02/16/2011 10:28 AM, Rick Vernam wrote: Using 0.14.0-rc2 it looks like a SPICE pid file is left over in /dev/shm, ie spice.10005, after qemu closes. I think that's coming from libspice, not QEMU.

Re: [Qemu-devel] [ANNOUNCE] QEMU 0.14.0-rc2 is available

2011-02-16 Thread Gerd Hoffmann
Hi, Indeed. It isn't a pidfile, it is a shared memory segment where spice stores statistics. spice registers a cleanup handler via atexit() which removes this fork() with an inherited pipe and then waiting for EOF on the pipe() is a bit more robust of a mechanism to handle this. Feels a

Re: [Qemu-devel] [ANNOUNCE] QEMU 0.14.0-rc2 is available

2011-02-16 Thread Gerd Hoffmann
On 02/16/11 17:52, Gerd Hoffmann wrote: On 02/16/11 17:37, Anthony Liguori wrote: On 02/16/2011 10:28 AM, Rick Vernam wrote: Using 0.14.0-rc2 it looks like a SPICE pid file is left over in /dev/shm, ie spice.10005, after qemu closes. I think that's coming from libspice, not QEMU. Indeed.

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-02-16 Thread Michael Roth
On 02/16/2011 10:04 AM, Jes Sorensen wrote: On 01/17/11 14:14, Michael Roth wrote: These patches apply to master (1-14-2011), and can also be obtained from: git://repo.or.cz/qemu/mdroth.git virtagent_v6 CHANGES IN V6: - Added a sentinel value to reliably detect the start of an http hdr.

[Qemu-devel] [PATCH v3 0/3] ARM: fix Neon vrecpe and vrsqrte instructions.

2011-02-16 Thread christophe.lyon
From: Christophe Lyon christophe.l...@st.com These 3 patches fix the ARM Neon vrecpe and vrsqrte instructions by matching the algorithms descibed in the ARM ARM. With these patches, qemu passes my ARM/Neon tests. Patch #1 modifies softfloat by exporting float32_default_nan and float32_infinity.

[Qemu-devel] [PATCH 1/3] softfloat: export float32_default_nan, and float32_infinity. Add float32_set_sign().

2011-02-16 Thread christophe.lyon
From: Christophe Lyon christophe.l...@st.com These special values are needed to implement some helper functions, which return these values in some cases. This patch also moves the definitions of default_nan for 16, 64, x80 and 128 bits floats for consistency with float32. Signed-off-by:

[Qemu-devel] [PATCH 3/3] target-arm: fix support for vrsqrte.

2011-02-16 Thread christophe.lyon
From: Christophe Lyon christophe.l...@st.com Now use the same algorithm as described in the ARM ARM. Signed-off-by: Christophe Lyon christophe.l...@st.com --- target-arm/helper.c | 122 ++ 1 files changed, 112 insertions(+), 10 deletions(-) diff

[Qemu-devel] [PATCH 2/3] target-arm: fix support for vrecpe.

2011-02-16 Thread christophe.lyon
From: Christophe Lyon christophe.l...@st.com Now use the same algorithm as described in the ARM ARM. Signed-off-by: Christophe Lyon christophe.l...@st.com --- target-arm/helper.c | 84 +++--- 1 files changed, 72 insertions(+), 12 deletions(-) diff

[Qemu-devel] [PATCH] vnc: Fix fatal crash with vnc reverse mode

2011-02-16 Thread Stefan Weil
Reverse mode is unusable: qemu -vnc localhost:5500,reverse crashes in vnc_refresh_server_surface because some pointers are NULL. Fix this by calling vnc_dpy_resize (which initializes these pointers) before calling vnc_refresh. Cc: Anthony Liguori aligu...@us.ibm.com Signed-off-by:

[Qemu-devel] Re: [PATCH] Fix trivial endianness bugs

2011-02-16 Thread Stefan Weil
Am 24.01.2011 19:04, schrieb Stefan Weil: Replace endianess - endianness. Signed-off-by: Stefan Weilw...@mail.berlios.de --- audio/sdlaudio.c | 20 ++-- block/vdi.c |4 ++-- hw/xilinx_ethlite.c |2 +-

[Qemu-devel] Re: [PATCH] vnc: Fix fatal crash with vnc reverse mode

2011-02-16 Thread Anthony Liguori
On 02/16/2011 01:48 PM, Stefan Weil wrote: Reverse mode is unusable: qemu -vnc localhost:5500,reverse crashes in vnc_refresh_server_surface because some pointers are NULL. Fix this by calling vnc_dpy_resize (which initializes these pointers) before calling vnc_refresh. Cc: Anthony

Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

2011-02-16 Thread Stefan Weil
Am 04.02.2011 16:27, schrieb Markus Armbruster: Anthony Liguorianth...@codemonkey.ws writes: On 02/02/2011 01:28 PM, Stefan Weil wrote: [...] [PATCH 1/3] tests: Fix two memory leaks (http://patchwork.ozlabs.org/patch/79945/) [PATCH 2/3] check-qdict: Fix possible

Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

2011-02-16 Thread Markus Armbruster
Stefan Weil w...@mail.berlios.de writes: Am 04.02.2011 16:27, schrieb Markus Armbruster: Anthony Liguorianth...@codemonkey.ws writes: On 02/02/2011 01:28 PM, Stefan Weil wrote: [...] [PATCH 1/3] tests: Fix two memory leaks (http://patchwork.ozlabs.org/patch/79945/)

[Qemu-devel] qemu crashes since today

2011-02-16 Thread Stefan Berger
Qemu is crashing for me. Bisecting the code I found this here as the reason. Stepping one commit further into the past does not cause the crash. 6792a57bf19ab37f61f5acf0f8e3003cf08814af is the first bad commit commit 6792a57bf19ab37f61f5acf0f8e3003cf08814af Author: Jan Kiszka

[Qemu-devel] Re: qemu crashes since today

2011-02-16 Thread Jan Kiszka
On 2011-02-16 23:18, Stefan Berger wrote: Qemu is crashing for me. Bisecting the code I found this here as the reason. Stepping one commit further into the past does not cause the crash. 6792a57bf19ab37f61f5acf0f8e3003cf08814af is the first bad commit commit

Re: [Qemu-devel] [PATCHv2 0/3] e1000: multi-buffer packet support

2011-02-16 Thread Alex Williamson
On Tue, 2011-02-15 at 18:27 +0200, Michael S. Tsirkin wrote: e1000 supports multi-buffer packets larger than rxbuf_size. This fixes the following (on linux): - in guest: ifconfig eth1 mtu 16110 - in host: ifconfig tap0 mtu 16110 ping -s 16082 guest-ip Red Hat bugzilla:

[Qemu-devel] GSOC 2011

2011-02-16 Thread yajin
Hi all, I have proposed an idea of GSOC 2011 about adding KVM support to MIPS architecture. I have solid experience on MIPS architecture and familiar with qemu. I am very interested in this project. According to the GSOC, there should be a mentor to each participating project. Is there anyone

Re: [Qemu-devel] Re: qemu crashes since today

2011-02-16 Thread Stefan Berger
On 02/16/2011 05:45 PM, Jan Kiszka wrote: On 2011-02-16 23:18, Stefan Berger wrote: Qemu is crashing for me. Bisecting the code I found this here as the reason. Stepping one commit further into the past does not cause the crash. 6792a57bf19ab37f61f5acf0f8e3003cf08814af is the first bad commit

[Qemu-devel] Custom bootrom support for omap platform

2011-02-16 Thread XVilka Haos of System
Good day! I'm working on support early debug of omap platform in qemu. Right now i'm succesfully added support for loading custom bootrom from file (like an -bios and -L options for PC) But i'm have problems, bcoz omap3 have bootrom at two places: at 0x40014000 and at 0x14000 So, when i'm

[Qemu-devel] Custom bootrom support for omap platform

2011-02-16 Thread Антон Кочков
Best regards, Anton Kochkov. Good day! I'm working on support early debug of omap platform in qemu. Right now i'm succesfully added support for loading custom bootrom from file (like an -bios and -L options for PC) But i'm have problems, bcoz omap3 have bootrom at two places: at 0x40014000

Re: [Qemu-devel] Re: qemu crashes since today

2011-02-16 Thread Anthony Liguori
On 02/16/2011 07:35 PM, Stefan Berger wrote: On 02/16/2011 05:45 PM, Jan Kiszka wrote: On 2011-02-16 23:18, Stefan Berger wrote: Qemu is crashing for me. Bisecting the code I found this here as the reason. Stepping one commit further into the past does not cause the crash.

[Qemu-devel] [PATCH] Fix vmport segfault

2011-02-16 Thread Marcelo Tosatti
Fix regression caused by qdev conversion. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com diff --git a/hw/vmport.c b/hw/vmport.c index 292d78f..38ec259 100644 --- a/hw/vmport.c +++ b/hw/vmport.c @@ -43,15 +43,15 @@ typedef struct _VMPortState void *opaque[VMPORT_ENTRIES]; }

[Qemu-devel] [PATCH] Fix vmport segfault (v2)

2011-02-16 Thread Marcelo Tosatti
Fix regression caused by qdev conversion. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com v2: pass correct register_ioport parameter diff --git a/hw/vmport.c b/hw/vmport.c index 292d78f..19010e4 100644 --- a/hw/vmport.c +++ b/hw/vmport.c @@ -43,15 +43,15 @@ typedef struct _VMPortState

[Qemu-devel] Re: [PATCH] fix halt emulation with icount and CONFIG_IOTHREAD (v2)

2011-02-16 Thread Marcelo Tosatti
On Wed, Feb 16, 2011 at 10:32:25AM +0100, Paolo Bonzini wrote: On 02/15/2011 09:56 PM, Marcelo Tosatti wrote: Note: to be applied to uq/master. In icount mode, halt emulation should take into account the nearest event when sleeping. I agree with Jan that this patch is not the best