:: Re: [DNG] libvirt - can't create sn…
Top Page
Delete this message
Reply to this message
Author: Ralph Ronnquist
Date:  
To: dng
Subject: Re: [DNG] libvirt - can't create snapshot
In my experience, there's no need to be root for creating and running
libvirt VM's. I needed to be root only to set up the VDE host-only
network for them to attach to, and then all else can be done non-root.

Ralph.

On 08/08/16 04:52, Paweł Cholewiński wrote:
> W dniu 07.08.2016 o 16:46, Ralph Ronnquist pisze:
>> On 08/08/16 00:37, Paweł Cholewiński wrote:
>>> Hi,
>>>
>>> I test devuan with libvirt (Virtual Machine Manager 0.9.1) on Debian
>>> 7.11. I would like to create snapshot but when I type as root:
>>> 1) "virsh snapshot-create-as --domain devuan_jessie --name snapshot1
>>> --description "clear system"
>>> error: failed to get domain 'devuan_jessie'
>>> error: An error occurred, but the cause is unknown".
>>>
>>> 2) "virsh list --all"
>>> command return empty list.
>>>
>>>
>>> Has anyone had this problem before?
>>
>> Only when the machine(s) were created as non-root.
>>
>> Ralph.
>>
>>>
>>> Regards,
>>> Paweł
>>> _______________________________________________
>>> Dng mailing list
>>> Dng@???
>>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>> _______________________________________________
>> Dng mailing list
>> Dng@???
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>
> Thanks Ralph.
> I read that I must add "--connect qemu:///system" parameter to be able
> to create snapshot.
>
> Regards
> Paweł
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng