Linux KVM Virtualization Manual Low-Level Guest Export/Import Procedure

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

Create a Snapshot Image


If the virtual machine has more than one storage device attached, they all must be snapshot at the same time to produce a consistent snapshot that can be reverted to.

Procedure

Shutdown the Target Guest

virsh shutdown <vm-name>

Identify all Storage Devices

virsh dumpxml <vm-name>

Look for <disk> definitions. The disk definition specifies the source of the virtual storage device.

Restore from Snapshot