开发者

invoking the virtual machine from java program

开发者 https://www.devze.com 2023-04-12 15:52 出处:网络
In my project, i have to start the virtual machine to xen hypervisor when the authentication is given by the client. So whenever user enter his credentials for virtual machine the java program has to

In my project, i have to start the virtual machine to xen hypervisor when the authentication is given by the client. So whenever user enter his credentials for virtual machine the java program has to initiate the virtual machine开发者_StackOverflow社区 and the virtual machine will be avaialable to user..is that possible? if not with xen, is it possible either any one of the hyper visors? please help me. thank you in advance...


One possibility would be to use the the Java bindings for libvirt which provide an interface for controlling a variety of virtualization solutions programatically.

It has specific documentation for Xen found: here

A quick review of the API shows that once you have things configured correctly the function virDomainCreate to start your virtual machine.

0

精彩评论

暂无评论...
验证码 换一张
取 消