is there a way to poweroff the vm programmatically from within the Guest OS? (assuming Windows Additions are installed in that guest)
this is the situation: the VM has a snapshot, when started it performs some processing. when processing is complete, it shuts down the guest, and a batch on the host restores the snapshot and runs the vm again.
i would like to avoid shutting down the guest gracefully. it's a waste of time because the vm is restored from snapshot anyway each time. we need a statistically significant number of iterations (>10,000) and would like to do them as quickly as possible.
poweroff from within guest
Re: poweroff from within guest
If a batchfile on the Host starts the VM you might as well add a waiting routine for a file to appear on a shared folder that you create from the Guest, then kill the VM and restart.
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
-
vv75
- Posts: 6
- Joined: 3. Apr 2010, 08:20
- Primary OS: MS Windows XP
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: xp,w7,vista,ubuntu
Re: poweroff from within guest
thank you, i forgot about shared folders!