Skip to content

Commit

Permalink
qga-win32: Add support for NVME but type
Browse files Browse the repository at this point in the history
Bus type spaces (Indicates a storage spaces bus) is not
supported, so return it as unknown.

Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Message-Id: <20220520201401.706630-1-kkostiuk@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
  • Loading branch information
kostyanf14 committed May 23, 2022
1 parent dc6aa9a commit 76ea80e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions qga/commands-win32.c
Expand Up @@ -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
};

Expand Down

0 comments on commit 76ea80e

Please sign in to comment.