From: Richard W.M. Jones Date: Thu, 21 Oct 2010 22:33:15 +0000 (+0100) Subject: virt-make-fs: Specify format of disk (RHBZ#642934,CVE-2010-3851). X-Git-Tag: 1.5.23~2 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=38bc7c98dff94b5ad451da86817f34a6fbc75b08;p=libguestfs.git virt-make-fs: Specify format of disk (RHBZ#642934,CVE-2010-3851). --- diff --git a/tools/virt-make-fs b/tools/virt-make-fs index 1a6aee4..4e928af 100755 --- a/tools/virt-make-fs +++ b/tools/virt-make-fs @@ -405,7 +405,7 @@ eval { # Run libguestfs. my $g = Sys::Guestfs->new (); - $g->add_drive ($output); + $g->add_drive_opts ($output, format => $format); $g->launch (); if ($type eq "ntfs" && !feature_available ($g, "ntfs3g", "ntfsprogs")) {