Re: [Qemu-devel] [PATCH] v6 revamp acpitable parsing and allow to specify complete (headerful) table

2011-06-12 Thread Isaku Yamahata
No more comments on the patch? All comments were addressed and there is no comments so far. And this patch only adds one more option to -acpi, thus it's quite safe to merge this patch. So please pick this patch up. Anyway who is the maintainer of acpi.c(or acpi related files)? According to MAINTAI

Attention! Votre Compte a été limité.

2011-06-12 Thread Free . Fr Service
Title: Attention! Votre Compte a été limité !

Re: [Qemu-devel] QEMU suitable for mission critical applications?

2011-06-12 Thread Blue Swirl
On Wed, Jun 8, 2011 at 2:19 PM, Stefan Hajnoczi wrote: > On Wed, Jun 8, 2011 at 11:08 AM, Felix Oxley wrote: >> I have a an (almost) EOL factory planning system running on Solaris >> Sparc which I would like to move to intel (and preferably virtualise) >> in order to avoid having to maintain the

Re: [Qemu-devel] [PATCH 2/5] QMP: add inject-nmi qmp command

2011-06-12 Thread Blue Swirl
On Mon, Jun 6, 2011 at 5:17 PM, Luiz Capitulino wrote: > On Sat, 4 Jun 2011 11:34:17 +0300 > Blue Swirl wrote: > >> On Wed, Jun 1, 2011 at 6:54 PM, Luiz Capitulino >> wrote: >> > From: Lai Jiangshan >> > >> > inject-nmi command injects an NMI on all CPUs of guest. >> > It is only supported for

[Qemu-devel] [PATCH v5 2/5] coroutine: introduce coroutines

2011-06-12 Thread Stefan Hajnoczi
From: Kevin Wolf Asynchronous code is becoming very complex. At the same time synchronous code is growing because it is convenient to write. Sometimes duplicate code paths are even added, one synchronous and the other asynchronous. This patch introduces coroutines which allow code that looks sy

[Qemu-devel] [PATCH v5 5/5] coroutine: add check-coroutine --benchmark-lifecycle

2011-06-12 Thread Stefan Hajnoczi
Add a microbenchmark for coroutine create, enter, and return (aka lifecycle). This is a useful benchmark because users are expected to create many coroutines, one per I/O request for example, and we therefore need to provide good performance in that scenario. To run: make check-coroutine ./c

Re: [Qemu-devel] dynamically linked binaries under sparc-linux-user

2011-06-12 Thread Blue Swirl
On Sun, Jun 5, 2011 at 11:28 PM, Artyom Tarasenko wrote: > On Sat, Jun 4, 2011 at 10:30 AM, Blue Swirl wrote: >> On Sun, May 29, 2011 at 2:32 AM, Artyom Tarasenko >> wrote: >>> On Thu, May 26, 2011 at 8:45 PM, Blue Swirl wrote: On Tue, May 24, 2011 at 10:42 PM, Artyom Tarasenko wro

[Qemu-devel] [PATCH v5 1/5] Add hard build dependency on glib

2011-06-12 Thread Stefan Hajnoczi
From: Anthony Liguori GLib is an extremely common library that has a portable thread implementation along with tons of other goodies. GLib and GObject have a fantastic amount of infrastructure we can leverage in QEMU including an object oriented programming infrastructure. Short term, it has a

Re: [Qemu-devel] [PATCH] coroutine: Implement coroutines using gthread

2011-06-12 Thread Stefan Hajnoczi
On Sat, Jun 11, 2011 at 1:27 PM, Bastien ROUCARIES wrote: > Le jeudi 9 juin 2011 19:41:06, Aneesh Kumar K.V a écrit : >> On platforms that doesn't support makecontext use gthread >> based coroutine implementation. > > Why not using one of the existing lib of coroutine or improving it ? > > Could y

[Qemu-devel] [PATCH v5 4/5] coroutine: add check-coroutine automated tests

2011-06-12 Thread Stefan Hajnoczi
To run automated tests for coroutines: make check-coroutine ./check-coroutine On success the program terminates with exit status 0. On failure an error message is written to stderr and the program exits with exit status 1. Signed-off-by: Stefan Hajnoczi --- .gitignore |1 + Make

