VirtualBox

Ignore:
Timestamp:
Nov 10, 2009 2:20:40 PM (15 years ago)
Author:
vboxsync
Message:

ConsoleImpl: Assertion update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r24546 r24552  
    33373337    AssertReturn(pThis, VERR_INVALID_PARAMETER);
    33383338
    3339     AssertMsg(   (!strcmp(pszDevice, "pcnet") && uLun == 0 && uInstance < SchemaDefs::NetworkAdapterCount)
    3340                || (!strcmp(pszDevice, "e1000") && uLun == 0 && uInstance < SchemaDefs::NetworkAdapterCount),
    3341                ("pszDevice=%s uLun=%d uInstance=%d\n", pszDevice, uLun, uInstance));
     3339    AssertMsg(   (   !strcmp(pszDevice, "pcnet")
     3340                  || !strcmp(pszDevice, "e1000")
     3341                  || !strcmp(pszDevice, "virtio-net"))
     3342              && (uLun == 0)
     3343              && (uInstance < SchemaDefs::NetworkAdapterCount),
     3344              ("pszDevice=%s uLun=%d uInstance=%d\n", pszDevice, uLun, uInstance));
    33423345    Log(("pszDevice=%s uLun=%d uInstance=%d\n", pszDevice, uLun, uInstance));
    33433346
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette