diff options
author | Laszlo Ersek <lersek@redhat.com> | 2017-09-15 09:56:00 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2017-09-22 15:01:51 +0200 |
commit | d83defe0df34ad40b20d2d5b807e83fa96cf5a82 (patch) | |
tree | 17ae9900fd8187c450a53359af6a153cb8acb59a /OvmfPkg/VirtioNetDxe/Events.c | |
parent | 53b55831e01f2050dbd9fd110758b7e5d96d0ae4 (diff) | |
download | edk2-d83defe0df34ad40b20d2d5b807e83fa96cf5a82.tar.gz edk2-d83defe0df34ad40b20d2d5b807e83fa96cf5a82.tar.bz2 edk2-d83defe0df34ad40b20d2d5b807e83fa96cf5a82.zip |
OvmfPkg/VirtioNetDxe: log debug message in VirtioNetExitBoot()
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>
Reviewed-by: Brijesh Singh <brijesh.singh@amd.com>
Diffstat (limited to 'OvmfPkg/VirtioNetDxe/Events.c')
-rw-r--r-- | OvmfPkg/VirtioNetDxe/Events.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OvmfPkg/VirtioNetDxe/Events.c b/OvmfPkg/VirtioNetDxe/Events.c index 5be1af6ffb..c79bae9c35 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);
|