[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] Multiple snapshots with one guest user

From: Aleksei
Subject: Re: [Qemu-discuss] Multiple snapshots with one guest user
Date: Mon, 16 Jan 2017 18:35:08 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

I'm pretty sure you need to utilize differencing images rather than snapshots. How about this:

You installed windows guest using drive image file win.qcow2.

Then you create 1 file for each host user based on the same base file:

qemu-img create -o backing_file win.qcow2 win_for_user_1.qcow2

qemu-img create -o backing_file win.qcow2 win_for_user_2.qcow2

Then each user boots his VM using win_for_user_1.qcow2 or win_for_user_2.qcow2 respectively. Base file will not be modified, only those differencing images will be (check man qemu-img for more details on this). You can manage access to files via unix permissions on the host.

--Regards, Aleksei

From: Mahmood Naderan
Sent: Monday, January 16, 2017 6:06PM
To: Qemu-discuss
Subject: [Qemu-discuss] Multiple snapshots with one guest user
This is what I want to do via the Qemu: I have installed a windows guest with two drives (c and d). I will create an admin user and install some basic softwares. Then I will create a snapshot for each user. Each user is then able to boot his/her snapshot (saved in his home folder) and install/run what ever he wants.

So is that possible?

I want to be sure that if linux_user_1 install a software on his snapshot, then linux_user_2 is not able to see that. Note that both access their windows session via one windows_user which I have created before snapshots.

Any comment on that?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]