VirtualBox

Changeset 36107 in vbox for trunk/src/VBox/Main/src-all


Ignore:
Timestamp:
Feb 28, 2011 6:24:32 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70264
Message:

PCI: some Main work to provide correct attachment info for physical devices

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/PciDeviceAttachmentImpl.cpp

    r35885 r36107  
    2525struct PciDeviceAttachment::Data
    2626{
    27     Data(IMachine      *aParent,
    28          const Bstr    &aDevName,
     27    Data(const Bstr    &aDevName,
    2928         LONG          aHostAddress,
    3029         LONG          aGuestAddress,
     
    3332          fPhysical(afPhysical)
    3433    {
    35         (void)aParent;
    3634        DevName = aDevName;
    3735    }
     
    6765                                  BOOL          fPhysical)
    6866{
    69     m = new Data(aParent, aDevName, aHostAddress, aGuestAddress, fPhysical);
     67    (void)aParent;
     68    m = new Data(aDevName, aHostAddress, aGuestAddress, fPhysical);
    7069
    7170    return m != NULL ? S_OK : E_FAIL;
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