<div dir="ltr"><div dir="ltr">Hi, Mr. Rich.<div>I am sorry that I left too little information in the last email because I edited with my mobile phone.</div><div>I wrote about my first question in the following link.</div><div><a href="https://rwmj.wordpress.com/2010/11/15/libguestfs-inspection-now-lists-windows-apps/" target="_blank">https://rwmj.wordpress.com/2010/11/15/libguestfs-inspection-now-lists-windows-apps/</a><br></div><div><br></div><div><br></div><div>2nd. Question</div><div>After I call the mount_local() function in guestfs.py to operate on a disk, I hope to umount it. After calling the umount_local() function, the program hangs in the foreground and no log is displayed after that. At the same time, _check_not_closed() did not throw an exception.</div><div><br></div><div>I'm looking forward for your reply.<br></div><div>Thanks,</div><div>yuxing.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Richard W.M. Jones <<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>> 于2020年10月20日周二 下午10:06写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Oct 20, 2020 at 12:52:52AM +0800, ssacpklnm wrote:<br>
> 1.  When I call inspect_os on a vmdk file containing windows system,<br>
> guestfish throws a Hivex.Error, I have installed hivex.<br>
<br>
There's not really enough information here to help.  What you<br>
should do is enable debugging:<br>
<br>
<a href="https://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs" rel="noreferrer" target="_blank">https://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs</a><br>
<br>
That will produce a lot of output which can help us to narrow down the<br>
problem.<br>
<br>
Note that sometimes hivex will throw a real error because of some real<br>
problem with the Windows guest.<br>
<br>
> 2. After I call umount_local() through python, the thread hangs to<br>
> the foreground, unable to proceed, and there is no log, but<br>
> mount_local() works on my program.<br>
<br>
Need a bit more information here as well.  Is there a small reproducer<br>
of this problem?<br>
<br>
Rich.<br>
<br>
-- <br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" rel="noreferrer" target="_blank">http://people.redhat.com/~rjones</a><br>
Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" rel="noreferrer" target="_blank">http://rwmj.wordpress.com</a><br>
virt-top is 'top' for virtual machines.  Tiny program with many<br>
powerful monitoring features, net stats, disk stats, logging, etc.<br>
<a href="http://people.redhat.com/~rjones/virt-top" rel="noreferrer" target="_blank">http://people.redhat.com/~rjones/virt-top</a><br>
<br>
</blockquote></div></div>