Re: [Qemu-devel] [PATCH] Support NBD client under win32/MinGW

2014-02-24 Thread Or Goshen
I never used/tested sheepdog under windows with my patch, so I wouldnt know if it doesnt have any additional bugs under windows. BTW, this patch is on behalf of Intel Corp On Mon, Feb 24, 2014 at 11:20 AM, Paolo Bonzini wrote: > Il 24/02/2014 10:13, Or Goshen ha scri

Re: [Qemu-devel] [PATCH] Add a command to QMP to list the supported devices

2014-02-24 Thread Or Goshen
You are correct. I need "-device ?" functionality for porting libguestfs to mingw On Mon, Feb 24, 2014 at 3:40 PM, Andreas Färber wrote: > Am 24.02.2014 10:31, schrieb Paolo Bonzini: > > Il 24/02/2014 10:23, Or Goshen ha scritto: > >> From: Or Goshen > >>

[Qemu-devel] [PATCH] Add a command to QMP to list the supported devices

2014-02-24 Thread Or Goshen
From: Or Goshen Was done on behalf of Intel Corp. --- qapi-schema.json | 26 ++ qdev-monitor.c | 28 qmp-commands.hx | 40 3 files changed, 94 insertions(+), 0 deletions(-) diff --git a/qapi

[Qemu-devel] [PATCH] Support NBD client under win32/MinGW

2014-02-24 Thread Or Goshen
From: Or Goshen --- aio-win32.c | 244 +-- block/Makefile.objs |4 +- block/nbd-client.h |2 +- include/block/aio.h |2 - include/block/nbd.h |2 +- main-loop.c |2 - nbd.c |4 +- qemu

[Qemu-devel] Attempt to add support for NBD in MinGW

2013-10-28 Thread Or Goshen
Hi, I try to add support for NBD in MinGW. Basicalyl this means adding support for win32 sockets to aio-win32.c. What I did was rewrite the file (attachment provided). problem here is that revents for the node related to the nbd socket is always 0 after g_poll() even when I see that data is return