Changeset 24712 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Nov 17, 2009 10:36:11 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 54904
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevVirtioNet.cpp
r24705 r24712 1680 1680 if (RT_FAILURE(rc)) 1681 1681 return rc; 1682 1683 /* Drop packets if VM is not running or cable is disconnected. */ 1684 VMSTATE enmVMState = PDMDevHlpVMState(pState->VPCI.CTX_SUFF(pDevIns)); 1685 if (( enmVMState != VMSTATE_RUNNING 1686 && enmVMState != VMSTATE_RUNNING_LS) 1687 || !(STATUS & VNET_S_LINK_UP)) 1688 return VINF_SUCCESS; 1682 1689 1683 1690 STAM_PROFILE_ADV_START(&pState->StatReceive, a);
Note:
See TracChangeset
for help on using the changeset viewer.