Index: /trunk/src/VBox/Devices/Bus/MsixCommon.cpp
===================================================================
--- /trunk/src/VBox/Devices/Bus/MsixCommon.cpp	(revision 71771)
+++ /trunk/src/VBox/Devices/Bus/MsixCommon.cpp	(revision 71772)
@@ -130,5 +130,5 @@
                     ("MSI-X must be accessed with 4-byte reads"),
                     VERR_INTERNAL_ERROR);
-    AssertMsgReturn(off < pPciDev->Int.s.cbMsixRegion,
+    AssertMsgReturn(off + cb <= pPciDev->Int.s.cbMsixRegion,
                     ("Out of bounds access for the MSI-X region\n"),
                     VINF_IOM_MMIO_UNUSED_FF);
@@ -149,7 +149,6 @@
                     ("MSI-X must be accessed with 4-byte reads"),
                     VERR_INTERNAL_ERROR);
-    AssertMsgReturn(off < pPciDev->Int.s.offMsixPba,
-                    ("Trying to write to PBA\n"),
-                    VINF_IOM_MMIO_UNUSED_FF);
+    AssertMsgReturn(off + cb <= pPciDev->Int.s.offMsixPba,
+                    ("Trying to write to PBA\n"), VINF_SUCCESS);
 
     *(uint32_t *)msixGetPageOffset(pPciDev, off) = *(uint32_t *)pv;
