Re: [Qemu-devel] [PATCH 0/2] linux-user: Fix non-UTF-8 characters

2011-12-02 Thread Stefan Weil
Am 02.12.2011 20:30, schrieb Peter Maydell: These two patches fix some non-UTF-8 characters in linux-user/ source files. Other than the five files Stefan Weil recently sent a patch to fix, these are the only remaining non-UTF-8 characters in the source tree. Since I don't entirely trust the emai

[Qemu-devel] Unsubscription Confirmation

2011-12-02 Thread RealEstateMalaysian.com
Thank you for subscribing. You have now unsubscribed and no more messages will be sent.

Re: [Qemu-devel] [PATCH 0/4] KVM: Dirty logging optimization using rmap

2011-12-02 Thread Takuya Yoshikawa
Avi Kivity wrote: > That's true. But some applications do require low latency, and the > current code can impose a lot of time with the mmu spinlock held. > > The total amount of work actually increases slightly, from O(N) to O(N > log N), but since the tree is so wide, the overhead is small. >

Re: [Qemu-devel] [PATCH v2 00/18] qom: dynamic properties and composition tree (v2)

2011-12-02 Thread Anthony Liguori
On 12/02/2011 06:56 PM, Paolo Bonzini wrote: I have a few comments on the series. I like it in general, but I think it's way too incomplete to be a first incremental step, and it's not clear what your plans are about this. I think I could boil it down to two requirements before committing this.

Re: [Qemu-devel] [PATCH v2 00/18] qom: dynamic properties and composition tree (v2)

2011-12-02 Thread Paolo Bonzini
I have a few comments on the series. I like it in general, but I think it's way too incomplete to be a first incremental step, and it's not clear what your plans are about this. I think I could boil it down to two requirements before committing this. 1) The biggest comment is that you have a hug

Re: [Qemu-devel] [PATCH for v1.0 1/3] msix: track function masked in pci device state

2011-12-02 Thread Cam Macdonell
Based on a git bisect, this patch breaks msi-x interrupt delivery in the ivshmem device. On Mon, Nov 21, 2011 at 9:57 AM, Michael S. Tsirkin wrote: > Only go over the table when function is masked. > This is not really important for qemu.git but helps > fix a bug in qemu-kvm.git. > > Signed-off-b

Re: [Qemu-devel] Boot from disk problem

2011-12-02 Thread Artyom Tarasenko
On Fri, Dec 2, 2011 at 1:48 PM, Ignacio Geli wrote: > > El 01/12/11 07:29, Artyom Tarasenko escribió: > > On Sat, Nov 26, 2011 at 9:01 AM, Blue Swirl wrote: > > On Fri, Nov 25, 2011 at 18:24, Ignacio Geli wrote: > > El 25/11/11 13:01, Andreas Färber escribió: > > Hi, > > Am 25.11.2011 16:23, sch

Re: [Qemu-devel] [PATCH V3] Guest stop notification

2011-12-02 Thread Eric B Munson
On Fri, 02 Dec 2011, Jan Kiszka wrote: > On 2011-12-02 20:19, Eric B Munson wrote: > > Often when a guest is stopped from the qemu console, it will report spurious > > soft lockup warnings on resume. There are kernel patches being discussed > > that > > will give the host the ability to tell the

[Qemu-devel] [PATCH v2 16/18] qom: optimize qdev_get_canonical_path using a parent link

2011-12-02 Thread Anthony Liguori
The full tree search was a bit unreasonable. Signed-off-by: Anthony Liguori --- hw/qdev.c | 56 hw/qdev.h |4 2 files changed, 28 insertions(+), 32 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c index 5348f26..1102efd 100644 -

[Qemu-devel] [PATCH v2 06/18] qdev: provide a path resolution (v2)

2011-12-02 Thread Anthony Liguori
There are two types of supported paths--absolute paths and partial paths. Absolute paths are derived from the root device and can follow child<> or link<> properties. Since they can follow link<> properties, they can be arbitrarily long. Absolute paths look like absolute filenames and are prefix

[Qemu-devel] [PATCH v2 09/18] qapi: allow a 'gen' key to suppress code generation

2011-12-02 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- scripts/qapi-commands.py |1 + scripts/qapi-types.py|1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/scripts/qapi-commands.py b/scripts/qapi-commands.py index f7def16..54d1f5d 100644 --- a/scripts/qapi-commands.py +++ b/scripts/qa

[Qemu-devel] [PATCH v2 10/18] qmp: add qom-list command

2011-12-02 Thread Anthony Liguori
This can be used to list properties in the device model. Signed-off-by: Anthony Liguori --- qapi-schema.json | 48 qmp-commands.hx |6 ++ qmp.c| 28 3 files changed, 82 insertions(+), 0 deletio

[Qemu-devel] [PATCH v2 08/18] qom: add link properties (v2)

2011-12-02 Thread Anthony Liguori
Links represent an ephemeral relationship between devices. They are meant to replace the qdev concept of busses by allowing more informal relationships between devices. Links are fairly limited in their usefulness without implementing QOM-style subclassing and interfaces. Signed-off-by: Anthony

