051-addhardware-Add-usb-as-a-recommended-sound-device.patch 055-virtinst-Add-serial-controller-option-to-cli.patch 056-virtinst-Add-NVMe-Controller.patch 057-virtinst-implement-NVMe-disk-target-generation.patch 057-virtinst-implement-NVMe-disk-target-generation.patch~ 058-virtManager-Add-NVMe-disk-type.patch 058-virtManager-Add-NVMe-disk-type.patch~ 059-ui-Show-NVMe-Controller-details.patch 060-virtinst-fix-locale-when-running-in-flatpak.patch 061-virtinst-add-support-for-iommufd.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=744
27 lines
979 B
Diff
27 lines
979 B
Diff
Subject: virtinst: Add NVMe Controller
|
|
From: 6543 6543@obermui.de Thu Dec 18 03:37:40 2025 +0100
|
|
Date: Sun Jan 11 18:36:09 2026 +0100:
|
|
Git: 605b3d807078f8a67f6828ed84d4e0c2aa6d63bc
|
|
|
|
|
|
diff --git a/virtinst/devices/controller.py b/virtinst/devices/controller.py
|
|
index def85f10e..ff723d91c 100644
|
|
--- a/virtinst/devices/controller.py
|
|
+++ b/virtinst/devices/controller.py
|
|
@@ -14,6 +14,7 @@ class DeviceController(Device):
|
|
TYPE_IDE = "ide"
|
|
TYPE_FDC = "fdc"
|
|
TYPE_SCSI = "scsi"
|
|
+ TYPE_NVME = "nvme"
|
|
TYPE_SATA = "sata"
|
|
TYPE_VIRTIOSERIAL = "virtio-serial"
|
|
TYPE_USB = "usb"
|
|
@@ -121,6 +122,6 @@ class DeviceController(Device):
|
|
ret = []
|
|
if self.type == "virtio-serial":
|
|
ret = self._get_attached_virtioserial_devices(guest)
|
|
- elif self.type in ["scsi", "sata", "ide", "fdc"]:
|
|
+ elif self.type in ["scsi", "sata", "ide", "fdc", "nvme"]:
|
|
ret = self._get_attached_disk_devices(guest)
|
|
return ret
|