From: Thomas Huth <thuth@redhat.com>
To: qemu-devel@nongnu.org, pbonzini@redhat.com
Cc: Peter Maydell <peter.maydell@linaro.org>,
"Daniel P . Berrange" <berrange@redhat.com>
Subject: [PATCH v2 2/6] docs/about/removed-features: Document removed CLI options from QEMU v3.0
Date: Wed, 11 Aug 2021 10:40:59 +0200 [thread overview]
Message-ID: <20210811084103.74832-3-thuth@redhat.com> (raw)
In-Reply-To: <20210811084103.74832-1-thuth@redhat.com>
These CLI options had been removed/replaced in QEMU v3.0. Still, some
people might want to update from older versions to the recent QEMU version,
so we should give some recommendations for the replacements in our
documentation.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
docs/about/removed-features.rst | 35 +++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/docs/about/removed-features.rst b/docs/about/removed-features.rst
index c18af3c76f..c4b702968e 100644
--- a/docs/about/removed-features.rst
+++ b/docs/about/removed-features.rst
@@ -44,6 +44,41 @@ behaviour that could be changed by this option in qemu-kvm is now the default
when using the KVM PIT. It still can be requested explicitly using
``-global kvm-pit.lost_tick_policy=delay``.
+``-drive secs=s``, ``-drive heads=h`` & ``-drive cyls=c`` (removed in 3.0)
+''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
+
+The drive geometry should now be specified via
+``-device ...,drive=dr,cyls=c,heads=h,secs=s`` (together with
+``-drive if=none,id=dr,...``).
+
+``-drive serial=``, ``-drive trans=`` & ``-drive addr=`` (removed in 3.0)
+'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
+
+Use ``-device ...,drive=dr,serial=r,bios-chs-trans=t,addr=a`` instead
+(together with ``-drive if=none,id=dr,...``).
+
+``-net ...,vlan=x`` (removed in 3.0)
+''''''''''''''''''''''''''''''''''''
+
+The term "vlan" was very confusing for most users in this context (it's about
+specifying a hub ID, not about IEEE 802.1Q or something similar), so this
+has been removed. To connect one NIC frontend with a network backend, either
+use ``-nic ...`` (e.g. for on-board NICs) or use ``-netdev ...,id=n`` together
+with ``-device ...,netdev=n`` (for full control over pluggable NICs). To
+connect multiple NICs or network backends via a hub device (which is what
+vlan did), use ``-nic hubport,hubid=x,...`` or
+``-netdev hubport,id=n,hubid=x,...`` (with ``-device ...,netdev=n``) instead.
+
+``-no-kvm-irqchip`` (removed in 3.0)
+''''''''''''''''''''''''''''''''''''
+
+Use ``-machine kernel_irqchip=off`` instead.
+
+``-no-kvm-pit-reinjection`` (removed in 3.0)
+''''''''''''''''''''''''''''''''''''''''''''
+
+Use ``-global kvm-pit.lost_tick_policy=discard`` instead.
+
``-net ...,name=...`` (removed in 5.1)
''''''''''''''''''''''''''''''''''''''
--
2.27.0
next prev parent reply other threads:[~2021-08-11 8:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-11 8:40 [PATCH v2 0/6] Document removed features from older QEMU versions Thomas Huth
2021-08-11 8:40 ` [PATCH v2 1/6] docs/about/removed-features: Document removed CLI options from QEMU v2.12 Thomas Huth
2021-08-11 8:40 ` Thomas Huth [this message]
2021-08-11 8:41 ` [PATCH v2 3/6] docs/about/removed-features: Document removed CLI options from QEMU v3.1 Thomas Huth
2021-08-11 8:41 ` [PATCH v2 4/6] docs/about/removed-features: Document removed HMP commands from QEMU v2.12 Thomas Huth
2021-08-11 8:41 ` [PATCH v2 5/6] docs/about/removed-features: Document removed devices from older QEMU versions Thomas Huth
2021-08-11 8:41 ` [PATCH v2 6/6] docs/about/removed-features: Document removed machines " 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=20210811084103.74832-3-thuth@redhat.com \
--to=thuth@redhat.com \
--cc=berrange@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--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).