Re: [Qemu-block] [Qemu-devel] [PATCH RFC for-2.3? 5/8] fdb: Move FDCtrlISABus to header

2015-03-30 Thread John Snow
You probably meant 'fdc' ! On 03/29/2015 01:53 PM, Andreas Färber wrote: To be used for embedding the device. Add gtk-doc private/public markers for parent field. Signed-off-by: Andreas Färber --- hw/block/fdc.c | 87 - include/hw/blo

Re: [Qemu-block] [Qemu-devel] [PATCH RFC for-2.3? 0/8] prep: Fix pc87312 for -device usage

2015-03-30 Thread Markus Armbruster
Andreas Färber writes: > Am 30.03.2015 um 18:12 schrieb Paolo Bonzini: >> On 30/03/2015 16:25, Markus Armbruster wrote: >>> Andreas Färber writes: >>> Hello Markus et al., This series attempts to fix the -device pc87312 issues you reported. I can't add alias properties f

Re: [Qemu-block] [Qemu-devel] [PATCH RFC for-2.3? 0/8] prep: Fix pc87312 for -device usage

2015-03-30 Thread Andreas Färber
David, Am 29.03.2015 um 19:53 schrieb Andreas Färber: > Hello Markus et al., > > This series attempts to fix the -device pc87312 issues you reported. > > I can't add alias properties for devices that don't get created before > realize. > Therefore this involves moving code for various ISA devic

Re: [Qemu-block] [Qemu-devel] [PATCH RFC for-2.3? 0/8] prep: Fix pc87312 for -device usage

2015-03-30 Thread Markus Armbruster
Paolo Bonzini writes: > On 30/03/2015 16:25, Markus Armbruster wrote: >> Andreas Färber writes: >> >>> Hello Markus et al., >>> >>> This series attempts to fix the -device pc87312 issues you reported. >>> >>> I can't add alias properties for devices that don't get created >>> before realize. >>

Re: [Qemu-block] [Qemu-devel] [PATCH RFC for-2.3? 0/8] prep: Fix pc87312 for -device usage

2015-03-30 Thread Andreas Färber
Am 30.03.2015 um 18:12 schrieb Paolo Bonzini: > On 30/03/2015 16:25, Markus Armbruster wrote: >> Andreas Färber writes: >> >>> Hello Markus et al., >>> >>> This series attempts to fix the -device pc87312 issues you reported. >>> >>> I can't add alias properties for devices that don't get created b

Re: [Qemu-block] [Qemu-devel] [PATCH RFC for-2.3? 0/8] prep: Fix pc87312 for -device usage

2015-03-30 Thread Paolo Bonzini
On 30/03/2015 16:25, Markus Armbruster wrote: > Andreas Färber writes: > >> Hello Markus et al., >> >> This series attempts to fix the -device pc87312 issues you reported. >> >> I can't add alias properties for devices that don't get created before >> realize. >> Therefore this involves moving

Re: [Qemu-block] [Qemu-devel] block-commit & dropping privs

2015-03-30 Thread Kevin Wolf
Am 27.03.2015 um 18:12 hat Eric Blake geschrieben: > On 03/27/2015 09:36 AM, Michael Tokarev wrote: > > Wonder how to specify cache mode, or should I open these with proper > > O_DIRECT/O_SYNC/whatever? It looks like it's possible to change O_DIRECT > > at runtime but not O_SYNC. > > > > And the

Re: [Qemu-block] [Qemu-devel] [PATCH] block: avoid unnecessary bottom halves

2015-03-30 Thread Stefan Hajnoczi
On Sat, Mar 28, 2015 at 07:37:18AM +0100, Paolo Bonzini wrote: > bdrv_aio_* APIs can use coroutines to achieve asynchronicity. However, > the coroutine may terminate without having yielded back to the caller > (for example because of something that invokes a nested event loop, > or because the cor

Re: [Qemu-block] [Qemu-devel] [PATCH RFC for-2.3? 0/8] prep: Fix pc87312 for -device usage

2015-03-30 Thread Markus Armbruster
Andreas Färber writes: > Hello Markus et al., > > This series attempts to fix the -device pc87312 issues you reported. > > I can't add alias properties for devices that don't get created before > realize. > Therefore this involves moving code for various ISA devices, to enable us > to initialize

Re: [Qemu-block] [Qemu-devel] [PATCH 2/3] block/null: Support reopen

2015-03-30 Thread Eric Blake
On 03/30/2015 03:23 AM, Fam Zheng wrote: > Reopen is used in block-commit. With this always-succeed operation, it > is now possible to test committing to a null drive, by specifying > "null-aio://" or "null-co://" as the backing image when creating the > qcow2 image. > > Signed-off-by: Fam Zheng

Re: [Qemu-block] [Qemu-devel] [PATCH 3/3] MAINTAINERS: Add Fam Zheng as Null block driver maintainer

2015-03-30 Thread Eric Blake
On 03/30/2015 03:23 AM, Fam Zheng wrote: > Signed-off-by: Fam Zheng > --- > MAINTAINERS | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index d7e9ba2..30073a3 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -1172,6 +1172,12 @@ S: Supported > F: blo

[Qemu-block] [PATCH 2/3] block/null: Support reopen

2015-03-30 Thread Fam Zheng
Reopen is used in block-commit. With this always-succeed operation, it is now possible to test committing to a null drive, by specifying "null-aio://" or "null-co://" as the backing image when creating the qcow2 image. Signed-off-by: Fam Zheng --- block/null.c | 8 1 file changed, 8 ins

[Qemu-block] [PATCH 1/3] block/null: Latency simulation by adding new option "latency-ns"

2015-03-30 Thread Fam Zheng
Aio context switch should just work because the requests will be drained, so the scheduled timer(s) on the old context will be freed. Signed-off-by: Fam Zheng Reviewed-by: Eric Blake --- block/null.c | 59 ++-- qapi/block-core.json | 5 ++

[Qemu-block] [PATCH 0/3] null driver patches

2015-03-30 Thread Fam Zheng
The first patch was the same one from 03/18 which is reviewed by Eric. The second patch allows testing commit to a null image. The third adds a stanza to MAINTAINERS. Fam Zheng (3): block/null: Latency simulation by adding new option "latency-ns" block/null: Support reopen MAINTAINERS: Add

[Qemu-block] [PATCH 3/3] MAINTAINERS: Add Fam Zheng as Null block driver maintainer

2015-03-30 Thread Fam Zheng
Signed-off-by: Fam Zheng --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d7e9ba2..30073a3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1172,6 +1172,12 @@ S: Supported F: block/gluster.c T: git git://github.com/codyprime/qemu-kvm-jtc.gi