Remotely setting a VM's iso

This is for discussing general topics about how to use VirtualBox.
Post Reply
dcod
Posts: 8
Joined: 12. Jan 2012, 14:48
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: linux

Remotely setting a VM's iso

Post by dcod »

Hi,

I'm attempting to control VirtualBox via Java and the web service.

When I try to set an iso for a vm's medium I get the following exception :

VirtualBox error: Method Medium::put_Location is not implemented (0x80004001)

I'm using the following code :

Code: Select all

List <IMediumAttachment> ma = im.getMediumAttachmentsOfController("IDE Controller");

ma.get(0).getMedium().setLocation("W:\\build\\testing\\fr13-stable\\14\\BlahBLah.iso");
Is there any other way of remotely setting the medium before remotely starting the vm?
Post Reply