Processing CPU_INTERRUPT_POLL requests in cpu_has_work functions
break the determinism of cpu_exec. This patch is required to make
interrupts processing deterministic.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru
---
cpu-exec.c
This patch includes modifications of common cpu files. All interrupts and
exceptions occured during recording are written into the replay log.
These events allow correct replaying the execution by kicking cpu thread
when one of these events is found in the log.
Signed-off-by: Pavel Dovgalyuk
This patch introduces aio_bh_call function. It is used to execute
bottom halves as callbacks without adding them to the queue.
Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru
---
async.c |8 +++-
include/block/aio.h |5 +
2 files changed, 12 insertions(+), 1
This patch records and replays simulator shutdown event.
Reviewed-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru
---
replay/replay-internal.h |2 ++
replay/replay.c | 14 ++
replay/replay.h |5 +
vl.c
On Fri, May 1, 2015 at 7:35 AM, Christopher Covington
christopher.coving...@linaro.org wrote:
On Thu, Apr 30, 2015 at 9:24 PM, Peter Crosthwaite
peter.crosthwa...@xilinx.com wrote:
On Thu, Apr 30, 2015 at 11:14 AM, Christopher Covington
christopher.coving...@linaro.org wrote:
Present a system
This records user input (keyboard and mouse events) in record mode and replays
these input events in replay mode.
Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru
---
include/ui/input.h |2 +
replay/Makefile.objs |1
replay/replay-events.c | 31 +
This patch updates x86_cpu_exec_interrupt function.
It can process two interrupt request at a time (poll and another one).
This makes its execution non-deterministic. Determinism is requred
for recorded icount execution.
Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru
---
This patch adds deterministic replay for hardware periodic countdown timers.
Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru
---
hw/core/ptimer.c |7 ++-
replay/replay-events.c | 17 +
replay/replay-internal.h |1 +
replay/replay.h |2
Clock ticks are considered as the sources of non-deterministic data for
virtual machine. This patch implements saving the clock values when they
are acquired (virtual, host clock).
When replaying the execution corresponding values are read from log and
transfered to the module, which wants to read
From: Gonglei arei.gong...@huawei.com
Signed-off-by: Gonglei arei.gong...@huawei.com
---
hw/usb/dev-storage.c | 32
1 file changed, 20 insertions(+), 12 deletions(-)
diff --git a/hw/usb/dev-storage.c b/hw/usb/dev-storage.c
index ae8d40d..abe0e1d 100644
---
From: Gonglei arei.gong...@huawei.com
Signed-off-by: Gonglei arei.gong...@huawei.com
---
hw/usb/dev-uas.c | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/hw/usb/dev-uas.c b/hw/usb/dev-uas.c
index 04fc515..38b26c5 100644
--- a/hw/usb/dev-uas.c
+++
From: Gonglei arei.gong...@huawei.com
Signed-off-by: Gonglei arei.gong...@huawei.com
---
hw/usb/redirect.c | 25 ++---
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
index 2416de8..242a654 100644
--- a/hw/usb/redirect.c
From: Gonglei arei.gong...@huawei.com
Signed-off-by: Gonglei arei.gong...@huawei.com
---
hw/usb/dev-audio.c | 23 +--
1 file changed, 13 insertions(+), 10 deletions(-)
diff --git a/hw/usb/dev-audio.c b/hw/usb/dev-audio.c
index 67deffe..f092bb8 100644
--- a/hw/usb/dev-audio.c
Public bug reported:
Compiling Qemu 2.3.0 failes with the following error:
x86_64-pc-linux-gnu-g++ -I/usr/include/pixman-1 -fPIE -DPIE -m64
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
-Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
On 6 May 2015 at 14:21, Peter Crosthwaite peter.crosthwa...@xilinx.com wrote:
On Wed, May 6, 2015 at 6:18 AM, Peter Maydell peter.mayd...@linaro.org
wrote:
On 6 May 2015 at 14:02, Peter Crosthwaite peter.crosthwa...@xilinx.com
wrote:
Actually NVM. I got it working on a diff machine. Did you
On Wed, May 6, 2015 at 6:26 AM, Peter Maydell peter.mayd...@linaro.org wrote:
On 6 May 2015 at 14:21, Peter Crosthwaite peter.crosthwa...@xilinx.com
wrote:
On Wed, May 6, 2015 at 6:18 AM, Peter Maydell peter.mayd...@linaro.org
wrote:
On 6 May 2015 at 14:02, Peter Crosthwaite
On Wed, May 06, 2015 at 08:59:56AM -0400, Luiz Capitulino wrote:
On Wed, 6 May 2015 07:38:53 -0300
Eduardo Habkost ehabk...@redhat.com wrote:
On Wed, May 06, 2015 at 09:32:58AM +0200, Michael Mueller wrote:
On Tue, 5 May 2015 10:14:32 -0300
Eduardo Habkost ehabk...@redhat.com wrote:
I rolled back QEMU to 2.2.1 and it succeeded converting the image ...
I'll try to see if I can re-upgrade QEMU without breaking again the CI
we have here.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
The current cache algorithm traverses the array starting always from
the beginning, so the average number of comparisons needed to perform
a lookup is proportional to the size of the array.
By using a hash of the offset as the starting point, lookups are
faster and independent from the array
New version of the qcow2 cache patches:
v2:
- Don't do pointer arithmetic on void *
- Rename table_addr() to qcow2_cache_get_table_addr()
- Add qcow2_cache_get_table_idx()
- Cast cache size to size_t to prevent overflows
- Make qcow2_cache_put() a void function
- Don't store the cluster size in
The qcow2 L2/refcount cache contains one separate table for each cache
entry. Doing one allocation per table adds unnecessary overhead and it
also requires us to store the address of each table separately.
Since the size of the cache is constant during its lifetime, it's
better to have an array
On Wed, 6 May 2015 10:33:55 -0300
Eduardo Habkost ehabk...@redhat.com wrote:
On Wed, May 06, 2015 at 08:59:56AM -0400, Luiz Capitulino wrote:
On Wed, 6 May 2015 07:38:53 -0300
Eduardo Habkost ehabk...@redhat.com wrote:
On Wed, May 06, 2015 at 09:32:58AM +0200, Michael Mueller wrote:
On Wed, May 6, 2015 at 6:16 AM, Peter Maydell peter.mayd...@linaro.org wrote:
On 6 May 2015 at 14:08, Peter Crosthwaite peter.crosthwa...@xilinx.com
wrote:
Ergh, I have to backpeddle again (sry for the noise), patches still
doesnt work for me (serves me right for not looking at the year of
On Wed, 05/06 15:45, Max Reitz wrote:
On 05.05.2015 12:44, Fam Zheng wrote:
Max,
Since you once fixed VMDK with the json descriptor filename, could you take a
look at the error:
$ ./check -vmdk -o subformat=monolithicFlat 033
033 - output mismatch (see 033.out.bad)
---
This patch removes static specifier from several qemu function to make
them visible to the replay module. It also invents several system functions
that will be used by replay.
Reviewed-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru
---
cpus.c
This set of patches is related to the reverse execution and deterministic
replay of qemu execution. This implementation of deterministic replay can
be used for deterministic debugging of guest code through gdb remote
interface.
Core set of patches does not include support for reverse debugging
This patch adds global variables, defines, function declarations,
and function stubs for deterministic VM replay used by external modules.
Reviewed-by: Paolo Bonzini pbonz...@redhat.com
Reviewed-by: Eric Blake ebl...@redhat.com
Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru
---
This patch adds functions to perform read and write operations
with replay log.
Reviewed-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru
---
replay/Makefile.objs |1
replay/replay-internal.c | 149
This mutex will protect read/write operations for replay log.
Using mutex is necessary because most of the events consist of
several fields stored in the log. The mutex will help to avoid races.
Reviewed-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Pavel Dovgalyuk
This patch adds icount event to the replay subsystem. This event corresponds
to execution of several instructions and used to synchronize input events
in the replay phase.
Reviewed-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru
---
This patch adds module for saving and replaying asynchronous events.
These events include network packets, keyboard and mouse input,
USB packets, thread pool and bottom halves callbacks.
All events are stored in the queue to be processed at synchronization points
such as beginning of TB execution,
This patch is required for deterministic replay to generate an exception
by trying executing an instruction without changing icount.
It adds new flag to TB for disabling icount while translating it.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Pavel Dovgalyuk
This patch adds calls to replay functions into the icount setup block.
In record mode number of executed instructions is written to the log.
In replay mode number of istructions to execute is taken from the replay log.
When replayed instructions counter is expired qemu_notify_event()
function is
This patch introduces checkpoints that synchronize cpu thread and iothread.
When checkpoint is met in the code all asynchronous events from the queue
are executed.
Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru
---
cpus.c |5 +
main-loop.c |6
On 05/06/2015 02:25 AM, Markus Armbruster wrote:
John Snow js...@redhat.com writes:
Instead of letting printf and friends do this for us
one byte at a time, fill a buffer ourselves and then
send the entire buffer in one go.
This gives a moderate speed improvement over the old
method.
This patch introduces command line options for enabling recording or replaying
virtual machine behavior. These options are added to icount command line
parameter. They include 'rr' which switches between record and replay
and 'rrfile' for specifying the filename for replay log.
Signed-off-by:
On 06/05/2015 15:46, Fam Zheng wrote:
Because of the trick of process-archive-undefs, all .mo objects, even
with --enable-modules, are dependencies of executables.
This breaks CFLAGS propogation because the compiling of module object
will happen too early before building for DSO.
With
On 06.05.2015 15:59, Fam Zheng wrote:
On Wed, 05/06 15:45, Max Reitz wrote:
On 05.05.2015 12:44, Fam Zheng wrote:
Max,
Since you once fixed VMDK with the json descriptor filename, could you take a
look at the error:
$ ./check -vmdk -o subformat=monolithicFlat 033
033 - output
On 06/05/2015 16:12, Richard Henderson wrote:
Can
we rely on the env/CPUState always being up to date during
target_disas (which happens at translate time?) or will we need to go
field by field to make sure any env updates explicitly occur before
target_disas?
I *think* so, but it's a
Some devices are not supported by record/replay subsystem.
This patch introduces replay blocker which denies starting record/replay
if such devices are included into the configuration.
Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru
---
hw/bt/hci.c |7 +++
On 05/06/2015 12:06 AM, Peter Crosthwaite wrote:
Can
we rely on the env/CPUState always being up to date during
target_disas (which happens at translate time?) or will we need to go
field by field to make sure any env updates explicitly occur before
target_disas?
I *think* so, but it's a
On Wed, 05/06 16:07, Paolo Bonzini wrote:
On 06/05/2015 15:46, Fam Zheng wrote:
Because of the trick of process-archive-undefs, all .mo objects, even
with --enable-modules, are dependencies of executables.
This breaks CFLAGS propogation because the compiling of module object
will
On 06/05/2015 16:23, Fam Zheng wrote:
+ $(eval $($v:%.mo=%$(DSOSUF)) $($v) $(foreach
o,$($v),$($o-objs)) .PHONY: CFLAGS += -fPIC -DBUILD_DSO)
^ ^^
^
|
On 06/05/2015 16:04, Pavel Dovgalyuk wrote:
This patch introduces aio_bh_call function. It is used to execute
bottom halves as callbacks without adding them to the queue.
Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru
---
async.c |8 +++-
include/block/aio.h
Hi Jérémy,
On Tue, May 05, 2015 at 11:13:11AM +0200, Jérémy Fanguède wrote:
To maintain cache coherency on ARM, we may need a mechanism to flush
the data cache.
In addition to generally just making this functionality available (see
below), do you have an actual use case in mind for this? To
This patch introduces the functions for enabling the record/replay and for
freeing the resources when simulator closes.
Reviewed-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru
---
exec.c |1
replay/replay-internal.h |2 +
On 06/05/2015 14:20, Fam Zheng wrote:
Does non-dataplane need to do anything, since it uses iohandlers rather
than aio_set_event_notifier_handler?
I guess it's not for this specific bug. See this as an attempt on a general
purpose pause mechanism to the device in investment for the
On 06/05/2015 13:57, Yossi Hindin wrote:
The second version of commits's set take into account Paolo Bonzini remarks.
Typo in WXS file fixed, QEMU GA-related CLI options renamed,
'--enable-guest-agent-msi'/
'--disable-guest-agent-msi' processing logic changed so that MSI build is
On Wed, 6 May 2015, Paolo Bonzini wrote:
On 06/05/2015 16:12, Richard Henderson wrote:
Can
we rely on the env/CPUState always being up to date during
target_disas (which happens at translate time?) or will we need to go
field by field to make sure any env updates explicitly occur
On Wed, 05/06 16:12, Max Reitz wrote:
On 06.05.2015 15:59, Fam Zheng wrote:
On Wed, 05/06 15:45, Max Reitz wrote:
On 05.05.2015 12:44, Fam Zheng wrote:
Max,
Since you once fixed VMDK with the json descriptor filename, could you
take a
look at the error:
$ ./check -vmdk -o
Markus is taking over maintership of QMP and the QAPI from
me. Markus has always been a great reviewer and contributor
to those subsystems. In the last few months he's also doing
pull requests that are a lot more relevant than the ones I
was able to do. So, this is a natural move.
I'm still the
This patch moves typedefs for QemuOpts and related types
to qemu/typedefs.h file.
Reviewed-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru
---
include/qemu/option.h |5 +
include/qemu/typedefs.h |3 +++
2 files changed, 4
On 06/05/2015 13:23, Fam Zheng wrote:
void bdrv_op_block(BlockDriverState *bs, BlockOpType op, Error *reason)
{
BdrvOpBlocker *blocker;
assert((int) op = 0 op BLOCK_OP_TYPE_MAX);
+bdrv_op_blocker_notify(bs, op, reason, true);
blocker = g_new0(BdrvOpBlocker, 1);
On 06.05.2015 16:38, Fam Zheng wrote:
On Wed, 05/06 16:12, Max Reitz wrote:
On 06.05.2015 15:59, Fam Zheng wrote:
On Wed, 05/06 15:45, Max Reitz wrote:
On 05.05.2015 12:44, Fam Zheng wrote:
Max,
Since you once fixed VMDK with the json descriptor filename, could you take a
look at the error:
On Wed, 6 May 2015 09:37:41 -0300
Eduardo Habkost ehabk...@redhat.com wrote:
On Mon, Apr 27, 2015 at 04:53:29PM +0200, Michael Mueller wrote:
[...]
#ifndef CONFIG_USER_ONLY
+static CpuDefinitionInfoList *qmp_query_cpu_definition_host(void)
+{
+CpuDefinitionInfoList *host = NULL;
On 05/06/2015 01:52 AM, Pavel Fedin wrote:
[meta-comment]
set_host_notifier() is introduced into virtio-mmio now. Most of codes came
from virtio-pci.
Missing an 'In-Reply-To: 000501d087d0$39c1bd90$ad4538b0$@samsung.com'
header, which makes your series unthreaded (every message appeared as
From: Gonglei arei.gong...@huawei.com
Cc: Gerd Hoffmann kra...@redhat.com
Signed-off-by: Gonglei arei.gong...@huawei.com
---
hw/usb/hcd-uhci.c | 43 +++
1 file changed, 31 insertions(+), 12 deletions(-)
diff --git a/hw/usb/hcd-uhci.c b/hw/usb/hcd-uhci.c
On Wed, May 6, 2015 at 5:14 AM, Peter Maydell peter.mayd...@linaro.org wrote:
On 1 May 2015 at 18:25, Peter Crosthwaite peter.crosthwa...@xilinx.com
wrote:
Ping!
On Fri, Apr 24, 2015 at 1:28 PM, Peter Crosthwaite
peter.crosthwa...@xilinx.com wrote:
Hi Peter and all,
Xilinx's next gen SoC
From: Gonglei arei.gong...@huawei.com
Signed-off-by: Gonglei arei.gong...@huawei.com
---
hw/usb/dev-hid.c | 34 --
1 file changed, 20 insertions(+), 14 deletions(-)
diff --git a/hw/usb/dev-hid.c b/hw/usb/dev-hid.c
index 507c966..9623e72 100644
---
On 04.05.2015 21:32, Eric Blake wrote:
On 05/04/2015 01:15 PM, Max Reitz wrote:
Later, a mechanism to set a limit on how much memory may be used for the
overlap prevention structures will be introduced. If that limit is about
to be exceeded, a QMP event should be emitted. This very event is
On 05.05.2015 11:46, Stefan Hajnoczi wrote:
On Thu, Mar 19, 2015 at 03:03:18PM -0400, Max Reitz wrote:
Some image formats (e.g. qcow2) require the underlying file to grow on
write accesses, but this is in fact not supported by all protocols (e.g.
nbd does not). If such a format requiring file
This function never receives an invalid table pointer, so we can make
it void and remove all the error checking code.
Signed-off-by: Alberto Garcia be...@igalia.com
---
block/qcow2-cache.c| 7 +--
block/qcow2-cluster.c | 50 ++
Fix pointer declaration to make it consistent with the rest of the
code.
Signed-off-by: Alberto Garcia be...@igalia.com
---
block/qcow2-cache.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/block/qcow2-cache.c b/block/qcow2-cache.c
index 0f629c4..bea43c1 100644
---
Signed-off-by: Fam Zheng f...@redhat.com
---
blockdev.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/blockdev.c b/blockdev.c
index 5eaf77e..859fa2e 100644
--- a/blockdev.c
+++ b/blockdev.c
@@ -1398,6 +1398,7 @@ typedef struct ExternalSnapshotState {
BlockDriverState *old_bs;
Before a freed cluster can be reused, pending discards for this cluster
must be processed.
The original assumption was that this was not a problem because discards
are only cached during discard/write zeroes operations, which are
synchronous so that no concurrent write requests can cause cluster
I am submitting second version of patches.
- Original Message -
From: Paolo Bonzini pbonz...@redhat.com
To: Yossi Hindin yhin...@redhat.com, qemu-devel@nongnu.org
Cc: yvuge...@redhat.com, dfley...@redhat.com, mdr...@linux.vnet.ibm.com
Sent: Monday, May 4, 2015 12:03:02 PM
Subject:
This helper will be used by vhost and tap to detect cross-endianness in
the legacy virtio case.
Signed-off-by: Greg Kurz gk...@linux.vnet.ibm.com
---
include/hw/virtio/virtio-access.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/include/hw/virtio/virtio-access.h
On Wed, 6 May 2015 07:38:53 -0300
Eduardo Habkost ehabk...@redhat.com wrote:
On Wed, May 06, 2015 at 09:32:58AM +0200, Michael Mueller wrote:
On Tue, 5 May 2015 10:14:32 -0300
Eduardo Habkost ehabk...@redhat.com wrote:
On Mon, Apr 27, 2015 at 04:53:18PM +0200, Michael Mueller wrote:
From: Gonglei arei.gong...@huawei.com
Signed-off-by: Gonglei arei.gong...@huawei.com
---
hw/usb/dev-wacom.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/hw/usb/dev-wacom.c b/hw/usb/dev-wacom.c
index 844eafa..c2450e7 100644
--- a/hw/usb/dev-wacom.c
+++
From: Gonglei arei.gong...@huawei.com
Signed-off-by: Gonglei arei.gong...@huawei.com
---
hw/usb/dev-mtp.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/hw/usb/dev-mtp.c b/hw/usb/dev-mtp.c
index 108ece8..c9c1f32 100644
--- a/hw/usb/dev-mtp.c
+++
From: Gonglei arei.gong...@huawei.com
Signed-off-by: Gonglei arei.gong...@huawei.com
---
hw/usb/dev-smartcard-reader.c | 50 ---
1 file changed, 28 insertions(+), 22 deletions(-)
diff --git a/hw/usb/dev-smartcard-reader.c b/hw/usb/dev-smartcard-reader.c
From: Gonglei arei.gong...@huawei.com
Signed-off-by: Gonglei arei.gong...@huawei.com
---
hw/usb/dev-bluetooth.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/hw/usb/dev-bluetooth.c b/hw/usb/dev-bluetooth.c
index 9bf6730..b19ec76 100644
---
From: Gonglei arei.gong...@huawei.com
When x-root property not be configured, will cause segfault
because of null pointer accessing. Add a check for s-root
property avoid segfault.
Signed-off-by: Gonglei arei.gong...@huawei.com
---
hw/usb/dev-mtp.c | 4
1 file changed, 4 insertions(+)
From: Gonglei arei.gong...@huawei.com
Signed-off-by: Gonglei arei.gong...@huawei.com
---
hw/usb/dev-network.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/hw/usb/dev-network.c b/hw/usb/dev-network.c
index 1866991..5f2ffd0 100644
--- a/hw/usb/dev-network.c
+++
From: Gonglei arei.gong...@huawei.com
Signed-off-by: Gonglei arei.gong...@huawei.com
---
hw/usb/dev-hub.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/hw/usb/dev-hub.c b/hw/usb/dev-hub.c
index 0482f58..c8c6855 100644
--- a/hw/usb/dev-hub.c
+++
On Wed, May 6, 2015 at 6:02 AM, Peter Crosthwaite
peter.crosthwa...@xilinx.com wrote:
On Wed, May 6, 2015 at 5:14 AM, Peter Maydell peter.mayd...@linaro.org
wrote:
On 1 May 2015 at 18:25, Peter Crosthwaite peter.crosthwa...@xilinx.com
wrote:
Ping!
On Fri, Apr 24, 2015 at 1:28 PM, Peter
On 04.05.2015 21:39, Eric Blake wrote:
On 05/04/2015 01:15 PM, Max Reitz wrote:
Expose the two new options for controlling the memory usage of the
overlap check implementation via QAPI.
Signed-off-by: Max Reitz mre...@redhat.com
---
qapi/block-core.json | 37
On Wed, May 6, 2015 at 6:18 AM, Peter Maydell peter.mayd...@linaro.org wrote:
On 6 May 2015 at 14:02, Peter Crosthwaite peter.crosthwa...@xilinx.com
wrote:
Actually NVM. I got it working on a diff machine. Did you have any
thoughts on the GICC mirror issue while I respin?
You mean the thing
On 06.05.2015 13:29, Kevin Wolf wrote:
Before a freed cluster can be reused, pending discards for this cluster
must be processed.
The original assumption was that this was not a problem because discards
are only cached during discard/write zeroes operations, which are
synchronous so that no
A cache miss means that the whole array was traversed and the entry
we were looking for was not found, so there's no need to traverse it
again in order to select an entry to replace.
Signed-off-by: Alberto Garcia be...@igalia.com
---
block/qcow2-cache.c | 45
On 6 May 2015 at 16:03, Pavel Fedin p.fe...@samsung.com wrote:
This small patch fixes a long-standing bug: A15 model is used by default
also on ARM64 target. As a result, attempt to run the VM without explicit
-cpu specification does not do anything good.
Signed-off-by: Pavel Fedin
When I try to use the pcspk sound hardware, QEMU freezes and uses 100% of the
cpu time. This is the command I use:
qemu-system-i386 -cdrom anything you wan here -soundhw pcspk
This looks like a deadlock situation because some unknown code called
qemu_mutex_lock(). Here is the stack trace at
On 06/05/2015 18:37, Max Reitz wrote:
Because qcow2 tries to write beyond the end of the file; the NBD client
implementation passes that on to the server, and the server simply
reports an error (which the NBD client turns into EIO).
Where?
qemu_coroutine_yield();
*reply = s-reply;
On 05/06/2015 10:20 AM, penghao...@sina.com wrote:
Missing a 'v2' in the subject line (hint: git send-email -v2)
Subject line doesn't make sense, and has incorrect spacing after colon.
What was wrong with my suggestion that I gave on your v1?
keyboard: handle ps2 typing buffer overrun
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
On 2015/4/24 16:35, Dr. David Alan Gilbert wrote:
* Wen Congyang (we...@cn.fujitsu.com) wrote:
On 04/22/2015 07:18 PM, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
Hi,
ping ...
I will get to
Hi, all:
I've been trying to understand the process of address translation inside QEMU,
but I got stuck in GVA-GPA.I've known that QEMU uses a two level description
table 'PhysPageDesc' to maintain the translation between GPA HVA(host virtual
address), but I couldn't find out where QEMU
CC-ing qemu-block and Stefan Weil (maintainer of vdi).
On 06.05.2015 19:23, phoeagon wrote:
Thanks for your input.
So I changed it to:
1. Only call bdrv_flush when bdrv_pwrite was successful
2. Only if bdrv_flush was unsuccessful that the return value of
vdi_co_write is updated.
One of both
GIC generally uses a 4k memory region for the various subregions, such
as GICC, GICD, GICV and GICH. Macroify this number in the publicly
visible header.
Some machine model code may need to know the individual subregion size
to implement special addresses mappings (such as aliases and
Add the ARM cortex A53 processor definition. Similar to A57, but with
different L1 I cache policy, phys addr size and different cache
geometries. The cache sizes is implementation configurable, but use
these values (from Xilinx Zynq MPSoC) as a default until cache size
configurability is added.
Connect the GPIO outputs from the individual CPUs for the timers to the
GIC.
Tested-by: Alistair Francis alistair.fran...@xilinx.com
Reviewed-by: Edgar E. Iglesias edgar.igles...@xilinx.com
Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com
---
changed since v4:
Use macro for
Add bootloader support using standard ARM bootloader.
Reviewed-by: Alistair Francis alistair.fran...@xilinx.com
Tested-by: Alistair Francis alistair.fran...@xilinx.com
Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com
---
changed since v4:
Add loader_start field
Make commit message
Hi Peter and all,
Xilinx's next gen SoC has been announced. This series adds a SoC and
board.
Series start with addition of ARM cortex A53 support (P1 and P2). The
Soc skeleton is then added with GIC, EMACs and UARTs added. The
pre-existing models for GEM and UART are not SoC friendly (no
With quad Cortex-A53 CPUs.
Use SMC PSCI, with the standard policy of secondaries starting in
power-off.
Tested-by: Alistair Francis alistair.fran...@xilinx.com
Reviewed-by: Alistair Francis alistair.fran...@xilinx.com
Reviewed-by: Edgar E. Iglesias edgar.igles...@xilinx.com
Signed-off-by: Peter
Rename some A57 CP register variables in preparation for support for
Cortex A53. Use a57_a53 to describe the shareable features. Some of
the CP15 registers (such as ACTLR) are specific to implementation, but
we currently just RAZ them so continue with that as the policy for both
A57 and A53
Add a machine model for the Xilinx ZynqMP SoC EP108 board.
Reviewed-by: Alistair Francis alistair.fran...@xilinx.com
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
Reviewed-by: Edgar E. Iglesias edgar.igles...@xilinx.com
Tested-by: Alistair Francis alistair.fran...@xilinx.com
Signed-off-by:
There are 4x Cadence GEMs in ZynqMP. Add them.
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
Tested-by: Alistair Francis alistair.fran...@xilinx.com
Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com
---
changed since v4:
Remove use of ERR_PROP_CHECK_RETURN
hw/arm/xlnx-zynqmp.c
On Mon, May 4, 2015 at 8:16 PM, Edgar E. Iglesias
edgar.igles...@xilinx.com wrote:
On Fri, Apr 24, 2015 at 01:28:42PM -0700, Peter Crosthwaite wrote:
Add the GIC and connect IRQ outputs to the CPUs.
This will not work with device-trees that place the GICC maps at the
top of the 64K (due to
On 6 May 2015 at 22:41, Programmingkid programmingk...@gmail.com wrote:
I did what you did qemu-system-i386 -soundhw pcspk and QEMU froze
on me with this as the last thing printed on the screen: Press Ctrl-B
for the iPXE command line
Hmm. Mine definitely gets further than that -- it goes
Create a new header for Cadence GEM to allow using the device with
modern SoC programming conventions. The state struct needs to be
visible to embed the device in SoC containers.
Reviewed-by: Alistair Francis alistair.fran...@xilinx.com
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
Create a new header for Cadence UART to allow using the device with
modern SoC programming conventions. The state struct needs to be
visible to embed the device in SoC containers.
Reviewed-by: Alistair Francis alistair.fran...@xilinx.com
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
101 - 200 of 362 matches
Mail list logo