Peter Maydell writes:
> On 15 January 2014 11:06, Peter Crosthwaite
> wrote:
>> This reverts commit d32934c84c72f57e78d430c22974677b7bcabe5d.
>>
>> The original implementation before this patch makes abortive error
>> messages much more friendly. The underlying bug that required this
>> change i
On Wed, Jan 29, 2014 at 05:38:29PM +0100, Peter Lieven wrote:
> On 29.01.2014 17:19, Benoît Canet wrote:
> >Le Wednesday 29 Jan 2014 à 09:50:21 (+0100), Peter Lieven a écrit :
> >>This patch adds native support for accessing images on NFS
> >>shares without the requirement to actually mount the ent
On Thu, Jan 30, 2014 at 12:16:26PM +0500, Ayaz Akram wrote:
> I observed that if i place printf in qemu at certain places like in
> hw./serial.c file, I can see the printing when my guest OS is running on
> qemu, while there are some other places like in pckbd.c (emulation of
> keyboard), where if
Am 30.01.2014 um 10:05 schrieb Stefan Hajnoczi :
> On Wed, Jan 29, 2014 at 05:38:29PM +0100, Peter Lieven wrote:
>> On 29.01.2014 17:19, Benoît Canet wrote:
>>> Le Wednesday 29 Jan 2014 à 09:50:21 (+0100), Peter Lieven a écrit :
This patch adds native support for accessing images on NFS
On Wed, Jan 29, 2014 at 07:59:56PM +0530, Bharata B Rao wrote:
> Remove the definitions of GLUSTER_FD_WRITE and GLUSTER_FD_READ which are
> no longer used. Also sockets.h isn't needed any more.
>
> Signed-off-by: Bharata B Rao
> ---
> block/gluster.c | 4
> 1 file changed, 4 deletions(-)
R
On Wed, Jan 29, 2014 at 07:59:55PM +0530, Bharata B Rao wrote:
> Pipe handling mechanism in gluster driver was based on similar implementation
> in RBD driver and hence had GPLv2 and associated copyright information.
> After changing gluster driver to coroutine based implementation, the pipe
> hand
On Wed, Jan 29, 2014 at 06:05:08PM +0100, Markus Armbruster wrote:
> Errors are inadvertently ignored in a few places. Has always been
> broken. Spotted by Coverity.
>
> Signed-off-by: Markus Armbruster
> ---
> block/vhdx-log.c | 4 ++--
> block/vhdx.c | 8
> 2 files changed, 6 in
mohamad.ge...@gmail.com writes:
> Signed-off-by: Mohamad Gebai
> ---
> docs/tracing.txt | 36
> 1 file changed, 36 insertions(+)
Reviewed-by: Alex Bennée
--
Alex Bennée
From: "Dr. David Alan Gilbert"
Add flag storage to qemu-thread-* to store the namethreads flag
Signed-off-by: Dr. David Alan Gilbert
---
include/qemu/thread.h| 1 +
qemu-options.hx | 7 +--
util/qemu-thread-posix.c | 7 +++
util/qemu-thread-win32.c | 8
vl.c
From: "Dr. David Alan Gilbert"
If enabled, set the thread name at creation (on GNU systems with
pthread_set_np)
Fix up all the callers with a thread name
Signed-off-by: Dr. David Alan Gilbert
---
cpus.c | 25 -
hw/block/dataplane/virtio-blk.c
From: "Dr. David Alan Gilbert"
This series uses pthread_setname_np (when available) to set the names on
threads that QEMU creates to make life easier when debugging.
It's turned off by default (because there were worries that it might break
tools that relied on process names) but is enabled by a
From: "Dr. David Alan Gilbert"
Signed-off-by: Dr. David Alan Gilbert
Reviewed-by: Alex Bennée
---
vl.c | 52 +++-
1 file changed, 39 insertions(+), 13 deletions(-)
diff --git a/vl.c b/vl.c
index 7f4fe0d..5f993e4 100644
--- a/vl.c
+++ b/vl.c
@@ -
On 30 January 2014 07:00, Peter Crosthwaite
wrote:
> On Wed, Jan 29, 2014 at 10:28 PM, Peter Maydell
> wrote:
>> This will break migration. You must provide a mechanism for the
>> migration to do a "read register on source end; write value to register
>> at destination". (You also in this case ne
The scripts carry this copyright notice:
# This work is licensed under the terms of the GNU GPLv2.
# See the COPYING.LIB file in the top-level directory.
The sentences contradict each other, as COPYING.LIB contains the LGPL
2.1. Michael Roth says this was a simple pasto, and he meant to
Paolo Bonzini writes:
> Il 16/01/2014 03:50, Michael Roth ha scritto:
>> If we go to that effort, it may make sense to try to re-license to GPLv2+
>> while we're at it, but either way I think this should be done as a separate
>> patchset, and shouldn't hold up Wenchao's series. I can send that ou
On 30 January 2014 10:34, Markus Armbruster wrote:
> The scripts carry this copyright notice:
>
> # This work is licensed under the terms of the GNU GPLv2.
> # See the COPYING.LIB file in the top-level directory.
>
> The sentences contradict each other, as COPYING.LIB contains the LGPL
> 2
Peter Maydell writes:
> On 30 January 2014 10:34, Markus Armbruster wrote:
>> The scripts carry this copyright notice:
>>
>> # This work is licensed under the terms of the GNU GPLv2.
>> # See the COPYING.LIB file in the top-level directory.
>>
>> The sentences contradict each other, as C
On Mon, Jan 27, 2014 at 04:39:55PM +0100, Igor Mammedov wrote:
> reduces acpi PCI hotplug code duplication by ~150LOC,
> and makes pcihp less dependend on piix specific code.
>
> Signed-off-by: Igor Mammedov
> ---
> v2:
> - replace obsolete 'device_present' with 'up' field
> - add/set ACPI_PCIH
On Mon, Jan 27, 2014 at 04:39:54PM +0100, Igor Mammedov wrote:
> due to recent change introduced by:
> "pcihp: reduce number of device check events"
>
> 'up' field is cleared right after it's read.
> This is incompatible with legacy BIOS ACPI code
> where PCNF ACPI method reads this field 32 times
On 01/30/14 07:37, Dietmar Maurer wrote:
>> Does it work with TCG?
>
> It simply hangs a bit later if I use TCG, without any output on the console.
Strange. How recent qemu happens this with? The relevant emulation code
(under "ljmp Ev" in "target-i386/translate.c") has been changed as
recently
The ae2810c4bb3b383176e8e1b33931b16c01483aab patch introduced
optimization for ram_list.dirty_memory update. However it can only
work correctly if hpratio is 1 as the @bitmap parameter stores 1 bits
per system page size (may vary, 4K or 64K on PPC64) and
ram_list.dirty_memory stores 1 bit per TARGE
On 01/29/2014 09:03 PM, Paolo Bonzini wrote:
> Il 29/01/2014 09:12, Alexey Kardashevskiy ha scritto:
>> On 01/29/2014 06:30 PM, Paolo Bonzini wrote:
>>> Il 29/01/2014 06:50, Alexey Kardashevskiy ha scritto:
Since 64K system page size is quite popular configuration on PPC64,
the original p
My updated config is Gentoo x64 stable branch, kernel 3.10, libvirt 1.2.1, qemu
1.7.0, lvm2(non-thin) on ssd
i attach a lvm (non-thin) partition to a vm
and the qemu command line captured:
LC_ALL=C PATH=/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bi
All uses are simple array subscripts.
Signed-off-by: Markus Armbruster
---
hw/ide/core.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/hw/ide/core.c b/hw/ide/core.c
index dcfd92d..6aaf6fa 100644
--- a/hw/ide/core.c
+++ b/hw/ide/core.c
@@ -2164,8 +2164,7 @@ static void ide
Members cylinders, heads, sectors, chs_trans are copies of
dev->conf.cyls, dev->conf.heads, dev->conf.secs, dev->chs_trans.
Copies were needed for non-qdevified controllers, which lacked dev.
Note that pci_piix3_xen_ide_unplug() did not clear the copies (it only
cleared the copy of bs). Begs the
It's a copy of dev->conf.bs. The copy was needed for non-qdevified
controllers, which lacked dev.
Note how pci_piix3_xen_ide_unplug() cleared the copy. We'll get back
to that in the next few commits.
Signed-off-by: Markus Armbruster
---
hw/ide/ahci.c | 11 +-
hw/ide/atapi.c| 3
It's a copy of dev->version. The copy was needed for non-qdevified
controllers, which lacked dev.
Note that pci_piix3_xen_ide_unplug() did not clear the copy (it only
cleared the copy of bs). Begs the question whether stale data could
have been used after unplug. As far as I can tell, the copy
Testing dev is more obvious than testing bs, in my opinion.
Signed-off-by: Markus Armbruster
---
hw/ide/ahci.c | 8
hw/ide/core.c | 56 -
hw/ide/microdrive.c | 2 +-
hw/ide/qdev.c | 2 +-
4 files changed, 36 insert
It's a copy of dev->serial. The copy was needed for non-qdevified
controllers, which lacked dev.
Note that pci_piix3_xen_ide_unplug() did not clear the copy (it only
cleared the copy of bs). Begs the question whether stale data could
have been used after unplug. As far as I can tell, the copy w
It's a copy of dev->serial. The copy was needed for non-qdevified
controllers, which lacked dev.
Note that pci_piix3_xen_ide_unplug() did not clear the copy (it only
cleared the copy of bs). Begs the question whether stale data could
have been used after unplug. As far as I can tell, the copy w
On Thu, 30 Jan 2014 13:25:39 +0200
"Michael S. Tsirkin" wrote:
> On Mon, Jan 27, 2014 at 04:39:55PM +0100, Igor Mammedov wrote:
> > reduces acpi PCI hotplug code duplication by ~150LOC,
> > and makes pcihp less dependend on piix specific code.
> >
> > Signed-off-by: Igor Mammedov
> > ---
> > v2
It's a copy of dev->wwn. The copy was needed for non-qdevified
controllers, which lacked dev.
Note that pci_piix3_xen_ide_unplug() did not clear the copy (it only
cleared the copy of bs). Begs the question whether stale data could
have been used after unplug. As far as I can tell, the copy was
Obvious cleanups possible since we no longer have the special case of
a non-qdevified controller.
Andreas liked v2 well enough, but felt it's more like a block topic.
Kevin, Stefan, would you be willing to take this series through the
block tree?
v3:
* Trivially rebased.
v2:
* Dropped PATCH 1/10
Signed-off-by: Markus Armbruster
---
hw/ide/core.c | 2 +-
hw/ide/internal.h | 3 +--
hw/ide/qdev.c | 12 +++-
3 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/hw/ide/core.c b/hw/ide/core.c
index 036cd4a..9087025 100644
--- a/hw/ide/core.c
+++ b/hw/ide/core.c
@@
The following commit:
commit 149f54b53b7666a3facd45e86eece60ce7d3b114
Author: Paolo Bonzini
Date: Fri May 24 12:59:37 2013 +0200
memory: add address_space_translate
breaks Xen support in QEMU, in particular the Xen mapcache. The effect
is that one Windows XP installation out of ten would
On Wed, 29 Jan 2014, Paolo Bonzini wrote:
> Il 29/01/2014 13:00, Stefano Stabellini ha scritto:
> > Hi Paolo,
> > we have been trying to fix a BSOD that would happen during the Windows
> > XP installation, once every ten times on average.
> > After many days of bisection, we found out that commit
>
Andrew Jones writes:
> This is a virtio version of hw/misc/debugexit and should evolve into a
> virtio version of pc-testdev. pc-testdev uses the PC's ISA bus, whereas
> this testdev can be plugged into a virtio-mmio transport, which is
> needed for kvm-unit-tests/arm. virtio-testdev uses the vi
On Thu, Jan 30, 2014 at 07:44:59AM -0500, Mike Day wrote:
>
> Andrew Jones writes:
>
> > This is a virtio version of hw/misc/debugexit and should evolve into a
> > virtio version of pc-testdev. pc-testdev uses the PC's ISA bus, whereas
> > this testdev can be plugged into a virtio-mmio transport
On 01/30/2014 03:20 AM, Dr. David Alan Gilbert (git) wrote:
> The first patch converts --name to use QemuOpts, a side effect of this is that
> --name process=foo,bar
> no longer allows a process name of 'foo,bar', since ',' is a separator.
Just to make sure I understand correctly, am I right th
* Eric Blake (ebl...@redhat.com) wrote:
> On 01/30/2014 03:20 AM, Dr. David Alan Gilbert (git) wrote:
>
> > The first patch converts --name to use QemuOpts, a side effect of this is
> > that
> > --name process=foo,bar
> > no longer allows a process name of 'foo,bar', since ',' is a separator.
>
The rechs translation option is so obscure that we support it but do
not even attempt to parse it. Archeologists will surely be puzzled
by this (assuming they care about QEMU and CHS translation), so fix it.
Signed-off-by: Paolo Bonzini
---
blockdev.c | 2 ++
vl.c | 18 --
Signed-off-by: Paolo Bonzini
---
qapi/string-input-visitor.c | 24
1 file changed, 24 insertions(+)
diff --git a/qapi/string-input-visitor.c b/qapi/string-input-visitor.c
index 8f1bc41..793548a 100644
--- a/qapi/string-input-visitor.c
+++ b/qapi/string-input-visitor.c
@@
prop->info->legacy_name is still used by "-device foo,?".
Signed-off-by: Paolo Bonzini
---
hw/core/qdev.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/hw/core/qdev.c b/hw/core/qdev.c
index 7c1b732..482a978 100644
--- a/hw/core/qdev.c
+++ b/hw/core/qdev.c
@@ -590,7
On Thu, Jan 30, 2014 at 01:20:12PM +0100, Igor Mammedov wrote:
> On Thu, 30 Jan 2014 13:25:39 +0200
> "Michael S. Tsirkin" wrote:
>
> > On Mon, Jan 27, 2014 at 04:39:55PM +0100, Igor Mammedov wrote:
> > > reduces acpi PCI hotplug code duplication by ~150LOC,
> > > and makes pcihp less dependend o
Signed-off-by: Paolo Bonzini
---
hw/core/qdev-properties.c | 10 +-
hw/core/qdev.c| 30 ++
include/hw/qdev-core.h| 1 -
3 files changed, 3 insertions(+), 38 deletions(-)
diff --git a/hw/core/qdev-properties.c b/hw/core/qdev-properties.c
index
The conversion of qdev to QOM brought with it legacy properties.
Legacy properties are always have a string type (the accessors always
call visit_type_str), and were used to support -device syntax while
keeping QOM properties strongly typed. For example, an hex8 property
is registered twice, once
Signed-off-by: Paolo Bonzini
---
hw/core/qdev-properties.c | 11 ---
1 file changed, 11 deletions(-)
diff --git a/hw/core/qdev-properties.c b/hw/core/qdev-properties.c
index b949f0e..da37710 100644
--- a/hw/core/qdev-properties.c
+++ b/hw/core/qdev-properties.c
@@ -1140,16 +1140,6 @@ sta
Use "drive", "chr", etc. only for legacy_name (which shows up
in -device foo,? output). From the point of view of their type,
these are just strings.
Signed-off-by: Paolo Bonzini
---
hw/core/qdev-properties-system.c | 12
hw/core/qdev-properties.c| 18 +++---
2
Replace them with uint8/32/64.
Signed-off-by: Paolo Bonzini
---
hw/audio/adlib.c | 2 +-
hw/audio/cs4231a.c | 2 +-
hw/audio/gus.c | 2 +-
hw/audio/pcspk.c | 2 +-
hw/audio/sb16.c | 4 ++--
hw/block/fdc.c | 2 +-
hw
The hexNN property types have not been accepting values not prefixed
by "0x" since QEMU 1.2. Parse those values as decimals now.
Signed-off-by: Paolo Bonzini
---
hw/core/qdev-properties.c | 54 ---
1 file changed, 54 deletions(-)
diff --git a/hw/core
Prepare for when QOM introspection will be able to piggyback on the QAPI
schema for describing property types.
Signed-off-by: Paolo Bonzini
---
hw/core/qdev-properties.c | 18 +++
hw/i386/kvm/i8254.c | 6 ++---
hw/timer/mc146818rtc.c| 14 ++--
include/hw/block/bloc
This will be used by "info qtree". For numbers it prints both the
decimal and hex values. For sizes it rounds to the nearest power
of 2^10. For strings, it puts quotes around the string and separates
NULL and empty string.
Signed-off-by: Paolo Bonzini
---
include/qapi/string-output-visitor.h
On Thu, 30 Jan 2014, Olaf Hering wrote:
> Implement discard support for xen_disk. It makes use of the existing
> discard code in qemu.
>
> The discard support is enabled unconditionally. The tool stack may provide a
> property "discard_enable" in the backend node to optionally disable discard
> su
Signed-off-by: Paolo Bonzini
---
qdev-monitor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qdev-monitor.c b/qdev-monitor.c
index f385fb3..b37778f 100644
--- a/qdev-monitor.c
+++ b/qdev-monitor.c
@@ -577,7 +577,7 @@ static void qdev_print_props(Monitor *mon, DeviceState
*
Il 30/01/2014 13:46, Stefano Stabellini ha scritto:
The following commit:
commit 149f54b53b7666a3facd45e86eece60ce7d3b114
Author: Paolo Bonzini
Date: Fri May 24 12:59:37 2013 +0200
memory: add address_space_translate
breaks Xen support in QEMU, in particular the Xen mapcache. The effect
Signed-off-by: Paolo Bonzini
---
hw/core/qdev-properties.c| 8 +---
include/hw/qdev-properties.h | 2 --
qdev-monitor.c | 4 ++--
3 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/hw/core/qdev-properties.c b/hw/core/qdev-properties.c
index a60a183..22ddebf 1006
On 01/30/2014 06:09 AM, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini
> ---
> qapi/string-input-visitor.c | 24
> 1 file changed, 24 insertions(+)
Reviewed-by: Eric Blake
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://
On 01/30/2014 06:09 AM, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini
> ---
> hw/core/qdev-properties.c | 11 ---
> 1 file changed, 11 deletions(-)
>
Reviewed-by: Eric Blake
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
On 01/30/2014 06:09 AM, Paolo Bonzini wrote:
> The hexNN property types have not been accepting values not prefixed
> by "0x" since QEMU 1.2. Parse those values as decimals now.
It also adds parsing of hex prefixed with "0X" - probably also worth
mentioning in the commit message.
>
> Signed-off
On 01/30/2014 06:09 AM, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini
> ---
> hw/core/qdev-properties.c | 10 +-
> hw/core/qdev.c| 30 ++
> include/hw/qdev-core.h| 1 -
> 3 files changed, 3 insertions(+), 38 deletions(-)
Reviewed-by: Eri
On 01/30/2014 06:09 AM, Paolo Bonzini wrote:
> prop->info->legacy_name is still used by "-device foo,?".
>
> Signed-off-by: Paolo Bonzini
> ---
> hw/core/qdev.c | 8 ++--
> 1 file changed, 2 insertions(+), 6 deletions(-)
>
Reviewed-by: Eric Blake
--
Eric Blake eblake redhat com+1-
On 01/30/2014 06:09 AM, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini
> ---
> hw/core/qdev-properties.c| 8 +---
> include/hw/qdev-properties.h | 2 --
> qdev-monitor.c | 4 ++--
> 3 files changed, 3 insertions(+), 11 deletions(-)
>
Reviewed-by: Eric Blake
--
Eric
Their functionality is either aesthetic only (e.g. on/off vs. true/false)
or obtained by the "human mode" of StringOutputVisitor.
Signed-off-by: Paolo Bonzini
---
hw/core/qdev-properties.c | 60 ---
1 file changed, 60 deletions(-)
diff --git a/hw/core
As described in https://bugzilla.redhat.com/show_bug.cgi?id=987441 ,
libcacard currently links to all the libraries QEMU is linking to,
including glusterfs libraries, libiscsi, ... libcacard does not need all of
these. This patch ensures it's only linked with the libraries it needs.
Signed-off-by:
On 19 January 2014 15:53, Alexander Graf wrote:
> We have cache pools of temporaries that we can reuse later when they've
> already been allocated before.
>
> These cache pools differenciate between the target TCG variable type they
> contain. So we have one pool for I32 and one pool for I64 varia
On Wed, Jan 29, 2014 at 10:47:53PM -0500, Mohamad Gebai wrote:
> Version 6
>
> * Move ust specific code from tracetool/backend/events.py to
> tracetool/backend/ust.py
>
> Mohamad Gebai (5):
> Fix configure script for LTTng 2.x
> Modified the tracetool framework for LTTng 2.x
> Adapt Makef
Hello All,
I have some Query regarding Device tree support in QEMU.
I have gone through for OMAP qemu emulation and noticed a lots of effort
has been
gone for manually mapping the Register set and Hardware representaion into
Device emulation.
Inside include/hw/arm/omap.h lots of code is taken fr
error_is_set(&var) is the same as var != NULL, but it takes
whole-program analysis to figure that out. Unnecessarily hard for
optimizers, static checkers, and human readers. Dumb it down to
obvious.
Gets rid of several dozen Coverity false positives.
Note that the obvious form is already used i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Il 30/01/2014 15:09, Eric Blake ha scritto:
| Also, I like how your int printout was both decimal and hex; but
| here you are throwing away information (and the bigger the number,
| the more we lose as to how much got rounded away). I'd rather see
|
ping?
On Fri, 17 Jan 2014, Stefano Stabellini wrote:
> The following changes since commit 1cf892ca2689c84960b4ce4d2723b6bee453711c:
>
> SPARC: Fix LEON3 power down instruction (2014-01-15 15:37:33 +1000)
>
> are available in the git repository at:
>
> git://xenbits.xen.org/people/sstabellin
On Wed, Jan 29, 2014 at 05:19:59PM +0100, Benoît Canet wrote:
> Le Wednesday 29 Jan 2014 à 09:50:21 (+0100), Peter Lieven a écrit :
Hi Peter,
If I read your reply to Benoit correctly, you only addressed the
questions about nfs_client_close(). Here are Benoits other comments and
my thoughts on the
On 01/30/2014 07:12 AM, Paolo Bonzini wrote:
> Il 30/01/2014 15:09, Eric Blake ha scritto:
> | Also, I like how your int printout was both decimal and hex; but
> | here you are throwing away information (and the bigger the number,
> | the more we lose as to how much got rounded away). I'd rather s
On Thu, Jan 30, 2014 at 10:12:35AM +0100, Peter Lieven wrote:
>
> Am 30.01.2014 um 10:05 schrieb Stefan Hajnoczi :
>
> > On Wed, Jan 29, 2014 at 05:38:29PM +0100, Peter Lieven wrote:
> >> On 29.01.2014 17:19, Benoît Canet wrote:
> >>> Le Wednesday 29 Jan 2014 à 09:50:21 (+0100), Peter Lieven a éc
From: Stefano Stabellini
The following commit:
commit 149f54b53b7666a3facd45e86eece60ce7d3b114
Author: Paolo Bonzini
Date: Fri May 24 12:59:37 2013 +0200
memory: add address_space_translate
breaks Xen support in QEMU, in particular the Xen mapcache. The effect
is that one Windows XP ins
The following changes since commit 0169c511554cb0014a00290b0d3d26c31a49818f:
Merge remote-tracking branch 'qemu-kvm/uq/master' into staging (2014-01-24
15:52:44 -0800)
are available in the git repository at:
git://xenbits.xen.org/people/sstabellini/qemu-dm.git xen-140130
for you to fetch
On Thu, Jan 30, 2014 at 12:18:17AM +0200, Michael S. Tsirkin wrote:
> > OS X will boot fine with the one-liner KVM patch removing the
> > statement:
> >
> > "irq_level ^= entry.fields.polarity;"
> >
> > regardless of how LNK*._PRS is configured, and will hang without the
> > patch, also regar
Paolo Bonzini writes:
> The rechs translation option is so obscure that we support it but do
"Support" is a rather strong word:
$ git-grep -i rechs
include/hw/block/block.h:#define BIOS_ATA_TRANSLATION_RECHS 4
> not even attempt to parse it. Archeologists will surely be puzzled
> by
On Thu, Jan 30, 2014 at 02:08:02PM +0100, Paolo Bonzini wrote:
> The rechs translation option is so obscure that we support it but do
> not even attempt to parse it. Archeologists will surely be puzzled
> by this (assuming they care about QEMU and CHS translation), so fix it.
>
> Signed-off-by: P
On 01/30/2014 06:09 AM, Paolo Bonzini wrote:
> This will be used by "info qtree". For numbers it prints both the
> decimal and hex values. For sizes it rounds to the nearest power
> of 2^10. For strings, it puts quotes around the string and separates
> NULL and empty string.
Nice idea! But nee
Il 30/01/2014 15:37, Markus Armbruster ha scritto:
Paolo Bonzini writes:
The rechs translation option is so obscure that we support it but do
"Support" is a rather strong word:
$ git-grep -i rechs
include/hw/block/block.h:#define BIOS_ATA_TRANSLATION_RECHS 4
As Stefan said, all w
On 16 January 2014 17:35, Michael Tokarev wrote:
> There's nothing exciting in there, but we have some small bugfixes here and
> there, and a few cosmetic changes too.
>
> This is my first signed pull request too, based on my regular GnuPG key which
> I use to sign Debian packages.
>
> Please pull
The main functionality change is to convert QEMUMachine into QemuMachineClass
and QEMUMachineInitArgs into QemuMachineState, instance of QemuMachineClass.
As a first step, in order to make possible an incremental developement,
both QEMUMachine and QEMUMachineInitArgs are being embeded into the
new
This is an early RFC, the work is in very early stages, I am interested
to know if there is a consensus that this is the right path.
The main benefit of QOMifying the qemu machine would be the possibility
to have options per machine type and not global.
However, there are other benefits as:
- ac
It is cleaner to query current_machine's properties than
accessing QemuOpts from the code.
Signed-off-by: Marcel Apfelbaum
---
hw/core/machine.c | 251
include/hw/boards.h | 15
2 files changed, 266 insertions(+)
diff --git a/hw/core/
The machine registration flow is refactored to use the QOM functionality.
Instead of linking the machines into a list, each machine has a type
and the types can be traversed in the QOM way.
Signed-off-by: Marcel Apfelbaum
---
vl.c | 75 +---
In order to allow attaching machine options to a machine instance,
current_machine is converted into QemuMachineState.
As a first step of deprecating QEMUMachine, some of the functions
were modified to return QemuMachineCLass.
Signed-off-by: Marcel Apfelbaum
---
device-hotplug.c| 4 +++-
in
Setting machine's properties provides a cleaner
way to get the properties values than using
QemuOpts.
Signed-off-by: Marcel Apfelbaum
---
vl.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/vl.c b/vl.c
index 4f4722e..fcd56db 100644
--- a/vl.c
+++ b/vl.c
@@ -4307,6 +4307,11 @@ int main(
On 01/30/2014 03:56 PM, Christophe Fergeau wrote:
Acked-by: Alon Levy
> As described in https://bugzilla.redhat.com/show_bug.cgi?id=987441 ,
> libcacard currently links to all the libraries QEMU is linking to,
> including glusterfs libraries, libiscsi, ... libcacard does not need all of
> these.
On 01/30/2014 06:09 AM, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini
> ---
> qdev-monitor.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Eric Blake
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signatur
From: Christophe Fergeau
As described in https://bugzilla.redhat.com/show_bug.cgi?id=987441 ,
libcacard currently links to all the libraries QEMU is linking to,
including glusterfs libraries, libiscsi, ... libcacard does not need all of
these. This patch ensures it's only linked with the librarie
The following changes since commit 0706f7c85b3c0783f92d44b551f362884db0f4bd:
Merge remote-tracking branch 'mjt/tags/trivial-patches-2014-01-16' into
staging (2014-01-30 13:56:00 +)
are available in the git repository at:
git://people.freedesktop.org/~alon/qemu pull-libcacard.glusterfs
On 01/30/2014 06:09 AM, Paolo Bonzini wrote:
> Their functionality is either aesthetic only (e.g. on/off vs. true/false)
> or obtained by the "human mode" of StringOutputVisitor.
>
> Signed-off-by: Paolo Bonzini
> ---
> hw/core/qdev-properties.c | 60
> --
On 30 January 2014 14:11, rajan pathak wrote:
> I have some Query regarding Device tree support in QEMU.
>
> I have gone through for OMAP qemu emulation and noticed a lots of effort has
> been
> gone for manually mapping the Register set and Hardware representaion into
> Device emulation.
>
> Insi
On 01/30/2014 06:09 AM, Paolo Bonzini wrote:
> Replace them with uint8/32/64.
>
> Signed-off-by: Paolo Bonzini
> ---
Reviewed-by: Eric Blake
> +++ b/hw/audio/pcspk.c
> @@ -181,7 +181,7 @@ static void pcspk_realizefn(DeviceState *dev, Error
> **errp)
> }
>
> static Property pcspk_propertie
On Thu, 30 Jan 2014, Olaf Hering wrote:
> Implement discard support for xen_disk. It makes use of the existing
> discard code in qemu.
>
> The discard support is enabled unconditionally. The tool stack may provide a
> property "discard-enable" in the backend node to optionally disable discard
> su
On 01/30/2014 06:09 AM, Paolo Bonzini wrote:
> Prepare for when QOM introspection will be able to piggyback on the QAPI
> schema for describing property types.
>
> Signed-off-by: Paolo Bonzini
> ---
> hw/core/qdev-properties.c | 18 +++
> hw/i386/kvm/i8254.c | 6 ++---
> hw/ti
On 01/30/2014 06:09 AM, Paolo Bonzini wrote:
> Use "drive", "chr", etc. only for legacy_name (which shows up
> in -device foo,? output). From the point of view of their type,
> these are just strings.
>
> Signed-off-by: Paolo Bonzini
> ---
> hw/core/qdev-properties-system.c | 12
>
Signed-off-by: Markus Armbruster
---
hw/block/dataplane/virtio-blk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/block/dataplane/virtio-blk.c b/hw/block/dataplane/virtio-blk.c
index 456d437..2237edb 100644
--- a/hw/block/dataplane/virtio-blk.c
+++ b/hw/block/dataplane/
On 01/30/2014 07:07 AM, Markus Armbruster wrote:
> error_is_set(&var) is the same as var != NULL, but it takes
> whole-program analysis to figure that out. Unnecessarily hard for
> optimizers, static checkers, and human readers. Dumb it down to
> obvious.
>
> Gets rid of several dozen Coverity f
* Orit Wasserman (owass...@redhat.com) wrote:
> Signed-off-by: Orit Wasserman
> ---
> arch_init.c | 16 ++--
> page_cache.c | 18 ++
> 2 files changed, 28 insertions(+), 6 deletions(-)
>
> diff --git a/arch_init.c b/arch_init.c
> index 5eff80b..806d096 100644
> --- a
1 - 100 of 182 matches
Mail list logo