/* De-configure the VirtIo GPU device that underlies VgpuDev. */
VOID VirtioGpuUninit(IN OUT VGPU_DEV *VgpuDev)
/* De-configure the VirtIo GPU device that underlies VgpuDev. */
VOID VirtioGpuUninit(IN OUT VGPU_DEV *VgpuDev)
{
  VgpuDev->VirtIo->SetDeviceStatus (VgpuDev->VirtIo, 0);
  VgpuDev->VirtIo->UnmapSharedBuffer (VgpuDev->VirtIo, VgpuDev->RingMap);
  VirtioRingUninit (VgpuDev->VirtIo, &VgpuDev->Ring);
}