diff options
| author | Daniel P. Berrangé | 2019-12-06 15:38:11 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2019-12-18 11:20:57 +0100 |
| commit | ecaf647f300d69271c245a67adca9c3a89d9463a (patch) | |
| tree | 0547a43e9238a648527116601bc46b078c2d1aa6 /qapi | |
| parent | iotests: Skip test 079 if it is not possible to create large files (diff) | |
| download | qemu-ecaf647f300d69271c245a67adca9c3a89d9463a.tar.gz qemu-ecaf647f300d69271c245a67adca9c3a89d9463a.tar.xz qemu-ecaf647f300d69271c245a67adca9c3a89d9463a.zip | |
qapi: better document NVMe blockdev @device parameter
Mention that this is a PCI device address & give the format it is
expected in. Also mention that it must be first unbound from any
host kernel driver.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qapi')
| -rw-r--r-- | qapi/block-core.json | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index 0cf68fea14..fcb52ec24f 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -2963,9 +2963,13 @@ # # Driver specific block device options for the NVMe backend. # -# @device: controller address of the NVMe device. +# @device: PCI controller address of the NVMe device in +# format hhhh:bb:ss.f (host:bus:slot.function) # @namespace: namespace number of the device, starting from 1. # +# Note that the PCI @device must have been unbound from any host +# kernel driver before instructing QEMU to add the blockdev. +# # Since: 2.12 ## { 'struct': 'BlockdevOptionsNVMe', |
