From: Konstantin Kostiuk Date: Tue, 24 May 2022 15:43:44 +0000 (+0300) Subject: qga-win32: Add support for NVME bus type X-Git-Tag: v7.1.0-rc0~92^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b9a002609fd887447eca8ee10777690d691f91d4;p=thirdparty%2Fqemu.git qga-win32: Add support for NVME bus type Bus type spaces (Indicates a storage spaces bus) is not supported, so return it as unknown. Signed-off-by: Konstantin Kostiuk Reviewed-by: Marc-André Lureau Message-Id: <20220524154344.869638-2-kkostiuk@redhat.com> Signed-off-by: Konstantin Kostiuk --- diff --git a/qga/commands-win32.c b/qga/commands-win32.c index dcdeb76a683..36f94c0f9ca 100644 --- a/qga/commands-win32.c +++ b/qga/commands-win32.c @@ -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 };