[Qemu-devel] [PATCH v5 3/5] coroutine: implement coroutines using gthread

2011-06-12 Thread Stefan Hajnoczi
From: "Aneesh Kumar K.V" On platforms that don't support makecontext(3) use gthread based coroutine implementation. [Original patch by Aneesh, made consistent with coroutine-ucontext.c and switched to GStaticPrivate by Stefan. Tested on Linux and OpenBSD.] Signed-off-by: Aneesh Kumar K.V Sign

[Qemu-devel] [PATCH v5 0/5] Coroutines for better asynchronous programming

2011-06-12 Thread Stefan Hajnoczi
QEMU is event-driven and suffers when blocking operations are performed because VM execution may be stopped until the operation completes. Therefore many operations that could block are performed asynchronously and a callback is invoked when the operation has completed. This allows QEMU to contin

Re: [Qemu-devel] [PATCH, RFC] pci: allow PCI devices to fix address space

2011-06-12 Thread Michael S. Tsirkin
On Sun, Jun 12, 2011 at 09:50:45PM +0200, Hervé Poussineau wrote: > Michael S. Tsirkin a écrit : > >On Sun, Jun 12, 2011 at 02:40:35PM +0200, Hervé Poussineau wrote: > >>Andreas, > >> > >>Andreas Färber a écrit : > >>>Hervé, > >>> > >>>Am 22.12.2010 um 07:49 schrieb Michael S. Tsirkin: > >>> >

Re: [Qemu-devel] [PATCH, RFC] pci: allow PCI devices to fix address space

2011-06-12 Thread Michael S. Tsirkin
On Sun, Jun 12, 2011 at 04:20:10PM +0200, Andreas Färber wrote: > Am 12.06.2011 um 14:40 schrieb Hervé Poussineau: > > >Andreas Färber a écrit : > >>Am 22.12.2010 um 07:49 schrieb Michael S. Tsirkin: > >> > >>>On Wed, Dec 22, 2010 at 07:30:33AM +0100, Hervé Poussineau wrote: > Isaku Yamahata a

Re: [Qemu-devel] [PATCH, RFC] pci: allow PCI devices to fix address space

2011-06-12 Thread Hervé Poussineau
Michael S. Tsirkin a écrit : On Sun, Jun 12, 2011 at 02:40:35PM +0200, Hervé Poussineau wrote: Andreas, Andreas Färber a écrit : Hervé, Am 22.12.2010 um 07:49 schrieb Michael S. Tsirkin: On Wed, Dec 22, 2010 at 07:30:33AM +0100, Hervé Poussineau wrote: Isaku Yamahat

Re: [Qemu-devel] [PATCH, RFC] pci: allow PCI devices to fix address space

2011-06-12 Thread Michael S. Tsirkin
On Sun, Jun 12, 2011 at 08:28:09PM +0200, Hervé Poussineau wrote: > Andreas Färber a écrit : > > > >Am 12.06.2011 um 14:40 schrieb Hervé Poussineau: > > > >>Andreas Färber a écrit : > >>>Am 22.12.2010 um 07:49 schrieb Michael S. Tsirkin: > >>> > On Wed, Dec 22, 2010 at 07:30:33AM +0100, Hervé P

Re: [Qemu-devel] [PATCH, RFC] pci: allow PCI devices to fix address space

2011-06-12 Thread Michael S. Tsirkin
On Sun, Jun 12, 2011 at 02:40:35PM +0200, Hervé Poussineau wrote: > Andreas, > > Andreas Färber a écrit : > > > >Hervé, > > > >Am 22.12.2010 um 07:49 schrieb Michael S. Tsirkin: > > > >>On Wed, Dec 22, 2010 at 07:30:33AM +0100, Hervé Poussineau wrote: > >>>Isaku Yamahata a écrit : > On Wed, De

Re: [Qemu-devel] [PATCH RFC 0/3] basic support for composing sysbus devices

2011-06-12 Thread Anthony Liguori
On 06/12/2011 12:12 PM, Avi Kivity wrote: On 06/10/2011 06:43 PM, Anthony Liguori wrote: What exactly is so very wrong about buses that they need to die? They force a device tree. The device model shouldn't be a tree, but a directed graph. Right. As an example, you configure PCI interrupt

