qga-win32: Add support for NVME but type
PATCH 1/1 qga-win32: Add support for NVME but type
Bus type spaces (Indicates a storage spaces bus) is not supported, so return it as unknown.
Signed-off-by Konstantin Kostiuk <[email protected]>
--- qga/commands-win32.c | 5 +++++ 1 file changed, 5 insertions(+)
qga/commands-win32.c +5 -0
@@ -490,6 +490,11 @@ static GuestDiskBusType win2qemu[] = {#if (_WIN32_WINNT >=0x0601 ) [BusTypeVirtual] = GUEST_DISK_BUS_TYPE_VIRTUAL, [BusTypeFileBackedVirtual] = GUEST_DISK_BUS_TYPE_FILE_BACKED_VIRTUAL, +/* +* BusTypeSpaces currently is not suported +*/ + [BusTypeSpaces] = GUEST_DISK_BUS_TYPE_UNKNOWN, + [BusTypeNvme] = GUEST_DISK_BUS_TYPE_NVME, #endif };
Signature · 1 line
2.25.1
Quoted 5 lines · Konstantin Kostiuk
Bus type spaces (Indicates a storage spaces bus) is not supported, so return it as unknown.
Signed-off-by Konstantin Kostiuk <[email protected]>
Reviewed-by Marc-André Lureau <[email protected]>
Quoted 26 lines
--- qga/commands-win32.c | 5 +++++ 1 file changed, 5 insertions(+)qga/commands-win32.c +5
-1@@ -490,6 +490,11 @@ static GuestDiskBusType win2qemu[] = {#if (_WIN32_WINNT >=0x0601 ) [BusTypeVirtual] = GUEST_DISK_BUS_TYPE_VIRTUAL, [BusTypeFileBackedVirtual] = GUEST_DISK_BUS_TYPE_FILE_BACKED_VIRTUAL, +/* +* BusTypeSpaces currently is not suported +*/ + [BusTypeSpaces] = GUEST_DISK_BUS_TYPE_UNKNOWN, + [BusTypeNvme] = GUEST_DISK_BUS_TYPE_NVME, #endif }; --2.25.1
Signature · 1 line
Marc-André Lureau