#11644 closed defect (fixed)
guestproperty wait does not work in headless mode => Fixed in SVN
回報者: | vroetman | 負責人: | |
---|---|---|---|
元件: | guest control | 版本: | VirtualBox 4.2.10 |
關鍵字: | guestproperty wait | 副本: | |
Guest type: | Windows | Host type: | Windows |
描述
VBoxManage guestproperty wait does not work in headless mode in VirtualBox 4.2.8 and 4.2.10. It does work in 4.2.6, so this is a regression.
The Host is Windows 7. The Guest is Windows 7.
The problem is the same with 4.2.8 and 4.2.10, with both 4.2.8 and 4.2.10 guest additions. It works fine with 4.2.6 VBox and 4.2.8 Guest Additions in the guest, so the probably is not in the guest additions.
After the guest is started, the host waits with:
VBoxManage guestproperty wait GuestName LoginCompleted
In the guest, and AutoRun.bat file executes:
VBoxControl guestproperty set LoginCompleted True
This works fine in 4.2.6 for both headless and gui modes. It only works in 4.2.8 and 4.2.10 in gui mode, but not headless mode. In headless mode,
VBoxManage guestproperty wait GuestName LoginCompleted
never comes back, and keeps waiting, even after the variable is set. The set guest properties can be read with get or enumerate, so they are set, but wait does not work.
Confirmed. Thanks for the testcase.