I decided to make this small patchset in order to try to push some of my
changes before 2.4 is out. Idea of first patch of this set came during
vGICv3 implementation. In order to be able to upstream it earlier i decided
to make it doing something useful and refactored GICv2 code.
This patchset con
Extracted duplicated initialization code from SW-emulated and KVM GIC
implementations and put into gic_init_irqs_and_mmio()
Signed-off-by: Pavel Fedin
---
hw/intc/arm_gic.c| 64
hw/intc/arm_gic_common.c | 41 +++
Just speficying ops = NULL in some cases can be more convenient than having
two functions.
Signed-off-by: Pavel Fedin
Acked-by: Paolo Bonzini
Reviewed-by: Peter Maydell
---
include/exec/memory.h | 14 +++---
memory.c | 10 +-
2 files changed, 12 insertions(+), 12 d
This small inline returns correct GIC class name depending on whether we
use KVM acceleration or not. Avoids duplicating the condition everywhere.
Signed-off-by: Pavel Fedin
Reviewed-by: Peter Maydell
---
hw/arm/virt.c| 7 +++
hw/cpu/a15mpcore.c | 8 ++--
target-arm/kvm_arm.h
On (Tue) 04 Aug 2015 [16:56:26], Stefan Hajnoczi wrote:
> On Tue, Aug 4, 2015 at 4:40 PM, Peter Maydell
> wrote:
> > * Can we as a project do more to advertise the features
> >and improvements we make?
>
> The QEMU Google+ page can do Hangouts On Air video streaming.
> Community members can
Hi Dave,
On 2015/6/16 18:26, Dr. David Alan Gilbert (git) wrote:
From: "Dr. David Alan Gilbert"
Open a return path, and handle messages that are received upon it.
Signed-off-by: Dr. David Alan Gilbert
---
include/migration/migration.h | 8 ++
migration/migration.c | 177
On 05/08/2015 01:23, ronnie sahlberg wrote:
>
> You only get >0 from this call if there are actual bytes available to read.
>
> For context, the problem was that
>
>
> 75 static void nfs_process_read(void *arg)
> 76 {
> 77 NFSClient *client = arg;
> 78 nfs_service(client->con
Since I'm going to disappear for vacation and not sure how to fix it right away,
I'm reporting issue here for those who knows virtio internals.
QEMU aborts during guest reboot with following backtrace:
Breakpoint 1, virtqueue_map_sg (sg=0x57cbc6c0, addr=0x57cb86c0,
num_sg=0x12, is_write=
Public bug reported:
Ubuntu Server 15.04 Gnome
Qemu sources from master git://git.qemu-project.org/qemu.git 2.4.0-rc3 SHA
2be4f242
Built with:
make distclean
./configure --target-list=x86_64-softmmu \
--cpu=x86_64 \
--enable-virtfs \
--enable-kvm \
> Move the run-time check to bdrv_quorum_init() to avoid registering the
> quorum block driver if we know it cannot work. This way API consumers
> can recognise it's unavailable.
>
> Fixes: 488981a4af396551a3178d032cc2b41d9553ada2
> Signed-off-by: Sascha Silbe
Reviewed-by: Alberto Garcia
Berto
On Tue, Aug 04, 2015 at 04:48:25PM +0200, Sascha Silbe wrote:
> Commit 488981a4 [block: convert quorum blockdrv to use crypto APIs]
> broke qemu-iotest 041 on hosts with GnuTLS < 2.10.0. It converted a
> compile-time check to a run-time check at device open time. The result
> is that we now adverti
Luiz Capitulino writes:
> On Thu, 23 Jul 2015 09:36:38 +0200
> Markus Armbruster wrote:
>
>> John Snow writes:
>>
>> > On 07/02/2015 11:31 AM, Luiz Capitulino wrote:
>> >> On Wed, 1 Jul 2015 14:25:49 -0400
>> >> John Snow wrote:
>> >>
>> >>> I should probably document the changes that were
1.0 does not requires physically-contiguous pages layout for a
virtqueue. So we could not infer avail and used from desc. This means
we need to migrate vring.avail and vring.used when host support virtio
1.0. This fixes malfunction of virtio 1.0 device after migration.
Cc: Michael S. Tsirkin
Cc:
On 04/08/2015 18:21, Victor Kaplansky wrote:
> Rebuilding QEMU after switching versions from git can cause make failure
> if IASL is enabled. This is caused by including stale *.d info from
> previous build.
>
> To prevent this in the future we generate dependency info for generated
> ACPI sourc
On Fri, Jul 31, 2015 at 07:58:45PM +0200, Stefan Weil wrote:
> Am 31.07.2015 um 14:49 schrieb Paolo Bonzini:
> >On 31/07/2015 12:17, Daniel P. Berrange wrote:
> >> CCutil/osdep.o
> >>In file included from include/qemu-common.h:48:0,
> >> from util/osdep.c:48:
> >>include/syse
Ting Wang writes:
> Make "info iothreads" available on the HMP monitor.
>
> For example, the results are as follows when executing qemu
> command with "-object iothread,id=iothread-1 -object
> iothread,id=iothread-2".
> (qemu) info iothreads
> iothread-1: thread_id=123
> iothread-2: thread_id=45
Hi,
My host os is CentOS6, to avoid being affected by the unstable Transparent
Hugepage feature, I started to pre-allocate memory for qemu by using the kernel
native hugepage.
What I’m asking here is, if the guest set huge page inside itself as well (very
large guest, 32 core 128G for instance
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
> Implement colo nic device interface configure()
> add a script to configure nic devices:
> ${QEMU_SCRIPT_DIR}/colo-proxy-script.sh
>
> Cc: Stefan Hajnoczi
> Cc: Jason Wang
> Signed-off-by: zhanghailiang
> Signed-off-by: Li Zhijian
> ---
Am 05.08.2015 um 11:52 schrieb Daniel P. Berrange:
On Fri, Jul 31, 2015 at 07:58:45PM +0200, Stefan Weil wrote:
Am 31.07.2015 um 14:49 schrieb Paolo Bonzini:
On 31/07/2015 12:17, Daniel P. Berrange wrote:
CCutil/osdep.o
In file included from include/qemu-common.h:48:0,
On 28 July 2015 at 19:03, Aurelien Jarno wrote:
> On 2015-07-28 19:22, Stefan Weil wrote:
>> are there QEMU developers at the Debian Conference 2015 in Heidelberg
>> (Germany)
>> (http://debconf15.debconf.org/)? I'll be there for one or two days.
>
> I'll be there for the whole Debcamp and Debconf
On 4 August 2015 at 22:21, Julio Faracco wrote:
> Hi guys.
>
> I'm trying to run the QEMU tests for i386 and x86_64 architectures but
> they are returning some errors.
> I'm using the most update version from git tree and my system is Ubuntu 14.04.
> Take a look at this segfault errors.
>
> $ make
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
> This is the 8th version of COLO.
>
> Here is only COLO frame part, include: VM checkpoint,
> failover, proxy API, block replication API, not include block replication.
> The block part is treated as a separate series.
>
> As usual, we prov
On 07/31/2015 07:38 PM, Marcel Apfelbaum wrote:
The backend is interested in negotiating only several
virtio bits, remove the others.
Signed-off-by: Marcel Apfelbaum
---
hw/net/vhost_net.c | 22 --
1 file changed, 22 deletions(-)
diff --git a/hw/net/vhost_net.c b/hw/net/
On 2015-08-05 12:08, Peter Maydell wrote:
> On 28 July 2015 at 19:03, Aurelien Jarno wrote:
> > On 2015-07-28 19:22, Stefan Weil wrote:
> >> are there QEMU developers at the Debian Conference 2015 in Heidelberg
> >> (Germany)
> >> (http://debconf15.debconf.org/)? I'll be there for one or two days.
On Tue, Aug 04, 2015 at 11:22:11AM +0100, Stefan Hajnoczi wrote:
> A bps_max/iops_max value without a corresponding bps/iops does nothing. Avoid
> confusing the user by refusing invalid inputs instead of silently ignoring
> them.
>
> Stefan Hajnoczi (2):
> throttle: refuse bps_max/iops_max with
On 08/05/2015 06:42 PM, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
Implement colo nic device interface configure()
add a script to configure nic devices:
${QEMU_SCRIPT_DIR}/colo-proxy-script.sh
Cc: Stefan Hajnoczi
Cc: Jason Wang
Signed-off-by: zhangh
On Tue 07 Jul 2015 10:43:00 AM CEST, Wen Congyang wrote:
> Signed-off-by: Wen Congyang
> Signed-off-by: zhanghailiang
> Signed-off-by: Gonglei
> Cc: Alberto Garcia
Sorry for being so late with this, I was on holidays during July.
> +static void quorum_del_child(BlockDriverState *bs, BlockDriv
* Amit Shah (amit.s...@redhat.com) wrote:
> On (Tue) 16 Jun 2015 [11:26:14], Dr. David Alan Gilbert (git) wrote:
> > From: "Dr. David Alan Gilbert"
> >
> > Signed-off-by: Dr. David Alan Gilbert
>
> Reviewed-by: Amit Shah
>
> A few minor comments:
>
> > ---
> > docs/migration.txt | 167
> >
Hi,
Seeing as the last summary was useful I thought I'd send out some fresh
notes:
Alex discussed his barrier tests which where posted to the list last
week. There is some behaviour that needs explaining w.r.t to barrier
only approaches which should fail in real hardware but don't. Alvise
prompte
On 05/08/2015 13:03, Stefan Weil wrote:
>
> Fix sigsetjmp for w64
> http://repo.or.cz/w/qemu/ar7.git/commit/8fa9c07c9a33174905e67589bea6be3e278712cb
Does this work too?
diff --git a/cpu-exec.c b/cpu-exec.c
index 75694f3..d882b89 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -17,6 +17,7 @@
* Li
On Tue, Aug 4, 2015 at 7:50 PM, Marc-André Lureau
wrote:
> Hi Thibaut
>
> On Mon, Aug 3, 2015 at 11:22 AM, Thibaut Collet
> wrote:
>> Some vhost user backends are able to support live migration.
>> To provide this service the following features must be added:
>> 1. Add the VIRTIO_NET_F_GUEST_ANNO
Public bug reported:
On recent qemu versions (tested on locally built versions 2.3.50 and 2.3.93)
the command below causes qemu to hang before the u-boot command prompt is
reached.
However in an older version (2.2.1) the u-boot bootprompt is reached and can be
typed into,
so apparenly something
On Wed, Aug 05, 2015 at 05:50:07PM +0800, Jason Wang wrote:
> 1.0 does not requires physically-contiguous pages layout for a
> virtqueue. So we could not infer avail and used from desc. This means
> we need to migrate vring.avail and vring.used when host support virtio
> 1.0. This fixes malfunction
On Wed, Aug 05, 2015 at 11:50:54AM +0200, Paolo Bonzini wrote:
>
>
> On 04/08/2015 18:21, Victor Kaplansky wrote:
> > Rebuilding QEMU after switching versions from git can cause make failure
> > if IASL is enabled. This is caused by including stale *.d info from
> > previous build.
> >
> > To pr
On 8/4/15 23:04, Richard Henderson wrote:
> On 08/04/2015 06:56 AM, Chen Gang wrote:
>>
>> On 8/4/15 04:47, Chen Gang wrote:
>>> On 8/4/15 00:40, Richard Henderson wrote:
On 08/01/2015 02:47 AM, Chen Gang wrote:
> I am just adding floating point instructions (e.g. fsingle_add1),
> but
On 08/04/2015 11:29 PM, Markus Armbruster wrote:
> Eric Blake writes:
>
>> On 08/04/2015 03:18 AM, Markus Armbruster wrote:
>>> Reproducer: with
>>>
>>> { 'command': 'user_def_cmd4', 'returns': { 'a': 'int' } }
>>>
>>> added to qapi-schema-test.json, qapi-commands.py dies when it tries to
>>>
On 08/05/2015 12:23 AM, Markus Armbruster wrote:
> Eric Blake writes:
>
>> On 08/04/2015 09:57 AM, Markus Armbruster wrote:
>>> The QAPI code generators work with a syntax tree (nested dictionaries)
>>> plus a few symbol tables (also dictionaries) on the side.
>>>
>>> +class QAPISchemaArrayType(
On 4 August 2015 at 15:48, Sascha Silbe wrote:
> Commit 488981a4 [block: convert quorum blockdrv to use crypto APIs]
> broke qemu-iotest 041 on hosts with GnuTLS < 2.10.0. It converted a
> compile-time check to a run-time check at device open time. The result
> is that we now advertise a feature (
On 5 August 2015 at 14:58, Michael S. Tsirkin wrote:
> On Wed, Aug 05, 2015 at 05:50:07PM +0800, Jason Wang wrote:
>> 1.0 does not requires physically-contiguous pages layout for a
>> virtqueue. So we could not infer avail and used from desc. This means
>> we need to migrate vring.avail and vring.
We tried with 2MB hugepages, and it works fine..
Ivano
Il 04/08/2015 16:21, Marc-André Lureau ha scritto:
Hi
On Tue, Aug 4, 2015 at 4:14 PM, Ivano Cerrato wrote:
even with 1G hugepages, we are not able to hotplug an ivshmem device. The
outputs we get are the following:
It's not about t
Add info on usb sound card to qemu documentation.
Note: please update the documentation here:
http://qemu.weilnetz.de/qemu-doc.html
Signed-off-by: John Arbuckle
---
qemu-doc.texi |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/qemu-doc.texi b/qemu-doc.texi
index
The following changes since commit 2be4f242b50a84bf360df02480b173bfed161107:
Merge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into
staging (2015-08-04 16:51:24 +0100)
are available in the git repository at:
git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_ups
From: Jason Wang
1.0 does not requires physically-contiguous pages layout for a
virtqueue. So we could not infer avail and used from desc. This means
we need to migrate vring.avail and vring.used when host support virtio
1.0. This fixes malfunction of virtio 1.0 device after migration.
Cc: Micha
Thank you Alex!
Ciao
Claudio
-Original Message-
From: Alex Bennée [mailto:alex.ben...@linaro.org]
Sent: Mittwoch, 5. August 2015 14:25
To: mt...@listserver.greensocs.com; Alvise Rigo; pbonz...@redhat.com; Frederic
Konrad; Jan Kiszka
Cc: Claudio Fontana; Mark Burton; qemu-devel@nongnu.o
On 08/04/2015 09:57 AM, Markus Armbruster wrote:
> Fixes flat unions to get the base's base members. Test case is from
> commit 2fc0043, in qapi-schema-test.json:
>
>
> Flat union visitors remain broken. They'll be fixed next.
>
> Signed-off-by: Markus Armbruster
> ---
> docs/qapi-code-gen.
Hi Kevin & Juan,
I found the function bdrv_invalidate_cache_all() in the
process_incoming_migration_co() takes more the 10ms when doing live migration
with shared storage, which prolong the service down time.
The bdrv_invalidate_cache_all() is needed when doing the live migration with
'-b' opt
Am 05.08.2015 um 14:49 schrieb Paolo Bonzini:
On 05/08/2015 13:03, Stefan Weil wrote:
Fix sigsetjmp for w64
http://repo.or.cz/w/qemu/ar7.git/commit/8fa9c07c9a33174905e67589bea6be3e278712cb
Does this work too?
diff --git a/cpu-exec.c b/cpu-exec.c
index 75694f3..d882b89 100644
--- a/cpu-exec.c
+
Thanks for your clarification, Peter.
Julio Cesar Faracco
On 08/04/2015 09:57 AM, Markus Armbruster wrote:
> Fixes flat unions to visit the base's base members (the previous
> commit merely added them to the struct). Same test case.
>
> Patch's effect on visit_type_UserDefFlatUnion():
>
> static void visit_type_UserDefFlatUnion_fields(Visitor *m,
On 5 August 2015 at 15:59, Michael S. Tsirkin wrote:
> The following changes since commit 2be4f242b50a84bf360df02480b173bfed161107:
>
> Merge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into
> staging (2015-08-04 16:51:24 +0100)
>
> are available in the git repository at:
>
On 08/04/2015 09:58 AM, Markus Armbruster wrote:
> Generate just 'FOO' instead of 'struct FOO' when possible.
>
> Drop helper functions that are now unused.
>
> Make pylint reasonably happy.
>
> Rename generate_FOO() functions to gen_FOO() for consistency.
>
> Use more consistent and sensible v
This should speed up basic block detection since these were previously
being checked for on each basic block / instruction.
Written by Aaron Lindsay.
Signed-off-by: Christopher Covington
---
target-arm/cpu.h | 13 +
target-arm/helper-a64.c| 2 +-
target-arm/helper.c
The previous code checked for the mode change before the new mode was
written to env->uncached_cpsr, which unfortunately made the bbvec output
look reasonable for small tests.
Written by Aaron Lindsay.
Signed-off-by: Christopher Covington
---
target-arm/helper.c | 6 +++---
1 file changed, 3 in
This reserves one PPI (private peripheral interrupt) for the PMU and
creates a corresponding entry in the device tree.
Writteb by Aaron Lindsay.
Signed-off-by: Christopher Covington
---
hw/arm/virt.c| 21 +
target-arm/cpu-qom.h | 4 ++--
target-arm/cpu.c | 8 ++
> On 05 Aug 2015, at 14:03, Stefan Weil wrote:
>
> Fix sigsetjmp for w64
> http://repo.or.cz/w/qemu/ar7.git/commit/8fa9c07c9a33174905e67589bea6be3e278712cb
I tried to apply your patch to my branch and I got:
Running QEMU make install...
CCgnuarmeclipse-softmmu/cpu-exec.o
/Host/Work/qemu
Blocks are split on all branch instructions. Code assumes a translation
block does not end in a branch. When a branch instruction is identified,
gen_store_is_jmp(1) is called to indicate that a split should happen on
this instruction. The exit notifier is used to finalize the block
profiler, ensuri
This is necessary because we need a way to differentiate between
instructions executed in a PID by the benchmark we care about and those
executed by CRIU.
Written by Aaron Lindsay.
Signed-off-by: Christopher Covington
---
bbv_profiler.c | 15 +++
bbv_profiler.h |
Add bbvec detection of thumb2 branch instructions via a stripped-down
version of the thumb2 instruction decoding logic. Unfortunately, this
code still called into disas_neon_ls_insn(), which is apparently not
free from side effects. Therefore, calling into this function twice
(once in the added bbv
On 08/04/2015 09:58 AM, Markus Armbruster wrote:
> Generated qapi-event.[ch] lose line breaks. No change otherwise.
>
> Signed-off-by: Markus Armbruster ---
> scripts/qapi-commands.py | 11 ++- scripts/qapi-event.py|
> 18 +++--- scripts/qapi.py | 16 +
On 05/08/2015 18:51, Liviu Ionescu wrote:
>
>> On 05 Aug 2015, at 14:03, Stefan Weil wrote:
>>
>> Fix sigsetjmp for w64
>> http://repo.or.cz/w/qemu/ar7.git/commit/8fa9c07c9a33174905e67589bea6be3e278712cb
>
>
> I tried to apply your patch to my branch and I got:
>
> Running QEMU make install.
Peter Maydell writes:
> On 4 August 2015 at 22:21, Julio Faracco wrote:
>> Hi guys.
>>
>> I'm trying to run the QEMU tests for i386 and x86_64 architectures but
>> they are returning some errors.
>> I'm using the most update version from git tree and my system is Ubuntu
>> 14.04.
>> Take a loo
On 08/04/2015 09:58 AM, Markus Armbruster wrote:
> is_c_ptr() looks whether the end of the C text for the type looks like
> a pointer. Works, but is fragile.
>
> We now have a better tool: use QAPISchemaType method c_null(). The
> initializers for non-pointers become prettier: 0, false or the
>
Hi Anthony,
On 07/28/2015 05:20 PM, Anthony Carno wrote:
> Hi there,
>
> As the subject of my email suggests, is there a way to log the number of
> translated instructions per basic block? I've dug into the debug code a bit
> (specifically /target_disas /and the arch-specific /print_insn_*/) and
On 08/04/2015 09:58 AM, Markus Armbruster wrote:
> 'gen': false needs to stay for now, because netdev_add is still using
> it.
And the next patch will use it too.
>
> Signed-off-by: Markus Armbruster
> ---
> docs/qapi-code-gen.txt| 18 ++
> scripts/qapi.py
On 07/28/15 08:00, Wei Huang wrote:
> SMBIOS tables present userful system hardware info to management
> applications, such as DMI tools. Even though SMBIOS was originally
> developed for Intel x86, it has been extended to both Itanium and
> ARM (32bit & 64bit). More and more ARM server releases,
This is for full-system only; not implemented in user mode
Written by Derek Hower.
Signed-off-by: Christopher Covington
---
include/exec/softmmu-semi.h | 21 ++-
target-arm/arm-semi.c | 142
target-arm/cpu.h| 3 +-
target-arm
Hi,
sometimes the make fails when one switches between commits without running
"make clean".
This is caused by loading old *.d dependency info files and is harmful for
autogenerated sources with their own includes. This situation may
significantly slow down the process of git bisect.
These two
In rules like "bar/%.o: %.c" there is a difference between $(*D) and
$(@D). It is cleaner to generate *.d next to appropriate *.o, because it
allows precise including of dependency info from .d files.
As a hack, we also touch two sources for generated *.hex files. This is
to ensure *.hex rebuild,
This (partially) divorces counting instructions from basic block
collection so instructions can be counted without the bbv plugin being
enabled.
Written by Aaron Lindsay.
Signed-off-by: Christopher Covington
---
include/exec/cpu-defs.h| 2 ++
target-arm/helper.c| 43 +++
The old rules.mak loads dependency .d files using include directive
with file glob pattern "*.d". This breaks the build when build tree has
remanent *.d files from another build.
This patch fixes this by
- loading precise list of .d files made from *.o and *.mo.
- specifying explicit list of r
Signed-off-by: Christopher Covington
---
target-arm/arm-semi.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/target-arm/arm-semi.c b/target-arm/arm-semi.c
index a8b83e6..bcc70ec 100644
--- a/target-arm/arm-semi.c
+++ b/target-arm/arm-semi.c
@@ -186,8 +186,6 @@ static
This is a continuation of previous versions of this series. v2's cover
letter was the most elaborate, which you can find here (includes
benchmarks):
http://lists.nongnu.org/archive/html/qemu-devel/2014-11/msg03430.html
See patch 1 for an explanation of why this series exists and what it
does. Patc
Enter the image header into the metadata list to protect it against
accidental modifications.
Signed-off-by: Max Reitz
Reviewed-by: Eric Blake
---
block/qcow2.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/block/qcow2.c b/block/qcow2.c
index d30d008..9815325 100644
--- a/block/qcow2.c
Create and destroy the metadata list on creation and destruction of a
qcow2 BDS, respectively. Skip creation if no overlap checks should be
performed.
Signed-off-by: Max Reitz
---
block/qcow2.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/block/qcow2.c b/block/qcow2.c
index 9
Pull up the absorption of the qcow2-relevant command line options and
the evaluation of the overlap check options in qcow2_open().
Signed-off-by: Max Reitz
Reviewed-by: Eric Blake
---
block/qcow2.c | 96 +--
1 file changed, 48 insertions(+
Keep track of the active L2 tables in the metadata list to protect them
against accidental modifications.
Signed-off-by: Max Reitz
---
block/qcow2-cluster.c | 2 ++
block/qcow2-refcount.c | 6 ++
block/qcow2-snapshot.c | 21 +
block/qcow2.c | 8 +++-
4 fi
Keep track of the inactive L1 tables in the metadata list to protect
them against accidental modifications.
Signed-off-by: Max Reitz
Reviewed-by: Eric Blake
---
block/qcow2-snapshot.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/block/qcow2-snapshot.c b/block/q
Keep track of the refcount blocks in the metadata list to protect them
against accidental modifications.
Signed-off-by: Max Reitz
Reviewed-by: Eric Blake
---
block/qcow2-refcount.c | 38 +-
1 file changed, 37 insertions(+), 1 deletion(-)
diff --git a/block/q
Keep track of the inactive L2 tables in the metadata list to protect
them against accidental modifications.
Signed-off-by: Max Reitz
---
block/qcow2-refcount.c | 20
block/qcow2-snapshot.c | 43 ---
2 files changed, 60 insertions(+), 3
Keep track of the snapshot table in the metadata list to protect it
against accidental modifications.
Signed-off-by: Max Reitz
Reviewed-by: Eric Blake
---
block/qcow2-snapshot.c | 10 ++
block/qcow2.c | 6 ++
2 files changed, 16 insertions(+)
diff --git a/block/qcow2-snap
On 05/08/2015 19:29, Victor Kaplansky wrote:
> The old rules.mak loads dependency .d files using include directive
> with file glob pattern "*.d". This breaks the build when build tree has
> remanent *.d files from another build.
>
> This patch fixes this by
> - loading precise list of .d file
This patch adds some test cases for the memory limit concerning the
in-memory structures used to detect and prevent accidental metadata
overlaps.
Signed-off-by: Max Reitz
---
tests/qemu-iotests/060 | 222 +
tests/qemu-iotests/060.out | 47
Make the static new overlap check function global and drop the old
function.
Signed-off-by: Max Reitz
---
block/qcow2-overlap.c | 8 +---
block/qcow2-refcount.c | 120 -
2 files changed, 2 insertions(+), 126 deletions(-)
diff --git a/block/qcow
This adds logic to increment PMEVCNTR's based on different event inputs,
implements all remaining CP registers, and triggers an interrupt on
event overflow.
Written by Aaron Lindsay.
Signed-off-by: Christopher Covington
---
target-arm/cpu-qom.h | 2 +
target-arm/cpu.c | 2 +
target-arm/
On 05/08/2015 17:21, Li, Liang Z wrote:
> I found the function bdrv_invalidate_cache_all() in the
> process_incoming_migration_co() takes more the 10ms when doing live
> migration with shared storage, which prolong the service down time.
>
> The bdrv_invalidate_cache_all() is needed when doing t
Expose the two new options for controlling the memory usage of the
overlap check implementation via QAPI.
Signed-off-by: Max Reitz
---
qapi/block-core.json | 31 +++
1 file changed, 31 insertions(+)
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 7b2ef
The icount setting specifies how far to shift the instruction
count as a ratio of ns to tie system time to instruction count.
Allow a negative value (i.e. a right shift instead of a left shift)
to be used.
Written by Pat Galizia.
Signed-off-by: Christopher Covington
---
cpus.c | 17
Fixes https://bugs.launchpad.net/qemu/+bug/1319493/
Signed-off-by: Christopher Covington
---
Makefile | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 93af871..fcc6314 100644
--- a/Makefile
+++ b/Makefile
@@ -408,7 +408,11 @@ ifneq ($(CONFIG_MODU
On 5 August 2015 at 18:16, Laszlo Ersek wrote:
> On 07/28/15 08:00, Wei Huang wrote:
>> SMBIOS tables present userful system hardware info to management
>> applications, such as DMI tools. Even though SMBIOS was originally
>> developed for Intel x86, it has been extended to both Itanium and
>> ARM
Keep track of the active L1 table in the metadata list to protect it
against accidental modifications.
Signed-off-by: Max Reitz
Reviewed-by: Eric Blake
---
block/qcow2-cluster.c | 11 +++
block/qcow2-snapshot.c | 10 ++
block/qcow2.c | 4
3 files changed, 25 inse
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
specified by this patch.
Signed-off-by: Max Reitz
---
docs/qmp/qmp-events.txt | 27 +
Add runtime options to qcow2 to control the size of the structures used
for metadata overlap prevention (one option to control the size of the
bitmap cache, another one to control the total memory size limit).
Signed-off-by: Max Reitz
---
block/qcow2.c | 35 +--
b
On Wed, Aug 05, 2015 at 07:40:00PM +0200, Paolo Bonzini wrote:
>
>
> On 05/08/2015 19:29, Victor Kaplansky wrote:
> > diff --git a/hw/i386/Makefile.objs b/hw/i386/Makefile.objs
> > index bd4f147..311d364 100644
> > --- a/hw/i386/Makefile.objs
> > +++ b/hw/i386/Makefile.objs
> > @@ -10,6 +10,8 @@
This adds an adjustable limit for the total memory usage of the overlap
prevention structures.
Signed-off-by: Max Reitz
---
block/qcow2-overlap.c | 183 +++---
block/qcow2.c | 2 +-
block/qcow2.h | 2 +-
3 files changed, 177 inserti
> - Original Message -
> From: "Michael S. Tsirkin"
> To: "Paolo Bonzini"
> Cc: "Victor Kaplansky" , qemu-devel@nongnu.org, "Richard
> Henderson" , "Eduardo Habkost"
> Sent: Wednesday, August 5, 2015 4:59:56 PM
> Subject: Re: [PATCH] make: explicit dependencies for ACPI gen sources
>
It is not qemu that hangs.
The u-boot.e500 software falls into an eternal loop at the addresses 0x00f1f964
to 0x00f1f94c
due to the registers r9 and r10 (both) being 0x0 in the newer versions and 0x40
in the working 2.2.1 version.
Howerver, those values ought to have originated from the qemu
On Wed, Aug 05, 2015 at 08:29:33PM +0300, Victor Kaplansky wrote:
> The old rules.mak loads dependency .d files using include directive
> with file glob pattern "*.d". This breaks the build when build tree has
> remanent *.d files from another build.
>
> This patch fixes this by
> - loading prec
On 08/05/15 19:35, Peter Maydell wrote:
> On 5 August 2015 at 18:16, Laszlo Ersek wrote:
>> On 07/28/15 08:00, Wei Huang wrote:
>>> SMBIOS tables present userful system hardware info to management
>>> applications, such as DMI tools. Even though SMBIOS was originally
>>> developed for Intel x86, i
Keep track of the refcount table in the metadata list to protect it
against accidental modifications.
Signed-off-by: Max Reitz
Reviewed-by: Eric Blake
---
block/qcow2-refcount.c | 18 ++
block/qcow2.c | 4
2 files changed, 22 insertions(+)
diff --git a/block/qcow
The existing qcow2 metadata overlap detection function used existing
structures to determine the location of the image metadata, from plain
fields such as l1_table_offset and l1_size in the BDRVQcowState, over
image structures in memory such as the L1 table for the L2 tables'
positions, or it even
1 - 100 of 156 matches
Mail list logo