Re: [Qemu-devel] [PATCH] qemu-kvm: fix pulseaudio detection in configure

2011-06-09 Thread Peter Maydell
On 9 June 2011 18:44, Andreas Färber wrote: > Am 09.06.2011 um 17:52 schrieb Marc-Antoine Perennou: >> Manually including stddef.h or replacing NULL by 0 or (void*)0 makes it >> work. > > Then please submit a new patch that explicit includes that header with a > comment explaining why, so that it

Re: [Qemu-devel] gtester questions/issues

2011-06-09 Thread Anthony Liguori
On 06/09/2011 01:47 PM, Luiz Capitulino wrote: I've started writing some tests with the glib test framework (used by the qapi patches) but am facing some issues that doesn't seem to exist with check (our current framework). Of course that it's possible that I'm missing something, in this case p

Re: [Qemu-devel] [PATCH] Cocoa: avoid warning related to multiple method definitions

2011-06-09 Thread Andreas Färber
Hi Alexandre, Am 07.06.2011 um 01:39 schrieb Alexandre Raymond: On Tue, May 31, 2011 at 4:07 PM, Andreas Färber > wrote: Hello Alexandre, Am 30.05.2011 um 00:36 schrieb Alexandre Raymond: This fix forces a message to be sent to the handleEvent method of the QemuCocoaView class instead of let

Re: [Qemu-devel] [PATCH v2] Darwin: Fix compilation warning regarding the deprecated daemon() function

2011-06-09 Thread Andreas Färber
Am 09.06.2011 um 20:47 schrieb Andreas Färber: Am 07.06.2011 um 05:34 schrieb Alexandre Raymond: Changes since v1: create a wrapper function named qemu_daemon() in oslib-posix.c instead of putting the OS specific workaround in qemu-nbd.c directly. On OSX >= 10.5, daemon() is deprecated, res

Re: [Qemu-devel] [PATCH v2][ 11/21] qapi: add QMP output visiter

2011-06-09 Thread Anthony Liguori
On 06/09/2011 12:47 PM, Luiz Capitulino wrote: On Fri, 3 Jun 2011 17:33:09 -0500 Michael Roth wrote: Type of Visiter class that serves as the inverse of the input visiter: it takes a series of native C types and uses their values to construct a corresponding QObject. The command marshaling/di

Re: [Qemu-devel] [PATCH 11/12] kvm: x86: Pass KVMState to kvm_arch_get_supported_cpuid

