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.
精彩评论