VirtualBox

Changeset 25901 in vbox for trunk/include/VBox/settings.h


Ignore:
Timestamp:
Jan 18, 2010 4:52:21 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56716
Message:

CPU hotplug: Merge 4th patch. Implements the Main API and a VBoxManage interface to turn CPU hotplug on/off and to add/remove CPUs while the VM is running

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/settings.h

    r25672 r25901  
    451451typedef std::list<CpuIdLeaf> CpuIdLeafsList;
    452452
     453struct Cpu
     454{
     455    Cpu()
     456        : ulId(UINT32_MAX)
     457    {}
     458
     459    uint32_t                ulId;
     460};
     461typedef std::list<Cpu> CpuList;
     462
    453463struct Hardware
    454464{
     
    465475                        fPAE;
    466476    uint32_t            cCPUs;
     477    bool                fCpuHotPlug;            // requires settings version 1.11 (VirtualBox 3.2)
     478    CpuList             llCpus;                 // requires settings version 1.11 (VirtualBox 3.2)
    467479    CpuIdLeafsList      llCpuIdLeafs;
    468480
     
    593605    void readNetworkAdapters(const xml::ElementNode &elmHardware, NetworkAdaptersList &ll);
    594606    void readCpuIdTree(const xml::ElementNode &elmCpuid, CpuIdLeafsList &ll);
     607    void readCpuTree(const xml::ElementNode &elmCpu, CpuList &ll);
    595608    void readSerialPorts(const xml::ElementNode &elmUART, SerialPortsList &ll);
    596609    void readParallelPorts(const xml::ElementNode &elmLPT, ParallelPortsList &ll);
Note: See TracChangeset for help on using the changeset viewer.

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