mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 18:05:37 +00:00
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>
This commit is contained in:
parent
2e7b218958
commit
b9a002609f
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue