Index: /trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
===================================================================
--- /trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp	(revision 56666)
+++ /trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp	(revision 56667)
@@ -4818,5 +4818,5 @@
                                                         IoExitInfo.n.u3SEG);
                     }
-                    else if (cbInstr != 1U + IoExitInfo.n.u1REP)
+                    else if (cbInstr == 1U + IoExitInfo.n.u1REP)
                         rcStrict = IEMExecStringIoWrite(pVCpu, cbValue, enmAddrMode, IoExitInfo.n.u1REP, (uint8_t)cbInstr,
                                                         X86_SREG_DS);
