VirtualBox

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


Ignore:
Timestamp:
May 22, 2015 4:03:35 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
100554
Message:

Main/Machine+USBController+StorageController: Mix of deleting useless functionality, fixing of missing sanity checks and adding some additional functionality. The removed functionality is the possibility to specify patters of guest properties which will trigger notifications, which wasn't useful as it is per VM, sabotaging other API clients (e.g. the VM process assumes it gets the notifications it needs). The storage controller setters were lacking a lot of state and consistency sanity checking, which is now fixed. Both the USB and storage controllers can now be renamed (no API client uses this functionality though), all with very pessimistic assumptions (only when the VM is powered off).

File:
1 edited

Legend:

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

    r55677 r56035  
    20822082                  && (fPageFusionEnabled        == h.fPageFusionEnabled)
    20832083                  && (llGuestProperties         == h.llGuestProperties)
    2084                   && (strNotificationPatterns   == h.strNotificationPatterns)
    20852084                  && (ioSettings                == h.ioSettings)
    20862085                  && (pciAttachments            == h.pciAttachments)
     
    26912690        hw.llGuestProperties.push_back(prop);
    26922691    }
    2693 
    2694     elmGuestProperties.getAttributeValue("notificationPatterns", hw.strNotificationPatterns);
    26952692}
    26962693
     
    48534850        pelmProp->setAttribute("flags", prop.strFlags);
    48544851    }
    4855 
    4856     if (hw.strNotificationPatterns.length())
    4857         pelmGuestProps->setAttribute("notificationPatterns", hw.strNotificationPatterns);
    48584852}
    48594853
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