<html><head><meta http-equiv="content-type" content="text/html; charset=GB2312"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; widows: 1;">Hi  everyone!</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; widows: 1;">     I use the libvirt(version: 1.2.2) and QEMU(version: 2.2.1) to test qemu snapshot features:</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; widows: 1;">    </div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; widows: 1;">     I tried virsh blockcommit when VM offline,  the virsh blockcommit failed: the error messase as below:</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; widows: 1;">    <b>                      error: Requested operation is not valid: domain is not running</b></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; widows: 1;"><strong>     </strong>when I start the VM,  the virsh blockcommit  work fine!</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; widows: 1;">     my question is£ºwe need virsh support <wbr>blockcommit when VM offline¡£how do£¿</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; widows: 1;"><br></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; widows: 1;">    we  test qemu snapshot as <wbr>follows£º</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; widows: 1;">    we need  create  snapshot <wbr>of the cycle£¬and  by virsh <wbr>blockcommit merge snapshot <wbr>chain£¬but when VM offline£¬ the <wbr>virsh blockcommit will fail£¬ <wbr>someone suggest me£ºwhen VM <wbr>offline£¬may use qemu-img <wbr>commit to submit snapshot <wbr>turn£¬but qemu-img can't <wbr>modify snapshot chain backing <wbr>relation£¬it need we use qemu-img  rebase amend <wbr>snapshot¡®s backingfile£¬<b> the <wbr>main question</b> is when we use <wbr>qemu-img rebase modify <wbr>snapshot's backingfile, if someone start the VM, it  will may lead to VM filesystem readonly¡£</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; widows: 1;">  </div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; widows: 1;">   we  should how to  solve the question?   thanks!</div></div><div><br></div><div><br></div><div><br></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>justlibvirt@gmail.com</div></div></span></div>
</body></html>