Re: [Qemu-devel] [PATCH, RFC] pci: allow PCI devices to fix address space

2011-06-12 Thread Hervé Poussineau
Andreas Färber a écrit : Am 12.06.2011 um 14:40 schrieb Hervé Poussineau: Andreas Färber a écrit : Am 22.12.2010 um 07:49 schrieb Michael S. Tsirkin: On Wed, Dec 22, 2010 at 07:30:33AM +0100, Hervé Poussineau wrote: Isaku Yamahata a écrit : On Wed, Dec 22, 2010 at 12:20:23AM +0100, Andrea

Re: [Qemu-devel] [PATCH] Reset system before loadvm

2011-06-12 Thread Peter Maydell
On 11 June 2011 10:05, Jan Kiszka wrote: > @@ -2074,6 +2074,7 @@ int load_vmstate(const char *name) >         return -EINVAL; >     } > > +    qemu_system_reset(); >     ret = qemu_loadvm_state(f); This means that if we're doing a load because the user passed -loadvm on the command line we'll end

Re: [Qemu-devel] [PATCH] Reset system before loadvm

2011-06-12 Thread Avi Kivity
On 06/11/2011 12:05 PM, Jan Kiszka wrote: From: Jan Kiszka In case we load the vmstate during incoming migration, we start from a clean, default machine state as we went through system reset before. But if we load from a snapshot, the machine can be in any state. That can cause troubles if loadi

Re: [Qemu-devel] [RFC v4 04/12] isa: Allow to un-assign I/O ports

2011-06-12 Thread Gleb Natapov
On Sun, Jun 12, 2011 at 05:32:57PM +0200, Andreas Färber wrote: > Am 12.06.2011 um 15:48 schrieb Gleb Natapov: > > >On Sun, Jun 12, 2011 at 01:59:51PM +0200, Andreas Färber wrote: > >>Am 09.06.2011 um 17:03 schrieb Markus Armbruster: > >> > >>>Andreas Färber writes: > >>> > Signed-off-by: And

Re: [Qemu-devel] [PATCH RFC 0/3] basic support for composing sysbus devices

2011-06-12 Thread Avi Kivity
On 06/10/2011 06:43 PM, Anthony Liguori wrote: What exactly is so very wrong about buses that they need to die? They force a device tree. The device model shouldn't be a tree, but a directed graph. Right. As an example, you configure PCI interrupt routing and the memory controller by w

[Qemu-devel] [PATCH2] ppc: provide PIR register on all book-S CPUs

2011-06-12 Thread Nathan Whitehorn
The PIR register is architecturally specified on all PowerPC non-embedded CPUs, but currently is only available on the 604, 620, and G4. Add it to all 601-derived CPUs. Signed-off-by: Nathan Whitehorn --- target-ppc/translate_init.c | 20 +--- 1 files changed, 5 insertions(+

[Qemu-devel] [PATCH2] ppc64: fix mtmsr behavior on 64-bit targets

2011-06-12 Thread Nathan Whitehorn
The mtmsr instruction is required not to modify the upper 32-bits of the machine state register, but checks the current value of MSR[SF] to decide whether to do this. This has the effect of zeroing the upper 32 bits of the MSR whenever mtmsr is executed in 64-bit mode. Unconditionally preserve

Re: [Qemu-devel] [RFC v4 04/12] isa: Allow to un-assign I/O ports

2011-06-12 Thread Andreas Färber
Am 12.06.2011 um 15:48 schrieb Gleb Natapov: On Sun, Jun 12, 2011 at 01:59:51PM +0200, Andreas Färber wrote: Am 09.06.2011 um 17:03 schrieb Markus Armbruster: Andreas Färber writes: Signed-off-by: Andreas Färber --- hw/isa-bus.c | 14 ++ hw/isa.h |1 + 2 files changed,

Re: [Qemu-devel] semantics of "-cpu host" and "check"/"enforce"

2011-06-12 Thread Avi Kivity
On 06/11/2011 12:36 AM, Eduardo Habkost wrote: Hi, While checking the cpu model code, I don't think I understand fully what is supposed to be the right semantics for '-cpu host' on qemu-kvm, and what exactly we are aiming to. Maybe this was already discussed before, but I failed to find any add

Re: [Qemu-devel] semantics of "-cpu host" and "check"/"enforce"

2011-06-12 Thread Avi Kivity
On 06/11/2011 01:40 PM, Roedel, Joerg wrote: On Fri, Jun 10, 2011 at 05:36:37PM -0400, Eduardo Habkost wrote: > We have 3 sets of cpu features that may or may not be included in > '-cpu host': > > A) Features that are supported by the host and that KVM can already > emulate, or don't need

