summary refs log tree commit diff stats
path: root/docs/system/qemu-block-drivers.rst.inc
diff options
context:
space:
mode:
authorSam Li <faithilikerun@gmail.com>2023-05-08 12:55:33 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2023-05-15 08:17:34 -0400
commit90fd9746689e865525ddb18cfec925f56159c740 (patch)
treef16642f08dbb37475477497418f6ec89bf53fcf4 /docs/system/qemu-block-drivers.rst.inc
parent142e307e79908ec58588b38d46ba63928f80ec36 (diff)
downloadfocaccia-qemu-90fd9746689e865525ddb18cfec925f56159c740.tar.gz
focaccia-qemu-90fd9746689e865525ddb18cfec925f56159c740.zip
docs/zoned-storage: add zoned device documentation
Add the documentation about the zoned device support to virtio-blk
emulation.

Signed-off-by: Sam Li <faithilikerun@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Dmitry Fomichev <dmitry.fomichev@wdc.com>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20230508045533.175575-9-faithilikerun@gmail.com
Message-id: 20230324090605.28361-9-faithilikerun@gmail.com
[Add index-api.rst to fix "zoned-storage.rst:document isn't included in
any toctree" error and fix pre-formatted code syntax.
--Stefan]
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'docs/system/qemu-block-drivers.rst.inc')
-rw-r--r--docs/system/qemu-block-drivers.rst.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/system/qemu-block-drivers.rst.inc b/docs/system/qemu-block-drivers.rst.inc
index dfe5d2293d..105cb9679c 100644
--- a/docs/system/qemu-block-drivers.rst.inc
+++ b/docs/system/qemu-block-drivers.rst.inc
@@ -430,6 +430,12 @@ Hard disks
   you may corrupt your host data (use the ``-snapshot`` command
   line option or modify the device permissions accordingly).
 
+Zoned block devices
+  Zoned block devices can be passed through to the guest if the emulated storage
+  controller supports zoned storage. Use ``--blockdev host_device,
+  node-name=drive0,filename=/dev/nullb0,cache.direct=on`` to pass through
+  ``/dev/nullb0`` as ``drive0``.
+
 Windows
 ^^^^^^^