We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

QCOW2 in VMD

Formal Metadata

Title
QCOW2 in VMD
Subtitle
Snapshots 'Til the Cows Come Home
Title of Series
Number of Parts
34
Author
License
CC Attribution 3.0 Unported:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
As of OpenBSD 6.4, VMD supports QEMU's QCOW2 disk format. This talk will go over what QCOW2 is and how it's implemented internally. Until recently, OpenBSD's VMD only supported raw disk images. Raw images are large, lack snapshot support, and are clunky overall. In OpenBSD 6.4, support for QCOW2 disk images landed. QCOW2 is a copy on write disk format that supports lazy growth and external snapshots, among other features. It does this by keeping a page-table like cluster map. This keeps space use down, and allows a lot of nifty snapshotting features. But there's no such thing as a free lunch: QCOW2 images pay a price in both performance and robustness. In this talk, I'll give an overview of QCOW2 features before making a sharp turn into into the details of the disk format, how to use it, and how I implemented it on OpenBSD.