[fedora-virt] Access to individual VMs

Dennis J. dennisml at conversis.de
Thu Feb 18 01:45:44 UTC 2010


On 02/18/2010 01:05 AM, Don Dutile wrote:
> Dennis J. wrote:
>> Hi,
>> Is it possible to provide access to individual VMs using virsh or
>> virt-manager? What I'm specifically trying to do is to give users the
>> ability to shutdown/destroy/start their own virtual machines in case the VM
>> hangs. Is this possible?
>>
>> Regards,
>>     Dennis
>> _______________________________________________
>> virt mailing list
>> virt at lists.fedoraproject.org
>> https://admin.fedoraproject.org/mailman/listinfo/virt
>
> virsh<guest-name>  shutdown
>       or
> virsh<guest-name>  destroy
>
> after shutdown/destroy,
> just do a
> virsh<guest-name>  start
>
> This is assuming the guests are known to libvirt
> (xml spec for guest resides in libvirt).
>
> KVM guests? xen guest?

Xen guests. The key though is that these users shouldn't have access to the 
host or the other users VMs. Basically I want to create a VM for user X and 
then the user should be able to login on that VM and be able to restart it 
if e.g. he locked himself out or the VM doesn't respond anymore.
 From what I understand you can provide access to the machines console 
using VNC/virt-viewer but AFAIK that doesn't provide you with the ability 
to reboot the VM if it crashed hard so it gets me only half the way.

Regards,
   Dennis


More information about the virt mailing list