[edk2] [PATCH 2/2] OvmfPkg/VirtioNetDxe: log debug message in VirtioNetExitBoot()

Laszlo Ersek posted 2 patches 7 years, 3 months ago
[edk2] [PATCH 2/2] OvmfPkg/VirtioNetDxe: log debug message in VirtioNetExitBoot()
Posted by Laszlo Ersek 7 years, 3 months ago
The other four virtio device drivers (VirtioBlkDxe, VirtioGpuDxe,
VirtioRngDxe, VirtioScsiDxe) log such messages at this point; follow suit.

Cc: Brijesh Singh <brijesh.singh@amd.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
---
 OvmfPkg/VirtioNetDxe/Events.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/OvmfPkg/VirtioNetDxe/Events.c b/OvmfPkg/VirtioNetDxe/Events.c
index 5be1af6ffbee..c79bae9c35e1 100644
--- a/OvmfPkg/VirtioNetDxe/Events.c
+++ b/OvmfPkg/VirtioNetDxe/Events.c
@@ -84,6 +84,7 @@ VirtioNetExitBoot (
   //
   VNET_DEV *Dev;
 
+  DEBUG ((DEBUG_VERBOSE, "%a: Context=0x%p\n", __FUNCTION__, Context));
   Dev = Context;
   if (Dev->Snm.State == EfiSimpleNetworkInitialized) {
     Dev->VirtIo->SetDeviceStatus (Dev->VirtIo, 0);
-- 
2.14.1.3.gb7cf6e02401b

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH 2/2] OvmfPkg/VirtioNetDxe: log debug message in VirtioNetExitBoot()
Posted by Brijesh Singh 7 years, 3 months ago

On 09/15/2017 03:57 AM, Laszlo Ersek wrote:
> The other four virtio device drivers (VirtioBlkDxe, VirtioGpuDxe,
> VirtioRngDxe, VirtioScsiDxe) log such messages at this point; follow suit.
> 
> Cc: Brijesh Singh <brijesh.singh@amd.com>
> Cc: Jordan Justen <jordan.l.justen@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Laszlo Ersek <lersek@redhat.com>
> ---
>   OvmfPkg/VirtioNetDxe/Events.c | 1 +
>   1 file changed, 1 insertion(+)
> 

Reviewed-by: Brijesh Singh <brijesh.singh@amd.com>
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel