From: "Daniel P. Berrange" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Problem with `change' monitor command
Date: Wed, 17 Sep 2008 12:53:35 +0100 [thread overview]
Message-ID: <20080917115335.GC27699@redhat.com> (raw)
In-Reply-To: <48D0EE05.574440C9@bttr-software.de>
On Wed, Sep 17, 2008 at 01:46:13PM +0200, Robert Riebisch wrote:
> Hi!
>
> I'm using QEMU 0.9.1 and SVN on Win32 to emulate an x86 PC environment.
>
> With `change floppy0 foo.img' I'm able to use another floppy image on
> the fly, but this will only work, if the new floppy image is of the same
> size as the old one. Switching from, e.g., 1.44M to 2.88M is not
> recognized by the guest OS. Even rebooting the VM doesn't help, because
> CMOS value 0x10 ("Floppy Drive Type") won't be adjusted.
> (http://www.brl.ntt.co.jp/people/takehiko/interrupt/CMOS.LST.txt)
>
> This is also a big problem when you omit "-fda bar.img" from the command
> line. You can still change the image file in QEMU monitor, but guest OS
> (here: DOS) will never recognize it, because CMOS value 0x10 still holds
> "0" (= "none" for floppy0 and floppy1). Btw: It would be more
> consistently to also change command-line option "-fda" to "-floppy0".
The -fdXX, -hdXX, etc args are all legacy syntax. The recommended way
to specify disks is via the -drive parameter, so no change to -floppy0
is required.
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
next prev parent reply other threads:[~2008-09-17 11:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-17 11:46 [Qemu-devel] Problem with `change' monitor command Robert Riebisch
2008-09-17 11:53 ` Daniel P. Berrange [this message]
2008-09-17 12:07 ` Robert Riebisch
2008-09-17 14:57 ` Jamie Lokier
2008-09-17 15:07 ` Robert Riebisch
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=20080917115335.GC27699@redhat.com \
--to=berrange@redhat.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.