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

2010-04-22 Thread jvrao
Roy Tam wrote: > 2010/4/22 Jun Koi : >> 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, MSYS

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 wrote: > > ... ... > >>> 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'

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 wrote: >> Mohammed Gamal wrote: >>> On Tue, Apr 13, 2010 at 9:08 PM, jvrao wrote: >>>> jvrao wrote: >>>>> Alexander Graf wrote: >>>>>> On 12.04.2010, at 13:58, Jamie Lok

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 wrote: >> jvrao wrote: >>> Alexander Graf wrote: >>>> On 12.04.2010, at 13:58, Jamie Lokier wrote: >>>> >>>>> Mohammed Gamal wrote: >>>>>> On Mon, Apr 12, 20

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 wrote: >>>>> Javier Guerra Giraldez wrote: >>>>>> On Sat, A

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 wrote: Javier Guerra Giraldez wrote: > On Sat, Apr 10, 2010 at 7:42 AM, Mohammed Gamal > wrote: >> On Sat, Apr 10, 2010 at 2:12 PM,

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

2010-04-12 Thread jvrao
Jamie Lokier wrote: > Mohammed Gamal wrote: >> 2- With respect to CIFS. I wonder how the shares are supposed to be >> exposed to the guest. Should the Samba server be modified to be able >> to use unix domain sockets instead of TCP ports and then QEMU >> communicating on these sockets. With that ap

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 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 does

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

2010-03-29 Thread jvrao
Anthony Liguori wrote: > On 03/29/2010 03:31 PM, Avi Kivity wrote: >> On 03/29/2010 06:00 PM, Anthony Liguori wrote: >>> >>> In qemu, we tend to prefer state-machine based code. >>> >>> There are a few different models that we have discussed at different >>> points: >>> >>> 1) state machines with a

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

2010-03-28 Thread jvrao
Aneesh Kumar K.V wrote: > From: Anthony Liguori 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 thread pool. A threa

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. > > -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 better

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 > Signed

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 Liguori >> >> [jv...@linux.vnet.ibm.com: Added qemu_vasprintf] >> >> Signed-off-by: Anthony Liguori >> Signed-off-by: Aneesh Kumar K.V >> --- >> Makefile.target |2 +- >> hw/virtio-9p-local.c | 8

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 Liguori >> >> [jv...@linux.vnet.ibm.com: Added qemu_vasprintf] >> >> Signed-off-by: Anthony Liguori >> Signed-off-by: Aneesh Kumar K.V >> --- >> Makefile.target |2 +- >> hw/virtio-9p-local.c | 8

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

2010-03-09 Thread jvrao
jvrao wrote: > 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 >>>>

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,

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 p

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 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 >>> Signed-off-b

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 explain

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 > 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 > patch prints