xref: /openbmc/qemu/docs/about/deprecated.rst (revision 582a098e6ca00dd42f317dad8affd13e5a20bc42)
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 Maydell``-chardev`` backend aliases ``tty`` and ``parport`` (since 6.0)
43f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
44f3478392SPeter Maydell
45f3478392SPeter Maydell``tty`` and ``parport`` are aliases that will be removed. Instead, the
46f3478392SPeter Maydellactual backend names ``serial`` and ``parallel`` should be used.
47f3478392SPeter Maydell
48f3478392SPeter MaydellShort-form boolean options (since 6.0)
49f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''
50f3478392SPeter Maydell
51f3478392SPeter MaydellBoolean options such as ``share=on``/``share=off`` could be written
52f3478392SPeter Maydellin short form as ``share`` and ``noshare``.  This is now deprecated
53f3478392SPeter Maydelland will cause a warning.
54f3478392SPeter Maydell
55f3478392SPeter Maydell``delay`` option for socket character devices (since 6.0)
56f3478392SPeter Maydell'''''''''''''''''''''''''''''''''''''''''''''''''''''''''
57f3478392SPeter Maydell
58f3478392SPeter MaydellThe replacement for the ``nodelay`` short-form boolean option is ``nodelay=on``
59f3478392SPeter Maydellrather than ``delay=off``.
60f3478392SPeter Maydell
61f3478392SPeter MaydellUserspace local APIC with KVM (x86, since 6.0)
62f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''''''''''
63f3478392SPeter Maydell
64f3478392SPeter MaydellUsing ``-M kernel-irqchip=off`` with x86 machine types that include a local
65f3478392SPeter MaydellAPIC is deprecated.  The ``split`` setting is supported, as is using
66f3478392SPeter Maydell``-M kernel-irqchip=off`` with the ISA PC machine type.
67f3478392SPeter Maydell
68f3478392SPeter Maydellhexadecimal sizes with scaling multipliers (since 6.0)
69f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''''''''''''''''''
70f3478392SPeter Maydell
71f3478392SPeter MaydellInput parameters that take a size value should only use a size suffix
72f3478392SPeter Maydell(such as 'k' or 'M') when the base is written in decimal, and not when
73f3478392SPeter Maydellthe value is hexadecimal.  That is, '0x20M' is deprecated, and should
74f3478392SPeter Maydellbe written either as '32M' or as '0x2000000'.
75f3478392SPeter Maydell
76f3478392SPeter Maydell``-spice password=string`` (since 6.0)
77f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''
78f3478392SPeter Maydell
79f3478392SPeter MaydellThis option is insecure because the SPICE password remains visible in
80f3478392SPeter Maydellthe process listing. This is replaced by the new ``password-secret``
81f3478392SPeter Maydelloption which lets the password be securely provided on the command
82f3478392SPeter Maydellline using a ``secret`` object instance.
83f3478392SPeter Maydell
84d12b64eaSPaolo Bonzini``-watchdog`` (since 6.2)
85d12b64eaSPaolo Bonzini'''''''''''''''''''''''''
86d12b64eaSPaolo Bonzini
87d12b64eaSPaolo BonziniUse ``-device`` instead.
88d12b64eaSPaolo Bonzini
89c2511b16SYanan Wang``-smp`` ("parameter=0" SMP configurations) (since 6.2)
90c2511b16SYanan Wang'''''''''''''''''''''''''''''''''''''''''''''''''''''''
91c2511b16SYanan Wang
92c2511b16SYanan WangSpecified CPU topology parameters must be greater than zero.
93c2511b16SYanan Wang
94c2511b16SYanan WangIn the SMP configuration, users should either provide a CPU topology
95c2511b16SYanan Wangparameter with a reasonable value (greater than zero) or just omit it
96c2511b16SYanan Wangand QEMU will compute the missing value.
97c2511b16SYanan Wang
98c2511b16SYanan WangHowever, historically it was implicitly allowed for users to provide
99c2511b16SYanan Wanga parameter with zero value, which is meaningless and could also possibly
100c2511b16SYanan Wangcause unexpected results in the -smp parsing. So support for this kind of
101c2511b16SYanan Wangconfigurations (e.g. -smp 8,sockets=0) is deprecated since 6.2 and will
102c2511b16SYanan Wangbe removed in the near future, users have to ensure that all the topology
103c2511b16SYanan Wangmembers described with -smp are greater than zero.
104f3478392SPeter Maydell
10567f14574SMahmoud MandourPlugin argument passing through ``arg=<string>`` (since 6.1)
10667f14574SMahmoud Mandour''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
10767f14574SMahmoud Mandour
10867f14574SMahmoud MandourPassing TCG plugins arguments through ``arg=`` is redundant is makes the
10967f14574SMahmoud Mandourcommand-line less readable, especially when the argument itself consist of a
11067f14574SMahmoud Mandourname and a value, e.g. ``-plugin plugin_name,arg="arg_name=arg_value"``.
11167f14574SMahmoud MandourTherefore, the usage of ``arg`` is redundant. Single-word arguments are treated
11267f14574SMahmoud Mandouras short-form boolean values, and passed to plugins as ``arg_name=on``.
11367f14574SMahmoud MandourHowever, short-form booleans are deprecated and full explicit ``arg_name=on``
11467f14574SMahmoud Mandourform is preferred.
11567f14574SMahmoud Mandour
1166b717a8dSThomas Huth``-drive if=none`` for the sifive_u OTP device (since 6.2)
1176b717a8dSThomas Huth''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
1186b717a8dSThomas Huth
1196b717a8dSThomas HuthUsing ``-drive if=none`` to configure the OTP device of the sifive_u
1206b717a8dSThomas HuthRISC-V machine is deprecated. Use ``-drive if=pflash`` instead.
1216b717a8dSThomas Huth
12267f14574SMahmoud Mandour
123f3478392SPeter MaydellQEMU Machine Protocol (QMP) commands
124f3478392SPeter Maydell------------------------------------
125f3478392SPeter Maydell
126e2cc363bSYanan Wang``blockdev-open-tray``, ``blockdev-close-tray`` argument ``device`` (since 2.8)
127e2cc363bSYanan Wang'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
128f3478392SPeter Maydell
129f3478392SPeter MaydellUse argument ``id`` instead.
130f3478392SPeter Maydell
131e2cc363bSYanan Wang``eject`` argument ``device`` (since 2.8)
132e2cc363bSYanan Wang'''''''''''''''''''''''''''''''''''''''''
133f3478392SPeter Maydell
134f3478392SPeter MaydellUse argument ``id`` instead.
135f3478392SPeter Maydell
136e2cc363bSYanan Wang``blockdev-change-medium`` argument ``device`` (since 2.8)
137e2cc363bSYanan Wang''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
138f3478392SPeter Maydell
139f3478392SPeter MaydellUse argument ``id`` instead.
140f3478392SPeter Maydell
141e2cc363bSYanan Wang``block_set_io_throttle`` argument ``device`` (since 2.8)
142e2cc363bSYanan Wang'''''''''''''''''''''''''''''''''''''''''''''''''''''''''
143f3478392SPeter Maydell
144f3478392SPeter MaydellUse argument ``id`` instead.
145f3478392SPeter Maydell
146e2cc363bSYanan Wang``blockdev-add`` empty string argument ``backing`` (since 2.10)
147e2cc363bSYanan Wang'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
148f3478392SPeter Maydell
149f3478392SPeter MaydellUse argument value ``null`` instead.
150f3478392SPeter Maydell
151e2cc363bSYanan Wang``block-commit`` arguments ``base`` and ``top`` (since 3.1)
152e2cc363bSYanan Wang'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
153f3478392SPeter Maydell
154f3478392SPeter MaydellUse arguments ``base-node`` and ``top-node`` instead.
155f3478392SPeter Maydell
156f3478392SPeter Maydell``nbd-server-add`` and ``nbd-server-remove`` (since 5.2)
157f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''''''''''''''''''''
158f3478392SPeter Maydell
159f3478392SPeter MaydellUse the more generic commands ``block-export-add`` and ``block-export-del``
160f3478392SPeter Maydellinstead.  As part of this deprecation, where ``nbd-server-add`` used a
161f3478392SPeter Maydellsingle ``bitmap``, the new ``block-export-add`` uses a list of ``bitmaps``.
162f3478392SPeter Maydell
16375ecee72SMarkus Armbruster``query-qmp-schema`` return value member ``values`` (since 6.2)
16475ecee72SMarkus Armbruster'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
16575ecee72SMarkus Armbruster
16675ecee72SMarkus ArmbrusterMember ``values`` in return value elements with meta-type ``enum`` is
16775ecee72SMarkus Armbrusterdeprecated.  Use ``members`` instead.
16875ecee72SMarkus Armbruster
1691084159bSVladimir Sementsov-Ogievskiy``drive-backup`` (since 6.2)
1701084159bSVladimir Sementsov-Ogievskiy''''''''''''''''''''''''''''
1711084159bSVladimir Sementsov-Ogievskiy
1721084159bSVladimir Sementsov-OgievskiyUse ``blockdev-backup`` in combination with ``blockdev-add`` instead.
1731084159bSVladimir Sementsov-OgievskiyThis change primarily separates the creation/opening process of the backup
1741084159bSVladimir Sementsov-Ogievskiytarget with explicit, separate steps. ``blockdev-backup`` uses mostly the
1751084159bSVladimir Sementsov-Ogievskiysame arguments as ``drive-backup``, except the ``format`` and ``mode``
1761084159bSVladimir Sementsov-Ogievskiyoptions are removed in favor of using explicit ``blockdev-create`` and
1771084159bSVladimir Sementsov-Ogievskiy``blockdev-add`` calls. See :doc:`/interop/live-block-operations` for
1781084159bSVladimir Sementsov-Ogievskiydetails.
1791084159bSVladimir Sementsov-Ogievskiy
1804d8b0f0aSKevin WolfIncorrectly typed ``device_add`` arguments (since 6.2)
1814d8b0f0aSKevin Wolf''''''''''''''''''''''''''''''''''''''''''''''''''''''
1824d8b0f0aSKevin Wolf
1834d8b0f0aSKevin WolfDue to shortcomings in the internal implementation of ``device_add``, QEMU
1844d8b0f0aSKevin Wolfincorrectly accepts certain invalid arguments: Any object or list arguments are
1854d8b0f0aSKevin Wolfsilently ignored. Other argument types are not checked, but an implicit
1864d8b0f0aSKevin Wolfconversion happens, so that e.g. string values can be assigned to integer
1874d8b0f0aSKevin Wolfdevice properties or vice versa.
1884d8b0f0aSKevin Wolf
1894d8b0f0aSKevin WolfThis is a bug in QEMU that will be fixed in the future so that previously
1904d8b0f0aSKevin Wolfaccepted incorrect commands will return an error. Users should make sure that
1914d8b0f0aSKevin Wolfall arguments passed to ``device_add`` are consistent with the documented
1924d8b0f0aSKevin Wolfproperty types.
1934d8b0f0aSKevin Wolf
194a66bd91fSYang Zhong``query-sgx`` return value member ``section-size`` (since 7.0)
195a66bd91fSYang Zhong''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
196a66bd91fSYang Zhong
197a66bd91fSYang ZhongMember ``section-size`` in return value elements with meta-type ``uint64`` is
198a66bd91fSYang Zhongdeprecated.  Use ``sections`` instead.
199a66bd91fSYang Zhong
200a66bd91fSYang Zhong
201a66bd91fSYang Zhong``query-sgx-capabilities`` return value member ``section-size`` (since 7.0)
202a66bd91fSYang Zhong'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
203a66bd91fSYang Zhong
204a66bd91fSYang ZhongMember ``section-size`` in return value elements with meta-type ``uint64`` is
205a66bd91fSYang Zhongdeprecated.  Use ``sections`` instead.
206a66bd91fSYang Zhong
207f3478392SPeter MaydellSystem accelerators
208f3478392SPeter Maydell-------------------
209f3478392SPeter Maydell
210f3478392SPeter MaydellMIPS ``Trap-and-Emul`` KVM support (since 6.0)
211f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''''''''''
212f3478392SPeter Maydell
213f3478392SPeter MaydellThe MIPS ``Trap-and-Emul`` KVM host and guest support has been removed
214f3478392SPeter Maydellfrom Linux upstream kernel, declare it deprecated.
215f3478392SPeter Maydell
216d43f1670SDaniel Henrique BarbozaQEMU API (QAPI) events
217d43f1670SDaniel Henrique Barboza----------------------
218d43f1670SDaniel Henrique Barboza
219d43f1670SDaniel Henrique Barboza``MEM_UNPLUG_ERROR`` (since 6.2)
220d43f1670SDaniel Henrique Barboza''''''''''''''''''''''''''''''''''''''''''''''''''''''''
221d43f1670SDaniel Henrique Barboza
222d43f1670SDaniel Henrique BarbozaUse the more generic event ``DEVICE_UNPLUG_GUEST_ERROR`` instead.
223d43f1670SDaniel Henrique Barboza
224d43f1670SDaniel Henrique Barboza
225f3478392SPeter MaydellSystem emulator machines
226f3478392SPeter Maydell------------------------
227f3478392SPeter Maydell
2285242876fSJason A. DonenfeldArm ``virt`` machine ``dtb-kaslr-seed`` property
2295242876fSJason A. Donenfeld''''''''''''''''''''''''''''''''''''''''''''''''
2305242876fSJason A. Donenfeld
2315242876fSJason A. DonenfeldThe ``dtb-kaslr-seed`` property on the ``virt`` board has been
2325242876fSJason A. Donenfelddeprecated; use the new name ``dtb-randomness`` instead. The new name
2335242876fSJason A. Donenfeldbetter reflects the way this property affects all random data within
2345242876fSJason A. Donenfeldthe device tree blob, not just the ``kaslr-seed`` node.
2355242876fSJason A. Donenfeld
236f59fb188SThomas Huth``pc-i440fx-1.4`` up to ``pc-i440fx-1.7`` (since 7.0)
237f59fb188SThomas Huth'''''''''''''''''''''''''''''''''''''''''''''''''''''
238f59fb188SThomas Huth
239f59fb188SThomas HuthThese old machine types are quite neglected nowadays and thus might have
240f59fb188SThomas Huthvarious pitfalls with regards to live migration. Use a newer machine type
241f59fb188SThomas Huthinstead.
242f59fb188SThomas Huth
243f59fb188SThomas Huth
244f3478392SPeter MaydellBackend options
245f3478392SPeter Maydell---------------
246f3478392SPeter Maydell
247f3478392SPeter MaydellUsing non-persistent backing file with pmem=on (since 6.1)
248f3478392SPeter Maydell''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
249f3478392SPeter Maydell
250f3478392SPeter MaydellThis option is used when ``memory-backend-file`` is consumed by emulated NVDIMM
251f3478392SPeter Maydelldevice. However enabling ``memory-backend-file.pmem`` option, when backing file
252f3478392SPeter Maydellis (a) not DAX capable or (b) not on a filesystem that support direct mapping
253f3478392SPeter Maydellof persistent memory, is not safe and may lead to data loss or corruption in case
254f3478392SPeter Maydellof host crash.
255f3478392SPeter MaydellOptions are:
256f3478392SPeter Maydell
257f3478392SPeter Maydell    - modify VM configuration to set ``pmem=off`` to continue using fake NVDIMM
258f3478392SPeter Maydell      (without persistence guaranties) with backing file on non DAX storage
259f3478392SPeter Maydell    - move backing file to NVDIMM storage and keep ``pmem=on``
260f3478392SPeter Maydell      (to have NVDIMM with persistence guaranties).
261f3478392SPeter Maydell
262f3478392SPeter MaydellDevice options
263f3478392SPeter Maydell--------------
264f3478392SPeter Maydell
265f3478392SPeter MaydellEmulated device options
266f3478392SPeter Maydell'''''''''''''''''''''''
267f3478392SPeter Maydell
268e2cc363bSYanan Wang``-device virtio-blk,scsi=on|off`` (since 5.0)
269e2cc363bSYanan Wang^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
270f3478392SPeter Maydell
271f3478392SPeter MaydellThe virtio-blk SCSI passthrough feature is a legacy VIRTIO feature.  VIRTIO 1.0
272f3478392SPeter Maydelland later do not support it because the virtio-scsi device was introduced for
273f3478392SPeter Maydellfull SCSI support.  Use virtio-scsi instead when SCSI passthrough is required.
274f3478392SPeter Maydell
275f3478392SPeter MaydellNote this also applies to ``-device virtio-blk-pci,scsi=on|off``, which is an
276f3478392SPeter Maydellalias.
277f3478392SPeter Maydell
2787c8d295bSDaniel P. Berrangé``-device sga`` (since 6.2)
2797c8d295bSDaniel P. Berrangé^^^^^^^^^^^^^^^^^^^^^^^^^^^
2807c8d295bSDaniel P. Berrangé
2817c8d295bSDaniel P. BerrangéThe ``sga`` device loads an option ROM for x86 targets which enables
2827c8d295bSDaniel P. BerrangéSeaBIOS to send messages to the serial console. SeaBIOS 1.11.0 onwards
2837c8d295bSDaniel P. Berrangécontains native support for this feature and thus use of the option
2847c8d295bSDaniel P. BerrangéROM approach is obsolete. The native SeaBIOS support can be activated
2857c8d295bSDaniel P. Berrangéby using ``-machine graphics=off``.
2867c8d295bSDaniel P. Berrangé
28736d83272SKlaus Jensen``-device nvme-ns,eui64-default=on|off`` (since 7.1)
28836d83272SKlaus Jensen^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
28936d83272SKlaus Jensen
29036d83272SKlaus JensenIn QEMU versions 6.1, 6.2 and 7.0, the ``nvme-ns`` generates an EUI-64
291120f765eSStefan Weilidentifier that is not globally unique. If an EUI-64 identifier is required, the
29236d83272SKlaus Jensenuser must set it explicitly using the ``nvme-ns`` device parameter ``eui64``.
29336d83272SKlaus Jensen
2948b1e59a6SKlaus Jensen``-device nvme,use-intel-id=on|off`` (since 7.1)
2958b1e59a6SKlaus Jensen^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2968b1e59a6SKlaus Jensen
2978b1e59a6SKlaus JensenThe ``nvme`` device originally used a PCI Vendor/Device Identifier combination
2988b1e59a6SKlaus Jensenfrom Intel that was not properly allocated. Since version 5.2, the controller
2998b1e59a6SKlaus Jensenhas used a properly allocated identifier. Deprecate the ``use-intel-id``
3008b1e59a6SKlaus Jensenmachine compatibility parameter.
3018b1e59a6SKlaus Jensen
3027c8d295bSDaniel P. Berrangé
303f3478392SPeter MaydellBlock device options
304f3478392SPeter Maydell''''''''''''''''''''
305f3478392SPeter Maydell
306e2cc363bSYanan Wang``"backing": ""`` (since 2.12)
307e2cc363bSYanan Wang^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
308f3478392SPeter Maydell
309f3478392SPeter MaydellIn order to prevent QEMU from automatically opening an image's backing
310f3478392SPeter Maydellchain, use ``"backing": null`` instead.
311f3478392SPeter Maydell
312e2cc363bSYanan Wang``rbd`` keyvalue pair encoded filenames: ``""`` (since 3.1)
313e2cc363bSYanan Wang^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
314f3478392SPeter Maydell
315f3478392SPeter MaydellOptions for ``rbd`` should be specified according to its runtime options,
316f3478392SPeter Maydelllike other block drivers.  Legacy parsing of keyvalue pair encoded
317f3478392SPeter Maydellfilenames is useful to open images with the old format for backing files;
318f3478392SPeter MaydellThese image files should be updated to use the current format.
319f3478392SPeter Maydell
320f3478392SPeter MaydellExample of legacy encoding::
321f3478392SPeter Maydell
322f3478392SPeter Maydell  json:{"file.driver":"rbd", "file.filename":"rbd:rbd/name"}
323f3478392SPeter Maydell
324f3478392SPeter MaydellThe above, converted to the current supported format::
325f3478392SPeter Maydell
326f3478392SPeter Maydell  json:{"file.driver":"rbd", "file.pool":"rbd", "file.image":"name"}
327f3478392SPeter Maydell
328f3478392SPeter MaydellBackwards compatibility
329f3478392SPeter Maydell-----------------------
330f3478392SPeter Maydell
331e2cc363bSYanan WangRunnability guarantee of CPU models (since 4.1)
332e2cc363bSYanan Wang'''''''''''''''''''''''''''''''''''''''''''''''
333f3478392SPeter Maydell
334f3478392SPeter MaydellPrevious versions of QEMU never changed existing CPU models in
335f3478392SPeter Maydellways that introduced additional host software or hardware
336f3478392SPeter Maydellrequirements to the VM.  This allowed management software to
337f3478392SPeter Maydellsafely change the machine type of an existing VM without
338f3478392SPeter Maydellintroducing new requirements ("runnability guarantee").  This
339f3478392SPeter Maydellprevented CPU models from being updated to include CPU
340f3478392SPeter Maydellvulnerability mitigations, leaving guests vulnerable in the
341f3478392SPeter Maydelldefault configuration.
342f3478392SPeter Maydell
343f3478392SPeter MaydellThe CPU model runnability guarantee won't apply anymore to
344f3478392SPeter Maydellexisting CPU models.  Management software that needs runnability
345f3478392SPeter Maydellguarantees must resolve the CPU model aliases using the
346f3478392SPeter Maydell``alias-of`` field returned by the ``query-cpu-definitions`` QMP
347f3478392SPeter Maydellcommand.
348f3478392SPeter Maydell
349f3478392SPeter MaydellWhile those guarantees are kept, the return value of
350f3478392SPeter Maydell``query-cpu-definitions`` will have existing CPU model aliases
351f3478392SPeter Maydellpoint to a version that doesn't break runnability guarantees
352f3478392SPeter Maydell(specifically, version 1 of those CPU models).  In future QEMU
353f3478392SPeter Maydellversions, aliases will point to newer CPU model versions
354f3478392SPeter Maydelldepending on the machine type, so management software must
355f3478392SPeter Maydellresolve CPU model aliases before starting a virtual machine.
356f3478392SPeter Maydell
35734deee7bSDr. David Alan GilbertTools
35834deee7bSDr. David Alan Gilbert-----
35934deee7bSDr. David Alan Gilbert
36034deee7bSDr. David Alan Gilbertvirtiofsd
36134deee7bSDr. David Alan Gilbert'''''''''
36234deee7bSDr. David Alan Gilbert
36334deee7bSDr. David Alan GilbertThere is a new Rust implementation of ``virtiofsd`` at
36434deee7bSDr. David Alan Gilbert``https://gitlab.com/virtio-fs/virtiofsd``;
36534deee7bSDr. David Alan Gilbertsince this is now marked stable, new development should be done on that
36634deee7bSDr. David Alan Gilbertrather than the existing C version in the QEMU tree.
36734deee7bSDr. David Alan GilbertThe C version will still accept fixes and patches that
36834deee7bSDr. David Alan Gilbertare already in development for the moment, but will eventually
36934deee7bSDr. David Alan Gilbertbe deleted from this tree.
37034deee7bSDr. David Alan GilbertNew deployments should use the Rust version, and existing systems
37134deee7bSDr. David Alan Gilbertshould consider moving to it.  The command line and feature set
37234deee7bSDr. David Alan Gilbertis very close and moving should be simple.
373*582a098eSThomas Huth
374*582a098eSThomas Huth
375*582a098eSThomas HuthQEMU guest agent
376*582a098eSThomas Huth----------------
377*582a098eSThomas Huth
378*582a098eSThomas Huth``--blacklist`` command line option (since 7.2)
379*582a098eSThomas Huth'''''''''''''''''''''''''''''''''''''''''''''''
380*582a098eSThomas Huth
381*582a098eSThomas Huth``--blacklist`` has been replaced by ``--block-rpcs`` (which is a better
382*582a098eSThomas Huthwording for what this option does). The short form ``-b`` still stays
383*582a098eSThomas Huththe same and thus is the preferred way for scripts that should run with
384*582a098eSThomas Huthboth, older and future versions of QEMU.
385*582a098eSThomas Huth
386*582a098eSThomas Huth``blacklist`` config file option (since 7.2)
387*582a098eSThomas Huth''''''''''''''''''''''''''''''''''''''''''''
388*582a098eSThomas Huth
389*582a098eSThomas HuthThe ``blacklist`` config file option has been renamed to ``block-rpcs``
390*582a098eSThomas Huth(to be in sync with the renaming of the corresponding command line
391*582a098eSThomas Huthoption).
392