Re: [Qemu-devel] [PATCH 10/12] target-arm: replace tcg_gen_rori_i32 by tcg_gen_rotri_i32

2009-10-23 Thread Juha.Riihimaki
On Oct 23, 2009, at 18:25, ext Aurelien Jarno wrote: > On Wed, Oct 21, 2009 at 12:18:08PM +0200, juha.riihim...@nokia.com > wrote: >> Use native rotation if possible instead of a simulated one. > > I have another patch in my local tree that handle more cases: Great, I'll drop it from my patch

Re: [Qemu-devel] Re: [PATCH] tcg, tci: Add TCG and interpreter for bytecode (virtual machine)

2009-10-23 Thread TeLeMan
On Sat, Oct 24, 2009 at 02:58, Stefan Weil wrote: > Is patch 4 (call handling) needed, or is it an optimization? > If it is needed, the tcg disassembler has to be extended as well. In fact tci has no stack and robber registers and doesn't need simulate the CPU work. I am trying to remove tcg_reg_a

Re: [Qemu-devel] [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread MORITA Kazutaka
On Sat, Oct 24, 2009 at 4:45 AM, Javier Guerra wrote: > On Fri, Oct 23, 2009 at 2:39 PM, MORITA Kazutaka > wrote: >> Thanks for many comments. >> >> Sheepdog git trees are created. > > great! > > is there any client (no matter how crude) besides the patched > KVM/Qemu?  it would make it far easie

Re: [Qemu-devel] [PATCH 06/12] target-arm: optimize arm load/store multiple ops

2009-10-23 Thread Laurent Desnogues
On Wed, Oct 21, 2009 at 12:17 PM, wrote: > ARM load/store multiple instructions can be slightly optimized by > loading the register offset constant into a variable outside the > register loop and using the preloaded variable inside the loop instead > of reloading the offset value to a temporary v

Re: [Qemu-devel] Re: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread Tomasz Chmielewski
Chris Webb wrote: Javier Guerra writes: i'd just want to add my '+1 votes' on both getting rid of JVM dependency and using block devices (usually LVM) instead of ext3/btrfs If the chunks into which the virtual drives are split are quite small (say the 64MB used by Hadoop), LVM may be a less

[Qemu-devel] Re: net packet storms with multiple NICs

2009-10-23 Thread Andreas Plesner Jacobsen
On Fri, Oct 23, 2009 at 08:25:39PM +0400, Michael Tokarev wrote: > > o why different -net guest -net host pairs are not getting different > vlan= indexes by default, to stop the above-mentioned packet > storms right away? I think it's a wise default to assign different > pairs to different v

[Qemu-devel] Re: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread FUJITA Tomonori
On Fri, 23 Oct 2009 09:14:29 -0500 Javier Guerra wrote: > > I think that the major difference between sheepdog and cluster file > > systems such as Google File system, pNFS, etc is the interface between > > clients and a storage system. > > note that GFS is "Global File System" (written by Sisti

Re: [Qemu-devel] Re: audio segfault in qemu-kvm-0.11.0

2009-10-23 Thread Gene Czarcinski
On Friday 23 October 2009 10:29:44 malc wrote: > On Fri, 23 Oct 2009, Mark McLoughlin wrote: > > On Fri, 2009-10-23 at 17:41 +0400, malc wrote: > > > On Fri, 23 Oct 2009, malc wrote: > > > > On Fri, 23 Oct 2009, Mark McLoughlin wrote: > > > > > Hi, > > > > > > > > > > Any ideas on this segfault a F

Re: [Qemu-devel] [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread Javier Guerra
On Fri, Oct 23, 2009 at 2:39 PM, MORITA Kazutaka wrote: > Thanks for many comments. > > Sheepdog git trees are created. great! is there any client (no matter how crude) besides the patched KVM/Qemu? it would make it far easier to hack around... -- Javier

Re: [Qemu-devel] [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread MORITA Kazutaka
Hi, Thanks for many comments. Sheepdog git trees are created. Sheepdog server git://sheepdog.git.sourceforge.net/gitroot/sheepdog/sheepdog Sheepdog client git://sheepdog.git.sourceforge.net/gitroot/sheepdog/qemu-kvm Please try! On Wed, Oct 21, 2009 at 2:13 PM, MORITA Kazutaka wro

Re: [Qemu-devel] [PATCH 02/11] Add support for qfloat

2009-10-23 Thread Daniel P. Berrange
On Fri, Oct 23, 2009 at 08:25:49PM +0100, Jamie Lokier wrote: > Anthony Liguori wrote: > > It really doesn't matter in the context of LGPL so I don't mind if we do > > 2.1 only. > > Is LGPL 2.1 compatible with LGPL 3 or GPL 3? > > It would be a shame if it's compatible enough to use in libvirt b

Re: [Qemu-devel] [PATCH 01/11] Add append method to qstring and empty constructor

2009-10-23 Thread Jamie Lokier
Luiz Capitulino wrote: > > qstring = qemu_malloc(sizeof(*qstring)); > > -qstring->string = qemu_strdup(str); > > + > > +qstring->length = strlen(str); > > +qstring->capacity = qstring->length; > > + > > +qstring->string = qemu_malloc(qstring->capacity + 1); > > +memcpy(qstr

Re: [Qemu-devel] [PATCH 02/11] Add support for qfloat

2009-10-23 Thread Jamie Lokier
Anthony Liguori wrote: > It really doesn't matter in the context of LGPL so I don't mind if we do > 2.1 only. Is LGPL 2.1 compatible with LGPL 3 or GPL 3? It would be a shame if it's compatible enough to use in libvirt but can't be used in a GPL 3 project. I think the recent JSON + QObject stuf

Re: [Qemu-devel] Re: [PATCH] tcg, tci: Add TCG and interpreter for bytecode (virtual machine)

2009-10-23 Thread Stefan Weil
TeLeMan schrieb: > Tested i386-softmmu only. Now tci can run windows xp sp2 and its speed > is about 6 times slower than jit. > -- > SUN OF A BEACH Great. Many thanks for the fixes, enhancements and for the testing, too. Is patch 4 (call handling) needed, or is it an optimization? If it is needed

Re: [Qemu-devel] [PATCH 04/11] Add json->qobject parser

2009-10-23 Thread Luiz Capitulino
On Sat, 17 Oct 2009 08:36:04 -0500 Anthony Liguori wrote: > +QObject *qobject_from_json(const char *string, size_t *length); > +QObject *qobject_from_jsonf(const char *string, size_t *length, ...) > +__attribute__((__format__ (__printf__, 1, 3))); We need a wrapper for command handlers usag

Re: [Qemu-devel] Re: audio segfault in qemu-kvm-0.11.0

2009-10-23 Thread malc
On Fri, 23 Oct 2009, Gene Czarcinski wrote: > > The real sound hardware should not be relevant since qemu-kvm current does > not > support sound and "has it disabled" even if, by default, there is an ES1370 > virtual device defined. I don't know anything about qemu-kvm and mysterious ways it

RE: [Qemu-devel] Support for new target emulator

2009-10-23 Thread Boyapati, Anitha
> > Btw now that I have someone from Atmel who apparently knows the > architecture: > > Would virtualization work on AVR32? I mean, is there anything that > would keep you from running kernel code in user mode and just trap > everything? Some attempts are going on with AP7 series. It is not th

[Qemu-devel] Re: net packet storms with multiple NICs

2009-10-23 Thread Michael Tokarev
Andreas Plesner Jacobsen wrote: On Fri, Oct 23, 2009 at 08:25:39PM +0400, Michael Tokarev wrote: o why different -net guest -net host pairs are not getting different vlan= indexes by default, to stop the above-mentioned packet storms right away? I think it's a wise default to assign differe

[Qemu-devel] [PATCH 01/15 v2] net: move net-queue.[ch] under net/

2009-10-23 Thread Mark McLoughlin
[v2: handle building in a separate dir] Signed-off-by: Mark McLoughlin --- Makefile | 10 +++--- configure |2 +- net.h |2 +- net-queue.c => net/queue.c |2 +- net-queue.h => net/queue.h |0 5 files changed, 10 insert

Re: [Qemu-devel] [PATCH 00/15] Some networking code re-organization

2009-10-23 Thread Mark McLoughlin
On Fri, 2009-10-23 at 08:44 -0500, Anthony Liguori wrote: > Mark McLoughlin wrote: > > On Thu, 2009-10-22 at 15:34 -0500, Anthony Liguori wrote: > > > >> This series doesn't build for me. I get dependency errors even after a > >> full rebuild. I'm building from a separate directory fwiw. > >>

Re: [Qemu-devel] net packet storms with multiple NICs

2009-10-23 Thread Mark McLoughlin
On Fri, 2009-10-23 at 20:25 +0400, Michael Tokarev wrote: > I've two questions: > > o what's the intended usage of all-vlan-equal case, when kvm (or qemu) >reflects packets from one interface to another? It's what bridge >in linux is for, I think. I don't think it's necessarily an intend

[Qemu-devel] net packet storms with multiple NICs

2009-10-23 Thread Michael Tokarev
Hello. I vaguely remember something like this has been reported and/or discussed already, but I can't find anything related. I'm also not sure if it's kvm-specific or exists in qemu too. I want some clarification wrt vlan= parameter in -net definition. What started this all is a problem report

Re: [Qemu-devel] Re: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread MORITA Kazutaka
On Fri, Oct 23, 2009 at 8:10 PM, Alexander Graf wrote: > > On 23.10.2009, at 12:41, MORITA Kazutaka wrote: > > On Fri, Oct 23, 2009 at 12:30 AM, Avi Kivity wrote: > > How is load balancing implemented?  Can you move an image transparently > > while a guest is running?  Will an image be moved clos

Re: [Qemu-devel] [PATCH 10/12] target-arm: replace tcg_gen_rori_i32 by tcg_gen_rotri_i32

2009-10-23 Thread Laurent Desnogues
On Fri, Oct 23, 2009 at 5:25 PM, Aurelien Jarno wrote: > On Wed, Oct 21, 2009 at 12:18:08PM +0200, juha.riihim...@nokia.com wrote: >> Use native rotation if possible instead of a simulated one. > > I have another patch in my local tree that handle more cases: > > commit 04df13497befdb79c778d82d090

Re: [Qemu-devel] [PATCH 10/12] target-arm: replace tcg_gen_rori_i32 by tcg_gen_rotri_i32

2009-10-23 Thread Aurelien Jarno
On Wed, Oct 21, 2009 at 12:18:08PM +0200, juha.riihim...@nokia.com wrote: > Use native rotation if possible instead of a simulated one. I have another patch in my local tree that handle more cases: commit 04df13497befdb79c778d82d0901d290d164d250 Author: Aurelien Jarno Date: Thu Oct 15 16:45:14

Re: [Qemu-devel] [PATCH 1/5] linux-user: remove hardcoded value of _NSIG in signal.c

2009-10-23 Thread Aurelien Jarno
Stefan Weil a écrit : > Aurelien Jarno schrieb: >> From: Arnaud Patard >> >> In a bunch of places, 64 is used as value of _NSIG but it's wrong >> at least on MIPS were _NSIG is 128. >> >> Signed-off-by: Arnaud Patard >> Signed-off-by: Aurelien Jarno >> --- >> linux-user/signal.c | 12 ++--

Re: [Qemu-devel] [PATCH 1/5] linux-user: remove hardcoded value of _NSIG in signal.c

2009-10-23 Thread Stefan Weil
Aurelien Jarno schrieb: > From: Arnaud Patard > > In a bunch of places, 64 is used as value of _NSIG but it's wrong > at least on MIPS were _NSIG is 128. > > Signed-off-by: Arnaud Patard > Signed-off-by: Aurelien Jarno > --- > linux-user/signal.c | 12 ++-- > 1 files changed, 6 insert

Re: [Qemu-devel] Re: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread Javier Guerra
On Fri, Oct 23, 2009 at 9:58 AM, Chris Webb wrote: > If the chunks into which the virtual drives are split are quite small (say > the 64MB used by Hadoop), LVM may be a less appropriate choice. It doesn't > support very large numbers of very small logical volumes very well. absolutely. the 'nice

Re: [Qemu-devel] Re: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread Chris Webb
Javier Guerra writes: > i'd just want to add my '+1 votes' on both getting rid of JVM > dependency and using block devices (usually LVM) instead of ext3/btrfs If the chunks into which the virtual drives are split are quite small (say the 64MB used by Hadoop), LVM may be a less appropriate choice

[Qemu-devel] Re: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread Avishay Traeger
This looks very interesting - how does this compare with Exanodes/Seanodes? Thanks, Avishay

Re: [Qemu-devel] [PATCH] target-arm: use clz32() instead of a for loop

2009-10-23 Thread Aurelien Jarno
Stuart Brady a écrit : > On Fri, Oct 23, 2009 at 09:04:53AM +0200, Aurelien Jarno wrote: >> Stuart Brady a écrit : >>> Just a quick note that the implementation of clz, ctz and popcnt is >>> still listed in the TCG TODO list. The last time I looked, I noticed >>> that quite a few architectures hav

Re: [Qemu-devel] Re: [PATCH] new SDL keyboard shortcuts to start and stop VM

2009-10-23 Thread Kevin Wolf
Am 23.10.2009 15:59, schrieb Anthony Liguori: > Kevin Wolf wrote: >> Well, the whole point of a keyboard shortcut was for me to make things >> easier. > > This is something of a classic debate between providing power users > every possible knob and function verses overwhelming non-power users >

Re: [Qemu-devel] Re: audio segfault in qemu-kvm-0.11.0

2009-10-23 Thread malc
On Fri, 23 Oct 2009, Mark McLoughlin wrote: > On Fri, 2009-10-23 at 17:41 +0400, malc wrote: > > On Fri, 23 Oct 2009, malc wrote: > > > > > On Fri, 23 Oct 2009, Mark McLoughlin wrote: > > > > > > > Hi, > > > > > > > > Any ideas on this segfault a Fedora 12 user (Gene, cc-ed) is seeing? > > > >

[Qemu-devel] Re: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread Javier Guerra
On Fri, Oct 23, 2009 at 5:41 AM, MORITA Kazutaka wrote: > On Fri, Oct 23, 2009 at 12:30 AM, Avi Kivity wrote: >> If so, is it reasonable to compare this to a cluster file system setup (like >> GFS) with images as files on this filesystem?  The difference would be that >> clustering is implemented

Re: [Qemu-devel] Re: [PATCH] new SDL keyboard shortcuts to start and stop VM

2009-10-23 Thread Anthony Liguori
Kevin Wolf wrote: Well, the whole point of a keyboard shortcut was for me to make things easier. This is something of a classic debate between providing power users every possible knob and function verses overwhelming non-power users with so many features/options that they cannot even get sta

Re: [Qemu-devel] Re: audio segfault in qemu-kvm-0.11.0

2009-10-23 Thread Mark McLoughlin
On Fri, 2009-10-23 at 17:41 +0400, malc wrote: > On Fri, 23 Oct 2009, malc wrote: > > > On Fri, 23 Oct 2009, Mark McLoughlin wrote: > > > > > Hi, > > > > > > Any ideas on this segfault a Fedora 12 user (Gene, cc-ed) is seeing? > > [..snip..] > > > > > Summary: No idea. > > > > FWIW, there's

Re: [Qemu-devel] [PATCH 00/15] Some networking code re-organization

2009-10-23 Thread Anthony Liguori
Mark McLoughlin wrote: On Thu, 2009-10-22 at 15:34 -0500, Anthony Liguori wrote: This series doesn't build for me. I get dependency errors even after a full rebuild. I'm building from a separate directory fwiw. Don't see it here, I'm afraid - any more details? Btw, it's all pushed t

Re: [Qemu-devel] Re: audio segfault in qemu-kvm-0.11.0

2009-10-23 Thread malc
On Fri, 23 Oct 2009, malc wrote: > On Fri, 23 Oct 2009, Mark McLoughlin wrote: > > > Hi, > > > > Any ideas on this segfault a Fedora 12 user (Gene, cc-ed) is seeing? [..snip..] > > Summary: No idea. > FWIW, there's no information whatosever about what audio hardware was built and enabled, w

[Qemu-devel] Re: audio segfault in qemu-kvm-0.11.0

2009-10-23 Thread malc
On Fri, 23 Oct 2009, Mark McLoughlin wrote: > Hi, > > Any ideas on this segfault a Fedora 12 user (Gene, cc-ed) is seeing? > > Thread 1 (Thread 2849): > #0 0x7f25fcd10f70 in memset () from /lib64/libc.so.6 > No symbol table info available. > #1 0x004babc6 in audio_capture_mix_and_c

[Qemu-devel] audio segfault in qemu-kvm-0.11.0

2009-10-23 Thread Mark McLoughlin
Hi, Any ideas on this segfault a Fedora 12 user (Gene, cc-ed) is seeing? Thread 1 (Thread 2849): #0 0x7f25fcd10f70 in memset () from /lib64/libc.so.6 No symbol table info available. #1 0x004babc6 in audio_capture_mix_and_clear (samples=-1099358712, rpos=, hw=) at audio/audio.c:

Re: [Qemu-devel] [PATCH] target-arm: use clz32() instead of a for loop

2009-10-23 Thread Stuart Brady
On Fri, Oct 23, 2009 at 09:04:53AM +0200, Aurelien Jarno wrote: > Stuart Brady a écrit : > > Just a quick note that the implementation of clz, ctz and popcnt is > > still listed in the TCG TODO list. The last time I looked, I noticed > > that quite a few architectures have clz/ctz instructions: >

[Qemu-devel] Re: [PATCH 00/20] Port audio to vmstate

2009-10-23 Thread malc
On Fri, 23 Oct 2009, Juan Quintela wrote: > malc wrote: > > On Thu, 22 Oct 2009, Juan Quintela wrote: > > > > Hi > > >> - es1370: the best working with migration. > >> - adlib: I am not able to get sound out of it on any recent Fedora :( > > > > It's an FM chip, trying to play PCM with it just

[Qemu-devel] Re: [PATCH 00/20] Port audio to vmstate

2009-10-23 Thread Juan Quintela
malc wrote: > On Thu, 22 Oct 2009, Juan Quintela wrote: > Hi >> - es1370: the best working with migration. >> - adlib: I am not able to get sound out of it on any recent Fedora :( > > It's an FM chip, trying to play PCM with it just not gonna fly. That could expain it :) >> I disabled dma_ru

Re: [Qemu-devel] Support for new target emulator

2009-10-23 Thread Alexander Graf
On 23.10.2009, at 14:20, Boyapati, Anitha wrote: It's great to see someone from Atmel actually taking on the challenge! I'd love to see AVR32 support in Qemu. It's FWIW the only completely missing major target. It was in queue for sometime now. As there is very little support for AVR32 em

RE: [Qemu-devel] Support for new target emulator

2009-10-23 Thread Boyapati, Anitha
> On 23.10.2009, at 12:50, Boyapati, Anitha wrote: > > > Luckily Uli just added support for s390x, so you can take a look at > his patchset and see what needs to be done. > Yes. Recent S390x support should give us a good idea. > The reason you should try to do things on Linux is that it's a

Re: [Qemu-devel] Support for new target emulator

2009-10-23 Thread Alexander Graf
On 23.10.2009, at 13:44, Laurent Desnogues wrote: On Fri, Oct 23, 2009 at 1:18 PM, Christoph Egger wrote: On Friday 23 October 2009 13:03:54 Alexander Graf wrote: On 23.10.2009, at 12:50, Boyapati, Anitha wrote: Hello, We have a proposal to add support for AVR32 target emulation in Qemu. S

[Qemu-devel] [PATCH v3] TCG x86: implement lzcnt emulation

2009-10-23 Thread Andre Przywara
lzcnt is a AMD Phenom/Barcelona added instruction returning the number of leading zero bits in a word. As this is similar to the "bsr" instruction, reuse the existing code. There need to be some more changes, though, as lzcnt always returns a valid value (in opposite to bsr, which has a special cas

[Qemu-devel] Re: [PATCH] new SDL keyboard shortcuts to start and stop VM

2009-10-23 Thread Kevin Wolf
Am 23.10.2009 13:23, schrieb Mulyadi Santosa: > On Fri, Oct 23, 2009 at 2:40 PM, Kevin Wolf wrote: >> I really hate this "You don't need this, I know it better" attitude. If >> it were only for the technical arguments, okay - I can understand that >> you don't want to add another magic key, and ye

[Qemu-devel] RE: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread Dietmar Maurer
> Anyways, I do not know JGroups - maybe that 'reliable multicast' solves > all network problems somehow - Is there any documentation about how > they do it? OK, found the papers on their web site - quite interesting too.

Re: [Qemu-devel] Support for new target emulator

2009-10-23 Thread Laurent Desnogues
On Fri, Oct 23, 2009 at 1:18 PM, Christoph Egger wrote: > On Friday 23 October 2009 13:03:54 Alexander Graf wrote: >> On 23.10.2009, at 12:50, Boyapati, Anitha wrote: >> > Hello, >> > >> > We have a proposal to add support for AVR32 target emulation in >> > Qemu. So far, we are able to build qemu

[Qemu-devel] Re: [PATCH] new SDL keyboard shortcuts to start and stop VM

2009-10-23 Thread Mulyadi Santosa
On Fri, Oct 23, 2009 at 2:40 PM, Kevin Wolf wrote: > I really hate this "You don't need this, I know it better" attitude. If > it were only for the technical arguments, okay - I can understand that > you don't want to add another magic key, and yes, doing it dynamically > comes with some complexit

[Qemu-devel] RE: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread Dietmar Maurer
Another suggestion: use LVM instead of btrfs (to get better performance)

Re: [Qemu-devel] Support for new target emulator

2009-10-23 Thread Alexander Graf
On 23.10.2009, at 13:18, Christoph Egger wrote: On Friday 23 October 2009 13:03:54 Alexander Graf wrote: On 23.10.2009, at 12:50, Boyapati, Anitha wrote: Hello, We have a proposal to add support for AVR32 target emulation in Qemu. So far, we are able to build qemu from sources on windows usi

Re: [Qemu-devel] Support for new target emulator

2009-10-23 Thread Christoph Egger
On Friday 23 October 2009 13:03:54 Alexander Graf wrote: > On 23.10.2009, at 12:50, Boyapati, Anitha wrote: > > Hello, > > > > We have a proposal to add support for AVR32 target emulation in > > Qemu. So far, we are able to build qemu from sources on windows > > using Mingw. > > I would suggest you

[Qemu-devel] RE: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread Dietmar Maurer
> We use JGroups (Java library) for reliable multicast communication in > our cluster manager daemon. I doubt that there is something like 'reliable multicast' - you will run into many problems when you try to handle errors. > We don't worry about the performance much > since the cluster manager

[Qemu-devel] Re: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread Alexander Graf
On 23.10.2009, at 12:41, MORITA Kazutaka wrote: On Fri, Oct 23, 2009 at 12:30 AM, Avi Kivity wrote: How is load balancing implemented? Can you move an image transparently while a guest is running? Will an image be moved closer to its guest? Sheepdog uses consistent hashing to decide w

Re: [Qemu-devel] Support for new target emulator

2009-10-23 Thread Pablo Virolainen
Boyapati, Anitha kirjoitti: Hello, We have a proposal to add support for AVR32 target emulation in Qemu. So far, we are able to build qemu from sources on windows using Mingw. Besides looking at sources for other targets in qemu tar ball, I have gone through docs for information on how to sta

Re: [Qemu-devel] Support for new target emulator

2009-10-23 Thread Alexander Graf
On 23.10.2009, at 12:50, Boyapati, Anitha wrote: Hello, We have a proposal to add support for AVR32 target emulation in Qemu. So far, we are able to build qemu from sources on windows using Mingw. I would suggest you try and do this on Linux first. You'll see why below. Besides look

[Qemu-devel] Support for new target emulator

2009-10-23 Thread Boyapati, Anitha
Hello, We have a proposal to add support for AVR32 target emulation in Qemu. So far, we are able to build qemu from sources on windows using Mingw. Besides looking at sources for other targets in qemu tar ball, I have gone through docs for information on how to start adding support for a new t

[Qemu-devel] Re: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread MORITA Kazutaka
On Fri, Oct 23, 2009 at 12:30 AM, Avi Kivity wrote: > On 10/21/2009 07:13 AM, MORITA Kazutaka wrote: >> >> Hi everyone, >> >> Sheepdog is a distributed storage system for KVM/QEMU. It provides >> highly available block level storage volumes to VMs like Amazon EBS. >> Sheepdog supports advanced vol

[Qemu-devel] Re: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread Chris Webb
Chris Webb writes: > MORITA Kazutaka writes: > > > We use JGroups (Java library) for reliable multicast communication in > > our cluster manager daemon. We don't worry about the performance much > > since the cluster manager daemon is not involved in the I/O path. We > > might think about movin

[Qemu-devel] Re: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread Chris Webb
MORITA Kazutaka writes: > We use JGroups (Java library) for reliable multicast communication in > our cluster manager daemon. We don't worry about the performance much > since the cluster manager daemon is not involved in the I/O path. We > might think about moving to corosync if it is more stabl

[Qemu-devel] Re: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread MORITA Kazutaka
We use JGroups (Java library) for reliable multicast communication in our cluster manager daemon. We don't worry about the performance much since the cluster manager daemon is not involved in the I/O path. We might think about moving to corosync if it is more stable than JGroups. On Wed, Oct 21, 2

[Qemu-devel] Re: [PATCH 00/15] Some networking code re-organization

2009-10-23 Thread Mark McLoughlin
On Thu, 2009-10-22 at 20:53 +0200, Juan Quintela wrote: > Mark McLoughlin wrote: > > Hey, > > We've been meaning to split net.c up for quite a while now, > > so here goes with a first cut at. > > If you have to respin this series, please use > > git mv foo.c net/foo.c I did, looks like

Re: [Qemu-devel] [PATCH 00/15] Some networking code re-organization

2009-10-23 Thread Mark McLoughlin
On Thu, 2009-10-22 at 15:34 -0500, Anthony Liguori wrote: > Mark McLoughlin wrote: > > Hey, > > We've been meaning to split net.c up for quite a while now, > > so here goes with a first cut at. > > > > There shouldn't be anything too controversial here, apart > > from CONFIG_LINUX m

[Qemu-devel] Re: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread MORITA Kazutaka
Hello, Does the following patch work for you? diff --git a/sheep/work.c b/sheep/work.c index 4df8dc0..45f362d 100644 --- a/sheep/work.c +++ b/sheep/work.c @@ -28,6 +28,7 @@ #include #include #include +#define _LINUX_FCNTL_H #include #include "list.h" On Wed, Oct 21, 2009 at 5:45 PM, N

[Qemu-devel] [PATCH 5/5] usb-storage: use qdev for -usbdevice

2009-10-23 Thread Gerd Hoffmann
Hook up usb_msd_init. Also rework handling of encrypted block devices, move the code out vl.c. Signed-off-by: Gerd Hoffmann --- hw/usb-msd.c | 33 + hw/usb.h |4 vl.c | 25 - 3 files changed, 25 insertions(+), 37 d

[Qemu-devel] [PATCH 4/5] usb: make attach optional.

2009-10-23 Thread Gerd Hoffmann
Add a auto_attach field to USBDevice, which is enabled by default. USB drivers can clear this field in case they do *not* want the device being attached (i.e. plugged into a usb port) automatically after successfull init(). Use cases: * attaching encrypted mass storage devices (see next patch).

[Qemu-devel] [PATCH 3/5] usb-serial and braille: use qdev for -usbdevice

2009-10-23 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/baum.c |6 hw/baum.h |3 -- hw/usb-serial.c | 85 ++- hw/usb.h|3 -- vl.c|6 5 files changed, 65 insertions(+), 38 deletions(-) diff --git a/hw/bau

[Qemu-devel] [PATCH 2/5] usb-hid: use qdev for -usbdevice

2009-10-23 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/usb-hid.c |3 +++ hw/usb-wacom.c |1 + vl.c | 29 - 3 files changed, 4 insertions(+), 29 deletions(-) diff --git a/hw/usb-hid.c b/hw/usb-hid.c index d1cc45e..f4a2a48 100644 --- a/hw/usb-hid.c +++ b/hw/usb-hid.

[Qemu-devel] [PATCH 1/5] usb core: use qdev for -usbdevice

2009-10-23 Thread Gerd Hoffmann
This patchs adds infrastructure to handle -usbdevice via qdev callbacks. USBDeviceInfo gets a name field (for the -usbdevice driver name) and a callback for -usbdevice parameter parsing. The new usbdevice_create() function walks the qdev driver list and looks for a usb driver with a matching name.

[Qemu-devel] [PATCH 0/5] use qdev for -usbdevice

2009-10-23 Thread Gerd Hoffmann
Hi, This patch series changes the way the -usbdevice switch (and the usb_add monitor command) is handled. Instead of hard-coding stuff in vl.c it is integrated with qdev by adding new fields to USBDeviceInfo. First patch adds the infrastructure. Follwing patches switch over the usb drivers to

[Qemu-devel] Re: [PATCH] new SDL keyboard shortcuts to start and stop VM

2009-10-23 Thread Kevin Wolf
Am 23.10.2009 01:55, schrieb Juan Quintela: > Anthony Liguori wrote: >> Luiz Capitulino wrote: >>> On Thu, 22 Oct 2009 10:40:54 -0500 >>> Anthony Liguori wrote: >>> >>> Luiz Capitulino wrote: > Yeah, I agree. > > When testing migration, for example, I have to type

Re: [Qemu-devel] [PATCH] target-arm: use clz32() instead of a for loop

2009-10-23 Thread Aurelien Jarno
Stuart Brady a écrit : > On Thu, Oct 15, 2009 at 11:14:52PM +0200, Aurelien Jarno wrote: >> @@ -394,10 +395,7 @@ uint32_t HELPER(uxtb16)(uint32_t x) >> >> uint32_t HELPER(clz)(uint32_t x) >> { >> -int count; >> -for (count = 32; x; count--) >> -x >>= 1; >> -return count; >>