VirtualBox

Changeset 100717 in vbox


Ignore:
Timestamp:
Jul 27, 2023 12:18:19 PM (16 months ago)
Author:
vboxsync
Message:

Main/src-client/ConsoleImplConfigArmV8: Mirror the network settings code from x86 to get all the options configured for a VM like bridging, etc., bugref:10384 [follow up fix as IOM only supports guest page size aligned ranges right now]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImplConfigArmV8.cpp

    r100716 r100717  
    863863                case NetworkAdapterType_Virtio:
    864864                {
    865                     uint32_t GCPhysMmioBase = 0x0a000000 + uInstance * 512;
     865                    uint32_t GCPhysMmioBase = 0x0a000000 + uInstance * GUEST_PAGE_SIZE;
    866866                    uint32_t uIrq = 16 + uInstance;
    867867
     
    869869                    InsertConfigInteger(pCfg,  "Irq",               uIrq);
    870870
    871                     vrc = RTFdtNodeAddF(hFdt, "virtio_mmio@%RX32", 0x0a000000);                         VRC();
     871                    vrc = RTFdtNodeAddF(hFdt, "virtio_mmio@%RX32", GCPhysMmioBase);                         VRC();
    872872                    vrc = RTFdtNodePropertyAddEmpty(  hFdt, "dma-coherent");                            VRC();
    873873                    vrc = RTFdtNodePropertyAddCellsU32(hFdt, "interrupts", 3, 0x00, uIrq, 0x04);        VRC();
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