[Qemu-devel] [PATCH v2 14/18] rtc: make piix3 set the rtc as a child (v2)

2011-12-02 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- v1 -> v2 - comments (Stefan) --- hw/pc_piix.c | 11 +++ hw/piix_pci.c |3 +++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 970f43c..2d5ea2c 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -205,

[Qemu-devel] [PATCH v2 11/18] qom: qom_{get, set} monitor commands (v2)

2011-12-02 Thread Anthony Liguori
This allows clients to read and write device model properties through QMP. QAPI doesn't support Visitor types yet and these commands are special in that they don't work with fixed types. I've added a documentation stub to qapi-schema.json so we can keep consistency there. Signed-off-by: Anthony

Re: [Qemu-devel] [PATCH] Adapt libvirt's Qemu version parser for Qemu 1.0

2011-12-02 Thread Stefan Berger
On 12/02/2011 03:32 PM, Eric Blake wrote: On 12/02/2011 01:08 PM, Stefan Berger wrote: Qemu 1.0 does not show a micro version like 0.15.50 did. Adapt the Qemu version parser to handle this. --- src/qemu/qemu_capabilities.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-)

[Qemu-devel] [PATCH v2 04/18] qom: introduce root device

2011-12-02 Thread Anthony Liguori
This is based on Jan's suggestion for how to do unique naming. The root device is the root of composition. All devices are reachable via child<> links from this device. Signed-off-by: Anthony Liguori --- Makefile.objs |2 +- hw/container.c | 20 hw/qdev.c | 1

[Qemu-devel] [PATCH v2 12/18] qdev: add explicitly named devices to the root complex

2011-12-02 Thread Anthony Liguori
We first add a 'peripheral' container to the root device that we add user created devices to. This provides all user created devices with a unique and isolated namespace. Signed-off-by: Anthony Liguori --- hw/qdev.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff

Re: [Qemu-devel] [libvirt] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Anthony Liguori
On 12/02/2011 01:29 PM, Eric Blake wrote: On 12/02/2011 08:15 AM, Anthony Liguori wrote: Which of course only works with new enough QEMU that is known to support QMP (which BTW we detect by checking the version number). Or you could just try the -qmp option and if QEMU exits, it doesn't suppor

Re: [Qemu-devel] [PATCH] Adapt libvirt's Qemu version parser for Qemu 1.0

2011-12-02 Thread Eric Blake
On 12/02/2011 01:08 PM, Stefan Berger wrote: > Qemu 1.0 does not show a micro version like 0.15.50 did. Adapt the > Qemu version parser to handle this. > > --- > src/qemu/qemu_capabilities.c | 11 ++- > 1 file changed, 10 insertions(+), 1 deletion(-) While this solves the problem, I pr

[Qemu-devel] [PATCH v2 07/18] qom: add child properties (composition) (v2)

2011-12-02 Thread Anthony Liguori
Child properties express a relationship of composition. Signed-off-by: Anthony Liguori --- v1 -> v2 - fix comments (Kevin) - add a reference when adding a child property (Kevin) --- hw/qdev.c | 26 ++ hw/qdev.h | 20 2 files changed, 46 insertio

[Qemu-devel] [PATCH v2 00/18] qom: dynamic properties and composition tree (v2)

2011-12-02 Thread Anthony Liguori
This is a follow up to my previous series to get us started in the QOM direction. A few things are different this time around. Most notably: 1) Devices no longer have names. Instead, path names are always used to identify devices. 2) In order to support (1), dynamic properties are now su

[Qemu-devel] [PATCH v2 13/18] dev: add an anonymous peripheral container

2011-12-02 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- hw/qdev.c | 21 - 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c index af4c6a2..5348f26 100644 --- a/hw/qdev.c +++ b/hw/qdev.c @@ -240,6 +240,19 @@ static DeviceState *qdev_get_peripheral(void) re

[Qemu-devel] [PATCH v2 15/18] rtc: add a dynamic property for retrieving the date

2011-12-02 Thread Anthony Liguori
This really shows the power of dynamic object properties compared to qdev static properties. This property represents a complex structure who's format is preserved over the wire. This is enabled by visitors. It also shows an entirely synthetic property that is not tied to device state. Signed-o

[Qemu-devel] [PATCH v2 17/18] qmp: make qmp.py easier to use

2011-12-02 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- QMP/qmp.py |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/QMP/qmp.py b/QMP/qmp.py index c7dbea0..36ecc1d 100644 --- a/QMP/qmp.py +++ b/QMP/qmp.py @@ -128,6 +128,12 @@ class QEMUMonitorProtocol: qmp_cmd['id'] = id

[Qemu-devel] [PATCH v2 18/18] qom: add test tools (v2)

2011-12-02 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- v1 -> v2 - fix comments (Stefan) --- QMP/qom-get | 26 ++ QMP/qom-list | 30 ++ QMP/qom-set | 21 + 3 files changed, 77 insertions(+), 0 deletions(-) create mode 100755 QMP/qom-get

[Qemu-devel] [PATCH v2 05/18] qdev: provide an interface to return canonical path from root (v2)

