We recently added some new features to support CERN's VM project.
Some of these may be of more general utility.

1) Web-based application graphics.
Previously, application graphics (both screensaver and window)
were produced using a separate program.
In this new approach, window graphics (i.e. the result of Show Graphics)
can be rendered in a browser.
Typically this would be done by having the main program implement a web server.
A new API function
   boinc_web_graphics_url(char* url)
allows the main program to specify the URL to which the browser should be opened
(typically this will be of the form http://localhost:port,
where "port" is dynamically assigned).

See: http://boinc.berkeley.edu/trac/wiki/GraphicsApi

---------

2) App versions that require constant network access.
You can now specify
   <needs_network/>
in the version.xml file for an app version.
This tells the BOINC client to only schedule jobs using that app version
if network access is allowed
(i.e. it hasn't been suspended by the user or disallowed by preferences).
Enforced in 7.0.4+ clients.

See: http://boinc.berkeley.edu/trac/wiki/AppVersionNew

---------

3) Port-forwarding in the Vbox wrapper.
This feature supports network access to VM-based apps
(e.g., access to a web server running within the VM).
If you include
   <pf_guest_port>N</pf_guest_port>
in your vbox_job.xml file, vboxwrapper will get a host port number,
and set up forwarding from the host port to the guest port.
It will register this as the web graphics URL (see above)
and also write the host port to a file in the slot directory.

http://boinc.berkeley.edu/trac/wiki/VboxApps

---------

4) Other vboxwrapper features
   <enable_floppyio/>
causes vboxwrapper to create a file that's mapped into the VM
as a floppy disk image.
By default the contents of init_data.xml is placed here,
allowing VM apps to access things like proxy settings.
   <job_duration>N</job_duration>
specifies a maximum elapsed time in seconds.
After this, vboxwrapper will kill the VM and exit normally.

-- David
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to