VirtualBox

Changeset 55437 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Apr 27, 2015 9:35:19 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
99783
Message:

Main/Console+Machine: deliver OnGuestPropertyChanged for the current VM also through the Console event source, to make event delivery more efficient (less broadcasting/filtering compared to using the VirtualBox event source), which of course only works within VM processes.
VBoxHeadless: make use of the more efficient event delivery path, which as an additional bonus often allows VBoxSVC to skip queueing the guest property changed events, which for fast delivery rates needs quite some memory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r55233 r55437  
    1337113371}
    1337213372
    13373 HRESULT SessionMachine::pushGuestProperty(const  com::Utf8Str &aName,
    13374                                           const  com::Utf8Str &aValue,
    13375                                                  LONG64       aTimestamp,
    13376                                           const  com::Utf8Str &aFlags)
     13373HRESULT SessionMachine::pushGuestProperty(const com::Utf8Str &aName,
     13374                                          const com::Utf8Str &aValue,
     13375                                          LONG64 aTimestamp,
     13376                                          const com::Utf8Str &aFlags,
     13377                                          BOOL *aNotify)
    1337713378{
    1337813379    LogFlowThisFunc(("\n"));
     
    1338013381#ifdef VBOX_WITH_GUEST_PROPS
    1338113382    using namespace guestProp;
     13383
     13384    *aNotify = FALSE;
    1338213385
    1338313386    try
     
    1346313466                                             Bstr(aValue).raw(),
    1346413467                                             Bstr(aFlags).raw());
     13468            *aNotify = TRUE;
    1346513469        }
    1346613470    }
     
    1470514709                                   const com::Utf8Str &aValue,
    1470614710                                   LONG64 aTimestamp,
    14707                                    const com::Utf8Str &aFlags)
     14711                                   const com::Utf8Str &aFlags,
     14712                                   BOOL *aNotify)
    1470814713{
    1470914714    NOREF(aName);
     
    1471114716    NOREF(aTimestamp);
    1471214717    NOREF(aFlags);
     14718    NOREF(aNotify);
    1471314719    ReturnComNotImplemented();
    1471414720}
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