I want to do the following.

1. Create an HVM Qube. This Qube contains a clean install of an OS such as 
Windows 8 or Arch.

2. Clone the Qube from #1. The files that make up this Qube should just contain 
the delta from the parent Qube. Writes are made to the child Qube; reads go to 
the child Qube (if the data being read was written previously) or to the parent 
Qube if not (in other words, copy-on-write.) I want to install applications in 
this Qube, so changes should persist.

Hyper-V does this with differencing disks (see 
https://technet.microsoft.com/en-us/library/cc720381.aspx.)

It looks like Xen does this also, with fast cloning (see 
https://docs.citrix.com/en-us/xencenter/6-2/xs-xc-vms/xs-xc-vms-copy.html.)

My question is, can this be done in Qubes? From searching the Web and the docs, 
it looks like not, but I thought I'd see if I've overlooked anything.

One way would be to have a TemplateVM and a TemplateBasedVM, but have changes 
to the TemplateBasedVM (outside of /home) be persistent. I don't know if Qubes 
allows that.

One possible way (I think) would be to use Btrfs as the dom0 file system, but I 
don't know if that's allowed either.

Otherwise, I'll have to create the parent Qube and then clone it with 
qvm-clone, but it looks like that creates a full copy, which I'd rather avoid 
if possible due to the disk space consumption.

Thank you for any suggestions!

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/9e1e5425-58e3-40f4-9919-e08d16723bd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to