mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
WindowsDiskConfig now creates a qcow2 overlay backed by the raw Windows image during prepare_files(). The overlay is placed under ~/workloads alongside the raw image. Writes go into the overlay so the backing raw image stays unmodified, matching the CoW semantics already provided by the dm snapshot for raw tests. Drop removes the qcow2 file. The DiskConfig trait gains a qcow2_disk() default method returning None. WindowsDiskConfig overrides it to expose the overlay path. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>