Hi, Mr. Rich. I am sorry that I left too little information in the last email because I edited with my mobile phone. I wrote about my first question in the following link. https://rwmj.wordpress.com/2010/11/15/libguestfs-inspection-now-lists-window... 2nd. Question 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. I'm looking forward for your reply. Thanks, yuxing. Richard W.M. Jones <rjones@redhat.com> 于2020年10月20日周二 下午10:06写道:
On Tue, Oct 20, 2020 at 12:52:52AM +0800, ssacpklnm wrote:
1. When I call inspect_os on a vmdk file containing windows system, guestfish throws a Hivex.Error, I have installed hivex.
There's not really enough information here to help. What you should do is enable debugging:
https://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
That will produce a lot of output which can help us to narrow down the problem.
Note that sometimes hivex will throw a real error because of some real problem with the Windows guest.
2. After I call umount_local() through python, the thread hangs to the foreground, unable to proceed, and there is no log, but mount_local() works on my program.
Need a bit more information here as well. Is there a small reproducer of this problem?
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top