2011-12-02 Thread Anthony Liguori
The canonical path is the path in the composition tree from the root to the device. This is effectively the name of the device. This is an incredibly unefficient implementation that will be optimized in a future patch. Signed-off-by: Anthony Liguori --- v1 -> v2 - change from gslist to qemu-qu

[Qemu-devel] [PATCH v2 03/18] qom: register legacy properties as new style properties (v2)

2011-12-02 Thread Anthony Liguori
Expose all legacy properties through the new QOM property mechanism. The qdev property types are exposed through the 'legacy<>' namespace. They are always visited as strings since they do their own string parsing. Signed-off-by: Anthony Liguori --- v1 -> v2 - add bus properties (Gerd) --- hw/

[Qemu-devel] [PATCH v2 02/18] qom: add new dynamic property infrastructure based on Visitors (v2)

2011-12-02 Thread Anthony Liguori
qdev properties are settable only during construction and static to classes. This isn't flexible enough for QOM. This patch introduces a property interface for qdev that provides dynamic properties that are tied to objects, instead of classes. These properties are Visitor based instead of string

[Qemu-devel] [PATCH v2 01/18] qom: add a reference count to qdev objects

2011-12-02 Thread Anthony Liguori
To ensure that a device isn't removed from the graph until all of its links are broken. Signed-off-by: Anthony Liguori --- hw/qdev.c | 16 hw/qdev.h | 26 ++ 2 files changed, 42 insertions(+), 0 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c index 1

Re: [Qemu-devel] [PATCH V3] Guest stop notification

2011-12-02 Thread Jan Kiszka
On 2011-12-02 20:19, Eric B Munson wrote: > Often when a guest is stopped from the qemu console, it will report spurious > soft lockup warnings on resume. There are kernel patches being discussed that > will give the host the ability to tell the guest that it is being stopped and > should ignore t

[Qemu-devel] [PATCH] Adapt libvirt's Qemu version parser for Qemu 1.0

2011-12-02 Thread Stefan Berger
Qemu 1.0 does not show a micro version like 0.15.50 did. Adapt the Qemu version parser to handle this. --- src/qemu/qemu_capabilities.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) Index: libvirt-tpm/src/qemu/qemu_capabilities.c ===

[Qemu-devel] [PATCH 0/2] linux-user: Fix non-UTF-8 characters

2011-12-02 Thread Peter Maydell
These two patches fix some non-UTF-8 characters in linux-user/ source files. Other than the five files Stefan Weil recently sent a patch to fix, these are the only remaining non-UTF-8 characters in the source tree. Since I don't entirely trust the email path for sending patches to files where the

[Qemu-devel] [PATCH 2/2] linux-user/arm/nwfpe/fpopcode.h: Fix non-UTF-8 characters

2011-12-02 Thread Peter Maydell
Fix some stray non-UTF-8 characters used in some ASCII art tables by converting them to plain ASCII '|' instead. Signed-off-by: Peter Maydell --- linux-user/arm/nwfpe/fpopcode.h | 34 +- 1 files changed, 17 insertions(+), 17 deletions(-) diff --git a/linux-user

[Qemu-devel] [PATCH 1/2] linux-user/cpu-uname.c: Convert to UTF-8

2011-12-02 Thread Peter Maydell
Convert comment from ISO-8859-1 encoding to UTF-8 to match the rest of QEMU's source code. Signed-off-by: Peter Maydell --- linux-user/cpu-uname.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-user/cpu-uname.c b/linux-user/cpu-uname.c index 23afede..ddc37be 1006

Re: [Qemu-devel] [libvirt] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Eric Blake
On 12/02/2011 08:15 AM, Anthony Liguori wrote: >> Which of course only works with new enough QEMU that is known to >> support QMP >> (which BTW we detect by checking the version number). > > Or you could just try the -qmp option and if QEMU exits, it doesn't > support it. That's going to be a lot

[Qemu-devel] [PATCH V3] Guest stop notification

2011-12-02 Thread Eric B Munson
Often when a guest is stopped from the qemu console, it will report spurious soft lockup warnings on resume. There are kernel patches being discussed that will give the host the ability to tell the guest that it is being stopped and should ignore the soft lockup warning that generates. Signed-off

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-12-02 Thread Bhushan Bharat-R65777
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, December 02, 2011 11:57 PM > To: Bhushan Bharat-R65777 > Cc: Stuart Yoder; Alex Williamson; Alexey Kardashevskiy; > aafab...@cisco.com; k...@vger.kernel.org; p...@au1.ibm.com; qemu- > de...@nongnu.org; joerg.roe...@amd.com; ko

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-12-02 Thread Bhushan Bharat-R65777
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, December 02, 2011 11:57 PM > To: Bhushan Bharat-R65777 > Cc: Stuart Yoder; Alex Williamson; Alexey Kardashevskiy; > aafab...@cisco.com; k...@vger.kernel.org; p...@au1.ibm.com; qemu- > de...@nongnu.org; joerg.roe...@amd.com; ko

