mingw-qemu-ga-win/0001-Remove-redundant-GUID-definitions.patch
Yan Vugenfirer 5e451b86b7 Add mingw-qemu-ga-win to CentOS stream and rebase to qemu-6.2.0
- Resolves: BZ#2061158

Signed-off-by: Yan Vugenfirer <yvugenfi@redhat.com>
2022-03-08 07:48:12 -05:00

34 lines
1.1 KiB
Diff

From e3583e102870f37f7abef4e501a718e83b5a75d1 Mon Sep 17 00:00:00 2001
From: Yan Vugenfirer <yvugenfi@redhat.com>
Date: Mon, 27 Dec 2021 01:48:22 +0200
Subject: [PATCH] Remove redundant GUID definitions.
GUID_DEVINTERFACE_STORAGEPORT and GUID_DEVINTERFACE_DISK are already defined in glib2
Signed-off-by: Yan Vugenfirer <yvugenfi@redhat.com>
---
qga/commands-win32.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index 830a24a..fbc5dfd 100644
--- a/qga/commands-win32.c
+++ b/qga/commands-win32.c
@@ -505,13 +505,6 @@ static GuestDiskBusType find_bus_type(STORAGE_BUS_TYPE bus)
return win2qemu[(int)bus];
}
-DEFINE_GUID(GUID_DEVINTERFACE_DISK,
- 0x53f56307L, 0xb6bf, 0x11d0, 0x94, 0xf2,
- 0x00, 0xa0, 0xc9, 0x1e, 0xfb, 0x8b);
-DEFINE_GUID(GUID_DEVINTERFACE_STORAGEPORT,
- 0x2accfe60L, 0xc130, 0x11d2, 0xb0, 0x82,
- 0x00, 0xa0, 0xc9, 0x1e, 0xfb, 0x8b);
-
static GuestPCIAddress *get_pci_info(int number, Error **errp)
{
HDEVINFO dev_info = INVALID_HANDLE_VALUE;
--
1.8.3.1