[HydraVM] News

Igor Stasenko siguctua at gmail.com
Wed Feb 6 21:08:17 UTC 2008


Hello all,

I just put a new update of HydraVM , including SVN sources, VMMaker
package and HydraVM package.

Lately i was focused mainly to be able to prepare & run secondary
image without much problems.
I managed to make minimal setup (of course it's not perfect), but
working ok, at least when using Croquet stock image (i'm using
HomeBase.image from Croquet SDK to test things).

With updates, i'm now able to do following showcase without problems:
- pick a clean image
- run it under HydraVM
- install HydraVM package
- save image with new name, let's say 'myHydra.image'
- doIt:  HydraVM saveAsHeadlessImage: 'test.image' , which doing
little preparation for running current image as secondary. Mainly
these changes preparing image to run headless, in background thread.

After quit, run VM again, with myHydra.image,
now you can do:

HydraVM loadAndRunNewImage: 'test.image'

after it's loaded, you can use #doIt channel to execute different code in it.

For example, you can do:

HydraVM doIt: '(HTTPSocket httpGet:
''installer.pbwiki.com/f/Installer.st'') fileIn ' at: 2

and then do:

HydraVM doIt: 'Smalltalk snapshot: true andQuit: false' at:2

yes, you can make a snapshot of secondary image , also note, that all
doit , which you sending to that image are stored in it's .changes
file (in same way as regular doits) :)

-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list