[PATCH 1/2] NEWS: document bhyve changes for 11.9.0
Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com> --- NEWS.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index ee11435e0e..38443f913a 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -37,6 +37,16 @@ v11.9.0 (unreleased) Users can now attach and detach network interfaces of Cloud Hypervisor domains at runtime. + * bhyve: NVMe device support + + Domain XMLs now can use NVMe devices:: + + <disk type='file'> + <driver name='file' type='raw'/> + <source file='/path/to/disk.img'/> + <target dev='nvme0n1' bus='nvme'/> + </disk> + * **Improvements** * qemu: Improvements to USB controller model selection -- 2.51.0
Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com> --- docs/drvbhyve.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/drvbhyve.rst b/docs/drvbhyve.rst index 0962bccef4..9db17e55e3 100644 --- a/docs/drvbhyve.rst +++ b/docs/drvbhyve.rst @@ -638,3 +638,24 @@ Example: Note: there's no direct way to check if the actual ``bhyve`` binary supports the TCP console. Thus, libvirt always assumes it's supported. Please refer to the ``bhyve(1)`` manual page to make sure. + +NVMe device +~~~~~~~~~~~ +:since:`Since 11.9.0`, it's possible to use NVMe device. + +Example: + +:: + + ... + <disk type='file'> + <driver name='file' type='raw'/> + <source file='/tmp/freebsd.img'/> + <target dev='nvme0n1' bus='nvme'/> + </disk> + ... + +As ``bhyve(1)`` uses one NVMe device per PCI address, it's modeled in a way +that there is one device per controller. That is, if using more than one +NVMe device, for device name users should increment controller number rather +than namespace number, i.e.: ``nvme0n1``, ``nvme1n1``, etc. -- 2.51.0
On Wed, Oct 29, 2025 at 18:58:46 +0100, Roman Bogorodskiy wrote:
Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com> --- NEWS.rst | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst index ee11435e0e..38443f913a 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -37,6 +37,16 @@ v11.9.0 (unreleased) Users can now attach and detach network interfaces of Cloud Hypervisor domains at runtime.
+ * bhyve: NVMe device support + + Domain XMLs now can use NVMe devices:: + + <disk type='file'> + <driver name='file' type='raw'/> + <source file='/path/to/disk.img'/> + <target dev='nvme0n1' bus='nvme'/> + </disk> + * **Improvements**
* qemu: Improvements to USB controller model selection
Series Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
participants (2)
- 
                
Jiri Denemark - 
                
Roman Bogorodskiy