VirtualBox

Changeset 24546 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Nov 10, 2009 1:24:50 PM (15 years ago)
Author:
vboxsync
Message:

virtio: string mismatch between device and some parts of main.

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

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

    r24511 r24546  
    31783178#ifdef VBOX_WITH_VIRTIO
    31793179                case NetworkAdapterType_Virtio:
    3180                     pszAdapterName = "virtio";
     3180                    pszAdapterName = "virtio-net";
    31813181                    break;
    31823182#endif
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r24416 r24546  
    11971197            case NetworkAdapterType_Virtio:
    11981198                pDev = pDevVirtioNet;
    1199                 pszAdapterName = "virtio";
     1199                pszAdapterName = "virtio-net";
    12001200                break;
    12011201#endif /* VBOX_WITH_VIRTIO */
  • trunk/src/VBox/Main/xml/Settings.cpp

    r24538 r24546  
    13341334            else if (strTemp == "82545EM")
    13351335                nic.type = NetworkAdapterType_I82545EM;
    1336             else if (strTemp == "virtio")
     1336            else if (strTemp == "virtio-net")
    13371337                nic.type = NetworkAdapterType_Virtio;
    13381338            else
     
    26542654            case NetworkAdapterType_I82543GC:   pcszType = "82543GC"; break;
    26552655            case NetworkAdapterType_I82545EM:   pcszType = "82545EM"; break;
    2656             case NetworkAdapterType_Virtio:     pcszType = "virtio"; break;
     2656            case NetworkAdapterType_Virtio:     pcszType = "virtio-net"; break;
    26572657            default: /*case NetworkAdapterType_Am79C970A:*/  pcszType = "Am79C970A"; break;
    26582658        }
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