Re: [Qemu-devel] Compile Qemu on Windows?

2010-04-22 Thread jvrao
Roy Tam wrote: 2010/4/22 Jun Koi junkoi2...@gmail.com: Hi, I want to compile Qemu on Windows (then run it there). Is there any instruction on how to do that? (I googled around, to no avail) You will need MinGW(latest stable one), GCC (I use GCC 3.4.5, included in MinGW), binutils, make,

Re: [Qemu-devel] [GSoC 2010] Pass-through filesystem support.

2010-04-21 Thread jvrao
Mohammed Gamal wrote: On Tue, Apr 20, 2010 at 8:36 PM, jvrao jv...@linux.vnet.ibm.com wrote: ... snip ... This'd be something interesting to do. I wonder if that would fit in the GSoC timeframe, or whether it'd be a little too short. So how long you'd estimate something like that would

Re: [Qemu-devel] [GSoC 2010] Pass-through filesystem support.

2010-04-20 Thread jvrao
Mohammed Gamal wrote: On Tue, Apr 20, 2010 at 12:54 AM, jvrao jv...@linux.vnet.ibm.com wrote: Mohammed Gamal wrote: On Tue, Apr 13, 2010 at 9:08 PM, jvrao jv...@linux.vnet.ibm.com wrote: jvrao wrote: Alexander Graf wrote: On 12.04.2010, at 13:58, Jamie Lokier wrote: Mohammed Gamal wrote

Re: [Qemu-devel] [GSoC 2010] Pass-through filesystem support.

2010-04-19 Thread jvrao
Mohammed Gamal wrote: On Tue, Apr 13, 2010 at 9:08 PM, jvrao jv...@linux.vnet.ibm.com wrote: jvrao wrote: Alexander Graf wrote: On 12.04.2010, at 13:58, Jamie Lokier wrote: Mohammed Gamal wrote: On Mon, Apr 12, 2010 at 12:29 AM, Jamie Lokier ja...@shareable.org wrote: Javier Guerra

Re: [Qemu-devel] [GSoC 2010] Pass-through filesystem support.

2010-04-13 Thread jvrao
jvrao wrote: Alexander Graf wrote: On 12.04.2010, at 13:58, Jamie Lokier wrote: Mohammed Gamal wrote: On Mon, Apr 12, 2010 at 12:29 AM, Jamie Lokier ja...@shareable.org wrote: Javier Guerra Giraldez wrote: On Sat, Apr 10, 2010 at 7:42 AM, Mohammed Gamal m.gamal...@gmail.com wrote: On Sat

Re: [Qemu-devel] [GSoC 2010] Pass-through filesystem support.

2010-04-12 Thread jvrao
Alexander Graf wrote: On 12.04.2010, at 13:58, Jamie Lokier wrote: Mohammed Gamal wrote: On Mon, Apr 12, 2010 at 12:29 AM, Jamie Lokier ja...@shareable.org wrote: Javier Guerra Giraldez wrote: On Sat, Apr 10, 2010 at 7:42 AM, Mohammed Gamal m.gamal...@gmail.com wrote: On Sat, Apr 10,

Re: [Qemu-devel] [GSoC 2010] Pass-through filesystem support.

2010-04-09 Thread jvrao
Luiz Capitulino wrote: On Thu, 8 Apr 2010 18:01:01 +0200 Mohammed Gamal m.gamal...@gmail.com wrote: Hi, Now that Cam is almost done with his ivshmem patches, I was thinking of another idea for GSoC which is improving the pass-though filesystems. I've got some questions on that: 1- What

Re: [Qemu-devel] [PATCH -V3 09/32] virtio-9p: Implement P9_TWRITE/ Thread model in QEMU

2010-03-29 Thread jvrao
Aneesh Kumar K.V wrote: From: Anthony Liguori aligu...@us.ibm.com We have implemented all the vfs calls in state machine model so that we are prepared for the model where the VCPU thread(s) does the initial work until it needs to block then it submits that work (via a function pointer) to a

Re: [Qemu-devel] [PATCH -V3 25/32] virtio-9p: Move V9fs File system specific options to a separate header file.