Re: [Qemu-devel] [PATCH, RFC] pci: allow PCI devices to fix address space

2011-06-12 Thread Andreas Färber
Am 12.06.2011 um 14:40 schrieb Hervé Poussineau: Andreas Färber a écrit : Am 22.12.2010 um 07:49 schrieb Michael S. Tsirkin: On Wed, Dec 22, 2010 at 07:30:33AM +0100, Hervé Poussineau wrote: Isaku Yamahata a écrit : On Wed, Dec 22, 2010 at 12:20:23AM +0100, Andreas Färber wrote: From: Herv

Re: [Qemu-devel] [RFC v4 04/12] isa: Allow to un-assign I/O ports

2011-06-12 Thread Gleb Natapov
On Sun, Jun 12, 2011 at 01:59:51PM +0200, Andreas Färber wrote: > Am 09.06.2011 um 17:03 schrieb Markus Armbruster: > > >Andreas Färber writes: > > > >>Signed-off-by: Andreas Färber > >>--- > >>hw/isa-bus.c | 14 ++ > >>hw/isa.h |1 + > >>2 files changed, 15 insertions(+), 0

Re: [Qemu-devel] [PATCH] cocoa: Avoid warning related to multiple handleEvent: definitions

2011-06-12 Thread Andreas Färber
Am 10.06.2011 um 04:47 schrieb Alexandre Raymond: Tested-by: Alexandre Raymond That's definitely a better patch ;-) Thanks, applied to the cocoa branch. Andreas Thanks, Alexandre On Thu, Jun 9, 2011 at 3:03 PM, Andreas Färber wrote: Avoid compiler confusion as to which method signa

[Qemu-devel] [PATCH] for bug 754635: -d option outs wrong info about sections

2011-06-12 Thread ferux
Patch to correct log output about sections from: startend size prot 0001-00019000 9000 r-x 00019000-0007b000 00062000 rw- 0004-00041000 1000 --- 00041000-00041800 0800 rw- 00041800-0005d800 0001c000 r-x 0005d800-0005e800 1000 rw- to: startend size

[Qemu-devel] [Bug 796202] [NEW] Doing a 64 bit load from a 32 bit local APIC register is allowed

2011-06-12 Thread Robert Uhl
Public bug reported: Doing u64 lapic_idregister = (u64) fix_to_virt(FIX_APIC_BASE) + 0x20; and later in an interrupt handler movq (lapic_idregister), %rcx movq (%rcx), %rcx in a linux kernel module works in qemu 0.13.91 but not on real hardware (it simply reboots). On real hardware only movl

Re: [Qemu-devel] buildbot failure in qemu on pci_i386_debian_5_0

2011-06-12 Thread Stefan Hajnoczi
On Sun, Jun 12, 2011 at 9:26 AM, Peter Maydell wrote: > On 11 June 2011 14:34, Stefan Hajnoczi wrote: >> On Sat, Jun 11, 2011 at 3:23 AM,   wrote: >>> The Buildbot has detected a new failure on builder pci_i386_debian_5_0 >>> while building qemu. >>> Full details are available at: >>>  http://bu

Re: [Qemu-devel] [RFC v4 03/12] isa: Provide set_state callback

2011-06-12 Thread Andreas Färber
Am 09.06.2011 um 18:04 schrieb Markus Armbruster: Andreas Färber writes: Am 09.06.2011 um 14:23 schrieb Gerd Hoffmann: I get the feeling that doing all this in the pc87312 emulation is easier as it needs to have this logic anyway for config register writes and you can probably reuse the cod

Re: [Qemu-devel] [PATCH, RFC] pci: allow PCI devices to fix address space

