qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <1923663@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: Re: [Bug 1923663] [NEW] Can't(?) disable default floppy drive any more in qemu 6.0
Date: Thu, 15 Apr 2021 12:36:12 -0000	[thread overview]
Message-ID: <CAFEAcA-=85_YdVpQMURN6TVJ67MRbj4NCx8fAPrWWUFYBWG5aQ@mail.gmail.com> (raw)
Message-ID: <20210415123612.Nlwc3AQm7_pV_cXgZmuYIX04ERhdPkKCcaH3xQTEeXE@z> (raw)
In-Reply-To: 161834460731.13851.12350778402155141357.malonedeb@chaenomeles.canonical.com

On Wed, 14 Apr 2021 at 08:07, Markus Armbruster <armbru@redhat.com> wrote:
> In my opinion, management applications are better off with -nodefaults.
> It's easier to understand than the complicated mess I'm going to
> describe under "Long answer" below.

Is there a mechanism to get QEMU to tell me "what are all the
long options I need to specify explicitly now to get the same
behaviour that I had before I started passing -nodefaults" ?
Otherwise it's a pretty painful route to suggest that people
go down (though I agree that for a management app as opposed to
an individual user it's probably a worthwhile route in the long
term).

-- PMM

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1923663

Title:
  Can't(?) disable default floppy drive any more in qemu 6.0

Status in QEMU:
  New

Bug description:
  There's a documented change in qemu 6.0:

  https://qemu-project.gitlab.io/qemu/system/removed-features.html
  #floppy-controllers-drive-properties-removed-in-6-0

  where you can't configure floppy controller device properties with
  -global any more. However, there's a thing you could do with the old
  parameter which I can't figure out a way to do with the documented
  replacement. openQA passed exactly this argument:

  -global isa-fdc.driveA=

  and that has the effect of removing/disabling the default floppy
  drive/controller. If you just run `qemu-system-i686` (no other args)
  you'll see the VM briefly try to boot from a floppy drive; if you run
  `qemu-system-i686 -global isa-fdc.driveA=` (with an earlier version of
  qemu, obviously) you'll see it does not do so.

  I can't see a way to do this with `-device floppy`. Going by the docs,
  the equivalent should be:

  -device floppy,unit=0,drive=

  but that does not seem to have the same effect. If you run `qemu-
  system-i686 -device floppy,unit=0,drive=`, it still tries to boot from
  a floppy drive.

  I see there's a -nodefaults option that disables *all* default
  devices, but I don't think that's what we want here either. We might
  want the other default devices, we just don't want the floppy drive.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1923663/+subscriptions


  parent reply	other threads:[~2021-04-15 12:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-13 20:10 [Bug 1923663] [NEW] Can't(?) disable default floppy drive any more in qemu 6.0 Adam Williamson
2021-04-14  7:06 ` Markus Armbruster
2021-04-15 12:36   ` Peter Maydell [this message]
2021-04-15 12:36     ` Peter Maydell
2021-04-15 14:53     ` Markus Armbruster
2021-04-15  9:04 ` [Bug 1923663] " Kashyap Chamarthy
2021-05-15 14:05 ` Thomas Huth

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='CAFEAcA-=85_YdVpQMURN6TVJ67MRbj4NCx8fAPrWWUFYBWG5aQ@mail.gmail.com' \
    --to=1923663@bugs.launchpad.net \
    --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).