From: "J.N. Herder" <jnherder@cs.vu.nl>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Possible bug?
Date: Mon, 01 Aug 2005 19:27:18 +0200 [thread overview]
Message-ID: <42EE5B76.5000702@cs.vu.nl> (raw)
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:
In linux:
$ qemu -hda hda.img -hdb import.tar.gz
After booting MINIX with QEMU:
# dd if=/dev/hdb of=import.tar.gz bs=1 count=1672014
# ls -l import.tar.gz
-rw-r--r-- 1 root operator 1548288 Jul 31 20:34 import.tar.gz
Somehow the file is truncated at exactly 1.5 MB, while the dd output
indicates that all records were successfully read.
Inspection of /dev/hdb with MINIX' part tools also learns that the QEMU
emulated hard disk is 1512 KB.
I'd like to note that for several small files (less than 1 MB) this
procedure worked fine.
Another file of 75582464 bytes was truncated at 73584 KB.
Could this behaviour be caused by a bug in QEMU?
Please CC the reply to jnherder@cs.vu.nl as I'm not a list member.
Thanks,
Jorrit
next reply other threads:[~2005-08-01 17:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-01 17:27 J.N. Herder [this message]
2005-08-01 17:58 ` [Qemu-devel] Possible bug? Paul Brook
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=42EE5B76.5000702@cs.vu.nl \
--to=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).