qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Cc: "J.N. Herder" <jnherder@cs.vu.nl>
Subject: Re: [Qemu-devel] Possible bug?
Date: Mon, 1 Aug 2005 18:58:46 +0100	[thread overview]
Message-ID: <200508011858.46562.paul@codesourcery.com> (raw)
In-Reply-To: <42EE5B76.5000702@cs.vu.nl>

On Monday 01 August 2005 18:27, J.N. Herder wrote:
> Hi all,
>
> I'm having some troubles with QEMU's hard disk images and may have bumped
> into a bug. I'm trying to import data into my emulated MINIX, but somehow
> it is truncated.
>
> I successfully created a qemu-img called hda.img of 512 MB and installed
> the latest version from MINIX on it. Trying to import files by using the
> file as hdb image and reading from /dev/hdb in the emulated MINIX works
> perfectly fine for small files. For an import file above 1.5 MB the
> following weirdiness happens:

The size of the image will be truncated to a whole number of cylinders. You 
should add padding so the image is a multiple of the cylinder size (depends 
on drive geometry, but usually 16*63*512 bytes)

Paul

      reply	other threads:[~2005-08-01 18:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-01 17:27 [Qemu-devel] Possible bug? J.N. Herder
2005-08-01 17:58 ` Paul Brook [this message]

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=200508011858.46562.paul@codesourcery.com \
    --to=paul@codesourcery.com \
    --cc=jnherder@cs.vu.nl \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).