Changeset 55583 in vbox
- Timestamp:
- May 1, 2015 7:10:32 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r55535 r55583 4080 4080 <attribute name="guestAddress" type="long" readonly="yes"> 4081 4081 <desc> 4082 Address of device on the guest.4082 Address of device in the guest. 4083 4083 </desc> 4084 4084 </attribute> … … 9910 9910 <desc>A guest user has locked its account. This might 9911 9911 include running a password-protected screensaver 9912 on the guest.9912 in the guest. 9913 9913 <note>This property is not implemented yet!</note> 9914 9914 </desc> … … 9933 9933 The event will be triggered if a guest user is not active for 9934 9934 at least 5 seconds. This threshold can be adjusted by either altering 9935 VBoxService's command line on the guest to9935 VBoxService's command line in the guest to 9936 9936 <pre>--vminfo-user-idle-threshold <ms></pre> 9937 9937 , or by setting the per-VM guest property … … 10108 10108 <desc> 10109 10109 The waiting operation timed out. Also use if the guest process has 10110 timed out on the guest side (kill attempted).10110 timed out in the guest side (kill attempted). 10111 10111 </desc> 10112 10112 </const> … … 10787 10787 > 10788 10788 <desc> 10789 A guest session represents one impersonated user account on the guest, so10789 A guest session represents one impersonated user account in the guest, so 10790 10790 every operation will use the same credentials specified when creating 10791 10791 the session object via <link to="IGuest::createSession"/>. 10792 10792 10793 10793 There can be a maximum of 32 sessions at once per VM, whereas session 0 10794 is reserved for the root session. This root session is controlling all 10795 other guest sessions and also is responsible for actions which require 10796 system level privileges. Each guest session keeps track of its started 10797 guest processes, opened guest files or guest directories. 10798 To work on guest files or directories a guest session offers methods to open 10799 or create such objects (see <link to="IGuestSession::fileOpen"/> or 10794 is reserved for the root session. 10795 <!-- r=bird: Is the root session part of the maximum of 32?? Not really clear. --> 10796 This root session is controlling all other guest sessions and also is 10797 responsible for actions which require system level privileges. Each 10798 guest session keeps track of its started guest processes, opened guest 10799 files or guest directories. To work on guest files or directories a 10800 guest session offers methods to open or create such objects (see 10801 <link to="IGuestSession::fileOpen"/> or 10800 10802 <link to="IGuestSession::directoryOpen"/> for example). 10801 10803 … … 10803 10805 use the appropriate close() method to let the object do its cleanup work. 10804 10806 10805 Every guest session has its own environment variable block which gets10806 automatically applied when starting a new guest process via10807 <link to="IGuestSession::processCreate"/> or <link to="IGuestSession::processCreateEx"/>.10808 To override (or unset) certain environment variables already set by the10809 guest session, one can specify a per-process environment block when using10810 one of the both above mentioned process creation calls.10807 A set of environment variables changes is associated with each session. 10808 These are applied to the standard environment of the impersonated guest 10809 user when creating a new guest process. For additional flexibility the 10810 <link to="IGuestSession::processCreate"/> and 10811 <link to="IGuestSession::processCreateEx"/> methods allows you to specify 10812 individual environment changes for each process you create. 10811 10813 </desc> 10812 10814 10813 10815 <attribute name="user" type="wstring" readonly="yes"> 10814 10816 <desc>Returns the user name used by this session to impersonate 10815 users on the guest.10817 users in the guest. 10816 10818 </desc> 10817 10819 </attribute> 10818 10820 <attribute name="domain" type="wstring" readonly="yes"> 10819 10821 <desc>Returns the domain name used by this session to impersonate 10820 users on the guest.10822 users in the guest. 10821 10823 </desc> 10822 10824 </attribute> … … 10829 10831 <attribute name="timeout" type="unsigned long"> 10830 10832 <desc> 10833 <!-- r=bird: Using 'Returns' for writable attributes is misleading. --> 10831 10834 Returns the session timeout (in ms). 10832 10835 <result name="E_NOTIMPL"> … … 10843 10846 </attribute> 10844 10847 <attribute name="environment" type="wstring" safearray="yes"> 10845 <desc> 10846 Returns the current session environment. 10848 <!-- r=bird: Would probably be a great idea to rename this attribute as 10849 it is misleading and will cause worse confusion if we ever 10850 expose the default environment for session (which arguably 10851 would be useful in many ways). --> 10852 <desc> 10853 The set of environment changes. They are in putenv format, i.e. 10854 "NAME=VALUE" for setting and "NAME" for unsetting. 10847 10855 </desc> 10848 10856 </attribute> … … 10873 10881 processes which are not referenced by clients anymore will be 10874 10882 closed. Guest processes which fall into this category and still 10875 are running on the guest will be terminated automatically.10883 are running in the guest will be terminated automatically. 10876 10884 </desc> 10877 10885 </method> … … 10886 10894 </desc> 10887 10895 <param name="source" type="wstring" dir="in"> 10888 <desc>Source file on the guest to copy to the host.</desc>10896 <desc>Source file in the guest to copy to the host.</desc> 10889 10897 </param> 10890 10898 <param name="dest" type="wstring" dir="in"> … … 10911 10919 </param> 10912 10920 <param name="dest" type="wstring" dir="in"> 10913 <desc>Destination file name on the guest.</desc>10921 <desc>Destination file name in the guest.</desc> 10914 10922 </param> 10915 10923 <param name="flags" type="CopyFileFlag" dir="in" safearray="yes"> … … 10923 10931 <method name="directoryCreate"> 10924 10932 <desc> 10925 Create a directory on the guest.10933 Create a directory in the guest. 10926 10934 10927 10935 <result name="VBOX_E_IPRT_ERROR"> … … 10942 10950 <method name="directoryCreateTemp"> 10943 10951 <desc> 10944 Create a temporary directory on the guest.10952 Create a temporary directory in the guest. 10945 10953 10946 10954 <result name="VBOX_E_NOT_SUPPORTED"> … … 10987 10995 <method name="directoryExists"> 10988 10996 <desc> 10989 Checks whether a directory exists on the guest or not.10997 Checks whether a directory exists in the guest or not. 10990 10998 10991 10999 <result name="VBOX_E_IPRT_ERROR"> … … 11029 11037 <method name="directoryQueryInfo"> 11030 11038 <desc> 11031 Queries information of a directory on the guest.11039 Queries information about a directory in the guest. 11032 11040 11033 11041 <result name="VBOX_E_OBJECT_NOT_FOUND"> … … 11073 11081 <method name="directoryRename"> 11074 11082 <desc> 11075 Renames a directory on the guest.11083 Renames a directory in the guest. 11076 11084 </desc> 11077 11085 <param name="source" type="wstring" dir="in"> … … 11102 11110 </method> 11103 11111 11112 <!-- r=bird: Remove this it duplicates the 'environment' attribute. --> 11104 11113 <method name="environmentClear"> 11105 11114 <desc> … … 11107 11116 11108 11117 <result name="VBOX_E_IPRT_ERROR"> 11118 <!-- r=bird: No, it won't return this result, because you're just doing .clear() on a vector. --> 11109 11119 Error while clearing the session environment variables. 11110 11120 </result> … … 11113 11123 11114 11124 <method name="environmentGet"> 11115 <desc> 11116 Gets the value of a session environment variable. 11125 <!-- r=bird: Remove this because the interface isn't suitable for returning 11126 'unset' or empty values, and it can easily be misunderstood. Besides there is 11127 hardly a usecase for it as long as it just works on environment changes and 11128 there is the 'environment' attribute. --> 11129 <desc> 11130 Gets the value of an environment variable scheduled to be set. 11117 11131 11118 11132 <result name="VBOX_E_IPRT_ERROR"> 11133 <!-- r=bird: Would never return this, only invalid input or out of memory. --> 11119 11134 Error while getting the value of the session environment variable. 11120 11135 </result> … … 11125 11140 <param name="value" type="wstring" dir="return"> 11126 11141 <desc> 11127 Value of the session environment variable specified. If this variable 11128 does not exist and empty value will be returned. 11142 Value of the session environment variable specified. If this variable 11143 does not exist an empty value will be returned. 11144 <note> 11145 An empty value will also be return for a variable with an value or 11146 a unset-variable entry. 11147 </note> 11129 11148 </desc> 11130 11149 </param> … … 11133 11152 <method name="environmentSet"> 11134 11153 <desc> 11135 Sets a session environment variable. 11136 11137 <result name="VBOX_E_IPRT_ERROR"> 11138 Error while setting the session environment variable. 11139 </result> 11154 Schedules setting an environment variable when creating the next guest 11155 process. This affects the <link to="environment"/> attribute. 11140 11156 </desc> 11141 11157 <param name="name" type="wstring" dir="in"> 11142 <desc>Name of session environment variable to set.</desc> 11158 <desc>Name of the environment variable to set. This cannot be empty 11159 nor can it contain any equal signs.</desc> 11143 11160 </param> 11144 11161 <param name="value" type="wstring" dir="in"> … … 11149 11166 <method name="environmentUnset"> 11150 11167 <desc> 11151 Unsets a session environment variable. 11152 11153 <result name="VBOX_E_IPRT_ERROR"> 11154 Error while unsetting the session environment variable. 11155 </result> 11168 Schedules unsetting (removing) an environment variable when creating 11169 the next guest process. This affects the <link to="environment"/> 11170 attribute. 11156 11171 </desc> 11157 11172 <param name="name" type="wstring" dir="in"> 11158 <desc>Name of session environment variable to unset (clear).</desc> 11173 <desc>Name of the environment variable to unset. This cannot be empty 11174 nor can it contain any equal signs.</desc> 11159 11175 </param> 11160 11176 </method> … … 11162 11178 <method name="fileCreateTemp"> 11163 11179 <desc> 11164 Creates a temporary file on the guest.11180 Creates a temporary file in the guest. 11165 11181 11166 11182 <result name="VBOX_E_NOT_SUPPORTED"> … … 11209 11225 <method name="fileExists"> 11210 11226 <desc> 11211 Checks whether a file exists on the guest or not.11227 Checks whether a file exists in the guest or not. 11212 11228 11213 11229 <result name="VBOX_E_IPRT_ERROR"> … … 11225 11241 <method name="fileRemove"> 11226 11242 <desc> 11227 Removes a single file on the guest.11243 Removes a single file in the guest. 11228 11244 11229 11245 <result name="VBOX_E_OBJECT_NOT_FOUND"> … … 11331 11347 </param> 11332 11348 <param name="sharingMode" type="wstring" dir="in"> 11333 <desc>The file sharing mode on the guest. This parameter11349 <desc>The file sharing mode in the guest. This parameter 11334 11350 is not implemented yet. Pass an empty string here.</desc> 11335 11351 </param> … … 11348 11364 <method name="fileQueryInfo"> 11349 11365 <desc> 11350 Queries information of a file on the guest.11366 Queries information about a file in the guest. 11351 11367 11352 11368 <result name="VBOX_E_OBJECT_NOT_FOUND"> … … 11367 11383 <method name="fileQuerySize"> 11368 11384 <desc> 11369 Queries the size of a file on the guest.11385 Queries the size of a file in the guest. 11370 11386 11371 11387 <result name="VBOX_E_OBJECT_NOT_FOUND"> … … 11386 11402 <method name="fileRename"> 11387 11403 <desc> 11388 Renames a file on the guest.11404 Renames a file in the guest. 11389 11405 </desc> 11390 11406 <param name="source" type="wstring" dir="in"> … … 11401 11417 <method name="fileSetACL"> 11402 11418 <desc> 11403 Sets the ACL (Access Control List) of a file on the guest.11419 Sets the ACL (Access Control List) of a file in the guest. 11404 11420 11405 11421 <result name="E_NOTIMPL"> … … 11417 11433 <method name="processCreate"> 11418 11434 <desc> 11419 Creates a new process running on the guest. The new process will be11435 Creates a new process running in the guest. The new process will be 11420 11436 started asynchronously, meaning on return of this function it is not 11421 guaranteed that the guest process is in a started state. To wait for11437 be guaranteed that the guest process is in a started state. To wait for 11422 11438 successful startup, use the <link to="IProcess::waitFor"/> call. 11423 11439 11424 11440 <note> 11425 Starting at VirtualBox 4.2 guest process execution by default islimited11441 Starting at VirtualBox 4.2 guest process execution by is default limited 11426 11442 to serve up to 255 guest processes at a time. If all 255 guest processes 11427 are stillactive and running, creating a new guest process will result in an11428 appropriate error message.11443 are active and running, creating a new guest process will result in an 11444 error. 11429 11445 11430 11446 If ProcessCreateFlag_WaitForStdOut and/or ProcessCreateFlag_WaitForStdErr 11431 are set, the guest process will not e xit until all data from the specified11432 streams are read out.11447 are set, the guest process will not enter the terminated state until 11448 all data from the specified streams have been read read. 11433 11449 </note> 11434 11450 … … 11439 11455 <param name="executable" type="wstring" dir="in"> 11440 11456 <desc> 11441 Full path name of the file to execute on the guest. The file has to11457 Full path to the file to execute in the guest. The file has to 11442 11458 exists in the guest VM with executable right to the session user in 11443 order to be executed.If empty/null, the first entry in the11444 @a arguments array will be used in 11459 order to succeed. If empty/null, the first entry in the 11460 @a arguments array will be used instead (i.e. argv[0]). 11445 11461 </desc> 11446 11462 </param> … … 11451 11467 instead of argument 1 as in previous versions. Whether the zeroth 11452 11468 argument can be passed to the guest depends on the VBoxService 11453 version running there. 11469 version running there. If you depend on this, check that the 11470 <link to="IGuestSession::protocolVersion"/> is 3 or higher. 11454 11471 </note> 11455 11472 </desc> … … 11457 11474 <param name="environment" type="wstring" dir="in" safearray="yes"> 11458 11475 <desc> 11459 Environment variables to set or unset for the guest process, 11460 relative to the environment of the guest session. 11461 11462 The variables are in the traditional "NAME=VALUE" form with one pair 11463 per array entry. To unset a variable just leave out the equal sign 11464 and the value ("NAME"). 11476 Set of environment changes to complement 11477 <link to="IGuestSession::environment"/>. Takes precedence over 11478 the session ones. The changes are in putenv format, i.e. 11479 "NAME=VALUE" for setting and "NAME" for unsetting. 11480 11481 The changes are applied to the standard environment of the 11482 impersonated guest user when creating the process. 11465 11483 </desc> 11466 11484 </param> … … 11486 11504 <method name="processCreateEx"> 11487 11505 <desc> 11488 Creates a new process running on the guest. Extended version for11489 alsosetting the process priority and affinity.11506 Creates a new process running in the guest with the extended options 11507 for setting the process priority and affinity. 11490 11508 11491 11509 See <link to="IGuestSession::processCreate"/> for more information. … … 11493 11511 <param name="executable" type="wstring" dir="in"> 11494 11512 <desc> 11495 Full path name of the file to execute on the guest. The file has to11513 Full path to the file to execute in the guest. The file has to 11496 11514 exists in the guest VM with executable right to the session user in 11497 order to be executed. If empty/null, the first entry in the11498 @a arguments array will be used in 11515 order to succeed. If empty/null, the first entry in the 11516 @a arguments array will be used instead (i.e. argv[0]). 11499 11517 </desc> 11500 11518 </param> … … 11505 11523 instead of argument 1 as in previous versions. Whether the zeroth 11506 11524 argument can be passed to the guest depends on the VBoxService 11507 version running there. 11525 version running there. If you depend on this, check that the 11526 <link to="IGuestSession::protocolVersion"/> is 3 or higher. 11508 11527 </note> 11509 11528 </desc> … … 11511 11530 <param name="environment" type="wstring" dir="in" safearray="yes"> 11512 11531 <desc> 11513 Environment variables to set or unset for the guest process, 11514 relative to the environment of the guest session. 11515 11516 The variables are in the traditional "NAME=VALUE" form with one pair 11517 per array entry. To unset a variable just leave out the equal sign 11518 and the value ("NAME"). 11532 Set of environment changes to complement 11533 <link to="IGuestSession::environment"/>. Takes precedence over 11534 the session ones. The changes are in putenv format, i.e. 11535 "NAME=VALUE" for setting and "NAME" for unsetting. 11536 11537 The changes are applied to the standard environment of the 11538 impersonated guest user when creating the process. 11519 11539 </desc> 11520 11540 </param> 11521 11541 <param name="flags" type="ProcessCreateFlag" dir="in" safearray="yes"> 11522 11542 <desc> 11523 Process creation flags ;11524 see <link to="ProcessCreateFlag"/> for more information.11543 Process creation flags, see <link to="ProcessCreateFlag"/> for 11544 detailed description of available flags. 11525 11545 </desc> 11526 11546 </param> … … 11535 11555 <param name="priority" type="ProcessPriority" dir="in"> 11536 11556 <desc> 11537 Process priority to use for execution; 11538 see see <link to="ProcessPriority"/> for more information.</desc> 11557 Process priority to use for execution, see <link to="ProcessPriority"/> 11558 for available priority levels. 11559 <note>This is silently ignored if not supported by guest additions.</note> 11560 </desc> 11539 11561 </param> 11540 11562 <param name="affinity" type="long" dir="in" safearray="yes"> 11541 11563 <desc> 11542 Process affinity to use for execution. This parameter 11543 is not implemented yet. 11564 Processor affinity to set for the new process. This is a list of 11565 guest CPU numbers the process is allowed to run on. 11566 <note> 11567 This is silently ignored if the guest does not support setting the 11568 affinity of processes, or if the guest additions does not implemet 11569 this feature. 11570 </note> 11544 11571 </desc> 11545 11572 </param> … … 11563 11590 <method name="symlinkCreate"> 11564 11591 <desc> 11565 Creates a symbolic link on the guest.11592 Creates a symbolic link in the guest. 11566 11593 11567 11594 <result name="E_NOTIMPL"> … … 11585 11612 <method name="symlinkExists"> 11586 11613 <desc> 11587 Checks whether a symbolic link exists on the guest or not.11614 Checks whether a symbolic link exists in the guest. 11588 11615 11589 11616 <result name="E_NOTIMPL"> … … 11601 11628 <method name="symlinkRead"> 11602 11629 <desc> 11603 Reads a symbolic link on the guest.11630 Reads a symbolic link in the guest. 11604 11631 11605 11632 <result name="E_NOTIMPL"> … … 11624 11651 <method name="symlinkRemoveDirectory"> 11625 11652 <desc> 11626 Removes a symbolic link on the guest if it's a directory.11653 Removes a symbolic link in the guest if it's a directory. 11627 11654 11628 11655 <result name="E_NOTIMPL"> … … 11637 11664 <method name="symlinkRemoveFile"> 11638 11665 <desc> 11639 Removes a symbolic link on the guest if it's a file.11666 Removes a symbolic link in the guest if it's a file. 11640 11667 11641 11668 <result name="E_NOTIMPL"> … … 11714 11741 </attribute> 11715 11742 <attribute name="environment" type="wstring" readonly="yes" safearray="yes"> 11716 <desc> 11717 The environment block this process is using during execution. 11743 <!-- r=bird: Would probably be a great idea to rename this attribute as 11744 it is misleading and will cause worse confusion if we ever 11745 expose the initial environment for processes. --> 11746 <desc> 11747 The set of environment changes appled to the default environment when 11748 starting the process. The format is putenv style, i.e. "NAME=VALUE" 11749 for variables that should be set and "NAME" for values that should be 11750 unset (removed). See also <link to="IGuestSession::environment"/>. 11718 11751 </desc> 11719 11752 </attribute> … … 11895 11928 <desc> 11896 11929 Implementation of the <link to="IProcess" /> object 11897 for processes on the guest.11930 for processes the host has started in the guest. 11898 11931 </desc> 11899 11932 </interface> … … 11948 11981 <desc> 11949 11982 Implementation of the <link to="IDirectory" /> object 11950 for directories on the guest.11983 for directories in the guest. 11951 11984 </desc> 11952 11985 </interface> … … 12163 12196 <desc> 12164 12197 Implementation of the <link to="IFile" /> object 12165 for files on the guest.12198 for files in the guest. 12166 12199 </desc> 12167 12200 </interface> … … 12494 12527 call. 12495 12528 12496 A guest session represents one impersonated user account on the guest, so12529 A guest session represents one impersonated user account in the guest, so 12497 12530 every operation will use the same credentials specified when creating 12498 12531 the session object via <link to="IGuest::createSession"/>. Anonymous 12499 12532 sessions, that is, sessions without specifying a valid 12500 user account on the guest are not allowed due to security reasons.12533 user account in the guest are not allowed due to security reasons. 12501 12534 12502 12535 There can be a maximum of 32 sessions at once per VM. Each session keeps … … 12606 12639 Optional command line arguments to use for the Guest Additions 12607 12640 installer. Useful for retrofitting features which weren't installed 12608 before on the guest.12641 before in the guest. 12609 12642 </desc> 12610 12643 </param>
Note:
See TracChangeset
for help on using the changeset viewer.