>From bdc171e46d8b0b6fc0be2c58093a26c4b4dd6a18 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Thu, 21 Oct 2010 23:33:15 +0100 Subject: [PATCH 7/8] virt-make-fs: Specify format of disk (RHBZ#642934,CVE-2010-3851). --- tools/virt-make-fs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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")) { -- 1.7.3.1