2010-03-28 Thread jvrao
Aneesh Kumar K.V wrote: Move the V9fs File System specific operations structs into a different header file. Also introduce a new struct named context which is the subset of the V9fsState to be passed to the individual file-system operations. Signed-off-by: Aneesh Kumar K.V

Re: [Qemu-devel] [PATCH -V3 25/32] virtio-9p: Move V9fs File system specific options to a separate header file.

2010-03-28 Thread jvrao
Aneesh Kumar K.V wrote: Missed one more point in my previous response. SNIP -static int local_lstat(V9fsState *s, const char *path, struct stat *stbuf) +static int local_lstat(FsContext *s, const char *path, struct stat *stbuf) We have been using 's' for V9fsState For FsContext it is

Re: [Qemu-devel] [PATCH -v2 03/22] virtio-9p: Implement P9_TATTACH

2010-03-26 Thread jvrao
Anthony Liguori wrote: On 03/16/2010 04:15 AM, Aneesh Kumar K.V wrote: From: Anthony Liguorialigu...@us.ibm.com [jv...@linux.vnet.ibm.com: Added qemu_vasprintf] Signed-off-by: Anthony Liguorialigu...@us.ibm.com Signed-off-by: Aneesh Kumar K.Vaneesh.ku...@linux.vnet.ibm.com ---

Re: [Qemu-devel] [PATCH -v2 03/22] virtio-9p: Implement P9_TATTACH

2010-03-26 Thread jvrao
Anthony Liguori wrote: On 03/16/2010 04:15 AM, Aneesh Kumar K.V wrote: From: Anthony Liguorialigu...@us.ibm.com [jv...@linux.vnet.ibm.com: Added qemu_vasprintf] Signed-off-by: Anthony Liguorialigu...@us.ibm.com Signed-off-by: Aneesh Kumar K.Vaneesh.ku...@linux.vnet.ibm.com ---

Re: [Qemu-devel] [PATCH 04/17] virtio-9p: Implement P9_TSTAT

2010-03-09 Thread jvrao
Paul Brook wrote: Is there any reason (other than being coding style) in using qemu_free() instead of free()? As per qem-malloc.c qemu_free() is nothing but free(). The whole point of qemu_{malloc,free} is to isolate code from the system implementation of malloc/free. It's entirely

Re: [Qemu-devel] virtio block device and sysfs

2010-03-09 Thread jvrao
Marc Haber wrote: Hi, thanks for your answer. On Mon, Mar 08, 2010 at 05:17:03PM -0800, jvrao wrote: Marc Haber wrote: I am looking to get in touch with somebody who knows more about the connection between host configuration, qemu, kvm, and the virtio block device driver guest side than

Re: [Qemu-devel] virtio block device and sysfs

2010-03-08 Thread jvrao
Marc Haber wrote: Hi, I am looking to get in touch with somebody who knows more about the connection between host configuration, qemu, kvm, and the virtio block device driver guest side than I know. Please check out this patch and follow the mount_tag ...it may be helpful in explaining

Re: [Qemu-devel] [PATCH 04/17] virtio-9p: Implement P9_TSTAT

2010-03-08 Thread jvrao
Aneesh Kumar K. V wrote: On Wed, 3 Mar 2010 23:35:36 +0300 (MSK), malc av1...@comtv.ru wrote: On Wed, 3 Mar 2010, Anthony Liguori wrote: This get the mount to work on the guest [ki...@linux.vnet.ibm.com: malloc to qemu_malloc conversion] Signed-off-by: Anthony Liguori aligu...@us.ibm.com

Re: [Qemu-devel] [PATCH] Check for invalid initrd file

2010-03-04 Thread jvrao
M. Mohan Kumar wrote: From c5dca54f67ec6aac16c6c5e09958417b2b3ee5a1 Mon Sep 17 00:00:00 2001 From: M. Mohan Kumar mo...@in.ibm.com Date: Thu, 4 Mar 2010 14:23:07 +0530 Subject: [PATCH] Check for invalid initrd file When qemu is invoked with an invalid initrd file, it crashes. Following