Re: [Qemu-devel] [PATCH v8 06/12] block: Add bdrv_set_backing_hd()

2014-01-03 Thread Stefan Hajnoczi
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

Re: [Qemu-devel] [PATCH v8 07/12] block: Add backing_blocker in BlockDriverState

2014-01-03 Thread Stefan Hajnoczi
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

Re: [Qemu-devel] [PATCH v8 08/12] block: Parse "backing" option to reference existing BDS

2014-01-03 Thread Stefan Hajnoczi
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

Re: [Qemu-devel] [PATCH v2 1/1] qtest: Fix the bug about disabling vnc causes "make check" hang

2014-01-03 Thread Paolo Bonzini
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

Re: [Qemu-devel] [PATCH v8 09/12] block: Support dropping active in bdrv_drop_intermediate

2014-01-03 Thread Stefan Hajnoczi
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

Re: [Qemu-devel] [PATCH v8 02/12] qapi: Add BlockOperationType enum

2014-01-03 Thread Stefan Hajnoczi
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

Re: [Qemu-devel] [PATCH] block/iscsi: return -ENOMEM if an async call fails immediately

2014-01-03 Thread Stefan Hajnoczi
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

Re: [Qemu-devel] [PATCHv2] block: add native support for NFS

2014-01-03 Thread Peter Lieven
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:

Re: [Qemu-devel] [PATCHv5] block: add native support for NFS

2014-01-03 Thread Stefan Hajnoczi
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

Re: [Qemu-devel] [PATCHv5] block: add native support for NFS

2014-01-03 Thread Peter Lieven
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

Re: [Qemu-devel] [PATCH regression] virtio: add back call to virtio_bus_device_unplugged

2014-01-03 Thread Stefan Hajnoczi
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

Re: [Qemu-devel] [PATCH target-arm v1 1/1] arm/xilinx_zynq: Always instantiate the GEMs

2014-01-03 Thread Peter Maydell
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

Re: [Qemu-devel] [PATCHv5] block: add native support for NFS

2014-01-03 Thread Peter Lieven
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

[Qemu-devel] [PATCH V8 3/8] util: add error_append()

2014-01-03 Thread Wenchao Xia
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/

[Qemu-devel] [PATCH V8 0/8] qcow2: rollback the modification on fail in snapshot creation

2014-01-03 Thread Wenchao Xia
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,

[Qemu-devel] [PATCH V8 8/8] qemu-iotests: add test for qcow2 snapshot

2014-01-03 Thread Wenchao Xia
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 +++

[Qemu-devel] [PATCH V8 2/8] qcow2: add error message in qcow2_write_snapshots()

2014-01-03 Thread Wenchao Xia
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

[Qemu-devel] [PATCH V8 5/8] qcow2: full rollback on fail in qcow2_write_snapshots()

2014-01-03 Thread Wenchao Xia
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

[Qemu-devel] [PATCH V8 7/8] blkdebug: add debug events for snapshot

2014-01-03 Thread Wenchao Xia
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

[Qemu-devel] [PATCH V8 6/8] qcow2: rollback on fail in qcow2_snapshot_create()

2014-01-03 Thread Wenchao Xia
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

[Qemu-devel] [PATCH V8 1/8] snapshot: add parameter *errp in snapshot create

2014-01-03 Thread Wenchao Xia
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 ++-

Re: [Qemu-devel] [PATCHv5] block: add native support for NFS

2014-01-03 Thread Peter Lieven
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

[Qemu-devel] [PATCH V8 4/8] qcow2: return int for qcow2_free_clusters()

