Fam Zheng b64ec4e4ad block: add block driver read only whitelist
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 a readonly whitelist option, and for
backward compatibility, the old configure option --block-drv-whitelist
is now an alias to rw whitelist.

Drivers in readonly list is only permitted to open file readonly, and
returns -ENOTSUP for RW opening.

E.g. To include vmdk readonly, and others read+write:
    ./configure --target-list=x86_64-softmmu \
                --block-drv-rw-whitelist=qcow2,raw,file,qed \
                --block-drv-ro-whitelist=vmdk

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2013-06-04 12:11:58 +02:00
2013-05-26 11:14:52 +00:00
2013-05-03 12:04:49 -05:00
2013-04-18 13:50:53 +02:00
2013-05-12 13:25:55 +04:00
2012-12-19 08:29:06 +01:00
2013-05-28 12:19:02 +02:00
2013-04-08 18:13:10 +02:00
2013-05-18 16:35:12 +04:00
2013-04-08 18:13:10 +02:00
2013-05-03 13:58:09 +02:00
2012-09-07 09:02:44 +03:00
2013-04-26 20:18:24 +02:00
2013-04-18 13:50:53 +02:00
2013-02-21 16:17:31 -06:00
2013-04-08 18:13:10 +02:00
2012-05-14 07:27:24 +02:00
2013-05-29 16:26:50 +02:00
2013-04-29 12:16:36 -05:00
2013-02-21 16:17:31 -06:00
2013-05-29 08:15:35 -05:00
2011-12-09 11:25:22 +00:00
2013-05-03 13:05:49 +02:00
2013-05-18 16:35:12 +04:00
2013-05-27 12:47:28 +02:00
2013-02-22 21:21:10 +01:00
2013-05-24 16:17:55 +02:00
2013-05-01 13:06:07 +02:00
2011-12-11 17:50:43 -06:00
2013-05-03 12:04:40 -05:00
2013-05-20 10:55:18 -05:00
2013-04-08 18:13:10 +02:00
2013-04-08 18:13:10 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
Languages
C 82.6%
C++ 6.5%
Python 3.3%
Dylan 2.9%
Shell 1.6%
Other 2.9%