<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-16 5:20 GMT+02:00 Liu Yuan <span dir="ltr"><<a href="mailto:namei.unix@gmail.com" target="_blank">namei.unix@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I think QEMU has some mechanisms to trigger the command execution inside the<br>
guest from outside world.<br></blockquote><div><br></div><div>From a quick search I think the answer is <br><pre>guest-fsfreeze-freeze<br>(<i>Call guest agent requesting it to freeze all file systems and flush all I/O requests)</i></pre>
<pre>run from <br></pre><pre>qemu-ga (GuestAgent)<br><br><a href="http://wiki.qemu.org/Features/Snapshots#Snapshot_command_flow">http://wiki.qemu.org/Features/Snapshots#Snapshot_command_flow</a><br><a href="http://wiki.qemu.org/Features/QAPI/GuestAgent">http://wiki.qemu.org/Features/QAPI/GuestAgent</a><br>
<br></pre><pre>I'll read more as soon as I can.<br><br></pre> </div></div></div></div>