CVSROOT: /cvs Module name: src Changes by: r...@cvs.openbsd.org 2018/10/08 10:32:01
Modified files: usr.sbin/vmd : config.c vioqcow2.c vioraw.c virtio.c virtio.h vm.c vmboot.c vmd.c vmd.h vmm.c usr.sbin/vmctl : main.c vmctl.8 vmctl.c vmctl.h regress/usr.sbin/vmd/diskfmt: Makefile vioscribble.c Log message: Add support for qcow2 base images (external snapshots). This works is from Ori Bernstein, committing on his behalf: Add support to vmd for external snapshots. That is, snapshots that are derived from a base image. Data lookups start in the derived image, and if the derived image does not contain some data, the search proceeds ot the base image. Multiple derived images may exist off of a single base image. A limitation of this format is that modifying the base image will corrupt the derived image. This change also adds support for creating disk derived disk images to vmctl. To use it: vmctl create derived.qcow2 -s 16G -b base.qcow2 >From Ori Bernstein OK mlarkin@ reyk@