[PATCHv2 5/5] NEWS: Document qemu nvme disk emulation feature

honglei.wang@smartx.com posted 5 patches 11 months, 2 weeks ago
[PATCHv2 5/5] NEWS: Document qemu nvme disk emulation feature
Posted by honglei.wang@smartx.com 11 months, 2 weeks ago
From: ray <honglei.wang@smartx.com>

Signed-off-by: ray <honglei.wang@smartx.com>
---
 NEWS.rst | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/NEWS.rst b/NEWS.rst
index 3c13a84a1b..938c9ba559 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -38,6 +38,23 @@ v11.3.0 (unreleased)
     At the moment it doesn't provide any new features compared to
     ``<interface type='bridge'>``, but allows a more flexible configuration.
 
+  * qemu: Support emulated NVMe disks with other storage backends
+
+    Domain XMLs can now include emulated NVMe disks backed by other storage
+    backends such as file.
+    They are configured with::
+
+      <disk type='file' device='disk'>
+        <driver name='qemu' type='raw'/>
+        <source file='/tmp/data.img'/>
+        <target dev='nvmensa' bus='nvme-ns'/>
+        <address type='drive' controller='0' bus='0' target='0' unit='0'/>
+      </disk>
+      <controller type='nvme' index='0'>
+        <serial>nvme-controller-serial-value</serial>
+        <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
+      </controller>
+
 * **Improvements**
 
 * **Bug fixes**
-- 
2.11.0
Re: [PATCHv2 5/5] NEWS: Document qemu nvme disk emulation feature
Posted by Peter Krempa via Devel 11 months, 2 weeks ago
On Sun, Apr 27, 2025 at 19:48:07 +0800, honglei.wang@smartx.com wrote:
> From: ray <honglei.wang@smartx.com>
> 
> Signed-off-by: ray <honglei.wang@smartx.com>
> ---
>  NEWS.rst | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
> 
> diff --git a/NEWS.rst b/NEWS.rst
> index 3c13a84a1b..938c9ba559 100644
> --- a/NEWS.rst
> +++ b/NEWS.rst
> @@ -38,6 +38,23 @@ v11.3.0 (unreleased)
>      At the moment it doesn't provide any new features compared to
>      ``<interface type='bridge'>``, but allows a more flexible configuration.
>  
> +  * qemu: Support emulated NVMe disks with other storage backends
> +
> +    Domain XMLs can now include emulated NVMe disks backed by other storage
> +    backends such as file.
> +    They are configured with::
> +
> +      <disk type='file' device='disk'>
> +        <driver name='qemu' type='raw'/>
> +        <source file='/tmp/data.img'/>
> +        <target dev='nvmensa' bus='nvme-ns'/>
> +        <address type='drive' controller='0' bus='0' target='0' unit='0'/>
> +      </disk>
> +      <controller type='nvme' index='0'>
> +        <serial>nvme-controller-serial-value</serial>
> +        <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
> +      </controller>
> +

Don't forget to move this to the 11.4 section. the 11.3 release is
already in freeze.
Re: [PATCHv2 5/5] NEWS: Document qemu nvme disk emulation feature
Posted by ray wang 11 months ago
> On Sun, Apr 27, 2025 at 19:48:07 +0800, honglei.wang(a)smartx.com wrote:
> 
> Don't forget to move this to the 11.4 section. the 11.3 release is
> already in freeze.
OK, thanks for the reminder.