diff options
| author | Konstantin Kostiuk <kkostiuk@redhat.com> | 2022-05-24 18:43:44 +0300 |
|---|---|---|
| committer | Konstantin Kostiuk <kkostiuk@redhat.com> | 2022-05-25 12:12:02 +0300 |
| commit | b9a002609fd887447eca8ee10777690d691f91d4 (patch) | |
| tree | 6afde69e1c1f909fe530510fd390b2d8780f125d /qga/commands-win32.c | |
| parent | 2e7b2189582787ae4bedf698983b5a81f4ac4656 (diff) | |
| download | focaccia-qemu-b9a002609fd887447eca8ee10777690d691f91d4.tar.gz focaccia-qemu-b9a002609fd887447eca8ee10777690d691f91d4.zip | |
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 <kkostiuk@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20220524154344.869638-2-kkostiuk@redhat.com> Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Diffstat (limited to 'qga/commands-win32.c')
| -rw-r--r-- | qga/commands-win32.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qga/commands-win32.c b/qga/commands-win32.c index dcdeb76a68..36f94c0f9c 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 }; |