OvmfPkg/Virtio: take RingBaseShift in SetQueueAddress()
[mirror_edk2.git] / OvmfPkg / VirtioGpuDxe / Commands.c
index c2e4d72feb679cd64b3d607268d2e548c714ef19..5cb0031612077ea0bc096765d9f2f48773d8f826 100644 (file)
@@ -132,7 +132,11 @@ VirtioGpuInit (
   if (EFI_ERROR (Status)) {\r
     goto Failed;\r
   }\r
-  Status = VgpuDev->VirtIo->SetQueueAddress (VgpuDev->VirtIo, &VgpuDev->Ring);\r
+  Status = VgpuDev->VirtIo->SetQueueAddress (\r
+                              VgpuDev->VirtIo,\r
+                              &VgpuDev->Ring,\r
+                              0\r
+                              );\r
   if (EFI_ERROR (Status)) {\r
     goto ReleaseQueue;\r
   }\r