2011-06-12 Thread Hervé Poussineau
Andreas, Andreas Färber a écrit : Hervé, Am 22.12.2010 um 07:49 schrieb Michael S. Tsirkin: On Wed, Dec 22, 2010 at 07:30:33AM +0100, Hervé Poussineau wrote: Isaku Yamahata a écrit : On Wed, Dec 22, 2010 at 12:20:23AM +0100, Andreas Färber wrote: From: Hervé Poussineau v1: * Rebased. S

Re: [Qemu-devel] [RFC v4 05/12] isa: Allow to un-associate an IRQ

2011-06-12 Thread Andreas Färber
Am 09.06.2011 um 17:12 schrieb Markus Armbruster: Markus Armbruster writes: Andreas Färber writes: Signed-off-by: Andreas Färber --- hw/isa-bus.c | 14 ++ hw/isa.h |1 + 2 files changed, 15 insertions(+), 0 deletions(-) diff --git a/hw/isa-bus.c b/hw/isa-bus.c index 1

Re: [Qemu-devel] [RFC v4 04/12] isa: Allow to un-assign I/O ports

2011-06-12 Thread Andreas Färber
Am 09.06.2011 um 17:03 schrieb Markus Armbruster: Andreas Färber writes: Signed-off-by: Andreas Färber --- hw/isa-bus.c | 14 ++ hw/isa.h |1 + 2 files changed, 15 insertions(+), 0 deletions(-) diff --git a/hw/isa-bus.c b/hw/isa-bus.c index d258932..1f64673 100644 --- a/

Re: [Qemu-devel] [RFC v4 03/12] isa: Provide set_state callback

2011-06-12 Thread Andreas Färber
Am 09.06.2011 um 16:53 schrieb Markus Armbruster: Andreas Färber writes: To allow enabling/disabling present ISA devices without hotplug, keep track of state and add a helper to avoid enabling twice. Since the properties to be configured are defined at device level, delegate the actual work t

Re: [Qemu-devel] [PATCH v4 01/12] qdev: Add support for property type bool

2011-06-12 Thread Andreas Färber
Am 09.06.2011 um 16:45 schrieb Markus Armbruster: Andreas Färber writes: VMState supports the type bool but qdev instead supports bit, backed by uint32_t. Therefore let's add DEFINE_PROP_BOOL() and qdev_prop_set_bool(). Since, e.g., enabled=on does not look nice, parse/print "yes" and

Re: [Qemu-devel] [PATCH, RFC] pci: allow PCI devices to fix address space

2011-06-12 Thread Andreas Färber
Hervé, Am 22.12.2010 um 07:49 schrieb Michael S. Tsirkin: On Wed, Dec 22, 2010 at 07:30:33AM +0100, Hervé Poussineau wrote: Isaku Yamahata a écrit : On Wed, Dec 22, 2010 at 12:20:23AM +0100, Andreas Färber wrote: From: Hervé Poussineau v1: * Rebased. Signed-off-by: Hervé Poussineau Cc: M

Re: [Qemu-devel] buildbot failure in qemu on pci_i386_debian_5_0

2011-06-12 Thread Peter Maydell
On 11 June 2011 14:34, Stefan Hajnoczi wrote: > On Sat, Jun 11, 2011 at 3:23 AM,   wrote: >> The Buildbot has detected a new failure on builder pci_i386_debian_5_0 while >> building qemu. >> Full details are available at: >>  http://buildbot.b1-systems.de/qemu/builders/pci_i386_debian_5_0/builds/

Re: [Qemu-devel] virtio scsi host draft specification, v3

2011-06-12 Thread Michael S. Tsirkin
On Fri, Jun 10, 2011 at 02:55:35PM +0200, Hannes Reinecke wrote: > >Device operation: request queues > > > > > >The driver queues requests to an arbitrary request queue, and they are > >used by the device on that same queue. > > > What about request ordering? > If re

Re: [Qemu-devel] buildbot failure in qemu on pci_i386_debian_5_0

2011-06-12 Thread Michael S. Tsirkin
On Sat, Jun 11, 2011 at 02:34:59PM +0100, Stefan Hajnoczi wrote: > On Sat, Jun 11, 2011 at 3:23 AM, wrote: > > The Buildbot has detected a new failure on builder pci_i386_debian_5_0 > > while building qemu. > > Full details are available at: > >  http://buildbot.b1-systems.de/qemu/builders/pci_i