On Fri, May 23, 2014 at 12:38 AM, Stefan Hajnoczi wrote:
> On Fri, May 23, 2014 at 12:02:44AM +1000, Peter Crosthwaite wrote:
>> On Thu, May 22, 2014 at 6:22 AM, Stefan Hajnoczi wrote:
>> > +void object_property_add_alias(Object *obj, const char *name,
>> > + Object
On Thu, 05/22 23:30, Max Reitz wrote:
> Add a default common.env in case the one supposed to be emitted by
> configure cannot be found.
>
> Signed-off-by: Max Reitz
Now we can run both from in-tree build and out-of-tree build without this,
which is already very good, but we need this patch to ru
Yet another try with VFIO on SPAPR (server PPC64).
After a previous try, the series was split into few smaller ones,
first one was "spapr_pci: Prepare for VFIO" which prepares spapr_pci.
This one is the second one and prepares vfio. Third one will be posted
after series 1 and 2 meet in some extern
From: David Gibson
At the moment, most AddressSpace objects last as long as the guest system
in practice, but that could well change in future. In addition, for VFIO
we will be introducing some private per-AdressSpace information, which must
be disposed of before the AddressSpace itself is destr
This adds macro to extend signed 64bit value to signed 128bit value.
Signed-off-by: Alexey Kardashevskiy
Reviewed-by: Paolo Bonzini
---
Changes:
v2:
* (.hi = (a >> 63) ? -1 : 0) changed to (.hi = (a < 0) ? -1 : 0)
---
include/qemu/int128.h | 5 +
1 file changed, 5 insertions(+)
diff --git
From: David Gibson
So far, VFIO has a notion of different logical DMA address spaces, but
only ever uses one (system memory). This patch extends this, creating
new VFIOAddressSpace objects as necessary, according to the AddressSpace
reported by the PCI subsystem for this device's DMAs.
This isn
Upcoming VFIO on SPAPR PPC64 support will initialize the IOMMU
memory region with UINT64_MAX (2^64 bytes) size so int128_get64()
will assert.
The patch takes care of this check. The existing type1 IOMMU code
is not expected to map all 64 bits of RAM so the patch does not
touch that part.
Signed-o
This reworks vfio_connect_container() and vfio_get_group() to have
common exit path at the end of the function bodies.
Signed-off-by: Alexey Kardashevskiy
---
hw/misc/vfio.c | 60 --
1 file changed, 33 insertions(+), 27 deletions(-)
diff -
From: David Gibson
This patch uses the new IOMMU notifiers to allow VFIO pass through devices
to work with guest side IOMMUs, as long as the host-side VFIO iommu has
sufficient capability and granularity to match the guest side. This works
by tracking all map and unmap operations on the guest IOM
From: David Gibson
The only model so far supported for VFIO passthrough devices is the model
usually used on x86, where all of the guest's RAM is mapped into the
(host) IOMMU and there is no IOMMU visible in the guest.
This patch begins to relax this model, introducing the notion of a
VFIOAddres
Calling dma_bdrv_unmap() twice is not necessary and may cause
potential problems if some code changes.
Signed-off-by: Jules Wang
---
dma-helpers.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dma-helpers.c b/dma-helpers.c
index 5f421e9..53cbe92 100644
--- a/dma-helpe
On Thu, 05/22 23:30, Max Reitz wrote:
> Test 065 specified python2 to be used in its Shebang; this might not
> work on systems without a python2 symlink and furthermore it is now
> counter-productive, as the check script compares the Shebang to
> "#!/usr/bin/env python" and only uses the Python int
On Thu, 05/22 23:30, Max Reitz wrote:
> Source common.env in the iotests' check script. If the one supposed to
> be created by configure cannot be found, use common.env.default from the
> source tree.
>
> Signed-off-by: Max Reitz
> ---
> tests/qemu-iotests/check | 16
> 1 file c
On Thu, 05/22 23:30, Max Reitz wrote:
> Instead of invoking Python scripts directly via ./, use $PYTHON to
> obtain the correct Python interpreter command.
>
> Signed-off-by: Max Reitz
> ---
> tests/qemu-iotests/031 | 8
> tests/qemu-iotests/036 | 6 +++---
> tests/qemu-iotests/03
On Thu, May 22, 2014 at 01:33:14PM -0600, Eric Blake wrote:
> [Adding qemu]
>
> On 05/22/2014 05:07 AM, Laine Stump wrote:
> > commit e31b5cf393857 attempted to fix libvirt's
> > VIR_DOMAIN_EVENT_ID_RTC_CHANGE, which is documentated to always
>
> s/documentated/documented/
>
> > provide the new
On Thu, 05/22 23:30, Max Reitz wrote:
> In order to allow out-of-tree iotests, create a symlink for the check
> script in the build tree.
>
> While doing so, also write configured options relevant to the iotests to
> common.env in the build tree; currently, this is the command to invoke
> Python 2
On Thu, 05/22 23:30, Max Reitz wrote:
> As out-of-tree builds are preferred for qemu, running the qemu-iotests
> in that out-of-tree build should be supported as well. To do so, a
> symbolic link has to be created pointing to the check script in the
> source directory. That script will check whethe
This is the common but non-trivial steps to assign or change the
backing_hd of BDS.
Signed-off-by: Fam Zheng
Reviewed-by: Stefan Hajnoczi
Reviewed-by: Jeff Cody
---
block.c | 36 +++-
include/block/block.h | 1 +
2 files changed, 24 insertions(+),
BlockDriverState.op_blockers is an array of lists with BLOCK_OP_TYPE_MAX
elements. Each list is a list of blockers of an operation type
(BlockOpType), that marks this BDS as currently blocked for a certain
type of operation with reason errors stored in the list. The rule of
usage is:
* BDS user w
This makes use of op_blocker and blocks all the operations except for
commit target, on each BlockDriverState->backing_hd.
The asserts for op_blocker in bdrv_swap are removed because with this
change, the target of block commit has at least the backing blocker of
its child, so the assertion is not
It makes no sense to check for "any" blocker on bs, we are here only
because of the mechanical conversion from in_use to op_blockers. Remove
it now, and let the callers check specific operation types. Backup and
mirror already have it, add checker to stream and commit.
Signed-off-by: Fam Zheng
Re
This drops BlockDriverState.in_use with op_blockers:
- Call bdrv_op_block_all in place of bdrv_set_in_use(bs, 1).
- Call bdrv_op_unblock_all in place of bdrv_set_in_use(bs, 0).
- Check bdrv_op_is_blocked() in place of bdrv_in_use(bs).
The specific types are used, e.g. in place of star
We need to handle the coming backing_blocker properly, so don't open
code the assignment, instead, call bdrv_set_backing_hd to change
backing_hd.
Signed-off-by: Fam Zheng
---
block.c| 4 ++--
block/stream.c | 4 ++--
block/vvfat.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
This is split from series "[Qemu-devel] [PATCH v20 00/15] Drop in_use from
BlockDriverState and enable point-in-time snapshot exporting over NBD", with a
new patch 06 to avoid backing_blocker assertion violation.
Thanks,
Fam
Fam Zheng (7):
block: Add BlockOpType enum
block: Introduce op_block
This adds the enum of all the operations that can be taken on a block
device.
Signed-off-by: Fam Zheng
Reviewed-by: Benoit Canet
Reviewed-by: Jeff Cody
Reviewed-by: Stefan Hajnoczi
---
include/block/block.h | 19 +++
1 file changed, 19 insertions(+)
diff --git a/include/block
From: Rob Herring
Add tracking of cpu power state in order to support powering off of
cores in system emulation. The initial state is determined by the
start-powered-off QOM property.
Signed-off-by: Rob Herring
---
v2:
- Add vmstate for powered_off
target-arm/cpu-qom.h | 2 ++
target-arm/cpu.
PowerISA defines a compatibility mode for server POWERPC CPUs which
is supported by the PCR special register which is hypervisor privileged.
To support this mode for guests, SPAPR defines a set of virtual PVRs,
one per PowerISA spec version. When a hypervisor needs a guest to work in
a compatibilit
From: Rob Herring
Add the infrastructure to handle and emulate hvc and smc exceptions.
This will enable emulation of things such as PSCI calls. This commit
does not change the behavior and will exit with unknown exception.
Signed-off-by: Rob Herring
---
v2:
- add syn_aa32_smc
- add missing synd
Because block-iscsi.so needs bitmap_set.
Signed-off-by: Fam Zheng
---
rules.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rules.mak b/rules.mak
index b12d312..6c675fd 100644
--- a/rules.mak
+++ b/rules.mak
@@ -80,7 +80,7 @@ endif
DSO_CFLAGS := -fPIC -DBUILD_DSO
%$(D
Signed-off-by: Fam Zheng
---
Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile
index d830483..9b691ec 100644
--- a/Makefile
+++ b/Makefile
@@ -203,6 +203,7 @@ Makefile: $(version-obj-y) $(version-lobj-y)
libqemustub.a: $(stub-obj-y)
libqemuutil.a: $(util-obj-y)
Signed-off-by: Fam Zheng
---
.travis.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 04da973..972c49a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -79,3 +79,6 @@ matrix:
EXTRA_PKGS="liblttng-ust-dev liburcu-dev"
EXTRA_CONFIG="--ena
Don't include individual objects, just link to archives.
Signed-off-by: Fam Zheng
---
libcacard/Makefile | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/libcacard/Makefile b/libcacard/Makefile
index 881b222..abb6eea 100644
--- a/libcacard/Makefile
+++ b/libcacard/Mak
We get:
$ qemu-img
Failed to open module: /home/fam/build/master/block-iscsi.so: undefined
symbol: bitmap_set
qemu-img: Not enough arguments
Try 'qemu-img --help' for more information
Because since commit b03c38 (block/iscsi: speed up read for unallocated
sectors), block/iscsi.c
From: Rob Herring
Add support for handling PSCI calls in system emulation. Both version
0.1 and 0.2 of the PSCI spec are supported. Platforms can enable support
by setting "psci-method" QOM property on the cpus to SMC or HVC
emulation and having PSCI binding in their dtb.
Signed-off-by: Rob Herr
> Hmm, I think we need the two flags. Although it is little hard to do it.
> Because the vm can't
> do something like hotplug vcpu or device during migrate. But for now qemu
> don't guarantee it(in my reading).
> So we should change the vm state RUN_STATE_RUNNING to RUN_STATE_MIGRATE when
> mig
On Tue, 05/13 21:24, Fam Zheng wrote:
> The macro unnest-vars is the most important, complicated but hard to
> track magic in QEMU's build system.
>
> Rewrite it in a (hopefully) clearer way, with more comments, to make it
> easier to understand and maintain.
>
> Remove DSO_CFLAGS and module-objs
From: Rob Herring
Enable PSCI emulation on highbank and midway platforms.
Note that this requires fixing the PSCI function IDs in the DTB to match
what QEMU is using. This should get fixed.
Signed-off-by: Rob Herring
---
v2:
- Add error_abort on setting of start-powered-off.
hw/arm/highbank
From: Rob Herring
Now that we have PSCI emulation, enable it for the virt platform.
This simplifies the virt machine a bit now that PSCI and SMP no longer
need to be KVM only features.
Signed-off-by: Rob Herring
---
v2:
- Rebased. Mostly a whitespace change removing the kvm_enabled() check.
h
From: Rob Herring
In preparation to add system mode only calls to
aarch64_cpu_do_interrupt, compile it for system mode only and don't set
the do_interrupt callback for user mode emulation. User mode emulation
should never get interrupts and thus should not have a exception handler
function. Do th
From: Rob Herring
This series adds support for emulating ARM PSCI calls. PSCI or Power
State Coordination Interface is an ARM standard for controlling cpu
power states. This series supports both AArch32 and AArch64 using HVC or
SMC calls.
This is based on version 6 of Pranavkumar Sawargaonkar's
In PPC code we usually use the "cs" name for a CPUState* variables
and "cpu" for PowerPCCPU. So let's change spapr_fixup_cpu_dt() to
use same rules as spapr_create_fdt_skel() does.
This adds missing nodes creation if they do not already exist in
the current device tree, this is going to be used fr
This adds basic support for the "compat" CPU option. By specifying
the compat property, the user can manually switch guest CPU mode from
"raw" to "architected".
This defines feature disable bits which are not used yet as, for example,
PowerISA 2.07 says if 2.06 mode is selected, the TM bit does no
The host kernel implements a KVM_REG_PPC_ARCH_COMPAT register which
this uses to enable a compatibility mode if any chosen.
This sets the KVM_REG_PPC_ARCH_COMPAT register in KVM. ppc_set_compat()
signals the caller if the mode cannot be enabled by the host kernel.
Signed-off-by: Alexey Kardashevs
The upcoming support of the "ibm,client-architecture-support"
reconfiguration call will be able to change dynamically the number
of threads per core (SMT mode). From the device tree prospective
this does not change the number of CPU nodes (as it is one node per
a CPU core) but affects content and s
Modern Linux kernels support last POWERPC CPUs so when a kernel boots,
in most cases it can find a matching cpu_spec in the kernel's cpu_specs
list. However if the kernel is quite old, it may be missing a definition
of the actual CPU. To provide an ability for old kernels to work on modern
hardware
This puts a limit to the number of threads per core based on the current
compatibility mode. Although PowerISA specs do not specify the maximum
threads per core number, the linux guest still expects that
PowerISA2.05-compatible CPU supports only 2 threads per core as this
is what POWER6 (2.05 compl
This enables a ibm,client-architecture-support RTAS call.
This allows older distros (such as SLES11 or RHEL6) to work on modern
POWERPC hardware (such as POWER8) in "architected" mode.
Changelog for v3 is in "spapr: Implement processor compatibility in
ibm,client-architecture-support"
and that i
This introduces PCR mask for supported compatibility modes.
This will be used later by the ibm,client-architecture-support call.
Signed-off-by: Alexey Kardashevskiy
---
target-ppc/cpu-qom.h| 1 +
target-ppc/translate_init.c | 3 +++
2 files changed, 4 insertions(+)
diff --git a/target-p
The PAPR+ specification defines a ibm,client-architecture-support (CAS)
RTAS call which purpose is to provide a negotiation mechanism for
the guest and the hypervisor to work out the best compatibility parameters.
During the negotiation process, the guest provides an array of various
options and ca
Michael,
On Mon, May 19, 2014 at 10:44:48PM +0300, Michael S. Tsirkin wrote:
> One question: we don't seem to have unit-test for this
> interface in qemu, do we?
> I would like to see at least a basic test along the lines of
> tests/acpi-test.c: run bios to load tables from QEMU,
> then do some ba
> -Original Message-
> From: Igor Mammedov [mailto:imamm...@redhat.com]
> Sent: Thursday, May 22, 2014 10:20 PM
> To: Michael S. Tsirkin
> Cc: Chen, Tiejun; peter.mayd...@linaro.org; xen-de...@lists.xensource.com;
> Daniel P. Berrange; stefano.stabell...@eu.citrix.com; Kay, Allen M;
> kelly
> -Original Message-
> From: Gerd Hoffmann [mailto:kra...@redhat.com]
> Sent: Thursday, May 22, 2014 7:22 PM
> To: Chen, Tiejun
> Cc: Anthony PERARD; Daniel P. Berrange; peter.mayd...@linaro.org;
> xen-de...@lists.xensource.com; m...@redhat.com;
> stefano.stabell...@eu.citrix.com; Kay, Alle
From: "Edgar E. Iglesias"
Reviewed-by: Peter Crosthwaite
Signed-off-by: Edgar E. Iglesias
---
target-arm/cpu.h| 2 +-
target-arm/helper.c | 21 +
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/target-arm/cpu.h b/target-arm/cpu.h
index b14fac5..3ccbd95 1
From: "Edgar E. Iglesias"
Reviewed-by: Peter Crosthwaite
Signed-off-by: Edgar E. Iglesias
---
target-arm/cpu.h| 2 +-
target-arm/helper.c | 5 +
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/target-arm/cpu.h b/target-arm/cpu.h
index 3ccbd95..8d04385 100644
--- a/target-
From: "Edgar E. Iglesias"
Reviewed-by: Peter Crosthwaite
Signed-off-by: Edgar E. Iglesias
---
target-arm/helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target-arm/helper.c b/target-arm/helper.c
index cb7c964a..5a2073e 100644
--- a/target-arm/helper.c
+++ b/target-
From: "Edgar E. Iglesias"
Reviewed-by: Peter Crosthwaite
Signed-off-by: Edgar E. Iglesias
---
target-arm/internals.h | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/target-arm/internals.h b/target-arm/internals.h
index c9897c2..564b5fa 100644
--- a/target-arm/in
From: "Edgar E. Iglesias"
Adds support for ERET to and from AArch64 EL2 and 3.
Signed-off-by: Edgar E. Iglesias
---
target-arm/op_helper.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/target-arm/op_helper.c b/target-arm/op_helper.c
index e95a7f4..50a4157 1006
From: "Edgar E. Iglesias"
Suggested-by: Peter Maydell
Signed-off-by: Edgar E. Iglesias
---
target-arm/translate-a64.c | 4
1 file changed, 4 insertions(+)
diff --git a/target-arm/translate-a64.c b/target-arm/translate-a64.c
index bfd139a..ec6a39d 100644
--- a/target-arm/translate-a64.c
+
From: "Edgar E. Iglesias"
Reviewed-by: Peter Crosthwaite
Signed-off-by: Edgar E. Iglesias
---
target-arm/op_helper.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/target-arm/op_helper.c b/target-arm/op_helper.c
index c2b4bf0..e95a7f4 100644
--- a/target-arm/op_hel
From: "Edgar E. Iglesias"
Reviewed-by: Peter Crosthwaite
Signed-off-by: Edgar E. Iglesias
---
target-arm/helper.c | 16
1 file changed, 16 insertions(+)
diff --git a/target-arm/helper.c b/target-arm/helper.c
index 81de010..cb7c964a 100644
--- a/target-arm/helper.c
+++ b/targe
From: "Edgar E. Iglesias"
Reviewed-by: Peter Crosthwaite
Signed-off-by: Edgar E. Iglesias
---
target-arm/cpu.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/target-arm/cpu.h b/target-arm/cpu.h
index 5919dfd..75a4ed8 100644
--- a/target-arm/cpu.h
+++ b/target-arm/cpu.h
@@ -633,6 +633,7 @@
From: "Edgar E. Iglesias"
Reviewed-by: Peter Crosthwaite
Signed-off-by: Edgar E. Iglesias
---
target-arm/helper.c | 16
1 file changed, 16 insertions(+)
diff --git a/target-arm/helper.c b/target-arm/helper.c
index 5e2eac3..81de010 100644
--- a/target-arm/helper.c
+++ b/target
From: "Edgar E. Iglesias"
Reviewed-by: Peter Crosthwaite
Signed-off-by: Edgar E. Iglesias
---
target-arm/cpu.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/target-arm/cpu.h b/target-arm/cpu.h
index 75a4ed8..b14fac5 100644
--- a/target-arm/cpu.h
+++ b/target-arm/cpu.h
@@ -634,6 +634,7 @@
From: "Edgar E. Iglesias"
Add aarch64_banked_spsr_index(), used to map an Exception Level
to an index in the banked_spsr array.
Reviewed-by: Peter Crosthwaite
Signed-off-by: Edgar E. Iglesias
---
target-arm/helper-a64.c | 2 +-
target-arm/internals.h | 14 ++
target-arm/op_helpe
From: "Edgar E. Iglesias"
Reviewed-by: Peter Crosthwaite
Signed-off-by: Edgar E. Iglesias
---
target-arm/cpu.h | 4 +++-
target-arm/helper.c| 4
target-arm/machine.c | 6 +++---
target-arm/translate.c | 4 ++--
4 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/ta
From: "Edgar E. Iglesias"
Reviewed-by: Peter Crosthwaite
Signed-off-by: Edgar E. Iglesias
---
target-arm/cpu.h | 2 +-
target-arm/machine.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/target-arm/cpu.h b/target-arm/cpu.h
index 62d85ff..ba1d495 100644
--- a/tar
From: "Edgar E. Iglesias"
Reviewed-by: Peter Crosthwaite
Signed-off-by: Edgar E. Iglesias
---
target-arm/cpu.h | 2 +-
target-arm/machine.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/target-arm/cpu.h b/target-arm/cpu.h
index ba1d495..60414ac 100644
--- a/tar
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
---
target-arm/cpu.h | 8
target-arm/translate.h | 6 +-
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/target-arm/cpu.h b/target-arm/cpu.h
index 11b7a0b..62d85ff 100644
--- a/target-arm/cpu.h
+++ b/ta
From: "Edgar E. Iglesias"
Avoid using IS_USER directly as the MMU-idx to simplify future
changes to the MMU layout.
Reviewed-by: Peter Maydell
Signed-off-by: Edgar E. Iglesias
---
target-arm/translate.c | 220 +
1 file changed, 113 insertions(+)
From: "Edgar E. Iglesias"
So that it can be shared with the AArch32 code.
Signed-off-by: Edgar E. Iglesias
---
target-arm/translate-a64.c | 9 -
target-arm/translate.h | 9 +
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/target-arm/translate-a64.c b/target-
From: "Edgar E. Iglesias"
No functional change.
Preparation for adding EL2 and 3 versions of this reg.
Reviewed-by: Peter Crosthwaite
Signed-off-by: Edgar E. Iglesias
---
target-arm/cpu.h| 2 +-
target-arm/helper-a64.c | 2 +-
target-arm/helper.c | 6 +++---
3 files changed, 5 ins
From: "Edgar E. Iglesias"
No functional change.
Prepares for future addtion of EL2 and 3 versions of this reg.
Reviewed-by: Peter Crosthwaite
Signed-off-by: Edgar E. Iglesias
---
target-arm/cpu.h| 2 +-
target-arm/helper-a64.c | 4 ++--
target-arm/helper.c | 10 +-
3 fil
From: "Edgar E. Iglesias"
No functional change.
Prepares for future additions of the EL2 and 3 versions of this reg.
Reviewed-by: Peter Crosthwaite
Signed-off-by: Edgar E. Iglesias
---
target-arm/cpu.h| 2 +-
target-arm/helper-a64.c | 4 ++--
target-arm/helper.c | 3 ++-
target-ar
From: "Edgar E. Iglesias"
Hi,
I've been doing some work on modeling parts of EL2 and 3 + some of
the system-wide virtualization features for ARMv8. A lot is missing
but I've got a series with enough to for example run KVM A64 guests
on top of EL3 firmware inside emulated QEMU A64 VMs.
I'm workin
On 22.05.14 22:36, Christian Borntraeger wrote:
On 22/05/14 10:53, Paolo Bonzini wrote:
Il 22/05/2014 10:23, Michael Mueller ha scritto:
On Wed, 21 May 2014 15:22:35 +0200
Alexander Graf wrote:
I have seen the slides from Eduardo which he presented during this years
DevConf in Brno and made
I've encountered deadlock in qemu during some stress testing. The test
is making snapshots, committing them and constantly quering for block
job info.
What is the exact command you used for triggering the block-commit? Was
it via direct HMP or QMP, or indirect via libvirt?
Via libvirt.
Were
On 22.05.2014 23:30, Max Reitz wrote:
This series enables qemu-iotests to be run in a build tree outside of
the source tree. It also makes the tests use the command for invoking
the Python interpreter specified through configure instead of always
using "/usr/bin/env python".
v3:
- Patch 1:
Instead of invoking Python scripts directly via ./, use $PYTHON to
obtain the correct Python interpreter command.
Signed-off-by: Max Reitz
---
tests/qemu-iotests/031 | 8
tests/qemu-iotests/036 | 6 +++---
tests/qemu-iotests/039 | 18 +-
tests/qemu-iotests/054
Source common.env in the iotests' check script. If the one supposed to
be created by configure cannot be found, use common.env.default from the
source tree.
Signed-off-by: Max Reitz
---
tests/qemu-iotests/check | 16
1 file changed, 16 insertions(+)
diff --git a/tests/qemu-iote
iotest 083 filters out debug messages from nbd, which are prefixed (and
recognized) by __FILE__. However, the current filter (/^nbd\.c…/) is
valid for in-tree builds only, as out-of-tree builds will have a path
before that filename (e.g. "/tmp/qemu/nbd.c"). Fix this by adding .*
before "nbd\.c".
W
Add a default common.env in case the one supposed to be emitted by
configure cannot be found.
Signed-off-by: Max Reitz
---
tests/qemu-iotests/common.env.default | 6 ++
1 file changed, 6 insertions(+)
create mode 100644 tests/qemu-iotests/common.env.default
diff --git a/tests/qemu-iotests/
Test 065 specified python2 to be used in its Shebang; this might not
work on systems without a python2 symlink and furthermore it is now
counter-productive, as the check script compares the Shebang to
"#!/usr/bin/env python" and only uses the Python interpreter selected by
configure on an exact mat
In order to allow out-of-tree iotests, create a symlink for the check
script in the build tree.
While doing so, also write configured options relevant to the iotests to
common.env in the build tree; currently, this is the command to invoke
Python 2.
Signed-off-by: Max Reitz
---
configure | 12 +
As out-of-tree builds are preferred for qemu, running the qemu-iotests
in that out-of-tree build should be supported as well. To do so, a
symbolic link has to be created pointing to the check script in the
source directory. That script will check whether it has been run through
a symlink, and if so
This series enables qemu-iotests to be run in a build tree outside of
the source tree. It also makes the tests use the command for invoking
the Python interpreter specified through configure instead of always
using "/usr/bin/env python".
v3:
- Patch 1:
- assume in-tree build when run from the
On 05/22/2014 02:49 PM, Marcin Gibuła wrote:
> Hi,
>
> I've encountered deadlock in qemu during some stress testing. The test
> is making snapshots, committing them and constantly quering for block
> job info.
What is the exact command you used for triggering the block-commit? Was
it via direct
On Thu, May 22, 2014 at 02:56:22PM +, Aggeler Fabian wrote:
>
> On 22 May 2014, at 09:33, Edgar E. Iglesias wrote:
>
> > On Tue, May 13, 2014 at 06:16:01PM +0200, Fabian Aggeler wrote:
> >> Add SCTLR_EL3 and introduce new function to access correct
> >> instance of SCTLR in different modes/
On Thu, May 22, 2014 at 6:18 AM, Pranavkumar Sawargaonkar
wrote:
> If we have PSCI v0.2 emulation available for KVM ARM/ARM64 or TCG then
> we need to provide PSCI v0.2 compatible string via generated DTB.
>
> Signed-off-by: Pranavkumar Sawargaonkar
> Signed-off-by: Anup Patel
Reviewed-by: Rob
W dniu 2014-05-22 22:49, Marcin Gibuła pisze:
Thread 1 (Thread 0x7f699bfcd900 (LWP 13647)):
#0 0x7f6998020286 in ppoll () from /lib64/libc.so.6
#1 0x7f699c1f3d9b in ppoll (__ss=0x0, __timeout=0x0,
__nfds=, __fds=) at
/usr/include/bits/poll2.h:77
#2 qemu_poll_ns (fds=, nfds=,
timeout=)
On 22.05.2014 08:45, Fam Zheng wrote:
On Tue, 05/20 22:23, Max Reitz wrote:
As out-of-tree builds are preferred for qemu, running the qemu-iotests
in that out-of-tree build should be supported as well. To do so, a
symbolic link has to be created pointing to the check script in the
source directo
Hi,
I've encountered deadlock in qemu during some stress testing. The test
is making snapshots, committing them and constantly quering for block
job info.
The version of QEMU is 2.0.0 rc3 (backtrace below says rc2, but it's
manualy patched to rc3), but there seems to be no changes in block l
On 22/05/14 10:53, Paolo Bonzini wrote:
> Il 22/05/2014 10:23, Michael Mueller ha scritto:
>> On Wed, 21 May 2014 15:22:35 +0200
>> Alexander Graf wrote:
>>
>> I have seen the slides from Eduardo which he presented during this years
>> DevConf in Brno and made my comments according the s390x imple
[Adding qemu]
On 05/22/2014 05:07 AM, Laine Stump wrote:
> commit e31b5cf393857 attempted to fix libvirt's
> VIR_DOMAIN_EVENT_ID_RTC_CHANGE, which is documentated to always
s/documentated/documented/
> provide the new offset of the domain's real time clock from UTC. The
> problem was that, in th
On 21 May 2014 11:45, Gerd Hoffmann wrote:
> Hi,
>
> $subject says all. Final chardev pieces (and one socket).
>
> please pull,
> Gerd
>
> The following changes since commit c5fa6c86d0765f837515d1c10654c621724a77e0:
>
> Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into stag
On 21 May 2014 09:50, Gerd Hoffmann wrote:
> Hi,
>
> $sibject says all.
>
> please pull,
> Gerd
>
> The following changes since commit c5fa6c86d0765f837515d1c10654c621724a77e0:
>
> Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging
> (2014-05-19 14:10:01 +0100)
>
> a
On 05/22/2014 05:57 PM, Markus Armbruster wrote:
> Makes Coverity happy with libcacard/ (for now).
>
> Markus Armbruster (7):
> libcacard/vscclient: Bury some dead code
> libcacard: Plug memory leaks around vreader_get_reader_list()
> libcacard/vreader: Drop broken recovery from failed asser
On Wed, May 21, 2014 at 10:37:50PM +0800, Fam Zheng wrote:
> On Wed, 05/21 10:24, Jeff Cody wrote:
> > On Wed, May 21, 2014 at 04:03:03PM +0200, Stefan Hajnoczi wrote:
> > > On Tue, May 20, 2014 at 02:04:31PM +0800, Fam Zheng wrote:
> > > > diff --git a/block/mirror.c b/block/mirror.c
> > > > index
On 05/22/2014 03:42 AM, Stefan Hajnoczi wrote:
> Normally one would expect that qcow2 image file lengths are multiples of
> the cluster size. This is not true in all cases and the spec should
> document this so implementers remember to accept such files.
>
> $ qemu-img create -f qcow2 foo.qcow2 2
On 05/22/2014 06:41 AM, Amos Kong wrote:
> We always generate a space between type and identifier in parameter
> and variable declarations, even when idiomatic C style doesn't have
> a space there. Suppress it.
>
> Signed-off-by: Amos Kong
> ---
> scripts/qapi-commands.py | 2 +-
> scripts/qap
For this case and for the iscsi case, isn't it likely that once this
happens the guest is pretty much doomed since I/O to the disk will no
longer work ?
Should we also change the block layer so that IF *_readv/_writev fails
with -ENOMEM
then it should try again but break the request up into a chai
1 - 100 of 281 matches
Mail list logo