On Wed, Jan 29, 2014 at 01:07:27PM +0800, Fam Zheng wrote:
> This series adds for point-in-time snapshot NBD exporting based on
> blockdev-backup (variant of drive-backup with existing device as target).
>
> We get a thin point-in-time snapshot by COW mechanism of drive-backup, and
> export it thr
Il 28/01/2014 10:57, Gerd Hoffmann ha scritto:
Transform absolute mouse events according to graphic_rotate.
Legacy input code does it for both absolute and relative events,
but the logic is broken for relative coordinates, so this is
most likely not used anyway.
Signed-off-by: Gerd Hoffmann
--
** Description changed:
- Hello!
+ ReactOS has a general offer (subject to certain conditions, which may or
+ may not be reasonable for the qemu virtual-IO drivers) to sign Open
+ Source components with their certificate.
+
http://www.reactos.org/wiki/Driver_Signing
- If it helps you :)
- Free
On Wed, 29 Jan 2014, Gabriel L. Somlo wrote:
I managed to boot OVMF following their wiki; It seems to work with kvm
enabled, but not with -M q35. My current command line is:
I've tried with the version compiled from the edk2 HEAD and that also
fails with -M q35. I've managed to get some debug
This makes use of @cpu_dt_id and related API in:
1. emulated XICS hypercall handlers as they receive fixed CPU indexes;
2. XICS-KVM to enable in-kernel XICS on right CPU;
3. device-tree renderer.
This removes @cpu_index fixup as @cpu_dt_id is used instead so QEMU monitor
can accept command-line CP
This is some cleanup. Please, comment. Thanks!
Changes:
v6:
* removed kvmppc_fixup_cpu()
v5:
* cleanup
* removed cpustate::kvm_cpu_id
* split into 2 patches - new PPC API and the usage of the API
Alexey Kardashevskiy (2):
target-ppc: add PowerPCCPU::cpu_dt_id
target-ppc: spapr: e500: fi
Normally CPUState::cpu_index is used to pick the right CPU for various
operations. However default consecutive numbering does not always work
for POWERPC.
These indexes are reflected in /proc/device-tree/cpus/PowerPC,POWER7@XX
and used to call KVM VCPU's ioctls. In order to achieve this,
kvmppc_fi
On 28.01.2014 17:52, Benoît Canet wrote:
From: Benoît Canet
Use gnutls's SHA-256 to compare versions.
Signed-off-by: Benoit Canet
---
block/Makefile.objs | 2 +-
block/quorum.c| 333 +-
configure | 36 +
Instead of packing BiosLinkerLoaderEntry, an unused global variable called
QEMU_PACKED was created (detected by smatch static code analysis).
Including qemu-common.h gets the right definition and also includes some
standard include files which now can be removed here.
Cc: qemu-sta...@nongnu.org
S
On 28.01.2014 17:52, Benoît Canet wrote:
From: Benoît Canet
Signed-off-by: Benoit Canet
---
block/quorum.c | 40 +++-
1 file changed, 39 insertions(+), 1 deletion(-)
diff --git a/block/quorum.c b/block/quorum.c
index 85992ab..5bf37b3 100644
--- a/block/q
Le Friday 31 Jan 2014 à 21:32:34 (+0100), Max Reitz a écrit :
> On 28.01.2014 01:04, Benoît Canet wrote:
> >Le Monday 27 Jan 2014 à 20:11:59 (+0100), Max Reitz a écrit :
> >>On 27.01.2014 15:36, Benoît Canet wrote:
> >>>Le Friday 24 Jan 2014 à 15:54:39 (+0100), Max Reitz a écrit :
> On 24.01.20
On 28.01.2014 17:52, Benoît Canet wrote:
From: Benoît Canet
Signed-off-by: Benoit Canet
---
block/blkverify.c | 108 +-
include/qemu-common.h | 2 +
util/iov.c| 103 +++
3 files c
From: Markus Armbruster
Signed-off-by: Markus Armbruster
Signed-off-by: Stefan Hajnoczi
---
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/
From: Jeff Cody
The QED .bdrv_make_empty() implementation does nothing but return
-ENOTSUP, which causes problems in bdrv_commit(). Since the function
stub exists for QED, it is called, which then always returns an error.
The proper way to not support an optional driver function stub is to
just
From: Markus Armbruster
Errors are inadvertently ignored in a few places. Has always been
broken. Spotted by Coverity.
Signed-off-by: Markus Armbruster
Reviewed-by: Jeff Cody
Signed-off-by: Stefan Hajnoczi
---
block/vhdx-log.c | 4 ++--
block/vhdx.c | 8
2 files changed, 6 ins
From: Fam Zheng
It is exactly assert_no_active_block_jobs in iotests.py
Signed-off-by: Fam Zheng
Signed-off-by: Stefan Hajnoczi
---
tests/qemu-iotests/040 | 28
1 file changed, 12 insertions(+), 16 deletions(-)
diff --git a/tests/qemu-iotests/040 b/tests/qemu-iot
From: Peter Lieven
this adds a basic vmdk corruption check. it should detect severe
table corruptions and file truncation.
Signed-off-by: Peter Lieven
Reviewed-by: Fam Zheng
Signed-off-by: Stefan Hajnoczi
---
block/vmdk.c | 48
1 file changed,
The 071 test is designed for IMGFMT=qcow2 because it uses the l2_load
blkdebug event. Its output filtering also assumes that IMGFMT is not
raw since 071.out contains "format=raw" but IMGFMT=raw would filter the
output to "format=IMGFMT".
Perhaps the test case can be rewritten to be more generic,
From: "Daniel P. Berrange"
The qemu-img.texi / qemu-doc.texi files currently describe the
qcow2/qcow2 encryption thus
"Encryption uses the AES format which is very secure (128 bit
keys). Use a long password (16 characters) to get maximum
protection."
While AES is indeed a strong encrypt
From: Jeff Cody
The QCOW2 .bdrv_make_empty implementation always returns 0 for success,
but does not actually do anything.
The proper way to not support an optional driver function stub is to
just not implement it, so let's remove the stub.
Signed-off-by: Jeff Cody
Reviewed-by: Benoit Canet
S
The following changes since commit 89e4a51ca9546a7bbe1998c4e3d4a3ac3a0c19be:
Merge remote-tracking branch 'stefanha/tags/tracing-pull-request' into
staging (2014-01-31 11:13:08 +)
are available in the git repository at:
git://github.com/stefanha/qemu.git tags/block-pull-request
for yo
On 28.01.2014 17:52, Benoît Canet wrote:
From: Benoît Canet
Signed-off-by: Benoit Canet
---
block/quorum.c | 123 +
1 file changed, 123 insertions(+)
Reviewed-by: Max Reitz
On 28.01.2014 17:52, Benoît Canet wrote:
From: Benoît Canet
Signed-off-by: Benoit Canet
---
block/quorum.c | 25 +
1 file changed, 25 insertions(+)
Reviewed-by: Max Reitz
On 28.01.2014 17:52, Benoît Canet wrote:
From: Benoît Canet
Signed-off-by: Benoit Canet
---
block/Makefile.objs | 1 +
block/quorum.c | 54 +
2 files changed, 55 insertions(+)
create mode 100644 block/quorum.c
Reviewed-by: Max R
On 31.01.2014 21:41, Stefan Hajnoczi wrote:
On Fri, Jan 31, 2014 at 6:32 PM, Peter Lieven wrote:
Am 31.01.2014 um 17:07 schrieb Stefan Hajnoczi :
On Fri, Jan 31, 2014 at 12:38:48PM +0100, Peter Lieven wrote:
This adds v6 of the NFS protocol driver + qemu-iotest adjustments.
v7->v8:
- bump l
On Fri, Jan 31, 2014 at 6:32 PM, Peter Lieven wrote:
>
> Am 31.01.2014 um 17:07 schrieb Stefan Hajnoczi :
>
>> On Fri, Jan 31, 2014 at 12:38:48PM +0100, Peter Lieven wrote:
>>> This adds v6 of the NFS protocol driver + qemu-iotest adjustments.
>>>
>>> v7->v8:
>>> - bump libnfs requirement to 1.9.2
On 28.01.2014 17:52, Benoît Canet wrote:
Here is the new version of the QUORUM block driver.
It now use bdrv_image_open for using QMP references and support snapshotting
via the bs node-name infrastructure.
I think the series is feature complete.
It applies on top of Max bdrv_openv2 branch.
W
On 28.01.2014 01:04, Benoît Canet wrote:
Le Monday 27 Jan 2014 à 20:11:59 (+0100), Max Reitz a écrit :
On 27.01.2014 15:36, Benoît Canet wrote:
Le Friday 24 Jan 2014 à 15:54:39 (+0100), Max Reitz a écrit :
On 24.01.2014 15:48, Kevin Wolf wrote:
Am 24.01.2014 um 14:37 hat Max Reitz geschrieben
On 29.01.2014 14:45, Kevin Wolf wrote:
Am 26.01.2014 um 20:02 hat Max Reitz geschrieben:
Setting bs->options in bdrv_file_open() is not necessary if it is
already done in bdrv_open().
Signed-off-by: Max Reitz
Perhaps squash this into patch 7? Because now the reference is created
by bdrv_open(
On 29.01.2014 14:26, Kevin Wolf wrote:
Am 26.01.2014 um 20:02 hat Max Reitz geschrieben:
Add the bdrv_open() option BDRV_O_PROTOCOL which results in passing the
call to bdrv_file_open(). Additionally, make bdrv_file_open() static and
therefore bdrv_open() the only way to call it.
Consequently,
On 29.01.2014 14:35, Kevin Wolf wrote:
Am 26.01.2014 um 20:02 hat Max Reitz geschrieben:
Change bdrv_file_open() to take a simple pointer to an already existing
BDS instead of an indirect one. The BDS will be created in bdrv_open()
if necessary.
Signed-off-by: Max Reitz
---
block.c | 29
On 29.01.2014 12:50, Kevin Wolf wrote:
Am 26.01.2014 um 20:02 hat Max Reitz geschrieben:
Make bdrv_open() take a pointer to a BDS pointer, similarly to
bdrv_file_open(). If a pointer to a NULL pointer is given, bdrv_open()
will create a new BDS with an empty name; if the BDS pointer is not
NULL,
On 01/31/2014 12:03 PM, Gabriel L. Somlo wrote:
> Allow guests to omit the configuration of a floppy disk controller.
>
> Signed-off-by: Gabriel Somlo
> ---
>
> New in this version:
>
> - "int have_fdc = 1;" instead of "int no_fdc = 0;"
>
> - use 8bit field for FDC0's _STA method
>
>
>
This patch adds the Store Quadword Conditionl (stqcx.) instruction
which is introduced in Power ISA 2.07.
Signed-off-by: Tom Musta
---
V2: Updated linux-user/main.c to use the newly added reserve_val2.
linux-user/main.c | 18 +-
target-ppc/translate.c | 21 +
This patch adds support for the Store Quadword instruction in user mode. Prior
to Power ISA 2.07, stq was legal only in privileged mode. Support for Little
Endian mode is also new in ISA 2.07.
Signed-off-by: Tom Musta
---
V2: Refactored user-mode and Little Endian checks per Alex Graf's review.
This patch adds the Book I (user space) Load Quadword (lq) instruction.
This instruction was introduced into Book I in Power ISA V2.07. Previous
versions of the architecture supported this as a privileged instruction.
Previous versions of the architecture also did not support Little Endian
mode.
This patch adds the Load Quadword and Reserve (lqarx) instruction,
which is new in Power ISA 2.07.
Signed-off-by: Tom Musta
---
V2: Additional changes for handling reserve_val2.
target-ppc/cpu.h |1 +
target-ppc/translate.c | 35 +++
2 files changed,
This patch adds support for the Target Address Register (TAR) to the Power8
model.
Because supported SPRs are typically identified in an init_proc_*()
function and because the Power8 model is currently just using the
init_proc_POWER7() function, a new init_proc_POWER8() function
is added and plugg
This patch adds the Branch Conditional to Address Register (bctar)
instruction.
Signed-off-by: Tom Musta
---
target-ppc/translate.c | 11 ++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/target-ppc/translate.c b/target-ppc/translate.c
index d9abcca..b89b4ba 100644
--
This patch adds a boolean function is_user_mode that can be re-used
in translation code that is sensitive to the MSR[PR] (user-mode)
state.
Signed-off-by: Tom Musta
---
target-ppc/translate.c | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/target-ppc/transl
This patch adds a flag to identify the load/store quadword instructions
that are introduced with Power ISA 2.07.
The flag is added to the Power8 model since P8 supports these
instructions.
Signed-off-by: Tom Musta
---
target-ppc/cpu.h|4 +++-
target-ppc/translate_init.c |3 +
This patch series adds the branch and integer instructions that were
introduced in Power ISA 2.07. Specifically,
- There is a new conditional Branch to Address Register (bctar) instruction.
- The load/store quadword instructions are now supported in user mode (Book
I).
- Quadword atomic i
This patch adds a flag for the bctar instruction. This instruction
is being introduced via Power ISA 2.07.
Also, the flag is added to the Power8 machine model since the P8
processor supports this instruction.
Signed-off-by: Tom Musta
---
target-ppc/cpu.h|6 --
target-ppc/tr
On Fri, Jan 31, 2014 at 08:18:39PM +0100, Igor Mammedov wrote:
> On Fri, 31 Jan 2014 11:56:18 -0700
> Eric Blake wrote:
>
> > On 01/31/2014 11:51 AM, Eduardo Habkost wrote:
> >
> > >> Allowing -device may be okay, since in the (very?) long term -device
> > >> can be replaced by -object. But -ob
On Fri, 31 Jan 2014 11:56:18 -0700
Eric Blake wrote:
> On 01/31/2014 11:51 AM, Eduardo Habkost wrote:
>
> >> Allowing -device may be okay, since in the (very?) long term -device
> >> can be replaced by -object. But -object is definitive.
> >
> > OK, one additional reason to try device_add firs
On 01/31/2014 11:10 AM, Eric Blake wrote:
>
>> > @@ -658,7 +658,7 @@ int qcow2_snapshot_list(BlockDriverState *bs,
>> > QEMUSnapshotInfo **psn_tab)
>> > return s->nb_snapshots;
>> > }
>> >
>> > -sn_tab = g_malloc0(s->nb_snapshots * sizeof(QEMUSnapshotInfo));
>> > +sn_tab =
On 31 January 2014 09:45, Peter Maydell wrote:
> The raw read and write functions were using the ARM_CP_64BIT flag in
> ri->type to determine whether to treat the register's state field as
> uint32_t or uint64_t; however AArch64 register info structs don't use
> that flag. Abstract out the "how bi
On Fri, Jan 31, 2014 at 11:56:18AM -0700, Eric Blake wrote:
> On 01/31/2014 11:51 AM, Eduardo Habkost wrote:
>
> >> Allowing -device may be okay, since in the (very?) long term -device
> >> can be replaced by -object. But -object is definitive.
> >
> > OK, one additional reason to try device_add
Allow guests to omit the configuration of a floppy disk controller.
Signed-off-by: Gabriel Somlo
---
New in this version:
- "int have_fdc = 1;" instead of "int no_fdc = 0;"
- use 8bit field for FDC0's _STA method
On Thu, Jan 09, 2014 at 11:24:42AM +0100, Paolo Bonzini wrote:
> Il 09/01/20
On 01/31/2014 11:51 AM, Eduardo Habkost wrote:
>> Allowing -device may be okay, since in the (very?) long term -device
>> can be replaced by -object. But -object is definitive.
>
> OK, one additional reason to try device_add first.
>
> But then we have one additional problem:
>
> * We want to
On Fri, Jan 31, 2014 at 05:52:57PM +0100, Paolo Bonzini wrote:
> Il 31/01/2014 17:42, Eduardo Habkost ha scritto:
> >>> It looks like only -device would be able to create actual CPU models,
> >>> but for -device to work we need as minimum this series and conversion
> >>> of CPU features to properti
On 28 January 2014 20:32, Christoffer Dall wrote:
> Right now the arm gic emulation doesn't keep track of the source of an
> SGI (which apparently Linux guests don't use, or they're fine with
> assuming CPU 0 always).
>
> Add the necessary matrix on the GICState structure and maintain the data
> w
Register separate QOM classes for each x86 CPU model.
This will allow management code to more easily probe what each CPU model
provides, by simply creating objects using the appropriate class name,
without having to restart QEMU.
This also allows us to eliminate the qdev_prop_set_globals_for_type
On 01/31/2014 03:29 AM, Michal Privoznik wrote:
> As the description to the guest-set-time states, the command is
> there to ease time synchronization after resume. If guest was
> suspended for longer period of time, its system time can go off
> so badly, that even NTP refuses to set it. That's why
On 28 January 2014 20:32, Christoffer Dall wrote:
> The existing implementation of the pending behavior in gic_set_irq,
> gic_acknowledge_irq, gic_complete_irq, and the distributor pending
> set/clear registers does not follow the semantics of the GICv2.0 specs,
> but may implement the 11MPCore su
Extend -mem-path with additional properties:
- prealloc=on|off - default off, same as -mem-prealloc
- share=on|off - default off, memory is mmapped with MAP_SHARED flag
Signed-off-by: Antonios Motakis
Signed-off-by: Nikolay Nikolaev
---
exec.c | 30 +++
This function will attempt to read data from the chardev trying
to fill the buffer up to the given length.
Signed-off-by: Antonios Motakis
Signed-off-by: Nikolay Nikolaev
---
include/sysemu/char.h | 14 +++
qemu-char.c | 65 +++
Decouple vhost from the Linux kernel by introducing vhost_ops. The
intention is to provide different backends - 'kernel' backend based on
the ioctl interface, and 'user' backend based on a unix domain socket and
shared memory.
Signed-off-by: Antonios Motakis
Signed-off-by: Nikolay Nikolaev
---
This decouples virtio-net from the TAP netdev backend and allows support
for other backends to be implemented.
Signed-off-by: Antonios Motakis
Signed-off-by: Nikolay Nikolaev
---
hw/net/vhost_net.c | 30 +++---
hw/net/virtio-net.c | 39 ++
The supplied chardev id will be inspected for supported options. Only
a socket backend, with a set path (i.e. a unix socket) and optionally
the server parameter set, will be allowed. Other options (nowait, telnet)
will make the chardev unusable and the netdev will not be initialised.
Signed-off-by
In this patch series we would like to introduce our approach for putting a
virtio-net backend in an external userspace process. Our eventual target is to
run the network backend in the Snabbswitch ethernet switch, while receiving
traffic from a guest inside QEMU/KVM which runs an unmodified virtio-
This document describes the basic message format used by vhost-user
for communication over a unix domain socket. The protocol is based
on the existing ioctl interface used for the kernel version of vhost.
Signed-off-by: Antonios Motakis
Signed-off-by: Nikolay Nikolaev
---
docs/specs/vhost-user.
The poll callback needs to be called when bringing up or down
the vhost_net instance. As it is not mandatory for an NetClient
to implement it, invoke it only when it is set.
Signed-off-by: Antonios Motakis
Signed-off-by: Nikolay Nikolaev
---
hw/net/vhost_net.c | 13 ++---
1 file changed
This will set an array of file descriptors to the internal structures.
The next time a message is send the array will be send as ancillary
data. This feature works on unix domain socket backend only.
Signed-off-by: Antonios Motakis
Signed-off-by: Nikolay Nikolaev
---
include/sysemu/char.h | 14
Use vhost_set_backend_type to initialise a proper vhost_ops structure.
In vhost_net_init and vhost_net_start_one call conditionally TAP related
initialisation depending on the vhost backend type.
Signed-off-by: Antonios Motakis
Signed-off-by: Nikolay Nikolaev
---
hw/net/vhost_net.c
vhost_dev_init will replace devfd and devpath with a single opaque argument.
This is initialised with a file descriptor. When TAP is used (through
vhost_net), open /dev/vhost-net and pass the fd as an opaque parameter in
VhostNetOptions. The same applies to vhost-scsi - open /dev/vhost-scsi and
pas
Close the chardev on receiving this event.
Signed-off-by: Antonios Motakis
Signed-off-by: Nikolay Nikolaev
---
qemu-char.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/qemu-char.c b/qemu-char.c
index c2e599e..1c34b2b 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -2643,6
Add a new QEMU netdev backend that is intended to invoke vhost_net with the
vhost-user backend.
At runtime the netdev will detect if the vhost backend is up or down. Upon
disconnection it will set link_down accordingly and notify virtio-net. The
virtio-net interface goes down.
Signed-off-by: Anto
The initialization takes a chardev backed by a unix domain socket.
It should implement qemu_fe_set_msgfds in order to be able to pass
file descriptors to the remote process.
Each ioctl request of vhost-kernel has a vhost-user message equivalent,
which is sent over the control socket.
The general
On 01/31/2014 08:53 AM, Markus Armbruster wrote:
> qmp_guest_file_seek() allocates memory for a GuestFileRead object
> instead of the GuestFileSeek object it actually uses. Harmless,
> because the GuestFileRead is slightly larger.
>
> Signed-off-by: Markus Armbruster
> ---
> qga/commands-posix.
Am 31.01.2014 um 17:07 schrieb Stefan Hajnoczi :
> On Fri, Jan 31, 2014 at 12:38:48PM +0100, Peter Lieven wrote:
>> This adds v6 of the NFS protocol driver + qemu-iotest adjustments.
>>
>> v7->v8:
>> - bump libnfs requirement to 1.9.2
>> - renamed NFSRPC->status to NFSRPC->ret [Benoit]
>> - avoi
In AArch64 the breakpoint and watchpoint registers are mandatory, so the
kernel always accesses them on bootup. Implement dummy versions, which
read as written but have no actual effect.
Signed-off-by: Peter Maydell
---
target-arm/cpu.h| 4
target-arm/helper.c | 32
Generate header "trace/generated-helpers.h" with the necessary TCG helper
declarations for tracing events in guest code:
* gen_helper_trace_${event}_tcg
Routine to transform mixed native and TCG argument types to TCG types and call
TCG helper 'gen_helper_trace_${event}_tcg_proxy'.
* helper_t
On Thu, Jan 30, 2014 at 05:48:59PM -0200, Eduardo Habkost wrote:
> Register separate QOM classes for each x86 CPU model.
>
> This will allow management code to more easily probe what each CPU model
> provides, by simply creating objects using the appropriate class name,
> without having to restart
On 01/31/2014 09:49 AM, Martin Kletzander wrote:
> Introduce 'query-chardev-backends' QMP command which lists all
> supported character device backends.
>
> Signed-off-by: Martin Kletzander
> ---
> v2:
> - Version changed from "1.8.0" to "2.0"
>
> qapi-schema.json | 22 ++
>
On 29 January 2014 19:30, xan...@juno.com wrote:
> Hi Peter and thanks for the quick response, it's very much appreciated!
>
> Sorry I forgot to include more details. To make sure I was giving you the
> best data possible I just asked our Engineers exactly what they have and are
> trying to emula
On 01/31/14 16:04, Ekaterina Tumanova wrote:
> True! Fixed. Tested.
>
> Can you please put it into push-queue?
>
> Thanks,
> Kate.
>
> Ekaterina Tumanova (1):
> Define the architecture for compressed dump format.
>
> dump.c | 7 +--
> target-i386/cpu.h | 2 ++
> target-s390x
Signed-off-by: Lluís Vilanova
---
scripts/tracetool/transform.py | 157
1 file changed, 157 insertions(+)
create mode 100644 scripts/tracetool/transform.py
diff --git a/scripts/tracetool/transform.py b/scripts/tracetool/transform.py
new file mode 100644
On 31 January 2014 15:56, Rob Herring wrote:
> On 31 January 2014 09:45, Peter Maydell wrote:
>> The raw read and write functions were using the ARM_CP_64BIT flag in
>> ri->type to determine whether to treat the register's state field as
>> uint32_t or uint64_t; however AArch64 register info stru
On 01/31/2014 08:53 AM, Markus Armbruster wrote:
> g_new(T, n) is safer than g_malloc(sizeof(T) * n) for two reasons.
> One, it catches multiplication overflowing size_t. Two, it returns
> T * rather than void *, which lets the compiler catch more type
> errors.
>
> Patch created with the followi
System mode store-exclusive use a different code path to usermode ones;
implement this missing code, in a similar way to the 32 bit version.
Signed-off-by: Peter Maydell
---
target-arm/translate-a64.c | 68 ++
1 file changed, 62 insertions(+), 6 deleti
The read_raw_cp_reg and write_raw_cp_reg functions can now never
fail (in fact they should never have failed previously unless
there was a bug in a reginfo that meant no raw accessor was
provided for a might-trap register). This allows us to clean up
their prototypes so the write function returns v
On Fri, Jan 31, 2014 at 12:38:48PM +0100, Peter Lieven wrote:
> This adds v6 of the NFS protocol driver + qemu-iotest adjustments.
>
> v7->v8:
> - bump libnfs requirement to 1.9.2
> - renamed NFSRPC->status to NFSRPC->ret [Benoit]
> - avoid double invocation of nfs_client_close in nfs_file_crea
Otherwise the user has to explicitly include an auto-generated header.
Signed-off-by: Lluís Vilanova
---
include/trace.h |1 +
1 file changed, 1 insertion(+)
diff --git a/include/trace.h b/include/trace.h
index c15f498..44a1f1f 100644
--- a/include/trace.h
+++ b/include/trace.h
@@ -2,5 +2,6
Make the cache ID system registers (CLIDR, CCSELR, CCSIDR, CTR)
visible to AArch64. These are mostly simple 64-bit extensions of the
existing 32 bit system registers and so can share reginfo definitions.
CTR needs to have a split definition, but we can clean up the
temporary user-mode implementatio
Il 31/01/2014 17:42, Eduardo Habkost ha scritto:
> It looks like only -device would be able to create actual CPU models,
> but for -device to work we need as minimum this series and conversion
> of CPU features to properties in tree. Then I guess we can override
> cannot_instantiate_with_device_a
Introduce 'query-chardev-backends' QMP command which lists all
supported character device backends.
Signed-off-by: Martin Kletzander
---
v2:
- Version changed from "1.8.0" to "2.0"
qapi-schema.json | 22 ++
qemu-char.c | 19 +++
qmp-commands.hx | 41 ++
On 31 January 2014 16:06, Peter Maydell wrote:
> On 31 January 2014 15:56, Rob Herring wrote:
>> On 31 January 2014 09:45, Peter Maydell wrote:
>>> +/* Return true if this reginfo struct's field in the cpu state struct
>>> + * is 64 bits wide.
>>> + */
>>> +static inline bool cpreg_field_is_64bi
Implement the AArch64 MPIDR system register.
Signed-off-by: Peter Maydell
Reviewed-by: Peter Crosthwaite
---
target-arm/helper.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/target-arm/helper.c b/target-arm/helper.c
index a23b40d..d943963 100644
--- a/target-arm/hel
On Fri, Jan 31, 2014 at 05:06:21PM +0100, Igor Mammedov wrote:
> On Fri, 31 Jan 2014 13:17:53 -0200
> Eduardo Habkost wrote:
>
> > On Fri, Jan 31, 2014 at 03:50:23PM +0100, Paolo Bonzini wrote:
> > > Il 31/01/2014 15:48, Igor Mammedov ha scritto:
> > > >that's abusing of object-add interface and
Adds the base ability to specify which events in the "trace-events" file may be
used to trace guest activity in the TCG code (using the "tcg" event propery).
Such events generate an extra set of tracing functions that can be called during
TCG code generation and will automatically redirect a call
Implement the AArch64 TTBR* registers. For v7 these were already 64 bits
to handle LPAE, but implemented as two separate uint32_t fields.
Combine them into a single uint64_t which can be used for all purposes.
Since this requires touching every use, take the opportunity to rename
the field to the a
The SCTLR bits S and R (8 and 9) only exist in ARMv6 and earlier.
In ARMv7 these bits RAZ, and in ARMv8 they are reassigned. Guard
the use of them in check_ap() so that we don't get incorrect results
for ARMv8 CPUs.
Signed-off-by: Peter Maydell
Reviewed-by: Peter Crosthwaite
---
target-arm/help
On 31 January 2014 15:53, Markus Armbruster wrote:
> PATCH 1/2 fixes a bug found by compiling the original PATCH 2/2.
> Evidence for my claim that PATCH 2/2 lets the compiler catch more type
> errors :)
>
> Markus Armbruster (2):
> qga: Fix memory allocation pasto
> Use g_new() & friends where
Several QEMU and KVM community members will be at devconf.cz 7-9
February in Brno, Czech Republic. See the schedule for details on KVM
and virtualization talks:
http://devconf.cz/schedule
Thin provisioning in the KVM virtualization stack - how we got there -
Paolo Bonzini
KVM and CPU feature ena
Signed-off-by: Lluís Vilanova
---
target-alpha/translate.c |3 +++
target-arm/translate.c|3 +++
target-cris/translate.c |3 +++
target-i386/translate.c |3 +++
target-lm32/translate.c |3 +++
target-m68k/translate.c |3 +++
target-micr
Generate file "trace/generated-helpers.c" with the necessary TCG helper routines
for tracing events in guest code:
* helper_trace_${event}_tcg_proxy
TCG helper implementation to cast TCG-compatible argument types to native
types and call tracing routine 'trace_${event}'.
Signed-off-by: Lluí
This ensures proper naming across tracing backends, even when someone overrides
the value without backends knowing it.
Signed-off-by: Lluís Vilanova
---
scripts/tracetool/__init__.py | 10 +-
scripts/tracetool/backend/dtrace.py |6 +++---
scripts/tracetool/backend/simple.py |
When found, TCG types are translated into the host native types when declaring
and defining the tracing routines not used during TCG code translation (e.g.,
"trace.h").
Signed-off-by: Lluís Vilanova
---
scripts/tracetool/__init__.py |8 +++-
1 file changed, 7 insertions(+), 1 deletion(-
Signed-off-by: Lluís Vilanova
---
docs/tracing.txt | 36
1 file changed, 36 insertions(+)
diff --git a/docs/tracing.txt b/docs/tracing.txt
index bfc261b..9bf7073 100644
--- a/docs/tracing.txt
+++ b/docs/tracing.txt
@@ -271,3 +271,39 @@ guard such computatio
1 - 100 of 240 matches
Mail list logo