[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [fedora-virt] Re: virt-inspector calling guestfs_umount_all() before launch()?



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/
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 ();

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]