Re: Can't start vm with enc backing files, No secret with id 'sec0' ?

2020-04-14 Thread 18781374080
Thank you very much for your guidance! | | 18781374080 | | 18781374...@163.com | 签名由网易邮箱大师定制 On 4/15/2020 14:24,Peter Krempa wrote: On Wed, Apr 15, 2020 at 10:53:05 +0800, 18781374080 wrote: Hey, guys I've been working on whether libvirt supports encrypted snapshots,Here are my versions of li

Re: Can't start vm with enc backing files, No secret with id 'sec0' ?

2020-04-14 Thread Peter Krempa
On Wed, Apr 15, 2020 at 10:53:05 +0800, 18781374080 wrote: > > > > Hey, guys > > I've been working on whether libvirt supports encrypted snapshots,Here are my > versions of libvirt and qemu > > [root@xx ~]# libvirtd -V > > libvirtd (libvirt) 4.5.0 This is too-old encrypted backing files wor

Can't start vm with enc backing files, No secret with id 'sec0' ?

2020-04-14 Thread 18781374080
Hey, guys I've been working on whether libvirt supports encrypted snapshots,Here are my versions of libvirt and qemu [root@xx ~]# libvirtd -V libvirtd (libvirt) 4.5.0 [root@xx ~]# qemu-img -V qemu-img version 2.12.0 (qemu-kvm-ev-2.12.0-33.1.el7_7.4) Copyright (c) 2003-2017 Fabrice Bellard

Re:Re: what a correct use for virConnectDomainEventRegisterAny API, how to Obtain a stable expected result

2020-04-14 Thread thomas.kuang
Daniel, thanks for your help. If it cannot receive a stable expected callback, it need a timer to handle the timeout, in the timer timeout to release memory passed to virConnectDomainEventRegisterAny or, maybe memory-leak now ... At 2020-04-14 18:00:49, "Daniel P. Berrangé" wrote: >On Mo

Re: php libvirt show active snapshot

2020-04-14 Thread Todd Lewis
I was looking for a virDomainSnapshotCurrent I wish I had time to learn to properly Code in C, haven't touch it since that late 90's I'm only only coding in php out of necessity. . On Tue, Apr 14, 2020 at 8:02 AM Michal Privoznik wrote: > > On 4/13/20 9:22 PM, Todd Lewis wrote: > > Is php libvi

Re: php libvirt show active snapshot

2020-04-14 Thread Michal Privoznik
On 4/13/20 9:22 PM, Todd Lewis wrote: Is php libvirt able to list the active snapshot for the vm? I can easily take snapshots and restore snapshots, but I can't figure out how to display the currently active snapshot using php libvirt. Yeah, libvirt-php is not very well maintained and certai

Re: Connections Driver VirtualBox

2020-04-14 Thread Michal Privoznik
On 4/8/20 5:07 AM, claudia freitas wrote: Good Morning! My name is Cláudia, I'm trying to use the Connections to VirtualBox driver from libvirt.org on Pacemaker to start a virtual machine created with the VirtualBox hypervisor, so far I haven't been successful. Could you

Re: cloud-init libvirt

2020-04-14 Thread Alvin Starr
On 4/13/20 4:05 PM, PunkGeek wrote: is there any way to use cloud-init configs in python libvirt?  cloud-init require to create an iso, which seems that ovirt support cloud-config: https://red.ht/2K1gBkn  But how can I do that by python libvirt? I know I can mount iso by python libvirt to the

Re: cloud-init libvirt

2020-04-14 Thread Erik Skultety
On Tue, Apr 14, 2020 at 12:35:02AM +0430, PunkGeek wrote: > is there any way to use cloud-init configs in python libvirt? > cloud-init require to create an iso, which seems that ovirt support > cloud-config: https://red.ht/2K1gBkn > But how can I do that by python libvirt? Cloud-init is out of s

Re: what a correct use for virConnectDomainEventRegisterAny API, how to Obtain a stable expected result

2020-04-14 Thread Daniel P . Berrangé
On Mon, Apr 13, 2020 at 05:32:38PM +0800, thomas.kuang wrote: > HI, everyone: > > > My target deal with network hotplug use virDomainDetachDeviceFlags. Because > when the API return ,the network maybe doesn’t remove from my vm guest os. > > So I use virConnectDomainEventRegisterAny to registe

Re: Running libvirtd on windows

2020-04-14 Thread Daniel P . Berrangé
On Mon, Apr 13, 2020 at 12:42:16PM +, Dhananjay Joshi wrote: > Hi I have downloaded virt-viewer package for windows 10 to run the libvirt > framework on windows .When I try to run the virt-viewer facing the issue > of not getting the libvirtd URI to connect as below: > Any pointers on how to ru

cloud-init libvirt

2020-04-14 Thread PunkGeek
is there any way to use cloud-init configs in python libvirt? cloud-init require to create an iso, which seems that ovirt support cloud-config: https://red.ht/2K1gBkn But how can I do that by python libvirt? I know I can mount iso by python libvirt to the VM, but the process of creating iso file

Running libvirtd on windows

2020-04-14 Thread Dhananjay Joshi
Hi I have downloaded virt-viewer package for windows 10 to run the libvirt framework on windows .When I try to run the virt-viewer facing the issue of not getting the libvirtd URI to connect as below: Any pointers on how to run libvirtd on windows would help... [cid:4d4f58c1-09b4-4ee8-9d66-a9ab91

php libvirt show active snapshot

2020-04-14 Thread Todd Lewis
Is php libvirt able to list the active snapshot for the vm? I can easily take snapshots and restore snapshots, but I can't figure out how to display the currently active snapshot using php libvirt. -- Todd Lewis Grizzly Star (469) 363-2907 Cell www.grizzlystar.com