--- layout: doc title: qvm-block permalink: /doc/tools/3.2/dom0/qvm-block/ redirect_from: - /doc/dom0-tools/qvm-block/ - /doc/dom0-tools/qvm-block/ - /en/doc/dom0-tools/qvm-block/ - /doc/Dom0Tools/QvmBlock/ - /wiki/Dom0Tools/QvmBlock/ --- ``` ========= qvm-block ========= NAME ==== qvm-block - list/set VM block devices. SYNOPSIS ======== | qvm-block -l [options] | qvm-block -a [options] : | qvm-block -A [options] : | qvm-block -d [options] : | qvm-block -d [options] OPTIONS ======= -h, --help Show this help message and exit -l, --list List block devices -A, --attach-file Attach specified file instead of physical device -a, --attach Attach block device to specified VM -d, --detach Detach block device -f FRONTEND, --frontend=FRONTEND Specify device name at destination VM [default: xvdi] --ro Force read-only mode --no-auto-detach Fail when device already connected to other VM --show-system-disks List also system disks --force-root Force to run, even with root privileges AUTHORS ======= | Joanna Rutkowska | Rafal Wojtczuk | Marek Marczykowski ``` ----- **Note:** The Markdown source of this page in [`qubes-doc`] was generated by running the [`update-manpages-3-2`] script on `qubes-core-admin/doc/qvm-tools/`. If you wish to update the contents of this page as it appears on the Qubes OS website, please submit a pull request to change the appropriate file in `qubes-core-admin/doc/qvm-tools/`. Do not attempt to change the Markdown source of this page in [`qubes-doc`] directly. All direct changes to the Markdown file will be overwritten the next time this page is regenerated. [`qubes-doc`]: https://github.com/QubesOS/qubes-doc/ [`update-manpages-3-2`]: https://github.com/QubesOS/qubesos.github.io/blob/master/_utils/update-manpages-3-2