xref: /openbmc/qemu/docs/about/deprecated.rst (revision d12b64eaebd9f0df03c70422336c669a44ed2937)
17f800d34SMarc-André Lureau.. _Deprecated features:
27f800d34SMarc-André Lureau
3f3478392SPeter MaydellDeprecated features
4f3478392SPeter Maydell===================
5f3478392SPeter Maydell
6f3478392SPeter MaydellIn general features are intended to be supported indefinitely once
7f3478392SPeter Maydellintroduced into QEMU. In the event that a feature needs to be removed,
8f3478392SPeter Maydellit will be listed in this section. The feature will remain functional for the
9f3478392SPeter Maydellrelease in which it was deprecated and one further release. After these two
10f3478392SPeter Maydellreleases, the feature is liable to be removed. Deprecated features may also
11f3478392SPeter Maydellgenerate warnings on the console when QEMU starts up, or if activated via a
12f3478392SPeter Maydellmonitor command, however, this is not a mandatory requirement.
13f3478392SPeter Maydell
14f3478392SPeter MaydellPrior to the 2.10.0 release there was no official policy on how
15f3478392SPeter Maydelllong features would be deprecated prior to their removal, nor
16f3478392SPeter Maydellany documented list of which features were deprecated. Thus
17f3478392SPeter Maydellany features deprecated prior to 2.10.0 will be treated as if
18f3478392SPeter Maydellthey were first deprecated in the 2.10.0 release.
19f3478392SPeter Maydell
20f3478392SPeter MaydellWhat follows is a list of all features currently marked as
21f3478392SPeter Maydelldeprecated.
22f3478392SPeter Maydell
23f3478392SPeter MaydellSystem emulator command line arguments
24f3478392SPeter Maydell--------------------------------------
25f3478392SPeter Maydell
26f3478392SPeter Maydell``QEMU_AUDIO_`` environment variables and ``-audio-help`` (since 4.0)
27f3478392SPeter Maydell'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
28f3478392SPeter Maydell
29f3478392SPeter MaydellThe ``-audiodev`` argument is now the preferred way to specify audio
30f3478392SPeter Maydellbackend settings instead of environment variables.  To ease migration to
31f3478392SPeter Maydellthe new format, the ``-audiodev-help`` option can be used to convert
32f3478392SPeter Maydellthe current values of the environment variables to ``-audiodev`` options.
33f3478392SPeter Maydell
34f3478392SPeter MaydellCreating sound card devices and vnc without ``audiodev=`` property (since 4.2)
35f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
36f3478392SPeter Maydell
37f3478392SPeter MaydellWhen not using the deprecated legacy audio config, each sound card
38f3478392SPeter Maydellshould specify an ``audiodev=`` property.  Additionally, when using
39f3478392SPeter Maydellvnc, you should specify an ``audiodev=`` property if you plan to
40f3478392SPeter Maydelltransmit audio through the VNC protocol.
41f3478392SPeter Maydell
42f3478392SPeter MaydellCreating sound card devices using ``-soundhw`` (since 5.1)
43f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
44f3478392SPeter Maydell
45f3478392SPeter MaydellSound card devices should be created using ``-device`` instead.  The
46f3478392SPeter Maydellnames are the same for most devices.  The exceptions are ``hda`` which
47f3478392SPeter Maydellneeds two devices (``-device intel-hda -device hda-duplex``) and
48f3478392SPeter Maydell``pcspk`` which can be activated using ``-machine
49f3478392SPeter Maydellpcspk-audiodev=<name>``.
50f3478392SPeter Maydell
51f3478392SPeter Maydell``-chardev`` backend aliases ``tty`` and ``parport`` (since 6.0)
52f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
53f3478392SPeter Maydell
54f3478392SPeter Maydell``tty`` and ``parport`` are aliases that will be removed. Instead, the
55f3478392SPeter Maydellactual backend names ``serial`` and ``parallel`` should be used.
56f3478392SPeter Maydell
57f3478392SPeter MaydellShort-form boolean options (since 6.0)
58f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''
59f3478392SPeter Maydell
60f3478392SPeter MaydellBoolean options such as ``share=on``/``share=off`` could be written
61f3478392SPeter Maydellin short form as ``share`` and ``noshare``.  This is now deprecated
62f3478392SPeter Maydelland will cause a warning.
63f3478392SPeter Maydell
64f3478392SPeter Maydell``delay`` option for socket character devices (since 6.0)
65f3478392SPeter Maydell'''''''''''''''''''''''''''''''''''''''''''''''''''''''''
66f3478392SPeter Maydell
67f3478392SPeter MaydellThe replacement for the ``nodelay`` short-form boolean option is ``nodelay=on``
68f3478392SPeter Maydellrather than ``delay=off``.
69f3478392SPeter Maydell
70f3478392SPeter Maydell``--enable-fips`` (since 6.0)
71f3478392SPeter Maydell'''''''''''''''''''''''''''''
72f3478392SPeter Maydell
73f3478392SPeter MaydellThis option restricts usage of certain cryptographic algorithms when
74f3478392SPeter Maydellthe host is operating in FIPS mode.
75f3478392SPeter Maydell
76f3478392SPeter MaydellIf FIPS compliance is required, QEMU should be built with the ``libgcrypt``
77f3478392SPeter Maydelllibrary enabled as a cryptography provider.
78f3478392SPeter Maydell
79f3478392SPeter MaydellNeither the ``nettle`` library, or the built-in cryptography provider are
80f3478392SPeter Maydellsupported on FIPS enabled hosts.
81f3478392SPeter Maydell
82f3478392SPeter Maydell``-writeconfig`` (since 6.0)
83f3478392SPeter Maydell'''''''''''''''''''''''''''''
84f3478392SPeter Maydell
85f3478392SPeter MaydellThe ``-writeconfig`` option is not able to serialize the entire contents
86f3478392SPeter Maydellof the QEMU command line.  It is thus considered a failed experiment
87f3478392SPeter Maydelland deprecated, with no current replacement.
88f3478392SPeter Maydell
89f3478392SPeter MaydellUserspace local APIC with KVM (x86, since 6.0)
90f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''''''''''
91f3478392SPeter Maydell
92f3478392SPeter MaydellUsing ``-M kernel-irqchip=off`` with x86 machine types that include a local
93f3478392SPeter MaydellAPIC is deprecated.  The ``split`` setting is supported, as is using
94f3478392SPeter Maydell``-M kernel-irqchip=off`` with the ISA PC machine type.
95f3478392SPeter Maydell
96f3478392SPeter Maydellhexadecimal sizes with scaling multipliers (since 6.0)
97f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''''''''''''''''''
98f3478392SPeter Maydell
99f3478392SPeter MaydellInput parameters that take a size value should only use a size suffix
100f3478392SPeter Maydell(such as 'k' or 'M') when the base is written in decimal, and not when
101f3478392SPeter Maydellthe value is hexadecimal.  That is, '0x20M' is deprecated, and should
102f3478392SPeter Maydellbe written either as '32M' or as '0x2000000'.
103f3478392SPeter Maydell
104f3478392SPeter Maydell``-spice password=string`` (since 6.0)
105f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''
106f3478392SPeter Maydell
107f3478392SPeter MaydellThis option is insecure because the SPICE password remains visible in
108f3478392SPeter Maydellthe process listing. This is replaced by the new ``password-secret``
109f3478392SPeter Maydelloption which lets the password be securely provided on the command
110f3478392SPeter Maydellline using a ``secret`` object instance.
111f3478392SPeter Maydell
112e2cc363bSYanan Wang``opened`` property of ``rng-*`` objects (since 6.0)
113e2cc363bSYanan Wang''''''''''''''''''''''''''''''''''''''''''''''''''''
114f3478392SPeter Maydell
115f3478392SPeter MaydellThe only effect of specifying ``opened=on`` in the command line or QMP
116f3478392SPeter Maydell``object-add`` is that the device is opened immediately, possibly before all
117f3478392SPeter Maydellother options have been processed.  This will either have no effect (if
118f3478392SPeter Maydell``opened`` was the last option) or cause errors.  The property is therefore
119f3478392SPeter Maydelluseless and should not be specified.
120f3478392SPeter Maydell
121e2cc363bSYanan Wang``loaded`` property of ``secret`` and ``secret_keyring`` objects (since 6.0)
122e2cc363bSYanan Wang''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
123f3478392SPeter Maydell
124f3478392SPeter MaydellThe only effect of specifying ``loaded=on`` in the command line or QMP
125f3478392SPeter Maydell``object-add`` is that the secret is loaded immediately, possibly before all
126f3478392SPeter Maydellother options have been processed.  This will either have no effect (if
127f3478392SPeter Maydell``loaded`` was the last option) or cause options to be effectively ignored as
128f3478392SPeter Maydellif they were not given.  The property is therefore useless and should not be
129f3478392SPeter Maydellspecified.
130f3478392SPeter Maydell
131f3478392SPeter Maydell``-display sdl,window_close=...`` (since 6.1)
132f3478392SPeter Maydell'''''''''''''''''''''''''''''''''''''''''''''
133f3478392SPeter Maydell
134f3478392SPeter MaydellUse ``-display sdl,window-close=...`` instead (i.e. with a minus instead of
135f3478392SPeter Maydellan underscore between "window" and "close").
136f3478392SPeter Maydell
137f3478392SPeter Maydell``-no-quit`` (since 6.1)
138f3478392SPeter Maydell''''''''''''''''''''''''
139f3478392SPeter Maydell
140f3478392SPeter MaydellThe ``-no-quit`` is a synonym for ``-display ...,window-close=off`` which
141f3478392SPeter Maydellshould be used instead.
142f3478392SPeter Maydell
143d46156fdSThomas Huth``-alt-grab`` and ``-display sdl,alt_grab=on`` (since 6.2)
144d46156fdSThomas Huth''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
145d46156fdSThomas Huth
146d46156fdSThomas HuthUse ``-display sdl,grab-mod=lshift-lctrl-lalt`` instead.
147d46156fdSThomas Huth
148d46156fdSThomas Huth``-ctrl-grab`` and ``-display sdl,ctrl_grab=on`` (since 6.2)
149d46156fdSThomas Huth''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
150d46156fdSThomas Huth
151d46156fdSThomas HuthUse ``-display sdl,grab-mod=rctrl`` instead.
152d46156fdSThomas Huth
1536695e4c0SThomas Huth``-sdl`` (since 6.2)
1546695e4c0SThomas Huth''''''''''''''''''''
1556695e4c0SThomas Huth
1566695e4c0SThomas HuthUse ``-display sdl`` instead.
1576695e4c0SThomas Huth
1586695e4c0SThomas Huth``-curses`` (since 6.2)
1596695e4c0SThomas Huth'''''''''''''''''''''''
1606695e4c0SThomas Huth
1616695e4c0SThomas HuthUse ``-display curses`` instead.
1626695e4c0SThomas Huth
163*d12b64eaSPaolo Bonzini``-watchdog`` (since 6.2)
164*d12b64eaSPaolo Bonzini'''''''''''''''''''''''''
165*d12b64eaSPaolo Bonzini
166*d12b64eaSPaolo BonziniUse ``-device`` instead.
167*d12b64eaSPaolo Bonzini
168c2511b16SYanan Wang``-smp`` ("parameter=0" SMP configurations) (since 6.2)
169c2511b16SYanan Wang'''''''''''''''''''''''''''''''''''''''''''''''''''''''
170c2511b16SYanan Wang
171c2511b16SYanan WangSpecified CPU topology parameters must be greater than zero.
172c2511b16SYanan Wang
173c2511b16SYanan WangIn the SMP configuration, users should either provide a CPU topology
174c2511b16SYanan Wangparameter with a reasonable value (greater than zero) or just omit it
175c2511b16SYanan Wangand QEMU will compute the missing value.
176c2511b16SYanan Wang
177c2511b16SYanan WangHowever, historically it was implicitly allowed for users to provide
178c2511b16SYanan Wanga parameter with zero value, which is meaningless and could also possibly
179c2511b16SYanan Wangcause unexpected results in the -smp parsing. So support for this kind of
180c2511b16SYanan Wangconfigurations (e.g. -smp 8,sockets=0) is deprecated since 6.2 and will
181c2511b16SYanan Wangbe removed in the near future, users have to ensure that all the topology
182c2511b16SYanan Wangmembers described with -smp are greater than zero.
183f3478392SPeter Maydell
18467f14574SMahmoud MandourPlugin argument passing through ``arg=<string>`` (since 6.1)
18567f14574SMahmoud Mandour''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
18667f14574SMahmoud Mandour
18767f14574SMahmoud MandourPassing TCG plugins arguments through ``arg=`` is redundant is makes the
18867f14574SMahmoud Mandourcommand-line less readable, especially when the argument itself consist of a
18967f14574SMahmoud Mandourname and a value, e.g. ``-plugin plugin_name,arg="arg_name=arg_value"``.
19067f14574SMahmoud MandourTherefore, the usage of ``arg`` is redundant. Single-word arguments are treated
19167f14574SMahmoud Mandouras short-form boolean values, and passed to plugins as ``arg_name=on``.
19267f14574SMahmoud MandourHowever, short-form booleans are deprecated and full explicit ``arg_name=on``
19367f14574SMahmoud Mandourform is preferred.
19467f14574SMahmoud Mandour
19567f14574SMahmoud Mandour
196f3478392SPeter MaydellQEMU Machine Protocol (QMP) commands
197f3478392SPeter Maydell------------------------------------
198f3478392SPeter Maydell
199e2cc363bSYanan Wang``blockdev-open-tray``, ``blockdev-close-tray`` argument ``device`` (since 2.8)
200e2cc363bSYanan Wang'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
201f3478392SPeter Maydell
202f3478392SPeter MaydellUse argument ``id`` instead.
203f3478392SPeter Maydell
204e2cc363bSYanan Wang``eject`` argument ``device`` (since 2.8)
205e2cc363bSYanan Wang'''''''''''''''''''''''''''''''''''''''''
206f3478392SPeter Maydell
207f3478392SPeter MaydellUse argument ``id`` instead.
208f3478392SPeter Maydell
209e2cc363bSYanan Wang``blockdev-change-medium`` argument ``device`` (since 2.8)
210e2cc363bSYanan Wang''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
211f3478392SPeter Maydell
212f3478392SPeter MaydellUse argument ``id`` instead.
213f3478392SPeter Maydell
214e2cc363bSYanan Wang``block_set_io_throttle`` argument ``device`` (since 2.8)
215e2cc363bSYanan Wang'''''''''''''''''''''''''''''''''''''''''''''''''''''''''
216f3478392SPeter Maydell
217f3478392SPeter MaydellUse argument ``id`` instead.
218f3478392SPeter Maydell
219e2cc363bSYanan Wang``blockdev-add`` empty string argument ``backing`` (since 2.10)
220e2cc363bSYanan Wang'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
221f3478392SPeter Maydell
222f3478392SPeter MaydellUse argument value ``null`` instead.
223f3478392SPeter Maydell
224e2cc363bSYanan Wang``block-commit`` arguments ``base`` and ``top`` (since 3.1)
225e2cc363bSYanan Wang'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
226f3478392SPeter Maydell
227f3478392SPeter MaydellUse arguments ``base-node`` and ``top-node`` instead.
228f3478392SPeter Maydell
229f3478392SPeter Maydell``nbd-server-add`` and ``nbd-server-remove`` (since 5.2)
230f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''''''''''''''''''''
231f3478392SPeter Maydell
232f3478392SPeter MaydellUse the more generic commands ``block-export-add`` and ``block-export-del``
233f3478392SPeter Maydellinstead.  As part of this deprecation, where ``nbd-server-add`` used a
234f3478392SPeter Maydellsingle ``bitmap``, the new ``block-export-add`` uses a list of ``bitmaps``.
235f3478392SPeter Maydell
23675ecee72SMarkus Armbruster``query-qmp-schema`` return value member ``values`` (since 6.2)
23775ecee72SMarkus Armbruster'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
23875ecee72SMarkus Armbruster
23975ecee72SMarkus ArmbrusterMember ``values`` in return value elements with meta-type ``enum`` is
24075ecee72SMarkus Armbrusterdeprecated.  Use ``members`` instead.
24175ecee72SMarkus Armbruster
242f3478392SPeter MaydellSystem accelerators
243f3478392SPeter Maydell-------------------
244f3478392SPeter Maydell
245f3478392SPeter MaydellMIPS ``Trap-and-Emul`` KVM support (since 6.0)
246f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''''''''''
247f3478392SPeter Maydell
248f3478392SPeter MaydellThe MIPS ``Trap-and-Emul`` KVM host and guest support has been removed
249f3478392SPeter Maydellfrom Linux upstream kernel, declare it deprecated.
250f3478392SPeter Maydell
251f3478392SPeter MaydellSystem emulator CPUS
252f3478392SPeter Maydell--------------------
253f3478392SPeter Maydell
254e2cc363bSYanan Wang``Icelake-Client`` CPU Model (since 5.2)
255e2cc363bSYanan Wang''''''''''''''''''''''''''''''''''''''''
256f3478392SPeter Maydell
257f3478392SPeter Maydell``Icelake-Client`` CPU Models are deprecated. Use ``Icelake-Server`` CPU
258f3478392SPeter MaydellModels instead.
259f3478392SPeter Maydell
260f3478392SPeter MaydellMIPS ``I7200`` CPU Model (since 5.2)
261f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''
262f3478392SPeter Maydell
263f3478392SPeter MaydellThe ``I7200`` guest CPU relies on the nanoMIPS ISA, which is deprecated
264f3478392SPeter Maydell(the ISA has never been upstreamed to a compiler toolchain). Therefore
265f3478392SPeter Maydellthis CPU is also deprecated.
266f3478392SPeter Maydell
267d43f1670SDaniel Henrique Barboza
268d43f1670SDaniel Henrique BarbozaQEMU API (QAPI) events
269d43f1670SDaniel Henrique Barboza----------------------
270d43f1670SDaniel Henrique Barboza
271d43f1670SDaniel Henrique Barboza``MEM_UNPLUG_ERROR`` (since 6.2)
272d43f1670SDaniel Henrique Barboza''''''''''''''''''''''''''''''''''''''''''''''''''''''''
273d43f1670SDaniel Henrique Barboza
274d43f1670SDaniel Henrique BarbozaUse the more generic event ``DEVICE_UNPLUG_GUEST_ERROR`` instead.
275d43f1670SDaniel Henrique Barboza
276d43f1670SDaniel Henrique Barboza
277f3478392SPeter MaydellSystem emulator machines
278f3478392SPeter Maydell------------------------
279f3478392SPeter Maydell
280f3478392SPeter MaydellAspeed ``swift-bmc`` machine (since 6.1)
281f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''''
282f3478392SPeter Maydell
283f3478392SPeter MaydellThis machine is deprecated because we have enough AST2500 based OpenPOWER
284f3478392SPeter Maydellmachines. It can be easily replaced by the ``witherspoon-bmc`` or the
285f3478392SPeter Maydell``romulus-bmc`` machines.
286f3478392SPeter Maydell
287f3478392SPeter MaydellBackend options
288f3478392SPeter Maydell---------------
289f3478392SPeter Maydell
290f3478392SPeter MaydellUsing non-persistent backing file with pmem=on (since 6.1)
291f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
292f3478392SPeter Maydell
293f3478392SPeter MaydellThis option is used when ``memory-backend-file`` is consumed by emulated NVDIMM
294f3478392SPeter Maydelldevice. However enabling ``memory-backend-file.pmem`` option, when backing file
295f3478392SPeter Maydellis (a) not DAX capable or (b) not on a filesystem that support direct mapping
296f3478392SPeter Maydellof persistent memory, is not safe and may lead to data loss or corruption in case
297f3478392SPeter Maydellof host crash.
298f3478392SPeter MaydellOptions are:
299f3478392SPeter Maydell
300f3478392SPeter Maydell    - modify VM configuration to set ``pmem=off`` to continue using fake NVDIMM
301f3478392SPeter Maydell      (without persistence guaranties) with backing file on non DAX storage
302f3478392SPeter Maydell    - move backing file to NVDIMM storage and keep ``pmem=on``
303f3478392SPeter Maydell      (to have NVDIMM with persistence guaranties).
304f3478392SPeter Maydell
305f3478392SPeter MaydellDevice options
306f3478392SPeter Maydell--------------
307f3478392SPeter Maydell
308f3478392SPeter MaydellEmulated device options
309f3478392SPeter Maydell'''''''''''''''''''''''
310f3478392SPeter Maydell
311e2cc363bSYanan Wang``-device virtio-blk,scsi=on|off`` (since 5.0)
312e2cc363bSYanan Wang^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
313f3478392SPeter Maydell
314f3478392SPeter MaydellThe virtio-blk SCSI passthrough feature is a legacy VIRTIO feature.  VIRTIO 1.0
315f3478392SPeter Maydelland later do not support it because the virtio-scsi device was introduced for
316f3478392SPeter Maydellfull SCSI support.  Use virtio-scsi instead when SCSI passthrough is required.
317f3478392SPeter Maydell
318f3478392SPeter MaydellNote this also applies to ``-device virtio-blk-pci,scsi=on|off``, which is an
319f3478392SPeter Maydellalias.
320f3478392SPeter Maydell
321f3478392SPeter MaydellBlock device options
322f3478392SPeter Maydell''''''''''''''''''''
323f3478392SPeter Maydell
324e2cc363bSYanan Wang``"backing": ""`` (since 2.12)
325e2cc363bSYanan Wang^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
326f3478392SPeter Maydell
327f3478392SPeter MaydellIn order to prevent QEMU from automatically opening an image's backing
328f3478392SPeter Maydellchain, use ``"backing": null`` instead.
329f3478392SPeter Maydell
330e2cc363bSYanan Wang``rbd`` keyvalue pair encoded filenames: ``""`` (since 3.1)
331e2cc363bSYanan Wang^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
332f3478392SPeter Maydell
333f3478392SPeter MaydellOptions for ``rbd`` should be specified according to its runtime options,
334f3478392SPeter Maydelllike other block drivers.  Legacy parsing of keyvalue pair encoded
335f3478392SPeter Maydellfilenames is useful to open images with the old format for backing files;
336f3478392SPeter MaydellThese image files should be updated to use the current format.
337f3478392SPeter Maydell
338f3478392SPeter MaydellExample of legacy encoding::
339f3478392SPeter Maydell
340f3478392SPeter Maydell  json:{"file.driver":"rbd", "file.filename":"rbd:rbd/name"}
341f3478392SPeter Maydell
342f3478392SPeter MaydellThe above, converted to the current supported format::
343f3478392SPeter Maydell
344f3478392SPeter Maydell  json:{"file.driver":"rbd", "file.pool":"rbd", "file.image":"name"}
345f3478392SPeter Maydell
346f3478392SPeter Maydelllinux-user mode CPUs
347f3478392SPeter Maydell--------------------
348f3478392SPeter Maydell
349e2cc363bSYanan Wang``ppc64abi32`` CPUs (since 5.2)
350e2cc363bSYanan Wang'''''''''''''''''''''''''''''''
351f3478392SPeter Maydell
352f3478392SPeter MaydellThe ``ppc64abi32`` architecture has a number of issues which regularly
353f3478392SPeter Maydelltrip up our CI testing and is suspected to be quite broken. For that
354f3478392SPeter Maydellreason the maintainers strongly suspect no one actually uses it.
355f3478392SPeter Maydell
356f3478392SPeter MaydellMIPS ``I7200`` CPU (since 5.2)
357f3478392SPeter Maydell''''''''''''''''''''''''''''''
358f3478392SPeter Maydell
359f3478392SPeter MaydellThe ``I7200`` guest CPU relies on the nanoMIPS ISA, which is deprecated
360f3478392SPeter Maydell(the ISA has never been upstreamed to a compiler toolchain). Therefore
361f3478392SPeter Maydellthis CPU is also deprecated.
362f3478392SPeter Maydell
363f3478392SPeter MaydellRelated binaries
364f3478392SPeter Maydell----------------
365f3478392SPeter Maydell
366f3478392SPeter MaydellBackwards compatibility
367f3478392SPeter Maydell-----------------------
368f3478392SPeter Maydell
369e2cc363bSYanan WangRunnability guarantee of CPU models (since 4.1)
370e2cc363bSYanan Wang'''''''''''''''''''''''''''''''''''''''''''''''
371f3478392SPeter Maydell
372f3478392SPeter MaydellPrevious versions of QEMU never changed existing CPU models in
373f3478392SPeter Maydellways that introduced additional host software or hardware
374f3478392SPeter Maydellrequirements to the VM.  This allowed management software to
375f3478392SPeter Maydellsafely change the machine type of an existing VM without
376f3478392SPeter Maydellintroducing new requirements ("runnability guarantee").  This
377f3478392SPeter Maydellprevented CPU models from being updated to include CPU
378f3478392SPeter Maydellvulnerability mitigations, leaving guests vulnerable in the
379f3478392SPeter Maydelldefault configuration.
380f3478392SPeter Maydell
381f3478392SPeter MaydellThe CPU model runnability guarantee won't apply anymore to
382f3478392SPeter Maydellexisting CPU models.  Management software that needs runnability
383f3478392SPeter Maydellguarantees must resolve the CPU model aliases using the
384f3478392SPeter Maydell``alias-of`` field returned by the ``query-cpu-definitions`` QMP
385f3478392SPeter Maydellcommand.
386f3478392SPeter Maydell
387f3478392SPeter MaydellWhile those guarantees are kept, the return value of
388f3478392SPeter Maydell``query-cpu-definitions`` will have existing CPU model aliases
389f3478392SPeter Maydellpoint to a version that doesn't break runnability guarantees
390f3478392SPeter Maydell(specifically, version 1 of those CPU models).  In future QEMU
391f3478392SPeter Maydellversions, aliases will point to newer CPU model versions
392f3478392SPeter Maydelldepending on the machine type, so management software must
393f3478392SPeter Maydellresolve CPU model aliases before starting a virtual machine.
394f3478392SPeter Maydell
395f3478392SPeter MaydellGuest Emulator ISAs
396f3478392SPeter Maydell-------------------
397f3478392SPeter Maydell
398f3478392SPeter MaydellnanoMIPS ISA
399f3478392SPeter Maydell''''''''''''
400f3478392SPeter Maydell
401f3478392SPeter MaydellThe ``nanoMIPS`` ISA has never been upstreamed to any compiler toolchain.
402f3478392SPeter MaydellAs it is hard to generate binaries for it, declare it deprecated.
403