2014-01-03 Thread Wenchao Xia
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(

[Qemu-devel] [PATCH] sheepdog: fix clone operation by 'qemu-img create -b'

2014-01-03 Thread Liu Yuan
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

Re: [Qemu-devel] [Xen-devel] [PATCH v2 0/2] build QEMU with Xen support on ARM

2014-01-03 Thread Stefano Stabellini
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

[Qemu-devel] [PATCH] qemu-iotests: adjust tests to work with the NFS protocol

2014-01-03 Thread Peter Lieven
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

Re: [Qemu-devel] [Qemu-ppc] [PATCH] spapr_vscsi: Fix REPORT_LUNS handling

2014-01-03 Thread Paolo Bonzini
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

Re: [Qemu-devel] [PATCH v3 0/5] Monitor commands for object-add/del

2014-01-03 Thread Igor Mammedov
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

Re: [Qemu-devel] [PATCH v3 0/5] Monitor commands for object-add/del

2014-01-03 Thread Igor Mammedov
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

Re: [Qemu-devel] [PATCH v3 0/5] Monitor commands for object-add/del

2014-01-03 Thread Luiz Capitulino
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

[Qemu-devel] qemu-seccomp.c:228: error: '__NR_getcpu' undeclared here (not in a function)

2014-01-03 Thread lejeczek
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

Re: [Qemu-devel] [PATCH V8 3/8] util: add error_append()

2014-01-03 Thread Peter Crosthwaite
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

Re: [Qemu-devel] [PATCH target-arm v1 1/1] arm/xilinx_zynq: Always instantiate the GEMs

2014-01-03 Thread Peter Crosthwaite
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

Re: [Qemu-devel] [PATCH target-arm v1 1/1] arm/xilinx_zynq: Always instantiate the GEMs

2014-01-03 Thread Peter Maydell
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 >

Re: [Qemu-devel] [PATCH target-arm v1 1/1] arm/xilinx_zynq: Always instantiate the GEMs

2014-01-03 Thread Peter Crosthwaite
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

Re: [Qemu-devel] [PATCH target-arm v1 1/1] arm/xilinx_zynq: Always instantiate the GEMs

2014-01-03 Thread Peter Maydell
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

Re: [Qemu-devel] [PATCH 1/2] hw/net: add support for Allwinner EMAC Fast Ethernet controller

2014-01-03 Thread Beniamino Galvani
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

[Qemu-devel] [V5 PATCH 04/14] target-ppc: VSX Stage 4: Refactor stxsdx

2014-01-03 Thread Tom Musta
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(+)

[Qemu-devel] [V5 PATCH 03/14] target-ppc: VSX Stage 4: Add lxsiwax, lxsiwzx and lxsspx

2014-01-03 Thread Tom Musta
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

[Qemu-devel] [V5 PATCH 05/14] target-ppc: VSX Stage 4: Add stxsiwx and stxsspx

2014-01-03 Thread Tom Musta
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

[Qemu-devel] [V5 PATCH 00/14] [V5 PATCH 00/14] target-ppc: VSX Stage 4

2014-01-03 Thread Tom Musta
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

[Qemu-devel] [V5 PATCH 01/14] target-ppc: VSX Stage 4: Add VSX 2.07 Flag

2014-01-03 Thread Tom Musta
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

[Qemu-devel] [V5 PATCH 02/14] target-ppc: VSX Stage 4: Refactor lxsdx

2014-01-03 Thread Tom Musta
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 +

[Qemu-devel] [V5 PATCH 10/14] target-ppc: VSX Stage 4: Add xssqrtsp

2014-01-03 Thread Tom Musta
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

[Qemu-devel] [V5 PATCH 06/14] target-ppc: VSX Stage 4: Add xsaddsp and xssubsp

2014-01-03 Thread Tom Musta
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

[Qemu-devel] [V5 PATCH 11/14] target-ppc: VSX Stage 4: add xsrsqrtesp

2014-01-03 Thread Tom Musta
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 ---

[Qemu-devel] [V5 PATCH 09/14] target-ppc: VSX Stage 4: Add xsresp

2014-01-03 Thread Tom Musta
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

[Qemu-devel] [V5 PATCH 07/14] target-ppc: VSX Stage 4: Add xsmulsp

2014-01-03 Thread Tom Musta
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

[Qemu-devel] [V5 PATCH 12/14] target-ppc: VSX Stage 4: Add Scalar SP Fused Multiply-Adds

2014-01-03 Thread Tom Musta
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.

[Qemu-devel] [V5 PATCH 08/14] target-ppc: VSX Stage 4: Add xsdivsp

2014-01-03 Thread Tom Musta
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

[Qemu-devel] [V5 PATCH 13/14] target-ppc: VSX Stage 4: Add xscvsxdsp and xscvuxdsp

2014-01-03 Thread Tom Musta
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

[Qemu-devel] [V5 PATCH 14/14] target-ppc: VSX Stage 4: Add xxleqv, xxlnand and xxlorc

2014-01-03 Thread Tom Musta
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

Re: [Qemu-devel] [Qemu-ppc] [V3 PATCH 03/14] target-ppc: Add ISA2.06 divdeu[o] Instructions

2014-01-03 Thread Tom Musta
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

Re: [Qemu-devel] [Qemu-ppc] [V3 PATCH 03/14] target-ppc: Add ISA2.06 divdeu[o] Instructions

2014-01-03 Thread Scott Wood
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

[Qemu-devel] [PATCH] seccomp: add mkdir() and fchmod() to the whitelist

2014-01-03 Thread Paul Moore
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

Re: [Qemu-devel] [PATCH] seccomp: add mkdir() and fchmod() to the whitelist

2014-01-03 Thread Paolo Bonzini
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

Re: [Qemu-devel] [PATCH] seccomp: add mkdir() and fchmod() to the whitelist

2014-01-03 Thread Paul Moore
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

Re: [Qemu-devel] [PATCH 1/2] hw/net: add support for Allwinner EMAC Fast Ethernet controller

2014-01-03 Thread Peter Crosthwaite
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

[Qemu-devel] [PATCH target-arm v2 1/1] arm/xilinx_zynq: Always instantiate the GEMs

2014-01-03 Thread Peter Crosthwaite
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

Re: [Qemu-devel] [PATCH target-arm v1 1/1] arm/xilinx_zynq: Always instantiate the GEMs

2014-01-03 Thread Peter Crosthwaite
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

Re: [Qemu-devel] [PATCH v2 15/25] target-arm: A64: Implement minimal set of EL0-visible sysregs

2014-01-03 Thread Peter Crosthwaite
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