Kernel KVM virtualization development
 help / color / mirror / Atom feed
From: Randy Smith <perlstalker@vuser.org>
To: KVM list <kvm@vger.kernel.org>
Subject: kvm-87: qemu-img creates raw file with wrong size
Date: Mon, 13 Jul 2009 15:37:12 -0600	[thread overview]
Message-ID: <4A5BA908.7080003@vuser.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

Greetings,

Running `qemu-img create -f raw file.raw 1000` creates a 512 byte file
rather than the 1000K file the docs imply.

From the help message:
"
'size' is the disk image size in kilobytes. Optional suffixes
'M' (megabyte, 1024 * 1024) and 'G' (gigabyte, 1024 * 1024 * 1024) are
supported any 'k' or 'K' is ignored
"

Did the default change or is there bug with the create?

-- 
Randy Smith
http://www.vuser.org/
http://perlstalker.blogspot.com/


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

             reply	other threads:[~2009-07-13 21:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-13 21:37 Randy Smith [this message]
2009-07-13 21:40 ` kvm-87: qemu-img creates raw file with wrong size Anthony Liguori
2009-07-13 21:48   ` Randall Smith
2009-07-13 22:15     ` Lynn Kerby

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A5BA908.7080003@vuser.org \
    --to=perlstalker@vuser.org \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox