<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"><style>body { line-height: 1.5; }body { font-size: 14px; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span><br></div><div>Hello, </div><div><br></div>
<div><div><div>When we test snapshot features and review the code of libvirt, there is one question, not an issue. </div><div><span style="line-height: 1.5; background-color: transparent;"><br></span></div><div><span style="background-color: transparent;"><div>    /* do the memory snapshot if necessary */</div><div>    if (memory) {</div><div>        /* check if migration is possible */</div><div>        if (!qemuMigrationSrcIsAllowed(driver, vm, false, 0))</div><div>            goto cleanup;</div></span></div><div><span style="line-height: 1.5; background-color: transparent;"><br></span></div><div><span style="line-height: 1.5; background-color: transparent;">While making one snapshot with memory on one vm, but it is not allowed while the vm which has some src devices, such as pci devs, with which the vm is not allowed to be migrated.</span></div><div><span style="line-height: 1.5; background-color: transparent;">I want to known the reason, why should  it check this conditions? </span></div><div><br></div><div><br></div><div><span style="line-height: 1.5; background-color: transparent;">Thank You!</span></div></div><div><br></div></div><div><br></div><hr style="width: 210px; height: 1px; display: none;" color="#b5c4df" size="1" align="left">
<div><span></span></div>
</body></html>