[Qemu-devel] Optimisez vos couts en modernisant votre standard telephonique

2011-08-25 Thread Azal marketing
Si ce message ne s'affiche pas correctement, visualisez la version en ligne. AZAL Marketing Services Votre conseiller auprès des revendeurs de standard téléphonique. Nos revendeurs sont agréés par les plus grandes marques comme Alcatel et Siemens Pourquoi se préoccuper de votre installation tél

Re: [Qemu-devel] Missing barriers in hw/virtio.c

2011-08-25 Thread Paolo Bonzini
On 08/26/2011 07:40 AM, David Gibson wrote: Near the top of hw/virtio.c we have this: /* QEMU doesn't strictly need write barriers since everything runs in * lock-step. We'll leave the calls to wmb() in though to make it obvious for * KVM or if kqemu gets SMP support. * In any case, we

Re: [Qemu-devel] Guest kernel device compatability auto-detection

2011-08-25 Thread Sasha Levin
On Thu, 2011-08-25 at 16:25 +, Decker, Schorschi wrote: > I would ask two things be done in the design if it goes forward, 1) > have an explicit way to disable this feature, where the hypervisor > cannot interact with the guest OS directly in any way if disablement > is selected. I doubt that

Re: [Qemu-devel] Guest kernel device compatability auto-detection

2011-08-25 Thread Sasha Levin
On Thu, 2011-08-25 at 16:48 -0500, Anthony Liguori wrote: > On 08/25/2011 12:21 AM, Sasha Levin wrote: > > Hi, > > > > Currently when we run the guest we treat it as a black box, we're not > > quite sure what it's going to start and whether it supports the same > > features we expect it to support

[Qemu-devel] buildbot failure in qemu on ppc-next_x86_64_debian_6_0

2011-08-25 Thread qemu
The Buildbot has detected a new failure on builder ppc-next_x86_64_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/ppc-next_x86_64_debian_6_0/builds/11 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki

[Qemu-devel] buildbot failure in qemu on ppc-next_i386_debian_6_0

2011-08-25 Thread qemu
The Buildbot has detected a new failure on builder ppc-next_i386_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/ppc-next_i386_debian_6_0/builds/11 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Bui

[Qemu-devel] Missing barriers in hw/virtio.c

2011-08-25 Thread David Gibson
Near the top of hw/virtio.c we have this: /* QEMU doesn't strictly need write barriers since everything runs in * lock-step. We'll leave the calls to wmb() in though to make it obvious for * KVM or if kqemu gets SMP support. * In any case, we must prevent the compiler from reordering the code

Re: [Qemu-devel] kvm PCI assignment & VFIO ramblings

2011-08-25 Thread David Gibson
On Thu, Aug 25, 2011 at 08:25:45AM -0500, Alexander Graf wrote: > > On 25.08.2011, at 07:31, Roedel, Joerg wrote: > > > On Wed, Aug 24, 2011 at 11:07:46AM -0400, Alex Williamson wrote: > >> On Wed, 2011-08-24 at 10:52 +0200, Roedel, Joerg wrote: > > > > [...] > > >> We need to try the polite m

Re: [Qemu-devel] kvm PCI assignment & VFIO ramblings

2011-08-25 Thread David Gibson
On Wed, Aug 24, 2011 at 01:03:32PM +0200, Roedel, Joerg wrote: > On Wed, Aug 24, 2011 at 05:33:00AM -0400, David Gibson wrote: > > On Wed, Aug 24, 2011 at 11:14:26AM +0200, Roedel, Joerg wrote: > > > > I don't see a reason to make this meta-grouping static. It would harm > > > flexibility on x86.

Re: [Qemu-devel] [PATCH 1/6] target-alpha: Add custom PALcode image for CLIPPER emulation.

2011-08-25 Thread Peter Maydell
2011/8/25 Richard Henderson : > diff --git a/.gitmodules b/.gitmodules > index 7884471..528743d 100644 > --- a/.gitmodules > +++ b/.gitmodules > @@ -10,3 +10,6 @@ >  [submodule "roms/ipxe"] >        path = roms/ipxe >        url = git://git.qemu.org/ipxe.git > +[submodule "roms/qemu-palcode"] > +  

Re: [Qemu-devel] [PATCH 6/6] target-alpha: Add high-resolution access to wall clock and an alarm.

2011-08-25 Thread Peter Maydell
On 25 August 2011 22:45, Richard Henderson wrote: > @@ -1604,6 +1607,12 @@ static void gen_mfpr(int ra, int regno) >         return; >     } > > +    if (regno == 250) { > +        /* WALL_TIME */ > +        gen_helper_get_time(cpu_ir[ra]); > +        return; > +    } > + >     /* The basic regist

Re: [Qemu-devel] [PATCH] vga: Silence bogus gcc warning about uninitialized variables

2011-08-25 Thread Anthony Liguori
On 08/25/2011 04:10 AM, Jan Kiszka wrote: Some gcc versions do not properly detect that all possible cases are covered and base and size are always initialized. Please gcc by defining a pseudo default case. Signed-off-by: Jan Kiszka Applied. Thanks. Regards, Anthony Liguori --- hw/vga.c

[Qemu-devel] [PATCH] xilinx: Convert most xilinx devices to MemoryRegion

2011-08-25 Thread Edgar E. Iglesias
Hi, This converts most of the Xilinx devices to MemoryRegion. I dont have a little endian image with axi dma & enet readily available, so I'll do those later. Avi, if you want to keep your queue short, just Ack and I'll apply this. But feel free to take this via your tree if you prefer. Cheers

Re: [Qemu-devel] [PATCH] qed: make qed_alloc_clusters round up offset to nearest cluster

2011-08-25 Thread Devin Nakamura
Works fine for me On Thu, Aug 25, 2011 at 5:33 AM, Stefan Hajnoczi wrote: > On Tue, Aug 23, 2011 at 02:38:00PM +0200, Kevin Wolf wrote: >> Am 16.08.2011 01:16, schrieb Devin Nakamura: >> > Signed-off-by: Devin Nakamura >> > --- >> >  block/qed.c |    2 ++ >> >  1 files changed, 2 insertions(+),

[Qemu-devel] [PATCH 5/6] target-alpha: Implement HALT IPR.

2011-08-25 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/helper.h|1 + target-alpha/op_helper.c | 10 ++ target-alpha/translate.c |5 + 3 files changed, 16 insertions(+), 0 deletions(-) diff --git a/target-alpha/helper.h b/target-alpha/helper.h index 2dec57e..c352c24 100644 --

Re: [Qemu-devel] [PULL][PATCH 0/6] Alpha system emulation, v9

2011-08-25 Thread Richard Henderson
On 08/25/2011 11:45 AM, Richard Henderson wrote: > Changes v8->v9 > * Updates for memory api. > > Please pull from > > git://repo.or.cz/qemu/rth.git axp-system-7 > > > r~ > > > Richard Henderson (6): > target-alpha: Add custom PALcode image for CLIPPER emulation. > target-alpha: Add

[Qemu-devel] [PATCH 2/6] target-alpha: Add CLIPPER emulation.

2011-08-25 Thread Richard Henderson
This is a DP264 variant, SMP capable, no unusual hardware present. The emulation does not currently include any PCI IOMMU code. Hopefully the generic support for that can be merged to HEAD soon. Signed-off-by: Richard Henderson --- hw/alpha_typhoon.c | 794 +

[Qemu-devel] [PATCH 1/6] target-alpha: Add custom PALcode image for CLIPPER emulation.

2011-08-25 Thread Richard Henderson
Signed-off-by: Richard Henderson --- .gitmodules |3 +++ Makefile|3 ++- configure |8 +++- pc-bios/README |3 +++ pc-bios/palcode-clipper | Bin 0 -> 185703 bytes roms/qemu-palcode |1 + 6 files changed, 16 inserti

Re: [Qemu-devel] Guest kernel device compatability auto-detection

2011-08-25 Thread Anthony Liguori
On 08/25/2011 12:21 AM, Sasha Levin wrote: Hi, Currently when we run the guest we treat it as a black box, we're not quite sure what it's going to start and whether it supports the same features we expect it to support when running it from the host. This forces us to start the guest with the sa

[Qemu-devel] [PATCH 6/6] target-alpha: Add high-resolution access to wall clock and an alarm.

2011-08-25 Thread Richard Henderson
The alarm is a fully general one-shot time comparator, which will be usable under Linux as a hrtimer source. It's much more flexible than the RTC source available on real hardware. The wall clock allows the guest access to the host timekeeping. Much like the KVM wall clock source for other guest

[Qemu-devel] [PATCH 3/6] target-alpha: Add CLIPPER emulation.

2011-08-25 Thread Richard Henderson
This is a DP264 variant, SMP capable, no unusual hardware present. The emulation does not currently include any PCI IOMMU code. Hopefully the generic support for that can be merged to HEAD soon. Signed-off-by: Richard Henderson --- Makefile.target |1 + default-configs/alp

[Qemu-devel] [PATCH 4/6] target-alpha: Implement WAIT IPR.

2011-08-25 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 31 +-- 1 files changed, 21 insertions(+), 10 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 1e224a2..86343df 100644 --- a/target-alpha/translate.c +++ b/target-alph

[Qemu-devel] [PULL][PATCH 0/6] Alpha system emulation, v9

2011-08-25 Thread Richard Henderson
Changes v8->v9 * Updates for memory api. Please pull from git://repo.or.cz/qemu/rth.git axp-system-7 r~ Richard Henderson (6): target-alpha: Add custom PALcode image for CLIPPER emulation. target-alpha: Add CLIPPER emulation. target-alpha: Add CLIPPER emulation. target-alpha: Imp

[Qemu-devel] [PATCH 03/17] hw/onenand: Minor spacing fixes

2011-08-25 Thread Peter Maydell
From: Juha Riihimäki Minor whitespace-only cleanup (separated out from the qdevifying patch for clarity). Signed-off-by: Juha Riihimäki [Riku Voipio: Fixes and restructuring patchset] Signed-off-by: Riku Voipio [Peter Maydell: More fixes and cleanups for upstream submission] Signed-off-by: Pe

[Qemu-devel] [PATCH 12/17] omap_gpmc: Support NAND devices

2011-08-25 Thread Peter Maydell
Support accesses to NAND devices, both by mapping them into the GPMC address space, and via the NAND_COMMAND, NAND_ADDRESS and NAND_DATA GPMC registers. Signed-off-by: Peter Maydell --- hw/omap.h |1 + hw/omap_gpmc.c | 219 --- 2 file

[Qemu-devel] [PATCH 09/17] omap_gpmc: Take omap_mpu_state* in omap_gpmc_init

2011-08-25 Thread Peter Maydell
From: Juha Riihimäki Take a pointer to the omap mpu state struct in omap_gpmc_init. Some details of GPMC behaviour depend on the OMAP version we are a part of. Signed-off-by: Juha Riihimäki [Riku Voipio: Fixes and restructuring patchset] Signed-off-by: Riku Voipio [Peter Maydell: More fixes an

[Qemu-devel] [PATCH 05/17] omap_gpmc: Refactor omap_gpmc_cs_map and omap_gpmc_cs_unmap

2011-08-25 Thread Peter Maydell
Refactor the omap_gpmc_cs_map/unmap functions: * take the omap_gpmc_s* and a chipselect id rather than the omap_gpmc_cs_file_s*, so they have access to the general gpmc member fields * extract the base and mask from the config registers in the functions rather than at every callsite * c

Re: [Qemu-devel] [RFC PATCH V1 00/14] Dynamic machine model creation from device trees

2011-08-25 Thread Anthony Liguori
On 08/25/2011 03:20 PM, Edgar E. Iglesias wrote: On Thu, Aug 25, 2011 at 02:54:13PM -0500, Anthony Liguori wrote: On 08/25/2011 02:10 PM, Edgar E. Iglesias wrote: This is the goal of QOM except it does this by fixing the problems in qdev instead of adding another layer on top of things. Then

[Qemu-devel] [PATCH 04/17] omap_gpmc: Clean up omap_gpmc_attach MemoryRegion conversion

2011-08-25 Thread Peter Maydell
Now that all callers of omap_gpmc_attach pass in a MemoryRegion*, we can remove the base_update and unmap function pointer arguments, and the opaque pointer that was passed into these callbacks. We can also remove the base and size fields from omap_gpmc_cs_file_s as these are no longer necessary (

[Qemu-devel] [PATCH 07/17] omap_gpmc: Wire up the GPMC IRQ correctly

2011-08-25 Thread Peter Maydell
The omap_gpmc wasn't actually wiring up its IRQ, so anything that provoked an interrupt would be using uninitialised data for its IRQ number. Signed-off-by: Peter Maydell --- hw/omap_gpmc.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/omap_gpmc.c b/hw/omap_gpmc.c i

[Qemu-devel] [PATCH 17/17] omap_gpmc: Implement prefetch engine

2011-08-25 Thread Peter Maydell
This commit implements the prefetch engine feature of the GPMC which can be used for NAND devices. This includes both interrupt driven and DMA-filling modes. Signed-off-by: Peter Maydell --- hw/omap_gpmc.c | 257 +-- 1 files changed, 247 inser

[Qemu-devel] [PATCH 11/17] omap_gpmc: Reindent misindented switch statements

2011-08-25 Thread Peter Maydell
Whitespace-only change fixing indentation. Signed-off-by: Peter Maydell --- I'm not usually a fan of indentation fix patches but in this case the following patches touch a lot of the switch statement anyway so it seemed reasonable... hw/omap_gpmc.c | 96 ---

Re: [Qemu-devel] [RFC PATCH V1 12/14] microblaze: Make the MSR PVR bit non writable

2011-08-25 Thread Edgar E. Iglesias
On Thu, Aug 25, 2011 at 08:17:35PM +1000, Peter Crosthwaite wrote: > Hi Peter , I included them as they are prerequisite for patch 14. Edgar, can > we > get a review / push of these two separate of this series so I can take them > out > next revision ? I've applied this now, thanks. Cheers

[Qemu-devel] [PATCH 06/17] omap_gpmc: GPMC_IRQSTATUS is write-one-to-clear

2011-08-25 Thread Peter Maydell
Fix a bug in the handling of writes to GPMC_IRQSTATUS: it behaves as "write one to clear, writing zero is ignored". Signed-off-by: Peter Maydell --- hw/omap_gpmc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/omap_gpmc.c b/hw/omap_gpmc.c index d16b28b..ff4d485 100

[Qemu-devel] [PATCH 00/17] onenand, omap_gpmc fixes, features

2011-08-25 Thread Peter Maydell
This patchset is primarily features and bugfixes for the omap_gpmc device from the Meego tree. We start by adding a new sysbus function to get the MemoryRegion* for a sysbus MMIO region. This was discussed in http://www.mail-archive.com/kvm@vger.kernel.org/msg59535.html and as noted there can als

[Qemu-devel] [PATCH 08/17] omap_gpmc: Fix handling of FIFOTHRESHOLDSTATUS bit

2011-08-25 Thread Peter Maydell
The OMAP3 TRM is inconsistent about whether the GPMC FIFOTHRESHOLDSTATUS bit should be set when FIFOPOINTER > FIFOTHRESHOLD or when it is >= FIFOTHRESHOLD. Apparently the underlying functional spec from which the TRM was created states that the behaviour is ">=", and this also makes more conceptual

Re: [Qemu-devel] [PATCH 6/7] usb-host: claim port

2011-08-25 Thread Gerd Hoffmann
On 08/25/11 18:03, Erik Rull wrote: Hi Gerd, is this related / the fix to my question regarding the recurring claimed messages? (See my mail dated 2011-08-21) No, but patches #3 + #5 hopefully help there. cheers, Gerd

[Qemu-devel] [PATCH 02/17] hw/onenand: Qdevify

2011-08-25 Thread Peter Maydell
From: Juha Riihimäki Qdevify the ONENAND device. Signed-off-by: Juha Riihimäki [Riku Voipio: Fixes and restructuring patchset] Signed-off-by: Riku Voipio [Peter Maydell: More fixes and cleanups for upstream submission] Signed-off-by: Peter Maydell --- hw/flash.h | 10 ++-- hw/nseries.c

[Qemu-devel] [PATCH 16/17] omap: Wire up the DMA request line to the GPMC

2011-08-25 Thread Peter Maydell
Signed-off-by: Peter Maydell --- hw/omap.h |3 ++- hw/omap2.c |3 ++- hw/omap_gpmc.c |5 - 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/hw/omap.h b/hw/omap.h index 81f5544..d9ab006 100644 --- a/hw/omap.h +++ b/hw/omap.h @@ -119,7 +119,8 @@ void omap_sdrc

[Qemu-devel] [PATCH 14/17] omap_gpmc: Accept a zero mask field on omap3630

2011-08-25 Thread Peter Maydell
From: Juha Riihimäki OMAP3630 adds an extra bit of address masking, so a mask of 0xb is valid. Unfortunately the GPMC_REVISION is the same as on the OMAP3430 which only has three bits of address masking, so we have to derive this feature directly from the OMAP revision rather than from the GP

[Qemu-devel] [PATCH 15/17] omap_gpmc: Pull prefetch engine data into sub-struct

2011-08-25 Thread Peter Maydell
Refactor the gpmc state structure so items relating to the prefetch engine are in their own sub-struct and have more useful names. Signed-off-by: Peter Maydell --- hw/omap_gpmc.c | 52 1 files changed, 28 insertions(+), 24 deletions(-) diff

Re: [Qemu-devel] [RFC PATCH V1 00/14] Dynamic machine model creation from device trees

2011-08-25 Thread Edgar E. Iglesias
On Thu, Aug 25, 2011 at 02:54:13PM -0500, Anthony Liguori wrote: > On 08/25/2011 02:10 PM, Edgar E. Iglesias wrote: > >On Thu, Aug 25, 2011 at 11:04:12AM -0500, Anthony Liguori wrote: > >>On 08/25/2011 10:43 AM, Peter Crosthwaite wrote: > >>>Hi Anthony, > >>> > >>>So the primary motivation for usin

Re: [Qemu-devel] PPC* and Sparc32 crash

2011-08-25 Thread Blue Swirl
On Thu, Aug 25, 2011 at 7:31 PM, Avi Kivity wrote: > On 08/25/2011 08:33 PM, Blue Swirl wrote: >> >> (gdb) bt >> #0  0x73da2165 in *__GI_raise (sig=) >>     at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 >> #1  0x73da4f70 in *__GI_abort () at abort.c:92 >> #2  0x73d9b2b1 in

[Qemu-devel] [PATCH 10/17] omap_gpmc: Calculate revision from OMAP model

2011-08-25 Thread Peter Maydell
From: Juha Riihimäki Signed-off-by: Juha Riihimäki [Riku Voipio: Fixes and restructuring patchset] Signed-off-by: Riku Voipio [Peter Maydell: More fixes and cleanups for upstream submission] Signed-off-by: Peter Maydell --- hw/omap_gpmc.c |4 +++- 1 files changed, 3 insertions(+), 1 dele

[Qemu-devel] [PATCH 13/17] hw/omap.h: Add OMAP 3630 to omap_mpu_model enumeration

2011-08-25 Thread Peter Maydell
Add the OMAP 3630 to the omap_mpu_model enumeration, and add the corresponding cpu_is_omap3630() function. (OMAP3 isn't supported yet but this is useful in upgrading common components to be "OMAP3 ready". We already have this for OMAP3430.) Signed-off-by: Peter Maydell --- hw/omap.h |5

[Qemu-devel] [PATCH 01/17] hw/sysbus: Add sysbus_mmio_get_region()

2011-08-25 Thread Peter Maydell
Add a sysbus_mmio_get_region() which allows users of sysbus devices to turn a (SysBusDevice*, mmioidx) tuple into a MemoryRegion*. This enables some useful simplifications of devices which pass through another device's mmio region (either directly or by implementing some kind of memory controller d

[Qemu-devel] [PATCH v7 05/13] trace: avoid conditional code compilation during option parsing

2011-08-25 Thread Lluís
Signed-off-by: Lluís Vilanova --- Makefile.objs |8 qemu-config.c |4 qemu-options.hx |6 -- trace/control.h | 23 +++ trace/dtrace.c | 12 trace/nop.c | 12 trace/simple.c | 15 --- trace/si

[Qemu-devel] [PATCH v7 10/13] trace-state: always use the "nop" backend on events with the "disable" keyword

2011-08-25 Thread Lluís
Any event with the keyword/property "disable" generates an empty trace event using the "nop" backend, regardless of the current backend. Signed-off-by: Lluís Vilanova --- docs/tracing.txt | 25 +++-- scripts/tracetool | 15 ++- 2 files changed, 17 insertions(

Re: [Qemu-devel] [RFC PATCH V1 00/14] Dynamic machine model creation from device trees

2011-08-25 Thread Anthony Liguori
On 08/25/2011 02:10 PM, Edgar E. Iglesias wrote: On Thu, Aug 25, 2011 at 11:04:12AM -0500, Anthony Liguori wrote: On 08/25/2011 10:43 AM, Peter Crosthwaite wrote: Hi Anthony, So the primary motivation for using this is in embedded systems design flows where you are already working with DTS for

[Qemu-devel] [PATCH v7 03/13] trace: [make] replace 'ifeq' with values in CONFIG_TRACE_*

2011-08-25 Thread Lluís
Signed-off-by: Lluís Vilanova --- Makefile.objs | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index 44d7238..aaf6542 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -374,16 +374,14 @@ endif simpletrace.o: simpletrace.c $(GEN

[Qemu-devel] [PATCH v7 06/13] trace: generalize the "property" concept in the trace-events file

2011-08-25 Thread Lluís
This adds/modifies the following functions: * get_name: Get _only_ the event name * has_property: Return whether an event has a property (keyword before the event name) Signed-off-by: Lluís Vilanova --- docs/tracing.txt |4 +-- scripts/tracetool | 73 ---

[Qemu-devel] [PATCH v7 04/13] trace: move backend-specific code into the trace/ directory

2011-08-25 Thread Lluís
Signed-off-by: Lluís Vilanova --- Makefile |1 Makefile.objs |6 + scripts/tracetool |2 simpletrace.c | 355 - simpletrace.h | 48 --- trace/simple.c| 355 ++

[Qemu-devel] [PATCH v7 07/13] trace-state: separate trace event control and query routines from the simple backend

2011-08-25 Thread Lluís
Generalize the 'st_print_trace_events' and 'st_change_trace_event_state' into backend-specific 'trace_print_events' and 'trace_event_set_state' (respectively) in the "trace/control.h" file. Signed-off-by: Lluís Vilanova --- hmp-commands.hx |2 +- monitor.c | 11 ++- trace/con

[Qemu-devel] [PATCH v7 09/13] trace-state: add "-trace events" argument to control initial state

2011-08-25 Thread Lluís
The "-trace events" argument can be used to provide a file with a list of trace event names that will be enabled prior to starting execution, thus providing early tracing. This saves the user from manually toggling event states through the monitor interface or whichever backend-specific interface.

Re: [Qemu-devel] [PULL] Memory API conversions, batch 5

2011-08-25 Thread Jan Kiszka
On 2011-08-25 21:36, Avi Kivity wrote: > On 08/25/2011 10:32 PM, Jan Kiszka wrote: >> > >> > Program received signal SIGSEGV, Segmentation fault. >> > 0x0041be54 in memory_region_init_rom_device (mr=0xfb6900, >> > ops=, dev=, >> > name=0x564c5d "petalogix_s3adsp1800.flash", size

Re: [Qemu-devel] [PULL] Memory API conversions, batch 5

2011-08-25 Thread Avi Kivity
On 08/25/2011 10:32 PM, Jan Kiszka wrote: > > Program received signal SIGSEGV, Segmentation fault. > 0x0041be54 in memory_region_init_rom_device (mr=0xfb6900, > ops=, dev=, > name=0x564c5d "petalogix_s3adsp1800.flash", size=16777216) > at /home/edgar/src/c/qemu/qemu/memor

Re: [Qemu-devel] [Bug 818673] Re: virtio: trying to map MMIO memory

2011-08-25 Thread Vadim Rozenfeld
On Thu, 2011-08-25 at 16:54 +0100, Stefan Hajnoczi wrote: > On Thu, Aug 25, 2011 at 3:53 PM, David Rando wrote: > > Do you know if it's something related to the virtio net driver? anyone > > tried going to the e1000 only? i have some machines with e1000 and some > > of them with virtio-net, but i

[Qemu-devel] [PATCH v7 08/13] trace-state: always compile support for controlling and querying trace event states

2011-08-25 Thread Lluís
The current interface is generic for this small set of operations, and thus other backends can easily modify the "trace/control.c" file to add their own implementation. Signed-off-by: Lluís Vilanova --- docs/tracing.txt | 39 +-- hmp-commands.hx |7

Re: [Qemu-devel] [PULL] Memory API conversions, batch 5

2011-08-25 Thread Jan Kiszka
On 2011-08-25 20:27, Edgar E. Iglesias wrote: > On Thu, Aug 25, 2011 at 08:04:34AM -0500, Anthony Liguori wrote: >> On 08/25/2011 03:01 AM, Avi Kivity wrote: >>> Please pull from >>> >>> git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/batch >>> >>> to receive the fifth memory API conversi

Re: [Qemu-devel] PPC* and Sparc32 crash

2011-08-25 Thread Avi Kivity
On 08/25/2011 08:33 PM, Blue Swirl wrote: (gdb) bt #0 0x73da2165 in *__GI_raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x73da4f70 in *__GI_abort () at abort.c:92 #2 0x73d9b2b1 in *__GI___assert_fail ( assertion=0x5c7390 "info->qdev.size>= size

Re: [Qemu-devel] [PULL] Memory API conversions, batch 5

2011-08-25 Thread Avi Kivity
On 08/25/2011 09:58 PM, Blue Swirl wrote: > > Guys, please start testing before applying these patches. It's not hard, > there are images on the wiki with scripts that area easy to run. It's also possible to revert offending patches. Please revert the entire pull (git revert 8ef9ea85a2cc1) w

[Qemu-devel] [PATCH v7 13/13] trace: enable all events

2011-08-25 Thread Lluís
Given that all events with programmatically-controlled state are disabled by default, we can delete the "disable" property from all events. Signed-off-by: Lluís Vilanova --- trace-events | 644 +- 1 files changed, 322 insertions(+), 322 de

[Qemu-devel] [PATCH v7 11/13] trace-state: [simple] disable all trace points by default

2011-08-25 Thread Lluís
Note that this refers to the backend-specific state (whether the output must be generated), not the event "disabled" property (which always uses the "nop" backend). Signed-off-by: Lluís Vilanova --- scripts/tracetool |9 ++--- trace-events |3 --- 2 files changed, 2 insertions(+

[Qemu-devel] [PATCH v7 12/13] trace-state: [stderr] add support for dynamically enabling/disabling events

2011-08-25 Thread Lluís
Uses the generic interface provided in "trace/control.h" in order to provide a programmatic interface as well as command line and monitor controls. Signed-off-by: Fabien Chouteau Signed-off-by: Lluís Vilanova --- configure |3 +++ docs/tracing.txt |5 - qemu-options.hx |

[Qemu-devel] [PATCH v7 02/13] trace: [configure] rename CONFIG_*_TRACE into CONFIG_TRACE_*

2011-08-25 Thread Lluís
Provides a more hierarchical view of the variable domain. Also adds the CONFIG_TRACE_* variables for all backends. Signed-off-by: Lluís Vilanova --- Makefile.target |6 +++--- configure | 13 +++-- hmp-commands.hx |4 ++-- monitor.c |8 qemu-co

[Qemu-devel] [PATCH v7 01/13] [simple] Include qemu-timer-common.o in trace-obj-y

2011-08-25 Thread Lluís
Helper programs like qemu-ga use tracing primitives, but qemu-timer-common.o (also used by simpletrace.o) is not necessarily included in the linkage line. This currently produces a warning when linking the *-softmmu programs. Signed-off-by: Lluís Vilanova --- Makefile.objs |2 +- 1 files ch

Re: [Qemu-devel] [PULL] Memory API conversions, batch 5

2011-08-25 Thread Edgar E. Iglesias
On Thu, Aug 25, 2011 at 02:02:24PM -0500, Anthony Liguori wrote: > On 08/25/2011 01:58 PM, Blue Swirl wrote: > >On Thu, Aug 25, 2011 at 6:27 PM, Edgar E. Iglesias > > wrote: > >>On Thu, Aug 25, 2011 at 08:04:34AM -0500, Anthony Liguori wrote: > >>>On 08/25/2011 03:01 AM, Avi Kivity wrote: > Pl

[Qemu-devel] [PATCH v7 00/13] trace-state: make the behaviour of "disable" consistent across all backends

2011-08-25 Thread Lluís
This patch defines the "disable" trace event state to always use the "nop" backend. As a side-effect, all events are now enabled (without "disable") by default, as all backends (except "stderr") have programmatic support for dynamically (de)activating each trace event. In order to make this true,

Re: [Qemu-devel] [PULL] Memory API conversions, batch 5

2011-08-25 Thread Blue Swirl
On Thu, Aug 25, 2011 at 7:02 PM, Anthony Liguori wrote: > On 08/25/2011 01:58 PM, Blue Swirl wrote: >> >> On Thu, Aug 25, 2011 at 6:27 PM, Edgar E. Iglesias >>  wrote: >>> >>> On Thu, Aug 25, 2011 at 08:04:34AM -0500, Anthony Liguori wrote: On 08/25/2011 03:01 AM, Avi Kivity wrote:

Re: [Qemu-devel] [RFC PATCH V1 00/14] Dynamic machine model creation from device trees

2011-08-25 Thread Edgar E. Iglesias
On Thu, Aug 25, 2011 at 11:04:12AM -0500, Anthony Liguori wrote: > On 08/25/2011 10:43 AM, Peter Crosthwaite wrote: > >Hi Anthony, > > > >So the primary motivation for using this is in embedded systems design flows > >where you are already working with DTS for software boot. For > >microblaze-linux

Re: [Qemu-devel] [PULL] Memory API conversions, batch 5

2011-08-25 Thread Anthony Liguori
On 08/25/2011 01:58 PM, Blue Swirl wrote: On Thu, Aug 25, 2011 at 6:27 PM, Edgar E. Iglesias wrote: On Thu, Aug 25, 2011 at 08:04:34AM -0500, Anthony Liguori wrote: On 08/25/2011 03:01 AM, Avi Kivity wrote: Please pull from git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/batch to

Re: [Qemu-devel] [PULL] Memory API conversions, batch 5

2011-08-25 Thread Blue Swirl
On Thu, Aug 25, 2011 at 6:27 PM, Edgar E. Iglesias wrote: > On Thu, Aug 25, 2011 at 08:04:34AM -0500, Anthony Liguori wrote: >> On 08/25/2011 03:01 AM, Avi Kivity wrote: >> >Please pull from >> > >> >git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/batch >> > >> >to receive the fifth memo

Re: [Qemu-devel] [RFC PATCH V1 12/14] microblaze: Make the MSR PVR bit non writable

2011-08-25 Thread Edgar E. Iglesias
On Thu, Aug 25, 2011 at 08:17:35PM +1000, Peter Crosthwaite wrote: > Hi Peter , I included them as they are prerequisite for patch 14. Edgar, can > we > get a review / push of these two separate of this series so I can take them > out > next revision ? Yes, my bad. I should have pushed this bef

Re: [Qemu-devel] [PULL] Memory API conversions, batch 5

2011-08-25 Thread Edgar E. Iglesias
On Thu, Aug 25, 2011 at 08:04:34AM -0500, Anthony Liguori wrote: > On 08/25/2011 03:01 AM, Avi Kivity wrote: > >Please pull from > > > >git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/batch > > > >to receive the fifth memory API conversions batch. There is really > >nothing notable, excep

Re: [Qemu-devel] [PATCH v6 02/14] provide support for default implementations using weak symbols

2011-08-25 Thread Lluís
Blue Swirl writes: > On Thu, Aug 25, 2011 at 3:51 PM, Lluís wrote: >> Routines using the QEMU_WEAK attribute can have a default implementation that >> can be later overriden just by re-implementing it. > Nack: weak attributes are only available for ELF and a.out. Right, sorry. It was too good t

Re: [Qemu-devel] kvm PCI assignment & VFIO ramblings

2011-08-25 Thread Joerg Roedel
On Thu, Aug 25, 2011 at 11:20:30AM -0600, Alex Williamson wrote: > On Thu, 2011-08-25 at 12:54 +0200, Roedel, Joerg wrote: > > We need to solve this differently. ARM is starting to use the iommu-api > > too and this definitly does not work there. One possible solution might > > be to make the iomm

Re: [Qemu-devel] [PATCH] KVM: Add wrapper script around QEMU to test kernels

2011-08-25 Thread Blue Swirl
On Wed, Aug 24, 2011 at 9:38 PM, Alexander Graf wrote: > On LinuxCon I had a nice chat with Linus on what he thinks kvm-tool > would be doing and what he expects from it. Basically he wants a > small and simple tool he and other developers can run to try out and > see if the kernel they just built

[Qemu-devel] [PATCH] hw/lan9118.c: Convert to MemoryRegion

2011-08-25 Thread Peter Maydell
Signed-off-by: Peter Maydell --- Another device I needed to convert so I could connect it to omap_gpmc for an omap3 board (in this case overo). hw/lan9118.c | 29 +++-- 1 files changed, 11 insertions(+), 18 deletions(-) diff --git a/hw/lan9118.c b/hw/lan9118.c index 73

Re: [Qemu-devel] [PATCH v6 02/14] provide support for default implementations using weak symbols

2011-08-25 Thread Blue Swirl
On Thu, Aug 25, 2011 at 3:51 PM, Lluís wrote: > Routines using the QEMU_WEAK attribute can have a default implementation that > can be later overriden just by re-implementing it. Nack: weak attributes are only available for ELF and a.out. > Signed-off-by: Lluís Vilanova > --- >  compiler.h |  

Re: [Qemu-devel] PPC* and Sparc32 crash

2011-08-25 Thread Blue Swirl
On Thu, Aug 25, 2011 at 4:43 AM, Avi Kivity wrote: > On 08/24/2011 11:02 PM, Blue Swirl wrote: >> >> > >> >  Backtrace? >> >> [Thread debugging using libthread_db enabled] >> [New Thread 0x70ab7700 (LWP 15515)] >> qemu-system-sparc: /src/qemu/hw/sysbus.c:156: >> sysbus_register_withprop: Asser

Re: [Qemu-devel] kvm PCI assignment & VFIO ramblings

2011-08-25 Thread Alex Williamson
On Thu, 2011-08-25 at 12:54 +0200, Roedel, Joerg wrote: > Hi Alex, > > On Wed, Aug 24, 2011 at 05:13:49PM -0400, Alex Williamson wrote: > > Is this roughly what you're thinking of for the iommu_group component? > > Adding a dev_to_group iommu ops callback let's us consolidate the sysfs > > support

Re: [Qemu-devel] [PULL] slirp: Fix issues with -mms-bitfields

2011-08-25 Thread Jan Kiszka
On 2011-08-25 16:03, Stefan Weil wrote: > As I wrote in my last mail, I compared all structs without and with > -mms-bitfields > using pahole and codiff. The result is in the appended codiff.log. > > About 17 structs changed because of -mms-bitfield. This attribute > modifies not only > structs wi

[Qemu-devel] [PATCH v6 10/14] trace-state: add "-trace events" argument to control initial state

2011-08-25 Thread Lluís
The "-trace events" argument can be used to provide a file with a list of trace event names that will be enabled prior to starting execution, thus providing early tracing. This saves the user from manually toggling event states through the monitor interface or whichever backend-specific interface.

[Qemu-devel] [PATCH 0/6] hw/9pfs: Implement file descriptor reclaim in VirtFS server

2011-08-25 Thread Aneesh Kumar K.V
Hi, The patch series implement file descriptor reclaim support in VirtFS server. VirtFS qemu server track open file descriptor on the client using an open fid. This result in server returning EMFILE error even though on the client side the process have not reached maximum open file limit. To fix

[Qemu-devel] [PATCH v6 06/14] trace: avoid conditional code compilation during option parsing

2011-08-25 Thread Lluís
Uses "QEMU_WEAK" to provide a default implementation that signals it as not implemented. Backends can provide their own implementation if the (sub)options are supported. Signed-off-by: Lluís Vilanova --- Makefile|2 +- Makefile.objs |2 ++ qemu-config.c |4 qemu-opt

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

2011-08-25 Thread Aneesh Kumar K.V
[M. Mohan Kumar removed some unused variables] Signed-off-by: Aneesh Kumar K.V --- hw/9pfs/codir.c|4 +- hw/9pfs/cofile.c | 19 - hw/9pfs/virtio-9p-coth.h |4 +- hw/9pfs/virtio-9p-device.c |1 + hw/9pfs/virtio-9p.c| 187

[Qemu-devel] [PATCH v6 14/14] trace: enable all events

2011-08-25 Thread Lluís
Given that all events with programmatically-controlled state are disabled by default, we can delete the "disable" property from all events. Signed-off-by: Lluís Vilanova --- trace-events | 644 +- 1 files changed, 322 insertions(+), 322 de

[Qemu-devel] [PATCH v6 05/14] trace: move backend-specific code into the trace/ directory

2011-08-25 Thread Lluís
Signed-off-by: Lluís Vilanova --- Makefile |1 Makefile.objs |6 + scripts/tracetool |2 simpletrace.c | 355 - simpletrace.h | 48 --- trace/simple.c| 355 ++

Re: [Qemu-devel] kvm PCI assignment & VFIO ramblings

2011-08-25 Thread Roedel, Joerg
On Thu, Aug 25, 2011 at 11:38:09AM -0400, Don Dutile wrote: > On 08/25/2011 06:54 AM, Roedel, Joerg wrote: > > We need to solve this differently. ARM is starting to use the iommu-api > > too and this definitly does not work there. One possible solution might > > be to make the iommu-ops per-bus. >

[Qemu-devel] [PATCH v6 12/14] trace-state: [simple] disable all trace points by default

2011-08-25 Thread Lluís
Note that this refers to the backend-specific state (whether the output must be generated), not the event "disabled" property (which always uses the "nop" backend). Signed-off-by: Lluís Vilanova --- scripts/tracetool |9 ++--- trace-events |3 --- 2 files changed, 2 insertions(+

[Qemu-devel] [PULL 0/1]: Monitor queue

2011-08-25 Thread Luiz Capitulino
Anthony, The following patches have been sent to the list and look good to me. I've also tested them. The changes (since 56a7a874e962e28522857fbf72eaefb1a07e2001) are available in the following repository: git://repo.or.cz/qemu/qmp-unstable.git queue/monitor Jamie Iles (1): monitor: f

[Qemu-devel] [PATCH] monitor: fix build breakage for !CONFIG_VNC

2011-08-25 Thread Luiz Capitulino
From: Jamie Iles Commit c62f6d1 (monitor: fix build breakage with --disable-vnc) conditionalised some VNC setup code but left an unused variable. Move the variable into the conditional code to fix the build breakage. Cc: Luiz Capitulino Cc: Markus Armbruster Signed-off-by: Jamie Iles Signed-

Re: [Qemu-devel] [PATCH 0/3] better I/O accounting V2

2011-08-25 Thread Ryan Harper
* Christoph Hellwig [2011-08-24 13:46]: > On Mon, Aug 22, 2011 at 11:46:00AM -0500, Ryan Harper wrote: > > So, I believe this is how it's happening. > > > > we start accounting on a write which is turned into a multiwrite via > > virtio_blk_handle_write() which calls virtio_submit_multiwrite(). >

[Qemu-devel] [PATCH] hw/9pfs: Initialize rest of qid field to zero.

2011-08-25 Thread Aneesh Kumar K.V
Since qid is allocated out of stack we need to intialize the field to zero. Otherwise we will send wrong qid value to client. Signed-off-by: Aneesh Kumar K.V --- hw/9pfs/virtio-9p.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c

Re: [Qemu-devel] [PATCH 03/14] qapi: use middle mode in QMP server

2011-08-25 Thread Luiz Capitulino
On Thu, 25 Aug 2011 11:24:04 -0500 Michael Roth wrote: > On 08/24/2011 01:42 PM, Anthony Liguori wrote: > > Use the new middle mode within the existing QMP server. > > > > Signed-off-by: Anthony Liguori > > --- > > Makefile | 11 +++ > > Makefile.objs|2 ++ > > Makef

[Qemu-devel] [PATCH] hw/9pfs: Update the fidp path before opendir

2011-08-25 Thread Aneesh Kumar K.V
We need to update the fidp path before opendir. Since we don't use the fid returned by mkdir, earlier code should not have much issue. We do a double v9fs_string_copy here. The later patch cleanup the entire function. Signed-off-by: Aneesh Kumar K.V --- hw/9pfs/virtio-9p.c |1 + 1 files chan

Re: [Qemu-devel] [PATCH 0/3] linux-user: Implement setxattr/getxattr/removexattr syscalls

2011-08-25 Thread An-Cheng Huang
On Wed, Aug 17, 2011 at 02:30:53PM -0700, An-Cheng Huang wrote: > On Tue, Aug 09, 2011 at 12:30:52PM -0700, An-Cheng Huang wrote: > > These patches implement the setxattr, getxattr, and removexattr syscalls. > > Since libattr uses indirect syscalls for these, the fix for the indirect > > syscall ha

Re: [Qemu-devel] Guest kernel device compatability auto-detection

2011-08-25 Thread Decker, Schorschi
>From a security perspective, this not a great idea. Security isolation in >virtualization is gaining ground, so anything that breaches the >hypervisor/guest vale is by your typical enterprise/company security team >considered completely illegal, a number of firms I have talked with all are >t

Re: [Qemu-devel] [PATCH 03/14] qapi: use middle mode in QMP server

2011-08-25 Thread Michael Roth
On 08/24/2011 01:42 PM, Anthony Liguori wrote: Use the new middle mode within the existing QMP server. Signed-off-by: Anthony Liguori --- Makefile | 11 +++ Makefile.objs|2 ++ Makefile.target |6 +++--- monitor.c| 11 --- qapi-schema.json |

[Qemu-devel] [PATCH v6 09/14] trace-state: always compile support for controlling and querying trace event states

2011-08-25 Thread Lluís
The current interface is generic for this small set of operations, and thus other backends can easily modify the "trace/control.c" file to add their own implementation. Signed-off-by: Lluís Vilanova --- docs/tracing.txt | 39 +-- hmp-commands.hx |7

  1   2   3   >