X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=OvmfPkg%2FVirtioScsiDxe%2FVirtioScsi.c;h=1a68f062106c00132f1c9a32002fb52f1cee3820;hb=5e2e5647b9fba569b7ba5ede0a77d06ae3c16504;hp=7b8c3d22c8de322611f1ac42e5f8573c51cac93a;hpb=17cbf7359f04a4eb762b2b4bc26c2df635ef2812;p=mirror_edk2.git diff --git a/OvmfPkg/VirtioScsiDxe/VirtioScsi.c b/OvmfPkg/VirtioScsiDxe/VirtioScsi.c index 7b8c3d22c8..1a68f06210 100644 --- a/OvmfPkg/VirtioScsiDxe/VirtioScsi.c +++ b/OvmfPkg/VirtioScsiDxe/VirtioScsi.c @@ -1223,6 +1223,7 @@ VirtioScsiExitBoot ( { VSCSI_DEV *Dev; + DEBUG ((DEBUG_VERBOSE, "%a: Context=0x%p\n", __FUNCTION__, Context)); // // Reset the device. This causes the hypervisor to forget about the virtio // ring. @@ -1232,12 +1233,6 @@ VirtioScsiExitBoot ( // Dev = Context; Dev->VirtIo->SetDeviceStatus (Dev->VirtIo, 0); - - // - // Unmap the ring buffer so that hypervisor will not be able to get - // readable data after device reset. - // - Dev->VirtIo->UnmapSharedBuffer (Dev->VirtIo, Dev->RingMap); }