summaryrefslogtreecommitdiffstats
path: root/perl/t
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-10-22 12:48:25 +0100
committerRichard W.M. Jones <rjones@redhat.com>2010-10-22 17:45:06 +0100
commit4b0e7f5c6a097c2426385776f8b9d3ff0a80bb3f (patch)
tree0740a7e17671ca46139152ac96fd7b3e39b0fdbd /perl/t
parent38bc7c98dff94b5ad451da86817f34a6fbc75b08 (diff)
downloadlibguestfs-4b0e7f5c6a097c2426385776f8b9d3ff0a80bb3f.tar.gz
libguestfs-4b0e7f5c6a097c2426385776f8b9d3ff0a80bb3f.tar.xz
libguestfs-4b0e7f5c6a097c2426385776f8b9d3ff0a80bb3f.zip
resize: Specify format of input, output disk (RHBZ#642934,CVE-2010-3851).
This adds two new options: --format specifies the format of the input disk, and --output-format specified the format of the output disk. Requiring the format of the output disk seems a bit strange at first: after all, this is the disk that the virt-resize user has to create. However it is needed because we sometimes reopen this disk, after copying data over the first sector, and in theory a raw-format guest could write a qcow2 header here and have it copied to the output disk, which we would subsequently reopen.
Diffstat (limited to 'perl/t')
0 files changed, 0 insertions, 0 deletions