Changeset 24260 in vbox
- Timestamp:
- Nov 2, 2009 2:47:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r24258 r24260 8549 8549 <h3>Accessibility checks</h3> 8550 8550 8551 The given medium (with the created storage unit) is considered to be 8552 <i>accessible</i> when its storage unit can be read. In that case, the 8553 <link to="#state"/> attribute has a value of "Created". 8554 When the storage unit cannot be read (for example, because it is located on 8555 a disconnected network resource, or was accidentally deleted outside VirtualBox), 8551 VirtualBox defers media accessibility checks until the <link to="#refreshState" /> 8552 method is called explicitly on a medium. This is done to make the VirtualBox object 8553 ready for serving requests as fast as possible and let the end-user 8554 application decide if it needs to check media accessibility right away or not. 8555 8556 As a result, when VirtualBox starts up (e.g. the VirtualBox 8557 object gets created for the first time), all known media are in the 8558 "Inaccessible" state, but the value of the <link to="#lastAccessError"/> 8559 attribute is an empty string because no actual accessibility check has 8560 been made yet. 8561 8562 After calling <link to="#refreshState" />, a medium is considered 8563 <i>accessible</i> if its storage unit can be read. In that case, the 8564 <link to="#state"/> attribute has a value of "Created". If the storage 8565 unit cannot be read (for example, because it is located on a disconnected 8566 network resource, or was accidentally deleted outside VirtualBox), 8556 8567 the medium is considered <i>inaccessible</i>, which is indicated by the 8557 8568 "Inaccessible" state. The exact reason why the medium is inaccessible can be 8558 8569 obtained by reading the <link to="#lastAccessError"/> attribute. 8559 8560 A new accessibility check is performed when <link to="#refreshState"/>8561 is called; otherwise the <link to="#state"/> attribute returns the state8562 from the last refresh.8563 8564 Note that when VirtualBox starts up (e.g. the VirtualBox object gets8565 created for the first time), all known media are in the8566 <link to="MediumState_Inaccessible"/> state but the value of the <link8567 to="#lastAccessError"/> attribute is an empty string because no actual8568 accessibility check is made on startup. This is done to make the8569 VirtualBox object ready for serving requests as8570 fast as possible and let the end-user application decide if it needs to8571 check media accessibility right away or not.8572 8570 8573 8571 <h3>Medium types</h3>
Note:
See TracChangeset
for help on using the changeset viewer.