[libvirt-users] Transient VM Usage

Daniel P. Berrange berrange at redhat.com
Fri Sep 11 14:36:34 UTC 2015


On Fri, Sep 11, 2015 at 04:03:20PM +0200, Michal Privoznik wrote:
> On 11.09.2015 11:34, Mcburn wrote:
> > Hey at all,
> > 
> > my Name is Jens-Uwe Sperling. Iám a young student in computer science.
> > I want install a VM for testing at home.
> > 
> > i had install a VM with virt-install and the default parameters. (Number
> > cpu, mem etc.)
> > 
> > After that i install my OS and configure it.
> > 
> > Now i want work on this image in a transient way.
> > So i can use the OS with the given config but every change i do from now
> > should not change my image.
> > 
> > I found three ways to do that:
> > 
> >   -  Make a snapshot from my image and kill the snapshot after using.
> 
> Yes, this will work perfectly.
> 
> >   -  Using the transient option in the xml file under disk.
> 
> Wow, I didn't even know we have such element.

Don't expect it to actually work with QEMU though :-)

    if (disk->transient) {
        virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
                       _("transient disks not supported yet"));
        goto error;
    }



Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvirt-users mailing list