Re: php libvirt show active snapshot

2020-04-21 Thread Andrea Bolognani
On Tue, 2020-04-21 at 10:10 +0200, Michal Privoznik wrote: > On 4/21/20 1:36 AM, Todd Lewis wrote: > > Works perfectly thank you. > > I did get an issue when trying to compile an rpm > > > > The autobuild did run into an error when trying to create the rpm. > > Not a big deal. I can make my own sp

Re: php libvirt show active snapshot

2020-04-21 Thread Michal Privoznik
On 4/21/20 1:36 AM, Todd Lewis wrote: Works perfectly thank you. I did get an issue when trying to compile an rpm The autobuild did run into an error when trying to create the rpm. Not a big deal. I can make my own spec file. EXTRA_RELEASE="" 1: ^^^ if [ -x /usr/bin/rpmbuild ] then rpmbu

Re: php libvirt show active snapshot

2020-04-20 Thread Todd Lewis
Works perfectly thank you. I did get an issue when trying to compile an rpm The autobuild did run into an error when trying to create the rpm. Not a big deal. I can make my own spec file. EXTRA_RELEASE="" if [ -x /usr/bin/rpmbuild ] then rpmbuild --nodeps \ --define "extra_release $EXTRA_R

Re: php libvirt show active snapshot

2020-04-16 Thread Todd Lewis
Cool. I'll try it out On Thu, Apr 16, 2020 at 8:38 AM Michal Privoznik wrote: > > On 4/14/20 6:49 PM, Todd Lewis wrote: > > 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

Re: php libvirt show active snapshot

2020-04-16 Thread Michal Privoznik
On 4/14/20 6:49 PM, Todd Lewis wrote: 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. I've just pushed the implementation upstream: https://gitlab.com/libvirt/li

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