Features/Block/Rebase: Difference between revisions

From QEMU
No edit summary
No edit summary
Line 11: Line 11:


== Usage example ==
== Usage example ==
Original Disk
[[File:Qcow2.png]]
New rebased Disk
[[File:Rebase.png]]


'''QMP command'''
'''QMP command'''
  { "execute": "block_rebase", "arguments": { "device": "ide0-hd0", "file": "/storage/ubuntu_base.img" } }
  { "execute": "block_rebase", "arguments": { "device": "ide0-hd0", "file": "/storage/new_base.img" } }


'''HMP command'''
'''HMP command'''
  (qemu) block_rebase ide0-hd0 /storage/ubuntu_base.img
  (qemu) block_rebase ide0-hd0 /storage/new_base.img


== Status ==
== Status ==

Revision as of 01:43, 21 August 2014

Summary

Add dynamic rebase of running disk

Owner

Description

Usage example

Original Disk Qcow2.png

New rebased Disk Rebase.png

QMP command

{ "execute": "block_rebase", "arguments": { "device": "ide0-hd0", "file": "/storage/new_base.img" } }

HMP command

(qemu) block_rebase ide0-hd0 /storage/new_base.img

Status