[ipxe-devel] [RFC PATCH 7/8] efi: export HypervVmbusDevice protocol GUID

Roman Kagan rkagan at virtuozzo.com
Mon Jun 11 17:28:22 UTC 2018


Signed-off-by: Roman Kagan <rkagan at virtuozzo.com>
---
 src/include/ipxe/efi/efi.h   | 1 +
 src/interface/efi/efi_guid.c | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/src/include/ipxe/efi/efi.h b/src/include/ipxe/efi/efi.h
index 669e5364..c2e9bf78 100644
--- a/src/include/ipxe/efi/efi.h
+++ b/src/include/ipxe/efi/efi.h
@@ -175,6 +175,7 @@ extern EFI_GUID efi_driver_binding_protocol_guid;
 extern EFI_GUID efi_graphics_output_protocol_guid;
 extern EFI_GUID efi_hii_config_access_protocol_guid;
 extern EFI_GUID efi_hii_font_protocol_guid;
+extern EFI_GUID efi_hyperv_vmbus_device_protocol_guid;
 extern EFI_GUID efi_ip4_protocol_guid;
 extern EFI_GUID efi_ip4_config_protocol_guid;
 extern EFI_GUID efi_ip4_service_binding_protocol_guid;
diff --git a/src/interface/efi/efi_guid.c b/src/interface/efi/efi_guid.c
index 663585dc..08ff618d 100644
--- a/src/interface/efi/efi_guid.c
+++ b/src/interface/efi/efi_guid.c
@@ -42,6 +42,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
 #include <ipxe/efi/Protocol/GraphicsOutput.h>
 #include <ipxe/efi/Protocol/HiiConfigAccess.h>
 #include <ipxe/efi/Protocol/HiiFont.h>
+#include <ipxe/efi/Protocol/HypervVmbusDevice.h>
 #include <ipxe/efi/Protocol/Ip4.h>
 #include <ipxe/efi/Protocol/Ip4Config.h>
 #include <ipxe/efi/Protocol/LoadFile.h>
@@ -159,6 +160,10 @@ EFI_GUID efi_hii_config_access_protocol_guid
 EFI_GUID efi_hii_font_protocol_guid
 	= EFI_HII_FONT_PROTOCOL_GUID;
 
+/** HyperV VMBus device protocol GUID */
+EFI_GUID efi_hyperv_vmbus_device_protocol_guid
+	= EFI_HYPERV_VMBUS_DEVICE_PROTOCOL_GUID;
+
 /** IPv4 protocol GUID */
 EFI_GUID efi_ip4_protocol_guid
 	= EFI_IP4_PROTOCOL_GUID;
-- 
2.17.1




More information about the ipxe-devel mailing list