Hey at all,
thank you very much Michal Privoznik, Eric Blake and Michal Privoznik
for the fast answer :) and your opinion.
I try out the snapshot method over the weekend.
So have a nice Weekend :)
On 11.09.2015 16:36, Daniel P. Berrange wrote:
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