VirtualBox

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/Devices/testcase/tstDeviceStructSize.cpp

    r89590 r92996  
    6565#undef LOG_GROUP
    6666#include "../Network/DevPCNet.cpp"
    67 #ifdef VBOX_WITH_VIRTIO
    68 # undef LOG_GROUP
    69 # include "../Network/DevVirtioNet.cpp"
    70 #endif
    7167#undef LOG_GROUP
    7268#include "../PC/DevACPI.cpp"
     
    347343    CHECK_MEMBER_ALIGNMENT(E1KSTATE, StatReceiveBytes, 8);
    348344#endif
    349 #ifdef VBOX_WITH_VIRTIO
    350     CHECK_MEMBER_ALIGNMENT(VNETSTATE, StatReceiveBytes, 8);
    351 #endif
    352345    //CHECK_MEMBER_ALIGNMENT(E1KSTATE, csTx, 8);
    353346#ifdef VBOX_WITH_USB
     
    407400    CHECK_MEMBER_ALIGNMENT(VGASTATE, CritSectIRQ, 8);
    408401    CHECK_MEMBER_ALIGNMENT(VMMDEV, CritSect, 8);
    409 #ifdef VBOX_WITH_VIRTIO
    410     CHECK_MEMBER_ALIGNMENT(VPCISTATE, cs, 8);
    411     CHECK_MEMBER_ALIGNMENT(VPCISTATE, led, 4);
    412     CHECK_MEMBER_ALIGNMENT(VPCISTATE, Queues, 8);
    413 #endif
    414402#ifdef VBOX_WITH_PCI_PASSTHROUGH_IMPL
    415403    CHECK_MEMBER_ALIGNMENT(PCIRAWSENDREQ, u.aGetRegionInfo.u64RegionSize, 8);
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