Re: [Qemu-devel] [PATCH] block: add read only to whitelist

2013-05-28 Thread Fam Zheng
On Tue, 05/28 10:10, Paolo Bonzini wrote: > Il 28/05/2013 08:44, Fam Zheng ha scritto: > > diff --git a/scripts/create_config b/scripts/create_config > > index c471e8c..2dfda3e 100755 > > --- a/scripts/create_config > > +++ b/scripts/create_config > > @@ -35,11 +35,18 @@ case $line in > > echo

Re: [Qemu-devel] [PATCH] block: add read only to whitelist

2013-05-28 Thread Paolo Bonzini
Il 28/05/2013 08:44, Fam Zheng ha scritto: > diff --git a/scripts/create_config b/scripts/create_config > index c471e8c..2dfda3e 100755 > --- a/scripts/create_config > +++ b/scripts/create_config > @@ -35,11 +35,18 @@ case $line in > echo "" > ;; > CONFIG_BDRV_WHITELIST=*) > -echo "

Re: [Qemu-devel] [PATCH] block: add read only to whitelist

2013-05-28 Thread Stefan Hajnoczi
On Tue, May 28, 2013 at 02:44:26PM +0800, Fam Zheng wrote: > We may want to include a driver in the whitelist for read only tasks > such as diagnosing or exporting guest data (with libguestfs as a good > example). This patch introduces the magic prefix ^ to include a driver > to the whitelist, but

Re: [Qemu-devel] [PATCH] block: add read only to whitelist

2013-05-28 Thread Kevin Wolf
Am 28.05.2013 um 08:44 hat Fam Zheng geschrieben: > We may want to include a driver in the whitelist for read only tasks > such as diagnosing or exporting guest data (with libguestfs as a good > example). This patch introduces the magic prefix ^ to include a driver > to the whitelist, but only enab

[Qemu-devel] [PATCH] block: add read only to whitelist

2013-05-27 Thread Fam Zheng
We may want to include a driver in the whitelist for read only tasks such as diagnosing or exporting guest data (with libguestfs as a good example). This patch introduces the magic prefix ^ to include a driver to the whitelist, but only enables qemu to open specific image format readonly, and retur