VirtualBox

Changeset 92996 in vbox for trunk/src/VBox/Main/xml


Ignore:
Timestamp:
Dec 17, 2021 8:18:43 AM (3 years ago)
Author:
vboxsync
Message:

virtio-net works on linux in local testing, and virtio-scsi works on windows. Integrating the switchover to make DevVirtioNet_1_0.cpp the 'virtio-net' option in the Virtual Network Controller list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/Settings.cpp

    r92223 r92996  
    41134113            else if (strTemp == "virtio")
    41144114                nic.type = NetworkAdapterType_Virtio;
    4115             else if (strTemp == "virtio_1.0")
    4116                 nic.type = NetworkAdapterType_Virtio_1_0;
    41174115            else
    41184116                throw ConfigFileError(this, pelmAdapter, N_("Invalid value '%s' in Adapter/@type attribute"), strTemp.c_str());
     
    68416839                        case NetworkAdapterType_I82545EM:   pcszType = "82545EM"; break;
    68426840                        case NetworkAdapterType_Virtio:     pcszType = "virtio"; break;
    6843                         case NetworkAdapterType_Virtio_1_0: pcszType = "virtio_1.0"; break;
    68446841                        default: /*case NetworkAdapterType_Am79C970A:*/  pcszType = "Am79C970A"; break;
    68456842                    }
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