On Fri, Dec 13, 2013 at 03:35:14PM +0800, Fam Zheng wrote:
> +void bdrv_set_backing_hd(BlockDriverState *bs, BlockDriverState *backing_hd)
> +{
> +if (bs->backing_hd) {
> +bdrv_unref(bs->backing_hd);
> +}
> +
> +bs->backing_hd = backing_hd;
> +if (!backing_hd) {
> +r
On Fri, Dec 13, 2013 at 03:35:15PM +0800, Fam Zheng wrote:
> @@ -1476,6 +1486,9 @@ void bdrv_close(BlockDriverState *bs)
>
> if (bs->drv) {
> if (bs->backing_hd) {
> +assert(error_is_set(&bs->backing_blocker));
> +bdrv_op_unblock_all(bs->backing_hd, bs->backi
On Fri, Dec 13, 2013 at 03:35:16PM +0800, Fam Zheng wrote:
> diff --git a/block.c b/block.c
> index b3993d7..fba7148 100644
> --- a/block.c
> +++ b/block.c
> @@ -1191,11 +1191,25 @@ int bdrv_open(BlockDriverState *bs, const char
> *filename, QDict *options,
> /* If there is a backing file, us
Il 02/01/2014 15:45, Andreas Färber ha scritto:
>>> >> v2: Consolidate VNC macro's #ifdef'ery to one central point
>>> >> (tests/libqtest.c).
>> >
>> > What happens if qtest instead uses "-display none"?
> It does use that, since the commit I pointed to in v1. :)
And why do you need at all "-vn
On Fri, Dec 13, 2013 at 03:35:17PM +0800, Fam Zheng wrote:
> + * 1) This will convert the following chain:
> + * ... <- base <- ... <- top <- overlay <-... <- active
> + *
> + * to
> *
> - * Requires that the overlay to 'top' is opened r/w, so that the backing file
> - * information in 'bs' can b
On Fri, Dec 13, 2013 at 03:35:10PM +0800, Fam Zheng wrote:
> This adds the enum of all the operations that can be taken on a block
> device.
>
> Signed-off-by: Fam Zheng
> ---
> qapi-schema.json | 50 ++
> 1 file changed, 50 insertions(+)
>
> diff
On Fri, Dec 20, 2013 at 10:02:47AM +0100, Peter Lieven wrote:
> if an async libiscsi call fails directly it can only be due
> to an out of memory condition. All other errors are returned
> through the callback.
>
> Signed-off-by: Peter Lieven
> ---
> block/iscsi.c | 12 ++--
> 1 file c
On 20.12.2013 17:27, Stefan Hajnoczi wrote:
On Fri, Dec 20, 2013 at 4:57 PM, Peter Lieven wrote:
On 20.12.2013 16:54, Stefan Hajnoczi wrote:
On Fri, Dec 20, 2013 at 4:49 PM, Peter Lieven wrote:
On 20.12.2013 16:30, Stefan Hajnoczi wrote:
On Fri, Dec 20, 2013 at 3:43 PM, Peter Lieven wrote:
Looks good. In order to merge this new block driver qemu-iotests
support for nfs is required. That way the block driver can be exercised
and checked for regressions (I guess you performed manual testing
during development).
Please see tests/qemu-iotests/common for examples of
NBD/SSH/Sheepdog/et
On 03.01.2014 11:37, Stefan Hajnoczi wrote:
Looks good. In order to merge this new block driver qemu-iotests
support for nfs is required. That way the block driver can be exercised
and checked for regressions (I guess you performed manual testing
during development).
Please see tests/qemu-iote
On Fri, Dec 20, 2013 at 07:48:51PM +0100, Paolo Bonzini wrote:
> This got lost in a rebase.
>
> Reported-by: Stefan Hajnoczi
> Signed-off-by: Paolo Bonzini
> ---
> hw/virtio/virtio.c | 2 ++
> 1 file changed, 2 insertions(+)
Makes qemu-iotests happy again.
Thanks, applied to my block-next tre
On 3 January 2014 03:21, Peter Crosthwaite wrote:
> Don't conditionalise GEM instantiation on networking attachments. The
> device should always be present even if not attached to a network.
>
> This allows for probing of the device by expectant guests (such as
> OS's). This is needed because sys
On 03.01.2014 11:37, Stefan Hajnoczi wrote:
Looks good. In order to merge this new block driver qemu-iotests
support for nfs is required. That way the block driver can be exercised
and checked for regressions (I guess you performed manual testing
during development).
Please see tests/qemu-iote
Signed-off-by: Wenchao Xia
---
include/qapi/error.h |6 ++
util/error.c | 21 +
2 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/include/qapi/error.h b/include/qapi/error.h
index 7d4c696..bcfb724 100644
--- a/include/qapi/error.h
+++ b/include/
V2:
1: all fail case will goto fail section.
2: add the goto code.
v3:
Address Stefan's comments:
2: don't goto fail after allocation failure.
3: use sn->l1size correctly in qcow2_free_cluster().
4-7: add test case to verify the error paths.
Other:
1: new patch fix a existing bug,
This test will focus on the low level procedure of qcow2 snapshot
operations, now it covers only the create operation. Overlap error
paths are not checked since no good way to trigger those errors.
Signed-off-by: Wenchao Xia
---
tests/qemu-iotests/075 | 216 +++
The function still returns int since qcow2_snapshot_delete() will
return the number.
Signed-off-by: Wenchao Xia
---
block/qcow2-snapshot.c | 43 +--
1 files changed, 37 insertions(+), 6 deletions(-)
diff --git a/block/qcow2-snapshot.c b/block/qcow2-snap
Header restore step is added, and old code section "fail" is
renamed to "dealloc_sn_table" to tip better, now "fail" section
does not rollback anything on disk. When one step in rollback
fails, following steps will be skipped, to make sure no dangling
pointer is left.
A new parameter "*errp_rollba
Some code in qcow2-snapshot.c directly accesses bs->file, so in those
places errors can't be injected by other events. Since the code in
qcow2-snapshot.c is similar to the other qcow2 internal code (in regards
to e.g. the L1 table), add some debug events.
Signed-off-by: Wenchao Xia
Reviewed-by: M
A new variable *err_rollback is added to detect sub function's
rollback failure. If one step in rollback procedure fails, following
steps will be skipped, and the error message will be appended
to errp.
Signed-off-by: Wenchao Xia
---
block/qcow2-snapshot.c | 37
The return value is only used for error report before this patch,
so change the function protype to return void.
Signed-off-by: Wenchao Xia
---
block/qcow2-snapshot.c| 30 +-
block/qcow2.h |4 +++-
block/rbd.c | 19 ++-
On 03.01.2014 11:37, Stefan Hajnoczi wrote:
Looks good. In order to merge this new block driver qemu-iotests
support for nfs is required. That way the block driver can be exercised
and checked for regressions (I guess you performed manual testing
during development).
Please see tests/qemu-iote
The return value can help caller check whether error happens,
and it need not to have *errp since the return value already tip
what happend.
Signed-off-by: Wenchao Xia
---
block/qcow2-refcount.c |8 +---
block/qcow2.h |6 +++---
2 files changed, 8 insertions(+), 6 deletions(
We should pass base_inode->vdi_id to base_vdi_id of SheepdogVdiReq so that sheep
can create a clone instead a fresh volume.
This fixes following command:
qemu-create -b sheepdog:base sheepdog:clone
so users can boot sheepdog:clone as a normal volume.
Cc: qemu-devel@nongnu.org
Cc: Kevin Wolf
Cc
On Wed, 18 Dec 2013, Konrad Rzeszutek Wilk wrote:
> On Wed, Dec 18, 2013 at 07:15:43PM +, Stefano Stabellini wrote:
> > Hi all,
> > the xenpv machine provides Xen paravirtualized backends for console,
> > disk and framebuffer. xenfb in particular is the only open source
> > framebuffer backend
this adds support for testing the NFS protocol.
Several tests had to be changed from protocol generic to protocol file
because they where not designed to work with something else than file.
This is due mainly due to 3 reasons:
- the tests use rm, cp or mv shell commands which only work on file
Il 02/01/2014 19:23, Nathan Whitehorn ha scritto:
>>> Let me try to grasp what you're doing here. You're trying to
>>> figure out how many devices there are attached to the bus. For
>>> every device you reserve a buffer block. Lun0 is mandatory, all
>>> others are optional.
>>>
>>> First off, I th
On Fri, 20 Dec 2013 23:21:05 +0100
Paolo Bonzini wrote:
> These allow hotplugging (and hot-unplugging without leaking an object)
> virtio-rng devices. They can also be used for memory hotplug.
>
> v1->v2: fix mistyped underscores in qapi-schema.json
>
> v2->v3: preserve bisectability by invert
On Fri, 20 Dec 2013 23:21:05 +0100
Paolo Bonzini wrote:
> These allow hotplugging (and hot-unplugging without leaking an object)
> virtio-rng devices. They can also be used for memory hotplug.
>
> v1->v2: fix mistyped underscores in qapi-schema.json
>
> v2->v3: preserve bisectability by invert
On Fri, 3 Jan 2014 15:24:57 +0100
Igor Mammedov wrote:
> On Fri, 20 Dec 2013 23:21:05 +0100
> Paolo Bonzini wrote:
>
> > These allow hotplugging (and hot-unplugging without leaking an object)
> > virtio-rng devices. They can also be used for memory hotplug.
> >
> > v1->v2: fix mistyped unders
dear developers
I was hoping someone could suggest what is missing or
incompatible on my setup that causes a compilation to fail
I'm trying to rpmbuild-compile qemu-1.2.2-1.fc18.src.rpm on
rhel 6.5
I thought I have got all dependencies from rpm perspective,
naturally there is something wrong
On Fri, Jan 3, 2014 at 1:08 PM, Wenchao Xia wrote:
> Signed-off-by: Wenchao Xia
> ---
> include/qapi/error.h |6 ++
> util/error.c | 21 +
> 2 files changed, 27 insertions(+), 0 deletions(-)
>
> diff --git a/include/qapi/error.h b/include/qapi/error.h
> inde
On Fri, Jan 3, 2014 at 8:51 PM, Peter Maydell wrote:
> On 3 January 2014 03:21, Peter Crosthwaite
> wrote:
>> Don't conditionalise GEM instantiation on networking attachments. The
>> device should always be present even if not attached to a network.
>>
>> This allows for probing of the device by
On 3 January 2014 16:15, Peter Crosthwaite wrote:
> One subtle question before respinning - should the
> qdev_set_nic_properties actually be conditional? Setting it to an
> unused NIC should be harmless, so perhaps it should be outside the
> if(nd->used). Other boards/MAC combos that dont do the
>
On Sat, Jan 4, 2014 at 2:22 AM, Peter Maydell wrote:
> On 3 January 2014 16:15, Peter Crosthwaite
> wrote:
>> One subtle question before respinning - should the
>> qdev_set_nic_properties actually be conditional? Setting it to an
>> unused NIC should be harmless, so perhaps it should be outside
On 3 January 2014 16:56, Peter Crosthwaite wrote:
> On Sat, Jan 4, 2014 at 2:22 AM, Peter Maydell
> wrote:
>> On 3 January 2014 16:15, Peter Crosthwaite
>> wrote:
>>> One subtle question before respinning - should the
>>> qdev_set_nic_properties actually be conditional? Setting it to an
>>> un
On Fri, Jan 03, 2014 at 11:26:01AM +1000, Peter Crosthwaite wrote:
> >> > +static const VMStateDescription vmstate_tx_fifo = {
> >> > +.name = "allwinner_emac_tx_fifo",
> >> > +.version_id = 1,
> >> > +.minimum_version_id = 1,
> >> > +.fields = (VMStateField[]) {
> >> > +VMS
This patch refactors the stxsdx instruction. Reusable code is
extracted into a macro which will be used in subsequent patches
in this series.
Signed-off-by: Tom Musta
Reviewed-by: Richard Henderson
---
target-ppc/translate.c | 27 +++
1 files changed, 15 insertions(+)
This patch adds the scalar load instructions introduced in ISA
V2.07:
- Load VSX Scalar as Integer Word Algebraic Indexd (lxsiwax)
- Load VSX Scalar as Integer Word and Zero Indexed (lxsiwzx)
- Load VSX Scalar Single-Precision Indexed (lxsspx)
Signed-off-by: Tom Musta
Reviewed-by: Richard
This patch adds two store scalar instructions:
- Store VSX Scalar as Integer Word Indexed (stxsiwx)
- Store VSX Scalar Single-Precision Indexed (stxsspx)
Signed-off-by: Tom Musta
Reviewed-by: Richard Henderson
---
V5: Updated to address tcg-debug compliation errors.
target-ppc/translate.c
This is the fourth and final series of patches that add emulation support
to QEMU for the PowerPC Vector Scalar Extension (VSX).
This series adds the instructions that were newly introduced with Power ISA
V2.07. This includes 3 scalar load instructions, 2 scalar store instructions,
7 standard sin
This patch adds a flag to identify those VSX instructions that are
new to Power ISA V2.07. The flag is added to the Power 8 processor
initialization so that the P8 models understand how to decode and
emulate instructions in this category.
Signed-off-by: Tom Musta
Reviewed-by: Richard Henderson
This patch refactors the lxsdx generator. Resuable code is isolated
into a macro. The macro will be used in subsequent patches in this
series to implement other scalar load instructions.
Signed-off-by: Tom Musta
Reviewed-by: Richard Henderson
---
target-ppc/translate.c | 31 +
This patch adds the VSX Scalar Square Root Single Precision (xssqrtsp)
instruction.
The existing VSX_SQRT() macro is modified to support rounding of the
intermediate double-precision result to single-precision.
Signed-off-by: Tom Musta
Reviewed-by: Richard Henderson
---
V2: Updated conversion t
This patch adds the VSX Scalar Add Single-Precision (xsaddsp) and
VSX Scalar Subtract Single-Precision (xssubsp) instructions.
The existing VSX_ADD_SUB macro is modified to support the rounding
of the (intermediate) result to single-precision.
Signed-off-by: Tom Musta
Reviewed-by: Richard Hender
This patch adds the VSX Scalar Reciprocal Square Root Estimate
Single Precision (xsrsqrtesp) instruction.
The existing VSX_RSQRTE() macro is modified to support rounding
of the intermediate double-precision result to single precision.
Signed-off-by: Tom Musta
Reviewed-by: Richard Henderson
---
This patch adds the VSX Scalar Reciprocal Estimate Single Precision
(xsresp) instruction.
The existing VSX_RE macro is modified to support rounding of the
intermediate double precision result to single precision.
Signed-off-by: Tom Musta
Reviewed-by: Richard Henderson
---
V2: Updated conversion
This patch adds the VSX Scalar Multiply Single-Precision (xsmulsp)
instruction.
The existing VSX_MUL macro is modified to support rounding of the
intermediate result to single precision.
Signed-off-by: Tom Musta
Reviewed-by: Richard Henderson
---
V2: Updated conversion to single precision.
ta
This patch adds the Single Precision VSX Scalar Fused Multiply-Add
instructions: xsmaddasp, xsmaddmsp, xssubasp, xssubmsp, xsnmaddasp,
xsnmaddmsp, xsnmsubasp, xsnmsubmsp.
The existing VSX_MADD() macro is modified to support rounding of the
intermediate double precision result to single precision.
This patch adds the VSX Scalar Divide Single Precision (xsdivsp)
instruction.
The existing VSX_DIV macro is modified to support rounding of the
intermediate double precision result to single precision.
Signed-off-by: Tom Musta
Reviewed-by: Richard Henderson
---
V2: Updated conversion to single
This patch adds the VSX Scalar Convert Unsigned Integer Doubleword
to Floating Point Format and Round to Single Precision (xscvuxdsp)
and VSX Scalar Convert Signed Integer Douglbeword to Floating Point
Format and Round to Single Precision (xscvsxdsp) instructions.
The existing integer to floating
This patchs adds the VSX Logical instructions that are new with
ISA V2.07:
- VSX Logical Equivalence (xxleqv)
- VSX Logical NAND (xxlnand)
- VSX Logical ORC (xxlorc)
Signed-off-by: Tom Musta
Reviewed-by: Richard Henderson
---
V5: Changes to address tcg-debug compilation errors.
target-p
On 12/27/2013 6:30 PM, Scott Wood wrote:
> These instructions are phased-in on embedded, and unlike bpermd are not
> present on e5500/e6500 which are 64-bit ISA 2.06 implementations.
> Wasn't the conclusion in a previous thread to use separate flags for
> these instruction groups?
>
> -Scott
Scot
On Fri, 2014-01-03 at 13:24 -0600, Tom Musta wrote:
> On 12/27/2013 6:30 PM, Scott Wood wrote:
> > These instructions are phased-in on embedded, and unlike bpermd are not
> > present on e5500/e6500 which are 64-bit ISA 2.06 implementations.
> > Wasn't the conclusion in a previous thread to use sepa
The PulseAudio library attempts to do a mkdir(2) and fchmod(2) on
"/run/user//pulse" which is currently blocked by the syscall
filter; this patch adds the two missing syscalls to the whitelist.
You can reproduce this problem with the following command:
# qemu -monitor stdio -device intel-hda -dev
Il 03/01/2014 20:58, Paul Moore ha scritto:
> The PulseAudio library attempts to do a mkdir(2) and fchmod(2) on
> "/run/user//pulse" which is currently blocked by the syscall
> filter; this patch adds the two missing syscalls to the whitelist.
> You can reproduce this problem with the following com
On Friday, January 03, 2014 09:24:57 PM Paolo Bonzini wrote:
> Il 03/01/2014 20:58, Paul Moore ha scritto:
> > The PulseAudio library attempts to do a mkdir(2) and fchmod(2) on
> > "/run/user//pulse" which is currently blocked by the syscall
> > filter; this patch adds the two missing syscalls to t
On Thu, Jan 2, 2014 at 7:18 PM, Beniamino Galvani wrote:
> This patch adds support for the Fast Ethernet MAC found on Allwinner
> SoCs, together with a basic emulation of Realtek RTL8201CP PHY.
>
> Since there is no public documentation of the Allwinner controller, the
> implementation is based on
Don't conditionalise GEM instantiation on networking attachments. The
device should always be present even if not attached to a network.
This allows for probing of the device by expectant guests (such as
OS's). This is needed because sysbus (or AXI in Xilinx's real hw case)
is not self identifyin
On Sat, Jan 4, 2014 at 3:24 AM, Peter Maydell wrote:
> On 3 January 2014 16:56, Peter Crosthwaite
> wrote:
>> On Sat, Jan 4, 2014 at 2:22 AM, Peter Maydell
>> wrote:
>>> On 3 January 2014 16:15, Peter Crosthwaite
>>> wrote:
One subtle question before respinning - should the
qdev_se
On Mon, Dec 23, 2013 at 8:49 AM, Peter Maydell wrote:
> Implement an initial minimal set of EL0-visible system registers:
> * NZCV
> * FPCR
> * FPSR
> * CTR_EL0
> * DCZID_EL0
>
> Signed-off-by: Peter Maydell
> Reviewed-by: Richard Henderson
> ---
> target-arm/cpu.h | 3 ++-
> ta
61 matches
Mail list logo