Changeset 22746 in vbox
- Timestamp:
- Sep 3, 2009 1:15:11 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 51891
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r22603 r22746 2820 2820 else 2821 2821 { 2822 /* Pull over the properties from the server. */ 2822 /* 2823 * Initialize built-in properties that can be changed and saved. 2824 * 2825 * These are typically transient properties that the guest cannot 2826 * change. 2827 */ 2828 2829 /* Sysprep execution by VBoxService. */ 2830 configSetProperty(pConsole->mVMMDev, 2831 "/VirtualBox/HostGuest/SysprepExec", "", 2832 "TRANSIENT, RDONLYGUEST"); 2833 configSetProperty(pConsole->mVMMDev, 2834 "/VirtualBox/HostGuest/SysprepArgs", "", 2835 "TRANSIENT, RDONLYGUEST"); 2836 2837 /* 2838 * Pull over the properties from the server. 2839 */ 2823 2840 SafeArray<BSTR> namesOut; 2824 2841 SafeArray<BSTR> valuesOut; … … 2889 2906 AssertRCReturn(rc, rc); 2890 2907 2908 /* 2909 * Set properties which cannot be saved. 2910 */ 2891 2911 /* Set the VBox version string as a guest property */ 2892 2912 configSetProperty(pConsole->mVMMDev, "/VirtualBox/HostInfo/VBoxVer", … … 2895 2915 configSetProperty(pConsole->mVMMDev, "/VirtualBox/HostInfo/VBoxRev", 2896 2916 RTBldCfgRevisionStr(), "TRANSIENT, RDONLYGUEST"); 2897 /* Initialize the remote execution properties for ready-on access by 2898 * the guest */ 2899 configSetProperty(pConsole->mVMMDev, 2900 "/VirtualBox/HostGuest/SysprepArgs", "", 2901 "TRANSIENT, RDONLYGUEST"); 2902 2903 /* Register the host notification callback */ 2917 2918 /* 2919 * Register the host notification callback 2920 */ 2904 2921 HGCMSVCEXTHANDLE hDummy; 2905 HGCMHostRegisterServiceExtension 2906 2907 2922 HGCMHostRegisterServiceExtension(&hDummy, "VBoxGuestPropSvc", 2923 Console::doGuestPropNotification, 2924 pvConsole); 2908 2925 2909 2926 Log(("Set VBoxGuestPropSvc property store\n"));
Note:
See TracChangeset
for help on using the changeset viewer.