VirtualBox

Changeset 45373 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Apr 5, 2013 2:07:18 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84796
Message:

forward-ported 84794 (don't filter guest property events by patterns in VBoxHeadless as this affects all clients)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp

    r44158 r45373  
    12881288            eventTypes.push_back(VBoxEventType_OnGuestPropertyChanged);
    12891289
    1290             /* Set the notification pattern to not cause too much load.
    1291              * Remove (or extend) this pattern when more guest properties need to be handled. */
    1292             CHECK_ERROR(machine, COMSETTER(GuestPropertyNotificationPatterns)(Bstr("/VirtualBox/GuestInfo/OS/*Logged*").raw()));
    1293 
     1290            /**
     1291             * @todo Set the notification pattern to "/VirtualBox/GuestInfo/OS/ *Logged*"
     1292             *       to not cause too much load. The current API is broken as
     1293             *       IMachine::GuestPropertyNotificationPatterns() would change the
     1294             *       filter for _all_ clients. This is not what we want!
     1295             */
    12941296            CHECK_ERROR(es, RegisterListener(vboxListener, ComSafeArrayAsInParam(eventTypes), true));
    12951297        }
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