qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] qga-win32: Add support for NVME bus type
@ 2022-05-24 15:43 Konstantin Kostiuk
  2022-05-24 15:43 ` [PATCH 1/1] " Konstantin Kostiuk
  0 siblings, 1 reply; 2+ messages in thread
From: Konstantin Kostiuk @ 2022-05-24 15:43 UTC (permalink / raw)
  To: qemu-devel; +Cc: Marc-André Lureau, Michael Roth

v1 -> v2: Fixed typo in subject
v1: https://patchew.org/QEMU/20220520201401.706630-1-kkostiuk@redhat.com/

Konstantin Kostiuk (1):
  qga-win32: Add support for NVME bus type

 qga/commands-win32.c | 5 +++++
 1 file changed, 5 insertions(+)

--
2.25.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] qga-win32: Add support for NVME bus type
  2022-05-24 15:43 [PATCH 0/1] qga-win32: Add support for NVME bus type Konstantin Kostiuk
@ 2022-05-24 15:43 ` Konstantin Kostiuk
  0 siblings, 0 replies; 2+ messages in thread
From: Konstantin Kostiuk @ 2022-05-24 15:43 UTC (permalink / raw)
  To: qemu-devel; +Cc: Marc-André Lureau, Michael Roth

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>
---
 qga/commands-win32.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index d56b5fd2a7..5ca2af9173 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
 };
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-24 16:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-24 15:43 [PATCH 0/1] qga-win32: Add support for NVME bus type Konstantin Kostiuk
2022-05-24 15:43 ` [PATCH 1/1] " Konstantin Kostiuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).