2011-06-09 Thread Jan Kiszka
On 2011-06-09 20:08, Eduardo Habkost wrote: > On Thu, Jun 09, 2011 at 07:41:03PM +0200, Jan Kiszka wrote: > >>> I'm wondering if it wouldn't be simpler to keep the existing interface >>> but just initialize CPUState->kvm_state earlier (today it is initialized >>> only on kvm_init_vcpu(), although

Re: [Qemu-devel] [PATCH] vmstate: Add unmigratable flag

2011-06-09 Thread Anthony Liguori
On 06/09/2011 11:44 AM, Jan Kiszka wrote: A first step towards getting rid of register_device_unmigratable (ivshmem and lacking vmstate support in virtio are blocking this): Allow to register an unmigratable vmstate via qdev, i.e. tag a device declaratively. I thought part of the problem with

Re: [Qemu-devel] gtester questions/issues

2011-06-09 Thread Luiz Capitulino
On Thu, 09 Jun 2011 14:04:37 -0500 Anthony Liguori wrote: > On 06/09/2011 01:47 PM, Luiz Capitulino wrote: > > > > I've started writing some tests with the glib test framework (used by the > > qapi > > patches) but am facing some issues that doesn't seem to exist with check > > (our > > current

Re: [Qemu-devel] [PATCH] vmstate: Add unmigratable flag

2011-06-09 Thread Jan Kiszka
On 2011-06-09 22:00, Anthony Liguori wrote: > On 06/09/2011 11:44 AM, Jan Kiszka wrote: >> A first step towards getting rid of register_device_unmigratable >> (ivshmem and lacking vmstate support in virtio are blocking this): >> >> Allow to register an unmigratable vmstate via qdev, i.e. tag a devi

[Qemu-devel] [PATCH] [trivial] print meaningful error message in case of --disable-vhost-net

2011-06-09 Thread Michael Tokarev
When qemu gets compiled without support of vhost-net, any attempt to use it fails with a very clear error message: qemu-system-x86_64: -netdev ...,vhost=on: vhost-net requested but could not be initialized there's absolutely no reason given _why_ it coult not be initialized, and even strace'ing

[Qemu-devel] [PATCH] configure: Detect and don't try to use older libcurl

2011-06-09 Thread Peter Maydell
Older versions of libcurl don't have some of the features we try to use, in particular curl_multi_setopt(). Check for this in the 'is libcurl available?' configure test so we disable curl support if the library is too old. Signed-off-by: Peter Maydell --- configure |2 +- 1 files changed, 1

Re: [Qemu-devel] gtester questions/issues

2011-06-09 Thread Michael Roth
On 06/09/2011 03:02 PM, Luiz Capitulino wrote: On Thu, 09 Jun 2011 14:04:37 -0500 Anthony Liguori wrote: On 06/09/2011 01:47 PM, Luiz Capitulino wrote: I've started writing some tests with the glib test framework (used by the qapi patches) but am facing some issues that doesn't seem to exist

Re: [Qemu-devel] gtester questions/issues

2011-06-09 Thread Michael Roth
On 06/09/2011 06:04 PM, Michael Roth wrote: On 06/09/2011 03:02 PM, Luiz Capitulino wrote: On Thu, 09 Jun 2011 14:04:37 -0500 Anthony Liguori wrote: On 06/09/2011 01:47 PM, Luiz Capitulino wrote: I've started writing some tests with the glib test framework (used by the qapi patches) but am f

Re: [Qemu-devel] [PATCH 1/6] hw/9pfs: Add reference counting for fid

2011-06-09 Thread Venkateswararao Jujjuri
On 06/06/2011 10:16 AM, Aneesh Kumar K.V wrote: Signed-off-by: Aneesh Kumar K.V Just one minor issue below; otherwise Reviewed-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p.c | 205 +++ hw/9pfs/virtio-9p.h |7 ++ 2 files changed,

Re: [Qemu-devel] [PATCH 2/6] hw/9pfs: Don't free fid in clunk

2011-06-09 Thread Venkateswararao Jujjuri
On 06/06/2011 10:16 AM, Aneesh Kumar K.V wrote: On interrupted syscall on client we can end up having fid being acted upon by glib pool but still get a clunk request on that Couple of comments below. - JV Signed-off-by: Aneesh Kumar K.V --- hw/9pfs/virtio-9p.c | 139 ++

Re: [Qemu-devel] [PATCH 3/6] hw/9pfs: Add file descriptor reclaim support

2011-06-09 Thread Venkateswararao Jujjuri
On 06/06/2011 10:16 AM, Aneesh Kumar K.V wrote: Signed-off-by: Aneesh Kumar K.V Minor comments below; I think this looks good. Reviewed-by : Venkateswararao Jujjuri --- hw/9pfs/codir.c|4 +- hw/9pfs/cofile.c | 19 - hw/9pfs/virtio-9p-coth.h |4 +- h

Re: [Qemu-devel] [PATCH 5/6] hw/9pfs: Use v9fs_do_close instead of close

2011-06-09 Thread Venkateswararao Jujjuri
On 06/06/2011 10:16 AM, Aneesh Kumar K.V wrote: we should use the local abstraction instead of directly calling close. Let us fold this also into our coroutine patches. - JV Signed-off-by: Aneesh Kumar K.V --- hw/9pfs/virtio-9p.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(

Re: [Qemu-devel] [PATCH 6/6] hw/9pfs: Add directory reclaim support

2011-06-09 Thread Venkateswararao Jujjuri
On 06/06/2011 10:16 AM, Aneesh Kumar K.V wrote: Signed-off-by: Aneesh Kumar K.V Reviewed-by: Venkateswararao Jujjuri --- hw/9pfs/codir.c |9 + hw/9pfs/virtio-9p.c | 26 -- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/hw/9pfs/cod

[Qemu-devel] Implementation choice

2011-06-09 Thread Ice Frog
Hi all, I will analyze OS kernel security using virtualization. I'm aware both QEMU and XEN can be good platforms to build my tool. Any one can give some suggestions? Thanks,

Re: [Qemu-devel] [PATCH] cocoa: Avoid warning related to multiple handleEvent: definitions

2011-06-09 Thread Alexandre Raymond
Tested-by: Alexandre Raymond That's definitely a better patch ;-) Thanks, Alexandre On Thu, Jun 9, 2011 at 3:03 PM, Andreas Färber wrote: > Avoid compiler confusion as to which method signature to use for the > handleEvent: selector on OSX >= 10.6 by making the variable type-safe > as oppose

Re: [Qemu-devel] Implementation choice

2011-06-09 Thread Mulyadi Santosa
On Fri, Jun 10, 2011 at 09:20, Ice Frog wrote: > Hi all, > > I will analyze OS kernel security using virtualization. I'm aware both > QEMU and XEN can be good platforms to build my tool. Any one can give > some suggestions? precisely, can you tell us why do you need virtualization? to check every

Re: [Qemu-devel] [PATCH 2/6] hw/9pfs: Don't free fid in clunk

2011-06-09 Thread Aneesh Kumar K.V
On Thu, 09 Jun 2011 17:27:00 -0700, Venkateswararao Jujjuri wrote: > On 06/06/2011 10:16 AM, Aneesh Kumar K.V wrote: > > On interrupted syscall on client we can end up having fid > > being acted upon by glib pool but still get a clunk request on that > > Couple of comments below. > > - JV > >

Re: [Qemu-devel] assigned EHCI USB headset not working

2011-06-09 Thread Gerd Hoffmann
Hi, I've two scenarios at hand now: one involves a Windows 7 guest with -soundhw hda, the other is my Musicpal (do you still have a firmware image at hand?). Some Linux guest here with identical configuration like Win7 does not show any problems in polling mode. Noteworthy difference between

Re: [Qemu-devel] [PATCH 1/6] hw/9pfs: Add reference counting for fid

2011-06-09 Thread Aneesh Kumar K.V
On Thu, 09 Jun 2011 16:10:39 -0700, Venkateswararao Jujjuri wrote: > On 06/06/2011 10:16 AM, Aneesh Kumar K.V wrote: > > Signed-off-by: Aneesh Kumar K.V > > Just one minor issue below; otherwise > > Reviewed-by: Venkateswararao Jujjuri " > > > --- > > hw/9pfs/virtio-9p.c | 205 > > ++

<    1   2