[fedora-virt] Re: virt-inspector calling guestfs_umount_all() before launch()?
Richard W.M. Jones
rjones at redhat.com
Thu May 28 08:57:33 UTC 2009
Charles, can you see if this fixes the problem?
It's completely untested, and might even segfault the Perl bindings
because of BZ #501892 (which really needs to be fixed).
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
-------------- next part --------------
diff --git a/inspector/virt-inspector.pl b/inspector/virt-inspector.pl
index 4ee0e08..1a1f94f 100755
--- a/inspector/virt-inspector.pl
+++ b/inspector/virt-inspector.pl
@@ -213,6 +213,7 @@ if (-e $ARGV[0]) {
# We've now got the list of @images, so feed them to libguestfs.
my $g = Sys::Guestfs->new ();
+$g->config ("-snapshot", undef);
$g->add_drive ($_) foreach @images;
$g->launch ();
$g->wait_ready ();
More information about the Fedora-virt
mailing list