Re: [Qemu-devel] [libvirt] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Dave Allan
On Fri, Dec 02, 2011 at 03:21:54PM +0100, Gerd Hoffmann wrote: > Hi, > > $subject says all. The error message is: Thanks for the heads up. Dave > error: internal error cannot parse /home/kraxel/bin/qemu-default version > number in 'QEMU emulator version 1.0, Copyright (c) 2003-2008 Fabrice >

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-12-02 Thread Scott Wood
On 12/02/2011 12:45 PM, Bhushan Bharat-R65777 wrote: > Scott, I am not sure if there is any real use case where device needed to > assigned beyond 2 level (host + immediate guest) in nested virtualization. Userspace drivers in the guest is a more likely scenario than nested virtualization, at lea

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-12-02 Thread Scott Wood
On 12/02/2011 08:40 AM, Stuart Yoder wrote: > On Thu, Dec 1, 2011 at 3:25 PM, Alex Williamson > wrote: >> On Thu, 2011-12-01 at 14:58 -0600, Stuart Yoder wrote: >>> One other mechanism we need as well is the ability to >>> enable/disable a domain. >>> >>> For example-- suppose a device is assigned

Re: [Qemu-devel] [PATCH 01/18] qom: add new dynamic property infrastructure based on Visitors

2011-12-02 Thread Anthony Liguori
On 12/01/2011 09:52 AM, Kevin Wolf wrote: Am 30.11.2011 22:03, schrieb Anthony Liguori: + +void qdev_property_add(DeviceState *dev, const char *name, const char *type, + DevicePropertyEtter *get, DevicePropertyEtter *set, + DevicePropertyRelease *relea

Re: [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test

2011-12-02 Thread Anthony Liguori
On 12/02/2011 11:45 AM, Kevin Wolf wrote: Am 02.12.2011 18:26, schrieb Anthony Liguori: On 12/02/2011 11:25 AM, Kevin Wolf wrote: So that's how you read/write memory. Likewise, for IRQs, you can poll the status of a given IRQ. I thought about doing some sort of signal magic around but when wri

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-12-02 Thread Bhushan Bharat-R65777
> -Original Message- > From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On > Behalf Of Stuart Yoder > Sent: Friday, December 02, 2011 8:11 PM > To: Alex Williamson > Cc: Alexey Kardashevskiy; aafab...@cisco.com; k...@vger.kernel.org; > p...@au1.ibm.com; qemu-devel@nongnu

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-12-02 Thread Scott Wood
On 12/02/2011 12:11 PM, Bhushan Bharat-R65777 wrote: > How do we determine whether guest is ready or not? There can be multiple > device get ready at different time. The guest makes a hypercall with a device handle -- at least that's how we do it in Topaz. > Further if guest have given the devic

Re: [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test

2011-12-02 Thread Luiz Capitulino
On Fri, 02 Dec 2011 18:45:27 +0100 Kevin Wolf wrote: > Am 02.12.2011 18:26, schrieb Anthony Liguori: > > On 12/02/2011 11:25 AM, Kevin Wolf wrote: > >> Am 01.12.2011 19:43, schrieb Anthony Liguori: > >>> --- > >>> Makefile |4 + > >>> rtc-test.c | 201 > >>>

[Qemu-devel] [Bug 897771] Re: qemu 1.0-rc4 no longer able to boot NetBSD-current/i386

2011-12-02 Thread Andreas Gustafsson
> Please try to find what is the last major release of qemu that did boot this correctly. I assume this is unecessary because Stefan Weil already identified the excact commit where the problem appeared. -- You received this bug notification because you are a member of qemu- devel-ml, which is su

Re: [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test

2011-12-02 Thread Kevin Wolf
Am 02.12.2011 18:26, schrieb Anthony Liguori: > On 12/02/2011 11:25 AM, Kevin Wolf wrote: >> Am 01.12.2011 19:43, schrieb Anthony Liguori: >>> --- >>> Makefile |4 + >>> rtc-test.c | 201 >>> >>> 2 files changed, 205 insertion

Re: [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test

2011-12-02 Thread Anthony Liguori
On 12/02/2011 11:25 AM, Kevin Wolf wrote: Am 01.12.2011 19:43, schrieb Anthony Liguori: --- Makefile |4 + rtc-test.c | 201 2 files changed, 205 insertions(+), 0 deletions(-) create mode 100644 rtc-test.c diff --git a/Ma

[Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl

2011-12-02 Thread Serge Hallyn
** Changed in: libvirt (Ubuntu) Status: Triaged => Fix Released ** Changed in: libvirt (Ubuntu) Status: Fix Released => Invalid -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/723871 Tit

Re: [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test

2011-12-02 Thread Kevin Wolf
Am 01.12.2011 19:43, schrieb Anthony Liguori: > --- > Makefile |4 + > rtc-test.c | 201 > > 2 files changed, 205 insertions(+), 0 deletions(-) > create mode 100644 rtc-test.c > > diff --git a/Makefile b/Makefile > index 301c75

Re: [Qemu-devel] [ICON] Quinn the Qemu emu gazes ahead thoughtfully, considering what the future holds

2011-12-02 Thread Andreas Färber
Am 30.11.2011 15:41, schrieb Alex Bradbury: > Qemu The correct spelling for any logo is "QEMU". Cf. http://wiki.qemu.org/License Regards, Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

Re: [Qemu-devel] [PATCH v4 7/8] block: core copy-on-read logic

2011-12-02 Thread Marcelo Tosatti
On Wed, Nov 23, 2011 at 11:47:57AM +, Stefan Hajnoczi wrote: > Signed-off-by: Stefan Hajnoczi > --- > block.c | 72 > ++ > trace-events |1 + > 2 files changed, 73 insertions(+), 0 deletions(-) > > diff --git a/block.c b/blo

Re: [Qemu-devel] [PATCH RFC for-1.0] Update copyright info

2011-12-02 Thread Andreas Färber
Thanks for your comment. >>> Copyright (c) 2003-2011 Fabrice Bellard and contributors >> Copyright (c) 2003-2008 Fabrice Bellard, Copyright (c) 200x-2011 s.o. Am 02.12.2011 16:25, schrieb Natalia Portillo: > Fabrice by the european copyright laws still have copyright and ipr in any > code he gen

Re: [Qemu-devel] [PATCH 2/2] ppc_prep: convert ioport to memory API

2011-12-02 Thread Benoît Canet
> > The patch itself looks okay on brief look, except that io_fake and > prep-fake should better be io_fakeio and prep-fakeio respectively (still > ugly as hell, but the real Super I/O we prepared for 40P turned out > incompatible somehow). > I'll make the required changes and test them with build

Re: [Qemu-devel] [PATCH 1.0] disable automatic loading of sgabios when -nographic

2011-12-02 Thread Anthony Liguori
On 12/02/2011 10:33 AM, Paolo Bonzini wrote: On 11/08/2011 06:23 PM, Anthony Liguori wrote: On 11/03/2011 10:00 AM, Paolo Bonzini wrote: sgabios hasn't gotten a lot of coverage since it was not shipped. For 1.0, let's disable the automatic loading of the option ROM in -nographic mode. We can pu

Re: [Qemu-devel] [PATCH 1.0] disable automatic loading of sgabios when -nographic

2011-12-02 Thread Paolo Bonzini
On 11/08/2011 06:23 PM, Anthony Liguori wrote: On 11/03/2011 10:00 AM, Paolo Bonzini wrote: sgabios hasn't gotten a lot of coverage since it was not shipped. For 1.0, let's disable the automatic loading of the option ROM in -nographic mode. We can put it back for 1.1. Signed-off-by: Paolo Bonzi

Re: [Qemu-devel] [PATCH v4 2/3] Extract code to nbd_setup function to be used for many purposes

2011-12-02 Thread Paolo Bonzini
On 12/02/2011 04:27 PM, Chunyan Liu wrote: @@ -42,6 +42,18 @@ static int verbose; static char *device; static char *srcpath; static char *sockpath; +static int is_sockpath_option; +static int sigterm_fd[2]; +static off_t dev_offset; +static uint32_t nbdflags; +static bool disconnect; +stati

Re: [Qemu-devel] [PATCH v2 0/8] [RFC] vmstate: Add copyrights for all cpus

2011-12-02 Thread Andreas Färber
Am 27.11.2011 14:30, schrieb Juan Quintela: > Andreas Färber wrote: >> Hi Juan, >> >> Am 23.11.2011 16:44, schrieb Juan Quintela: >>> [ Resnd this time also ading fabrice address, sorry ] >>> >>> v2: >>> - split patches by file, make easier to add "acked-by" notices. >>> - cc'd fabrice >>> - every

Re: [Qemu-devel] [PATCH 2/2] ppc_prep: convert ioport to memory API

2011-12-02 Thread Andreas Färber
Benoît, Just spotted this. Am 01.12.2011 17:57, schrieb Benoît Canet: > Signed-off-by: Benoît Canet You should've cc'ed me here as maintainer. As indicated to you, I have pending patches for PReP (e.g., moving io800 and dropping speaker in favor of qdev), which this conflicts with once again. I

Re: [Qemu-devel] [PATCH 2/3] ppce500_pci: remove sysbus_init_mmio_cb2 usage

2011-12-02 Thread Benoît Canet
> > How much did you test this patch, by the way? I've been running into > some odd behaviour with sub-page-sized memory regions which I'm > wondering if you hit here... An e1000 attached as a pci card works fine. (ping and wget www.google.com)

Re: [Qemu-devel] [PATCH V3 2/2] Add -f option to qemu-nbd

2011-12-02 Thread Chunyan Liu
2011/11/29 Stefan Hajnoczi > On Fri, Nov 25, 2011 at 10:19 AM, Chunyan Liu wrote: > > > > > > 2011/11/24 Stefan Hajnoczi > >> > >> On Thu, Nov 24, 2011 at 3:38 AM, Chunyan Liu wrote: > >> > > >> > > >> > 2011/11/23 Stefan Hajnoczi > >> >> > >> >> On Wed, Nov 23, 2011 at 10:14 AM, Chunyan Liu

[Qemu-devel] [PATCH v4 3/3] Add -f option to qemu-nbd

2011-12-02 Thread Chunyan Liu
Add -f option to qemu-nbd so that it can find a free nbd device and connect disk.img to that device. Changes to v3: a. According to Stefan's suggestion, loop over /dev/nbd%d to do "qemu-nbd -f disk.img", if fails, try next device. b. syntax "qemu-nbd -f disk.img" only Signed-off-by: Chunyan Liu

[Qemu-devel] [PATCH v4 1/3] Update ioctl order in nbd_init() to detect EBUSY

2011-12-02 Thread Chunyan Liu
Update ioctl(s) in nbd_init() to detect device busy early. Current nbd_init() issues NBD_CLEAR_SOCKET before NBD_SET_SOCKET, if issuing "qemu-nbd -c /dev/nbd0 disk.img" twice, the second time won't detect EBUSY in nbd_init(), but in nbd_client will report EBUSY and do clear socket (the 1st time co

[Qemu-devel] [PATCH v4 2/3] Extract code to nbd_setup function to be used for many purposes

2011-12-02 Thread Chunyan Liu
According to Stefan's suggestion, will loop over /dev/nbd%d to do "qemu-nbd -f disk.img", if fails, try next device. To make "qemu-nbd -c" and "qemu-nbd -f" share codes as more as possible, extract the shared codes to a function nbd_setup(). Current qemu-nbd functions work well still. Signed-off-

[Qemu-devel] [Bug 883136] Re: qemu on ARM hosts aborts on startup because makecontext() always fails

2011-12-02 Thread Natalia Portillo
** Also affects: qemu Importance: Undecided Status: New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/883136 Title: qemu on ARM hosts aborts on startup because makecontext() always fails

Re: [Qemu-devel] [PATCH RFC for-1.0] Update copyright info

2011-12-02 Thread Natalia Portillo
My suggestion is to put (c) 2003-2011 Fabrice and contributors until we have a foundation and then put (c) 2003-201x qemu foundation. Fabrice by the european copyright laws still have copyright and ipr in any code he generated whatever we have changed as per the "multiple contributors" section

[Qemu-devel] [PATCH 2/3] ppce500_pci: remove sysbus_init_mmio_cb2 usage

2011-12-02 Thread Benoît Canet
Expose only one container MemoryRegion to sysbus. (Peter Maydell's idea) Signed-off-by: Benoît Canet --- hw/ppce500_mpc8544ds.c | 14 ++ hw/ppce500_pci.c | 27 ++- 2 files changed, 16 insertions(+), 25 deletions(-) diff --git a/hw/ppce500_mpc8544ds.

Re: [Qemu-devel] [PATCH 2/3] ppce500_pci: remove sysbus_init_mmio_cb2 usage

2011-12-02 Thread Benoît Canet
> > Is this change actually necessary? If we only have one MMIO region > to map then sysbus_create_varargs() suffices. > > Ack, > How much did you test this patch, by the way? I've been running into > some odd behaviour with sub-page-sized memory regions which I'm > wondering if you hit here... >

Re: [Qemu-devel] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Anthony Liguori
On 12/02/2011 09:08 AM, Jiri Denemark wrote: On Fri, Dec 02, 2011 at 08:50:11 -0600, Anthony Liguori wrote: On 12/02/2011 08:21 AM, Gerd Hoffmann wrote: Hi, $subject says all. The error message is: error: internal error cannot parse /home/kraxel/bin/qemu-default version number in 'QEMU e

Re: [Qemu-devel] [PATCH RFC for-1.0] Update copyright info

2011-12-02 Thread Andreas Färber
Gerd just reminded me that we did ship 1.0 with a 2008 copyright notice. Am 04.11.2011 18:56, schrieb Andreas Färber: > Judging by -version output, one could get the impression that QEMU was > last modified in 2008. Therefore extend the copyright statement to > cover other contributors so that it

Re: [Qemu-devel] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Jiri Denemark
On Fri, Dec 02, 2011 at 08:50:11 -0600, Anthony Liguori wrote: > On 12/02/2011 08:21 AM, Gerd Hoffmann wrote: > >Hi, > > > > $subject says all. The error message is: > > > > error: internal error cannot parse /home/kraxel/bin/qemu-default version > > number in 'QEMU emulator version 1.0, Copyr

Re: [Qemu-devel] [PATCH 2/3] ppce500_pci: remove sysbus_init_mmio_cb2 usage

2011-12-02 Thread Peter Maydell
On 2 December 2011 14:51, Benoît Canet wrote: > @@ -320,10 +321,15 @@ static void mpc8544ds_init(ram_addr_t ram_size, >     sysbus_create_simple("mpc8544-guts", MPC8544_UTIL_BASE, NULL); > >     /* PCI */ > -    dev = sysbus_create_varargs("e500-pcihost", MPC8544_PCI_REGS_BASE, > -                

Re: [Qemu-devel] [PATCH 14/18] rtc: add a dynamic property for retrieving the date

2011-12-02 Thread Anthony Liguori
On 12/02/2011 07:34 AM, Gerd Hoffmann wrote: On 12/02/11 14:20, Anthony Liguori wrote: On 12/02/2011 06:35 AM, Gerd Hoffmann wrote: The readme has quite a lot of detail about the syntax. The parser is pretty complete already. https://github.com/aliguori/qidl/blob/master/qc.md Ah, nice. Any

Re: [Qemu-devel] [Bug 899143] [NEW] Raw img not recognized by Windows

2011-12-02 Thread Vincent Autefage
Hi,* $ qemu-img create -f raw root.img 100GB $ mkntfs -F root.img $ qemu -name W -sdl -m 2048 -enable-kvm -localtime -k fr -hda root.img -cdrom windows7.iso -boot d -net nic,macaddr=a0:00:00:00:00:01 -net user,vlan=0 * Vincent Autefage Le 02/12/2011 14:35, Stefan Hajnoczi a écrit : > On Fri,

Re: [Qemu-devel] [Bug 899140] Re: Problem with Linux Kernel Traffic Control

2011-12-02 Thread Vincent Autefage
Hi, So, the host command lines are : *$ qemu -name A -sdl -m 512 -enable-kvm -localtime -k fr -hda debian1.img -net nic,macaddr=a0:00:00:00:00:01 -net socket,mcast=230.0.0.1:7000* The second is *$ qemu -name B -sdl -m 512 -enable-kvm -localtime -k fr -hda debian2.img -net nic,macaddr=a0:00:00:

Re: [Qemu-devel] [PATCH 07/18] qom: add link properties

2011-12-02 Thread Anthony Liguori
On 12/02/2011 06:15 AM, Kevin Wolf wrote: Am 30.11.2011 22:03, schrieb Anthony Liguori: Links represent an ephemeral relationship between devices. They are meant to replace the qdev concept of busses by allowing more informal relationships between devices. Links are fairly limited in their use

Re: [Qemu-devel] [PATCH 06/18] qom: add child properties (composition)

2011-12-02 Thread Anthony Liguori
On 12/02/2011 05:54 AM, Kevin Wolf wrote: Am 30.11.2011 22:03, schrieb Anthony Liguori: Child properties express a relationship of composition. Signed-off-by: Anthony Liguori Do we have a flag or something that makes sure that a child is never removed without its parent? The code assumes that

[Qemu-devel] [PATCH 0/3] remove sysbus_init_mmio_cb2

2011-12-02 Thread Benoît Canet
Remove the last two users of this function then remove the function's code from sysbus. Tested with Renesas r2d image and buildroot for the ppc board. Benoît Canet (3): sh_pci: remove sysbus_init_mmio_cb2 usage ppce500_pci: remove sysbus_init_mmio_cb2 usage sysbus: remove sysbus_init_mmio_c

[Qemu-devel] [PATCH 1/3] sh_pci: remove sysbus_init_mmio_cb2 usage

2011-12-02 Thread Benoît Canet
The isa region is not exposed as a sysbus region because the iobr register contains its address and use it to remap dynamically the region. (Peter Maydell's idea) Signed-off-by: Benoît Canet --- hw/r2d.c| 14 -- hw/sh_pci.c | 29 - 2 files changed,

[Qemu-devel] [PATCH 3/3] sysbus: remove sysbus_init_mmio_cb2

2011-12-02 Thread Benoît Canet
This function is not longer in use so remove it. Signed-off-by: Benoît Canet --- hw/sysbus.c | 16 hw/sysbus.h |5 - 2 files changed, 0 insertions(+), 21 deletions(-) diff --git a/hw/sysbus.c b/hw/sysbus.c index b315a8c..81a57bd 100644 --- a/hw/sysbus.c +++ b/hw/sysbu

Re: [Qemu-devel] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Anthony Liguori
On 12/02/2011 08:21 AM, Gerd Hoffmann wrote: Hi, $subject says all. The error message is: error: internal error cannot parse /home/kraxel/bin/qemu-default version number in 'QEMU emulator version 1.0, Copyright (c) 2003-2008 Fabrice Bellard' Parsing help output for the version number is a

[Qemu-devel] sub-page-sized mmio regions and address passed to read/write fns

2011-12-02 Thread Peter Maydell
Hi; I was working on a refactoring of the ARM 11MPCore/A9MP private peripherals and encountered something odd. Rather than having a single large mmio region, I tried splitting into several regions, like this: memory_region_init(&s->container, "a9mp-priv-container", 0x2000); memory_region_i

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-12-02 Thread Stuart Yoder
On Thu, Dec 1, 2011 at 3:25 PM, Alex Williamson wrote: > On Thu, 2011-12-01 at 14:58 -0600, Stuart Yoder wrote: >> One other mechanism we need as well is the ability to >> enable/disable a domain. >> >> For example-- suppose a device is assigned to a VM, the >> device is in use when the VM is abru

Re: [Qemu-devel] [PATCH 10/15] fix spelling in target sub directory

2011-12-02 Thread Alexander Graf
On 02.12.2011, at 14:50, Stefan Hajnoczi wrote: > From: Dong Xu Wang > > Cc: Richard Henderson > Cc: Edgar E. Iglesias > Cc: Aurelien Jarno > Cc: Alexander Graf > Cc: Aurelien Jarno > Cc: Blue Swirl > Signed-off-by: Dong Xu Wang > Signed-off-by: Stefan Hajnoczi > --- > target-alpha/STAT

[Qemu-devel] [PATCH 09/15] fix spelling in scripts sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang Signed-off-by: Dong Xu Wang Signed-off-by: Stefan Hajnoczi --- scripts/checkpatch.pl |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 04ab990..cce8f86 100755 --- a/scripts/checkpatch.pl +++ b/script

[Qemu-devel] [PATCH 10/15] fix spelling in target sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang Cc: Richard Henderson Cc: Edgar E. Iglesias Cc: Aurelien Jarno Cc: Alexander Graf Cc: Aurelien Jarno Cc: Blue Swirl Signed-off-by: Dong Xu Wang Signed-off-by: Stefan Hajnoczi --- target-alpha/STATUS |2 +- target-microblaze/cpu.h |2 +- target-m

[Qemu-devel] [PATCH 15/15] fix spelling in main directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang Signed-off-by: Dong Xu Wang Signed-off-by: Stefan Hajnoczi --- arm-dis.c |6 +++--- cpu-all.h |2 +- cpu-common.h |2 +- cpus.c |2 +- exec-memory.h |2 +- hppa-dis.c |2 +- m68k-dis.c |2 +- main-loop.h|2 +-

[Qemu-devel] [PATCH 11/15] fix spelling in tcg sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang Signed-off-by: Dong Xu Wang Signed-off-by: Stefan Hajnoczi --- tcg/tcg.c |2 +- tcg/tcg.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tcg/tcg.c b/tcg/tcg.c index 77bd6ef..d43fa4a 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -1555,7 +1555,7 @@ s

[Qemu-devel] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Gerd Hoffmann
Hi, $subject says all. The error message is: error: internal error cannot parse /home/kraxel/bin/qemu-default version number in 'QEMU emulator version 1.0, Copyright (c) 2003-2008 Fabrice Bellard' cheers, Gerd PS: libvirt-0.9.4-23.el6.x86_64

[Qemu-devel] [PATCH 12/15] fix spelling in tests sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang Signed-off-by: Dong Xu Wang Signed-off-by: Stefan Hajnoczi --- tests/cris/check_glibc_kernelversion.c |2 +- tests/cris/check_moveq.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/cris/check_glibc_kernelversion.c b/tests

[Qemu-devel] [PATCH 08/15] fix spelling in QMP sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang Cc: Markus Armbruster Acked-by: Luiz Capitulino Signed-off-by: Dong Xu Wang Signed-off-by: Stefan Hajnoczi --- QMP/qmp-events.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/QMP/qmp-events.txt b/QMP/qmp-events.txt index 0ce5d4e..af586ec 100644

[Qemu-devel] [PATCH 14/15] fix spelling in block sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang Cc: Kevin Wolf Signed-off-by: Dong Xu Wang Signed-off-by: Stefan Hajnoczi --- block/cow.c |2 +- block/qcow2.c |4 ++-- block/raw-posix.c |4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/block/cow.c b/block/cow.c index 089d395..3

[Qemu-devel] [PATCH 13/15] fix spelling in ui sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang Cc: Anthony Liguori Signed-off-by: Dong Xu Wang Signed-off-by: Stefan Hajnoczi --- ui/vnc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/vnc.c b/ui/vnc.c index 40018f7..e85ee66 100644 --- a/ui/vnc.c +++ b/ui/vnc.c @@ -1732,7 +1732,7 @@ stat

[Qemu-devel] [PATCH 06/15] fix spelling in linux-user sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang Cc: Riku Voipio Signed-off-by: Dong Xu Wang Signed-off-by: Stefan Hajnoczi --- linux-user/elfload.c |2 +- linux-user/flatload.c |2 +- linux-user/main.c |4 ++-- linux-user/signal.c |2 +- linux-user/syscall_defs.h |6 +++--- 5 fi

[Qemu-devel] [PATCH 07/15] fix spelling in libcacard sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang Signed-off-by: Dong Xu Wang Signed-off-by: Stefan Hajnoczi --- libcacard/card_7816.c |4 ++-- libcacard/card_7816.h |2 +- libcacard/vcard_emul_nss.c |2 +- libcacard/vscard_common.h |2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --g

[Qemu-devel] [PATCH 05/15] fix spelling in darwin-user sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang Signed-off-by: Dong Xu Wang Signed-off-by: Stefan Hajnoczi --- darwin-user/machload.c |6 +++--- darwin-user/main.c |2 +- darwin-user/syscall.c |2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/darwin-user/machload.c b/darwin-user/machlo

[Qemu-devel] [PATCH 04/15] darwin-user: Fix format string in debug message

2011-12-02 Thread Stefan Hajnoczi
From: Stefan Weil This was spotted by cppcheck. Reviewed-by: Peter Maydell Signed-off-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- darwin-user/signal.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/darwin-user/signal.c b/darwin-user/signal.c index c530227..

[Qemu-devel] [PULL 00/15] Trivial patches for 24 November to 2 December 2011

2011-12-02 Thread Stefan Hajnoczi
First post-1.0 trivial-patches pull request. We should get through the backlog within 2 weeks. The following changes since commit 1c8a881daaca6fe0646a425b0970fb3ad25f6732: Update version for 1.0 release (2011-12-01 14:04:21 -0600) are available in the git repository at: ssh://repo.or.cz/srv

  1   2   >