removed-features.rst 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275
  1. Removed features
  2. ================
  3. What follows is a record of recently removed, formerly deprecated
  4. features that serves as a record for users who have encountered
  5. trouble after a recent upgrade.
  6. System emulator command line arguments
  7. --------------------------------------
  8. ``-hdachs`` (removed in 2.12)
  9. '''''''''''''''''''''''''''''
  10. The geometry defined by ``-hdachs c,h,s,t`` should now be specified via
  11. ``-device ide-hd,drive=dr,cyls=c,heads=h,secs=s,bios-chs-trans=t``
  12. (together with ``-drive if=none,id=dr,...``).
  13. ``-net channel`` (removed in 2.12)
  14. ''''''''''''''''''''''''''''''''''
  15. This option has been replaced by ``-net user,guestfwd=...``.
  16. ``-net dump`` (removed in 2.12)
  17. '''''''''''''''''''''''''''''''
  18. ``-net dump[,vlan=n][,file=filename][,len=maxlen]`` has been replaced by
  19. ``-object filter-dump,id=id,netdev=dev[,file=filename][,maxlen=maxlen]``.
  20. Note that the new syntax works with netdev IDs instead of the old "vlan" hubs.
  21. ``-no-kvm-pit`` (removed in 2.12)
  22. '''''''''''''''''''''''''''''''''
  23. This was just a dummy option that has been ignored, since the in-kernel PIT
  24. cannot be disabled separately from the irqchip anymore. A similar effect
  25. (which also disables the KVM IOAPIC) can be obtained with
  26. ``-M kernel_irqchip=split``.
  27. ``-tdf`` (removed in 2.12)
  28. ''''''''''''''''''''''''''
  29. There is no replacement, the ``-tdf`` option has just been ignored since the
  30. behaviour that could be changed by this option in qemu-kvm is now the default
  31. when using the KVM PIT. It still can be requested explicitly using
  32. ``-global kvm-pit.lost_tick_policy=delay``.
  33. ``-drive secs=s``, ``-drive heads=h`` & ``-drive cyls=c`` (removed in 3.0)
  34. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  35. The drive geometry should now be specified via
  36. ``-device ...,drive=dr,cyls=c,heads=h,secs=s`` (together with
  37. ``-drive if=none,id=dr,...``).
  38. ``-drive serial=``, ``-drive trans=`` & ``-drive addr=`` (removed in 3.0)
  39. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  40. Use ``-device ...,drive=dr,serial=r,bios-chs-trans=t,addr=a`` instead
  41. (together with ``-drive if=none,id=dr,...``).
  42. ``-net ...,vlan=x`` (removed in 3.0)
  43. ''''''''''''''''''''''''''''''''''''
  44. The term "vlan" was very confusing for most users in this context (it's about
  45. specifying a hub ID, not about IEEE 802.1Q or something similar), so this
  46. has been removed. To connect one NIC frontend with a network backend, either
  47. use ``-nic ...`` (e.g. for on-board NICs) or use ``-netdev ...,id=n`` together
  48. with ``-device ...,netdev=n`` (for full control over pluggable NICs). To
  49. connect multiple NICs or network backends via a hub device (which is what
  50. vlan did), use ``-nic hubport,hubid=x,...`` or
  51. ``-netdev hubport,id=n,hubid=x,...`` (with ``-device ...,netdev=n``) instead.
  52. ``-no-kvm-irqchip`` (removed in 3.0)
  53. ''''''''''''''''''''''''''''''''''''
  54. Use ``-machine kernel_irqchip=off`` instead.
  55. ``-no-kvm-pit-reinjection`` (removed in 3.0)
  56. ''''''''''''''''''''''''''''''''''''''''''''
  57. Use ``-global kvm-pit.lost_tick_policy=discard`` instead.
  58. ``-balloon`` (removed in 3.1)
  59. '''''''''''''''''''''''''''''
  60. The ``-balloon virtio`` option has been replaced by ``-device virtio-balloon``.
  61. The ``-balloon none`` option was a no-op and has no replacement.
  62. ``-bootp`` (removed in 3.1)
  63. '''''''''''''''''''''''''''
  64. The ``-bootp /some/file`` argument is replaced by either
  65. ``-netdev user,id=x,bootp=/some/file`` (for pluggable NICs, accompanied with
  66. ``-device ...,netdev=x``), or ``-nic user,bootp=/some/file`` (for on-board NICs).
  67. The new syntax allows different settings to be provided per NIC.
  68. ``-redir`` (removed in 3.1)
  69. '''''''''''''''''''''''''''
  70. The ``-redir [tcp|udp]:hostport:[guestaddr]:guestport`` option is replaced
  71. by either ``-netdev
  72. user,id=x,hostfwd=[tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport``
  73. (for pluggable NICs, accompanied with ``-device ...,netdev=x``) or by the option
  74. ``-nic user,hostfwd=[tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport``
  75. (for on-board NICs). The new syntax allows different settings to be provided
  76. per NIC.
  77. ``-smb`` (removed in 3.1)
  78. '''''''''''''''''''''''''
  79. The ``-smb /some/dir`` argument is replaced by either
  80. ``-netdev user,id=x,smb=/some/dir`` (for pluggable NICs, accompanied with
  81. ``-device ...,netdev=x``), or ``-nic user,smb=/some/dir`` (for on-board NICs).
  82. The new syntax allows different settings to be provided per NIC.
  83. ``-tftp`` (removed in 3.1)
  84. ''''''''''''''''''''''''''
  85. The ``-tftp /some/dir`` argument is replaced by either
  86. ``-netdev user,id=x,tftp=/some/dir`` (for pluggable NICs, accompanied with
  87. ``-device ...,netdev=x``), or ``-nic user,tftp=/some/dir`` (for embedded NICs).
  88. The new syntax allows different settings to be provided per NIC.
  89. ``-localtime`` (removed in 3.1)
  90. '''''''''''''''''''''''''''''''
  91. Replaced by ``-rtc base=localtime``.
  92. ``-nodefconfig`` (removed in 3.1)
  93. '''''''''''''''''''''''''''''''''
  94. Use ``-no-user-config`` instead.
  95. ``-rtc-td-hack`` (removed in 3.1)
  96. '''''''''''''''''''''''''''''''''
  97. Use ``-rtc driftfix=slew`` instead.
  98. ``-startdate`` (removed in 3.1)
  99. '''''''''''''''''''''''''''''''
  100. Replaced by ``-rtc base=date``.
  101. ``-vnc ...,tls=...``, ``-vnc ...,x509=...`` & ``-vnc ...,x509verify=...`` (removed in 3.1)
  102. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  103. The "tls-creds" option should be used instead to point to a "tls-creds-x509"
  104. object created using "-object".
  105. ``-mem-path`` fallback to RAM (removed in 5.0)
  106. ''''''''''''''''''''''''''''''''''''''''''''''
  107. If guest RAM allocation from file pointed by ``mem-path`` failed,
  108. QEMU was falling back to allocating from RAM, which might have resulted
  109. in unpredictable behavior since the backing file specified by the user
  110. as ignored. Currently, users are responsible for making sure the backing storage
  111. specified with ``-mem-path`` can actually provide the guest RAM configured with
  112. ``-m`` and QEMU fails to start up if RAM allocation is unsuccessful.
  113. ``-net ...,name=...`` (removed in 5.1)
  114. ''''''''''''''''''''''''''''''''''''''
  115. The ``name`` parameter of the ``-net`` option was a synonym
  116. for the ``id`` parameter, which should now be used instead.
  117. ``-numa node,mem=...`` (removed in 5.1)
  118. '''''''''''''''''''''''''''''''''''''''
  119. The parameter ``mem`` of ``-numa node`` was used to assign a part of guest RAM
  120. to a NUMA node. But when using it, it's impossible to manage a specified RAM
  121. chunk on the host side (like bind it to a host node, setting bind policy, ...),
  122. so the guest ends up with the fake NUMA configuration with suboptiomal
  123. performance.
  124. However since 2014 there is an alternative way to assign RAM to a NUMA node
  125. using parameter ``memdev``, which does the same as ``mem`` and adds
  126. means to actually manage node RAM on the host side. Use parameter ``memdev``
  127. with *memory-backend-ram* backend as replacement for parameter ``mem``
  128. to achieve the same fake NUMA effect or a properly configured
  129. *memory-backend-file* backend to actually benefit from NUMA configuration.
  130. New machine versions (since 5.1) will not accept the option but it will still
  131. work with old machine types. User can check the QAPI schema to see if the legacy
  132. option is supported by looking at MachineInfo::numa-mem-supported property.
  133. ``-numa`` node (without memory specified) (removed in 5.2)
  134. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  135. Splitting RAM by default between NUMA nodes had the same issues as ``mem``
  136. parameter with the difference that the role of the user plays QEMU using
  137. implicit generic or board specific splitting rule.
  138. Use ``memdev`` with *memory-backend-ram* backend or ``mem`` (if
  139. it's supported by used machine type) to define mapping explicitly instead.
  140. Users of existing VMs, wishing to preserve the same RAM distribution, should
  141. configure it explicitly using ``-numa node,memdev`` options. Current RAM
  142. distribution can be retrieved using HMP command ``info numa`` and if separate
  143. memory devices (pc|nv-dimm) are present use ``info memory-device`` and subtract
  144. device memory from output of ``info numa``.
  145. ``-smp`` (invalid topologies) (removed in 5.2)
  146. ''''''''''''''''''''''''''''''''''''''''''''''
  147. CPU topology properties should describe whole machine topology including
  148. possible CPUs.
  149. However, historically it was possible to start QEMU with an incorrect topology
  150. where *n* <= *sockets* * *cores* * *threads* < *maxcpus*,
  151. which could lead to an incorrect topology enumeration by the guest.
  152. Support for invalid topologies is removed, the user must ensure
  153. topologies described with -smp include all possible cpus, i.e.
  154. *sockets* * *cores* * *threads* = *maxcpus*.
  155. ``-machine enforce-config-section=on|off`` (removed in 5.2)
  156. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  157. The ``enforce-config-section`` property was replaced by the
  158. ``-global migration.send-configuration={on|off}`` option.
  159. ``-no-kvm`` (removed in 5.2)
  160. ''''''''''''''''''''''''''''
  161. The ``-no-kvm`` argument was a synonym for setting ``-machine accel=tcg``.
  162. ``-realtime`` (removed in 6.0)
  163. ''''''''''''''''''''''''''''''
  164. The ``-realtime mlock=on|off`` argument has been replaced by the
  165. ``-overcommit mem-lock=on|off`` argument.
  166. ``-show-cursor`` option (removed in 6.0)
  167. ''''''''''''''''''''''''''''''''''''''''
  168. Use ``-display sdl,show-cursor=on``, ``-display gtk,show-cursor=on``
  169. or ``-display default,show-cursor=on`` instead.
  170. ``-tb-size`` option (removed in 6.0)
  171. ''''''''''''''''''''''''''''''''''''
  172. QEMU 5.0 introduced an alternative syntax to specify the size of the translation
  173. block cache, ``-accel tcg,tb-size=``.
  174. ``-usbdevice audio`` (removed in 6.0)
  175. '''''''''''''''''''''''''''''''''''''
  176. This option lacked the possibility to specify an audio backend device.
  177. Use ``-device usb-audio`` now instead (and specify a corresponding USB
  178. host controller or ``-usb`` if necessary).
  179. ``-vnc acl`` (removed in 6.0)
  180. '''''''''''''''''''''''''''''
  181. The ``acl`` option to the ``-vnc`` argument has been replaced
  182. by the ``tls-authz`` and ``sasl-authz`` options.
  183. ``-mon ...,control=readline,pretty=on|off`` (removed in 6.0)
  184. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  185. The ``pretty=on|off`` switch has no effect for HMP monitors and
  186. its use is rejected.
  187. ``-drive file=json:{...{'driver':'file'}}`` (removed in 6.0)
  188. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  189. The 'file' driver for drives is no longer appropriate for character or host
  190. devices and will only accept regular files (S_IFREG). The correct driver
  191. for these file types is 'host_cdrom' or 'host_device' as appropriate.
  192. Floppy controllers' drive properties (removed in 6.0)
  193. '''''''''''''''''''''''''''''''''''''''''''''''''''''
  194. Use ``-device floppy,...`` instead. When configuring onboard floppy
  195. controllers
  196. ::
  197. -global isa-fdc.driveA=...
  198. -global sysbus-fdc.driveA=...
  199. -global SUNW,fdtwo.drive=...
  200. become
  201. ::
  202. -device floppy,unit=0,drive=...
  203. and
  204. ::
  205. -global isa-fdc.driveB=...
  206. -global sysbus-fdc.driveB=...
  207. become
  208. ::
  209. -device floppy,unit=1,drive=...
  210. When plugging in a floppy controller
  211. ::
  212. -device isa-fdc,...,driveA=...
  213. becomes
  214. ::
  215. -device isa-fdc,...
  216. -device floppy,unit=0,drive=...
  217. and
  218. ::
  219. -device isa-fdc,...,driveB=...
  220. becomes
  221. ::
  222. -device isa-fdc,...
  223. -device floppy,unit=1,drive=...
  224. ``-drive`` with bogus interface type (removed in 6.0)
  225. '''''''''''''''''''''''''''''''''''''''''''''''''''''
  226. Drives with interface types other than ``if=none`` are for onboard
  227. devices. Drives the board doesn't pick up can no longer be used with
  228. -device. Use ``if=none`` instead.
  229. ``-usbdevice ccid`` (removed in 6.0)
  230. '''''''''''''''''''''''''''''''''''''
  231. This option was undocumented and not used in the field.
  232. Use ``-device usb-ccid`` instead.
  233. RISC-V firmware not booted by default (removed in 5.1)
  234. ''''''''''''''''''''''''''''''''''''''''''''''''''''''
  235. QEMU 5.1 changes the default behaviour from ``-bios none`` to ``-bios default``
  236. for the RISC-V ``virt`` machine and ``sifive_u`` machine.
  237. ``-no-quit`` (removed in 7.0)
  238. '''''''''''''''''''''''''''''
  239. The ``-no-quit`` was a synonym for ``-display ...,window-close=off`` which
  240. should be used instead.
  241. ``--enable-fips`` (removed in 7.1)
  242. ''''''''''''''''''''''''''''''''''
  243. This option restricted usage of certain cryptographic algorithms when
  244. the host is operating in FIPS mode.
  245. If FIPS compliance is required, QEMU should be built with the ``libgcrypt``
  246. or ``gnutls`` library enabled as a cryptography provider.
  247. Neither the ``nettle`` library, or the built-in cryptography provider are
  248. supported on FIPS enabled hosts.
  249. ``-writeconfig`` (removed in 7.1)
  250. '''''''''''''''''''''''''''''''''
  251. The ``-writeconfig`` option was not able to serialize the entire contents
  252. of the QEMU command line. It is thus considered a failed experiment
  253. and removed without a replacement.
  254. ``loaded`` property of secret and TLS credential objects (removed in 9.2)
  255. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  256. The ``loaded=on`` option in the command line or QMP ``object-add`` either had
  257. no effect (if ``loaded`` was the last option) or caused options to be
  258. effectively ignored as if they were not given. The property is therefore
  259. useless and has been removed.
  260. ``opened`` property of ``rng-*`` objects (removed in 7.1)
  261. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  262. The ``opened=on`` option in the command line or QMP ``object-add`` either had
  263. no effect (if ``opened`` was the last option) or caused errors. The property
  264. is therefore useless and should simply be removed.
  265. ``-display sdl,window_close=...`` (removed in 7.1)
  266. ''''''''''''''''''''''''''''''''''''''''''''''''''
  267. Use ``-display sdl,window-close=...`` instead (i.e. with a minus instead of
  268. an underscore between "window" and "close").
  269. ``-alt-grab`` and ``-display sdl,alt_grab=on`` (removed in 7.1)
  270. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  271. Use ``-display sdl,grab-mod=lshift-lctrl-lalt`` instead.
  272. ``-ctrl-grab`` and ``-display sdl,ctrl_grab=on`` (removed in 7.1)
  273. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  274. Use ``-display sdl,grab-mod=rctrl`` instead.
  275. ``-sdl`` (removed in 7.1)
  276. '''''''''''''''''''''''''
  277. Use ``-display sdl`` instead.
  278. ``-curses`` (removed in 7.1)
  279. ''''''''''''''''''''''''''''
  280. Use ``-display curses`` instead.
  281. Creating sound card devices using ``-soundhw`` (removed in 7.1)
  282. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  283. Sound card devices should be created using ``-device`` or ``-audio``.
  284. The exception is ``pcspk`` which can be activated using ``-machine
  285. pcspk-audiodev=<name>``.
  286. ``-watchdog`` (removed in 7.2)
  287. ''''''''''''''''''''''''''''''
  288. Use ``-device`` instead.
  289. Hexadecimal sizes with scaling multipliers (removed in 8.0)
  290. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  291. Input parameters that take a size value should only use a size suffix
  292. (such as 'k' or 'M') when the base is written in decimal, and not when
  293. the value is hexadecimal. That is, '0x20M' should be written either as
  294. '32M' or as '0x2000000'.
  295. ``-chardev`` backend aliases ``tty`` and ``parport`` (removed in 8.0)
  296. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  297. ``tty`` and ``parport`` used to be aliases for ``serial`` and ``parallel``
  298. respectively. The actual backend names should be used instead.
  299. ``-drive if=none`` for the sifive_u OTP device (removed in 8.0)
  300. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  301. Use ``-drive if=pflash`` to configure the OTP device of the sifive_u
  302. RISC-V machine instead.
  303. ``-spice password=string`` (removed in 8.0)
  304. '''''''''''''''''''''''''''''''''''''''''''
  305. This option was insecure because the SPICE password remained visible in
  306. the process listing. This was replaced by the new ``password-secret``
  307. option which lets the password be securely provided on the command
  308. line using a ``secret`` object instance.
  309. ``QEMU_AUDIO_`` environment variables and ``-audio-help`` (removed in 8.2)
  310. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  311. The ``-audiodev`` and ``-audio`` command line options are now the only
  312. way to specify audio backend settings.
  313. Using ``-audiodev`` to define the default audio backend (removed in 8.2)
  314. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  315. If no audiodev property is specified, previous versions would use the
  316. first ``-audiodev`` command line option as a fallback. Starting with
  317. version 8.2, audio backends created with ``-audiodev`` will only be
  318. used by clients (sound cards, machines with embedded sound hardware, VNC)
  319. that refer to it in an ``audiodev=`` property.
  320. In order to configure a default audio backend, use the ``-audio``
  321. command line option without specifying a ``model``; while previous
  322. versions of QEMU required a model, starting with version 8.2
  323. QEMU does not require a model and will not create any sound card
  324. in this case.
  325. Note that the default audio backend must be configured on the command
  326. line if the ``-nodefaults`` options is used.
  327. ``-no-hpet`` (removed in 9.0)
  328. '''''''''''''''''''''''''''''
  329. The HPET setting has been turned into a machine property.
  330. Use ``-machine hpet=off`` instead.
  331. ``-no-acpi`` (removed in 9.0)
  332. '''''''''''''''''''''''''''''
  333. The ``-no-acpi`` setting has been turned into a machine property.
  334. Use ``-machine acpi=off`` instead.
  335. ``-async-teardown`` (removed in 9.0)
  336. ''''''''''''''''''''''''''''''''''''
  337. Use ``-run-with async-teardown=on`` instead.
  338. ``-chroot`` (removed in 9.0)
  339. ''''''''''''''''''''''''''''
  340. Use ``-run-with chroot=dir`` instead.
  341. ``-singlestep`` (removed in 9.0)
  342. ''''''''''''''''''''''''''''''''
  343. The ``-singlestep`` option has been turned into an accelerator property,
  344. and given a name that better reflects what it actually does.
  345. Use ``-accel tcg,one-insn-per-tb=on`` instead.
  346. ``-smp`` ("parameter=0" SMP configurations) (removed in 9.0)
  347. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  348. Specified CPU topology parameters must be greater than zero.
  349. In the SMP configuration, users should either provide a CPU topology
  350. parameter with a reasonable value (greater than zero) or just omit it
  351. and QEMU will compute the missing value.
  352. However, historically it was implicitly allowed for users to provide
  353. a parameter with zero value, which is meaningless and could also possibly
  354. cause unexpected results in the -smp parsing. So support for this kind of
  355. configurations (e.g. -smp 8,sockets=0) is removed since 9.0, users have
  356. to ensure that all the topology members described with -smp are greater
  357. than zero.
  358. ``-global migration.decompress-error-check`` (removed in 9.1)
  359. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  360. Removed along with the ``compression`` migration capability.
  361. ``-device virtio-blk,scsi=on|off`` (removed in 9.1)
  362. '''''''''''''''''''''''''''''''''''''''''''''''''''
  363. The virtio-blk SCSI passthrough feature is a legacy VIRTIO feature. VIRTIO 1.0
  364. and later do not support it because the virtio-scsi device was introduced for
  365. full SCSI support. Use virtio-scsi instead when SCSI passthrough is required.
  366. ``-fsdev proxy`` and ``-virtfs proxy`` (removed in 9.2)
  367. '''''''''''''''''''''''''''''''''''''''''''''''''''''''
  368. The 9p ``proxy`` filesystem backend driver was originally developed to
  369. enhance security by dispatching low level filesystem operations from 9p
  370. server (QEMU process) over to a separate process (the virtfs-proxy-helper
  371. binary). However the proxy backend was much slower than the local backend,
  372. didn't see any development in years, and showed to be less secure,
  373. especially due to the fact that its helper daemon must be run as root.
  374. Use ``local``, possibly mapping permissions et al by using its 'mapped'
  375. security model option, or switch to ``virtiofs``. The virtiofs daemon
  376. ``virtiofsd`` uses vhost to eliminate the high latency costs of the 9p
  377. ``proxy`` backend.
  378. ``-portrait`` and ``-rotate`` (removed in 9.2)
  379. ''''''''''''''''''''''''''''''''''''''''''''''
  380. The ``-portrait`` and ``-rotate`` options were documented as only
  381. working with the PXA LCD device, and all the machine types using
  382. that display device were removed in 9.2, so these options also
  383. have been dropped.
  384. These options were intended to simulate a mobile device being
  385. rotated by the user, and had three effects:
  386. * the display output was rotated by 90, 180 or 270 degrees
  387. * the mouse/trackpad input was rotated the opposite way
  388. * the machine model would signal to the guest about its
  389. orientation
  390. Of these three things, the input-rotation was coded without being
  391. restricted to boards which supported the full set of device-rotation
  392. handling, so in theory the options were usable on other machine models
  393. to produce an odd effect (rotating input but not display output). But
  394. this was never intended or documented behaviour, so we have dropped
  395. the options along with the machine models they were intended for.
  396. ``-runas`` (removed in 10.0)
  397. ''''''''''''''''''''''''''''
  398. Use ``-run-with user=..`` instead.
  399. User-mode emulator command line arguments
  400. -----------------------------------------
  401. ``-singlestep`` (removed in 9.0)
  402. ''''''''''''''''''''''''''''''''
  403. The ``-singlestep`` option has been given a name that better reflects
  404. what it actually does. For both linux-user and bsd-user, use the
  405. ``-one-insn-per-tb`` option instead.
  406. QEMU Machine Protocol (QMP) commands
  407. ------------------------------------
  408. ``block-dirty-bitmap-add`` "autoload" parameter (removed in 4.2)
  409. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  410. The "autoload" parameter has been ignored since 2.12.0. All bitmaps
  411. are automatically loaded from qcow2 images.
  412. ``cpu-add`` (removed in 5.2)
  413. ''''''''''''''''''''''''''''
  414. Use ``device_add`` for hotplugging vCPUs instead of ``cpu-add``. See
  415. documentation of ``query-hotpluggable-cpus`` for additional details.
  416. ``change`` (removed in 6.0)
  417. '''''''''''''''''''''''''''
  418. Use ``blockdev-change-medium`` or ``change-vnc-password`` or
  419. ``display-update`` instead.
  420. ``query-events`` (removed in 6.0)
  421. '''''''''''''''''''''''''''''''''
  422. The ``query-events`` command has been superseded by the more powerful
  423. and accurate ``query-qmp-schema`` command.
  424. ``migrate_set_cache_size`` and ``query-migrate-cache-size`` (removed in 6.0)
  425. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  426. Use ``migrate_set_parameter`` and ``info migrate_parameters`` instead.
  427. ``migrate_set_downtime`` and ``migrate_set_speed`` (removed in 6.0)
  428. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  429. Use ``migrate_set_parameter`` instead.
  430. ``query-cpus`` (removed in 6.0)
  431. '''''''''''''''''''''''''''''''
  432. The ``query-cpus`` command is replaced by the ``query-cpus-fast`` command.
  433. ``query-cpus-fast`` ``arch`` output member (removed in 6.0)
  434. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  435. The ``arch`` output member of the ``query-cpus-fast`` command is
  436. replaced by the ``target`` output member.
  437. chardev client socket with ``wait`` option (removed in 6.0)
  438. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  439. Character devices creating sockets in client mode should not specify
  440. the 'wait' field, which is only applicable to sockets in server mode
  441. ``query-named-block-nodes`` result ``encryption_key_missing`` (removed in 6.0)
  442. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  443. Removed with no replacement.
  444. ``query-block`` result ``inserted.encryption_key_missing`` (removed in 6.0)
  445. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  446. Removed with no replacement.
  447. ``query-named-block-nodes`` and ``query-block`` result dirty-bitmaps[i].status (removed in 6.0)
  448. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  449. The ``status`` field of the ``BlockDirtyInfo`` structure, returned by
  450. these commands is removed. Two new boolean fields, ``recording`` and
  451. ``busy`` effectively replace it.
  452. ``query-block`` result field ``dirty-bitmaps`` (removed in 6.0)
  453. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  454. The ``dirty-bitmaps`` field of the ``BlockInfo`` structure, returned by
  455. the query-block command is itself now removed. The ``dirty-bitmaps``
  456. field of the ``BlockDeviceInfo`` struct should be used instead, which is the
  457. type of the ``inserted`` field in query-block replies, as well as the
  458. type of array items in query-named-block-nodes.
  459. ``object-add`` option ``props`` (removed in 6.0)
  460. ''''''''''''''''''''''''''''''''''''''''''''''''
  461. Specify the properties for the object as top-level arguments instead.
  462. ``query-sgx`` return value member ``section-size`` (removed in 8.0)
  463. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  464. Member ``section-size`` in the return value of ``query-sgx``
  465. was superseded by ``sections``.
  466. ``query-sgx-capabilities`` return value member ``section-size`` (removed in 8.0)
  467. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  468. Member ``section-size`` in the return value of ``query-sgx-capabilities``
  469. was superseded by ``sections``.
  470. ``query-migrate`` return value member ``skipped`` (removed in 9.1)
  471. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  472. Member ``skipped`` of the ``MigrationStats`` struct hasn't been used
  473. for more than 10 years. Removed with no replacement.
  474. ``migrate`` command option ``inc`` (removed in 9.1)
  475. '''''''''''''''''''''''''''''''''''''''''''''''''''
  476. Use blockdev-mirror with NBD instead. See "QMP invocation for live
  477. storage migration with ``blockdev-mirror`` + NBD" in
  478. docs/interop/live-block-operations.rst for a detailed explanation.
  479. ``migrate`` command option ``blk`` (removed in 9.1)
  480. '''''''''''''''''''''''''''''''''''''''''''''''''''
  481. Use blockdev-mirror with NBD instead. See "QMP invocation for live
  482. storage migration with ``blockdev-mirror`` + NBD" in
  483. docs/interop/live-block-operations.rst for a detailed explanation.
  484. ``migrate-set-capabilities`` ``block`` option (removed in 9.1)
  485. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  486. Block migration has been removed. For a replacement, see "QMP
  487. invocation for live storage migration with ``blockdev-mirror`` + NBD"
  488. in docs/interop/live-block-operations.rst.
  489. ``migrate-set-parameter`` ``compress-level`` option (removed in 9.1)
  490. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  491. Use ``multifd-zlib-level`` or ``multifd-zstd-level`` instead.
  492. ``migrate-set-parameter`` ``compress-threads`` option (removed in 9.1)
  493. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  494. Use ``multifd-channels`` instead.
  495. ``migrate-set-parameter`` ``compress-wait-thread`` option (removed in 9.1)
  496. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  497. Removed with no replacement.
  498. ``migrate-set-parameter`` ``decompress-threads`` option (removed in 9.1)
  499. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  500. Use ``multifd-channels`` instead.
  501. ``migrate-set-capability`` ``compress`` option (removed in 9.1)
  502. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  503. Use ``multifd-compression`` instead.
  504. QEMU Machine Protocol (QMP) events
  505. ----------------------------------
  506. ``MEM_UNPLUG_ERROR`` (removed in 9.1)
  507. '''''''''''''''''''''''''''''''''''''
  508. MEM_UNPLUG_ERROR has been replaced by the more generic ``DEVICE_UNPLUG_GUEST_ERROR`` event.
  509. ``vcpu`` trace events (removed in 9.1)
  510. ''''''''''''''''''''''''''''''''''''''
  511. The ability to instrument QEMU helper functions with vCPU-aware trace
  512. points was removed in 7.0.
  513. Human Monitor Protocol (HMP) commands
  514. -------------------------------------
  515. ``usb_add`` and ``usb_remove`` (removed in 2.12)
  516. ''''''''''''''''''''''''''''''''''''''''''''''''
  517. Replaced by ``device_add`` and ``device_del`` (use ``device_add help`` for a
  518. list of available devices).
  519. ``host_net_add`` and ``host_net_remove`` (removed in 2.12)
  520. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  521. Replaced by ``netdev_add`` and ``netdev_del``.
  522. The ``hub_id`` parameter of ``hostfwd_add`` / ``hostfwd_remove`` (removed in 5.0)
  523. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  524. The ``[hub_id name]`` parameter tuple of the 'hostfwd_add' and
  525. 'hostfwd_remove' HMP commands has been replaced by ``netdev_id``.
  526. ``cpu-add`` (removed in 5.2)
  527. ''''''''''''''''''''''''''''
  528. Use ``device_add`` for hotplugging vCPUs instead of ``cpu-add``. See
  529. documentation of ``query-hotpluggable-cpus`` for additional details.
  530. ``change vnc TARGET`` (removed in 6.0)
  531. ''''''''''''''''''''''''''''''''''''''
  532. No replacement. The ``change vnc password`` and ``change DEVICE MEDIUM``
  533. commands are not affected.
  534. ``acl_show``, ``acl_reset``, ``acl_policy``, ``acl_add``, ``acl_remove`` (removed in 6.0)
  535. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  536. The ``acl_show``, ``acl_reset``, ``acl_policy``, ``acl_add``, and
  537. ``acl_remove`` commands were removed with no replacement. Authorization
  538. for VNC should be performed using the pluggable QAuthZ objects.
  539. ``migrate-set-cache-size`` and ``info migrate-cache-size`` (removed in 6.0)
  540. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  541. Use ``migrate-set-parameters`` and ``info migrate-parameters`` instead.
  542. ``migrate_set_downtime`` and ``migrate_set_speed`` (removed in 6.0)
  543. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  544. Use ``migrate-set-parameters`` instead.
  545. ``info cpustats`` (removed in 6.1)
  546. ''''''''''''''''''''''''''''''''''
  547. This command didn't produce any output already. Removed with no replacement.
  548. ``singlestep`` (removed in 9.0)
  549. '''''''''''''''''''''''''''''''
  550. The ``singlestep`` command has been replaced by the ``one-insn-per-tb``
  551. command, which has the same behaviour but a less misleading name.
  552. ``migrate`` command ``-i`` option (removed in 9.1)
  553. ''''''''''''''''''''''''''''''''''''''''''''''''''
  554. Use blockdev-mirror with NBD instead. See "QMP invocation for live
  555. storage migration with ``blockdev-mirror`` + NBD" in
  556. docs/interop/live-block-operations.rst for a detailed explanation.
  557. ``migrate`` command ``-b`` option (removed in 9.1)
  558. ''''''''''''''''''''''''''''''''''''''''''''''''''
  559. Use blockdev-mirror with NBD instead. See "QMP invocation for live
  560. storage migration with ``blockdev-mirror`` + NBD" in
  561. docs/interop/live-block-operations.rst for a detailed explanation.
  562. ``migrate_set_capability`` ``block`` option (removed in 9.1)
  563. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  564. Block migration has been removed. For a replacement, see "QMP
  565. invocation for live storage migration with ``blockdev-mirror`` + NBD"
  566. in docs/interop/live-block-operations.rst.
  567. ``migrate_set_parameter`` ``compress-level`` option (removed in 9.1)
  568. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  569. Use ``multifd-zlib-level`` or ``multifd-zstd-level`` instead.
  570. ``migrate_set_parameter`` ``compress-threads`` option (removed in 9.1)
  571. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  572. Use ``multifd-channels`` instead.
  573. ``migrate_set_parameter`` ``compress-wait-thread`` option (removed in 9.1)
  574. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  575. Removed with no replacement.
  576. ``migrate_set_parameter`` ``decompress-threads`` option (removed in 9.1)
  577. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  578. Use ``multifd-channels`` instead.
  579. ``migrate_set_capability`` ``compress`` option (removed in 9.1)
  580. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  581. Use ``multifd-compression`` instead.
  582. Host Architectures
  583. ------------------
  584. System emulation on 32-bit Windows hosts (removed in 9.0)
  585. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  586. Windows 11 has no support for 32-bit host installs, and Windows 10 did
  587. not support new 32-bit installs, only upgrades. 32-bit Windows support
  588. has now been dropped by the MSYS2 project. QEMU also is deprecating
  589. and dropping support for 32-bit x86 host deployments in
  590. general. 32-bit Windows is therefore no longer a supported host for
  591. QEMU. Since all recent x86 hardware from the past >10 years is
  592. capable of the 64-bit x86 extensions, a corresponding 64-bit OS should
  593. be used instead.
  594. 32-bit hosts for 64-bit guests (removed in 10.0)
  595. ''''''''''''''''''''''''''''''''''''''''''''''''
  596. In general, 32-bit hosts cannot support the memory space or atomicity
  597. requirements of 64-bit guests. Prior to 10.0, QEMU attempted to
  598. work around the atomicity issues in system mode by running all vCPUs
  599. in a single thread context; in user mode atomicity was simply broken.
  600. From 10.0, QEMU has disabled configuration of 64-bit guests on 32-bit hosts.
  601. Guest Emulator ISAs
  602. -------------------
  603. RISC-V ISA privilege specification version 1.09.1 (removed in 5.1)
  604. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  605. The RISC-V ISA privilege specification version 1.09.1 has been removed.
  606. QEMU supports both the newer version 1.10.0 and the ratified version 1.11.0, these
  607. should be used instead of the 1.09.1 version.
  608. System emulator CPUS
  609. --------------------
  610. KVM guest support on 32-bit Arm hosts (removed in 5.2)
  611. ''''''''''''''''''''''''''''''''''''''''''''''''''''''
  612. The Linux kernel has dropped support for allowing 32-bit Arm systems
  613. to host KVM guests as of the 5.7 kernel, and was thus removed from QEMU
  614. as well. Running 32-bit guests on a 64-bit Arm host remains supported.
  615. RISC-V ISA Specific CPUs (removed in 5.1)
  616. '''''''''''''''''''''''''''''''''''''''''
  617. The RISC-V cpus with the ISA version in the CPU name have been removed. The
  618. four CPUs are: ``rv32gcsu-v1.9.1``, ``rv32gcsu-v1.10.0``, ``rv64gcsu-v1.9.1`` and
  619. ``rv64gcsu-v1.10.0``. Instead the version can be specified via the CPU ``priv_spec``
  620. option when using the ``rv32`` or ``rv64`` CPUs.
  621. RISC-V no MMU CPUs (removed in 5.1)
  622. '''''''''''''''''''''''''''''''''''
  623. The RISC-V no MMU cpus have been removed. The two CPUs: ``rv32imacu-nommu`` and
  624. ``rv64imacu-nommu`` can no longer be used. Instead the MMU status can be specified
  625. via the CPU ``mmu`` option when using the ``rv32`` or ``rv64`` CPUs.
  626. RISC-V 'any' CPU type ``-cpu any`` (removed in 9.2)
  627. '''''''''''''''''''''''''''''''''''''''''''''''''''
  628. The 'any' CPU type was introduced back in 2018 and was around since the
  629. initial RISC-V QEMU port. Its usage was always been unclear: users don't know
  630. what to expect from a CPU called 'any', and in fact the CPU does not do anything
  631. special that isn't already done by the default CPUs rv32/rv64.
  632. ``compat`` property of server class POWER CPUs (removed in 6.0)
  633. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  634. The ``max-cpu-compat`` property of the ``pseries`` machine type should be used
  635. instead.
  636. ``moxie`` CPU (removed in 6.1)
  637. ''''''''''''''''''''''''''''''
  638. Nobody was using this CPU emulation in QEMU, and there were no test images
  639. available to make sure that the code is still working, so it has been removed
  640. without replacement.
  641. ``lm32`` CPUs (removed in 6.1)
  642. ''''''''''''''''''''''''''''''
  643. The only public user of this architecture was the milkymist project,
  644. which has been dead for years; there was never an upstream Linux
  645. port. Removed without replacement.
  646. ``unicore32`` CPUs (removed in 6.1)
  647. '''''''''''''''''''''''''''''''''''
  648. Support for this CPU was removed from the upstream Linux kernel, and
  649. there is no available upstream toolchain to build binaries for it.
  650. Removed without replacement.
  651. x86 ``Icelake-Client`` CPU (removed in 7.1)
  652. '''''''''''''''''''''''''''''''''''''''''''
  653. There isn't ever Icelake Client CPU, it is some wrong and imaginary one.
  654. Use ``Icelake-Server`` instead.
  655. Nios II CPU (removed in 9.1)
  656. ''''''''''''''''''''''''''''
  657. QEMU Nios II architecture was orphan; Intel has EOL'ed the Nios II
  658. processor IP (see `Intel discontinuance notification`_).
  659. CRIS CPU architecture (removed in 9.2)
  660. ''''''''''''''''''''''''''''''''''''''
  661. The CRIS architecture was pulled from Linux in 4.17 and the compiler
  662. was no longer packaged in any distro making it harder to run the
  663. ``check-tcg`` tests.
  664. System accelerators
  665. -------------------
  666. Userspace local APIC with KVM (x86, removed in 8.0)
  667. '''''''''''''''''''''''''''''''''''''''''''''''''''
  668. ``-M kernel-irqchip=off`` cannot be used on KVM if the CPU model includes
  669. a local APIC. The ``split`` setting is supported, as is using ``-M
  670. kernel-irqchip=off`` when the CPU does not have a local APIC.
  671. HAXM (``-accel hax``) (removed in 8.2)
  672. ''''''''''''''''''''''''''''''''''''''
  673. The HAXM project has been retired (see https://github.com/intel/haxm#status).
  674. Use "whpx" (on Windows) or "hvf" (on macOS) instead.
  675. MIPS "Trap-and-Emulate" KVM support (removed in 8.0)
  676. ''''''''''''''''''''''''''''''''''''''''''''''''''''
  677. The MIPS "Trap-and-Emulate" KVM host and guest support was removed
  678. from Linux in 2021, and is not supported anymore by QEMU either.
  679. System emulator machines
  680. ------------------------
  681. Note: Versioned machine types that have been introduced in a QEMU version
  682. that has initially been released more than 6 years before are considered
  683. obsolete and will be removed without further notice in this document.
  684. Please use newer machine types instead.
  685. ``s390-virtio`` (removed in 2.6)
  686. ''''''''''''''''''''''''''''''''
  687. Use the ``s390-ccw-virtio`` machine instead.
  688. The m68k ``dummy`` machine (removed in 2.9)
  689. '''''''''''''''''''''''''''''''''''''''''''
  690. Use the ``none`` machine with the ``loader`` device instead.
  691. ``xlnx-ep108`` (removed in 3.0)
  692. '''''''''''''''''''''''''''''''
  693. The EP108 was an early access development board that is no longer used.
  694. Use the ``xlnx-zcu102`` machine instead.
  695. ``spike_v1.9.1`` and ``spike_v1.10`` (removed in 5.1)
  696. '''''''''''''''''''''''''''''''''''''''''''''''''''''
  697. The version specific Spike machines have been removed in favour of the
  698. generic ``spike`` machine. If you need to specify an older version of the RISC-V
  699. spec you can use the ``-cpu rv64gcsu,priv_spec=v1.10.0`` command line argument.
  700. mips ``r4k`` platform (removed in 5.2)
  701. ''''''''''''''''''''''''''''''''''''''
  702. This machine type was very old and unmaintained. Users should use the ``malta``
  703. machine type instead.
  704. mips ``fulong2e`` machine alias (removed in 6.0)
  705. ''''''''''''''''''''''''''''''''''''''''''''''''
  706. This machine has been renamed ``fuloong2e``.
  707. Raspberry Pi ``raspi2`` and ``raspi3`` machines (removed in 6.2)
  708. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  709. The Raspberry Pi machines come in various models (A, A+, B, B+). To be able
  710. to distinguish which model QEMU is implementing, the ``raspi2`` and ``raspi3``
  711. machines have been renamed ``raspi2b`` and ``raspi3b``.
  712. Aspeed ``swift-bmc`` machine (removed in 7.0)
  713. '''''''''''''''''''''''''''''''''''''''''''''
  714. This machine was removed because it was unused. Alternative AST2500 based
  715. OpenPOWER machines are ``witherspoon-bmc`` and ``romulus-bmc``.
  716. Aspeed ``tacoma-bmc`` machine (removed in 10.0)
  717. '''''''''''''''''''''''''''''''''''''''''''''''
  718. The ``tacoma-bmc`` machine was removed because it didn't bring much
  719. compared to the ``rainier-bmc`` machine. Also, the ``tacoma-bmc`` was
  720. a board used for bring up of the AST2600 SoC that never left the
  721. labs. It can be easily replaced by the ``rainier-bmc`` machine, which
  722. was the actual final product, or by the ``ast2600-evb`` with some
  723. tweaks.
  724. ppc ``taihu`` machine (removed in 7.2)
  725. '''''''''''''''''''''''''''''''''''''''''''''
  726. This machine was removed because it was partially emulated and 405
  727. machines are very similar. Use the ``ref405ep`` machine instead.
  728. Nios II ``10m50-ghrd`` and ``nios2-generic-nommu`` machines (removed in 9.1)
  729. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  730. The Nios II architecture was orphan.
  731. ``shix`` (removed in 9.2)
  732. '''''''''''''''''''''''''
  733. The machine was unmaintained.
  734. Arm machines ``akita``, ``borzoi``, ``cheetah``, ``connex``, ``mainstone``, ``n800``, ``n810``, ``spitz``, ``terrier``, ``tosa``, ``verdex``, ``z2`` (removed in 9.2)
  735. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  736. QEMU included models of some machine types where the QEMU code that
  737. emulates their SoCs was very old and unmaintained. This code was
  738. blocking our ability to move forward with various changes across
  739. the codebase, and over many years nobody has been interested in
  740. trying to modernise it. We don't expect any of these machines to have
  741. a large number of users, because they're all modelling hardware that
  742. has now passed away into history. We are therefore dropping support
  743. for all machine types using the PXA2xx and OMAP2 SoCs. We are also
  744. dropping the ``cheetah`` OMAP1 board, because we don't have any
  745. test images for it and don't know of anybody who does.
  746. ppc ``ref405ep`` machine (removed in 10.0)
  747. ''''''''''''''''''''''''''''''''''''''''''
  748. This machine was removed because PPC 405 CPU have no known users,
  749. firmware images are not available, OpenWRT dropped support in 2019,
  750. U-Boot in 2017, and Linux in 2024.
  751. linux-user mode CPUs
  752. --------------------
  753. ``tilegx`` CPUs (removed in 6.0)
  754. ''''''''''''''''''''''''''''''''
  755. The ``tilegx`` guest CPU support has been removed without replacement. It was
  756. only implemented in linux-user mode, but support for this CPU was removed from
  757. the upstream Linux kernel in 2018, and it has also been dropped from glibc, so
  758. there is no new Linux development taking place with this architecture. For
  759. running the old binaries, you can use older versions of QEMU.
  760. ``ppc64abi32`` CPUs (removed in 7.0)
  761. ''''''''''''''''''''''''''''''''''''
  762. The ``ppc64abi32`` architecture has a number of issues which regularly
  763. tripped up the CI testing and was suspected to be quite broken. For that
  764. reason the maintainers strongly suspected no one actually used it.
  765. ``nios2`` CPU (removed in 9.1)
  766. ''''''''''''''''''''''''''''''
  767. QEMU Nios II architecture was orphan; Intel has EOL'ed the Nios II
  768. processor IP (see `Intel discontinuance notification`_).
  769. TCG introspection features
  770. --------------------------
  771. TCG trace-events (removed in 7.0)
  772. '''''''''''''''''''''''''''''''''
  773. The ability to add new TCG trace points had bit rotted and as the
  774. feature can be replicated with TCG plugins it was removed. If
  775. any user is currently using this feature and needs help with
  776. converting to using TCG plugins they should contact the qemu-devel
  777. mailing list.
  778. System emulator devices
  779. -----------------------
  780. ``spapr-pci-vfio-host-bridge`` (removed in 2.12)
  781. '''''''''''''''''''''''''''''''''''''''''''''''''
  782. The ``spapr-pci-vfio-host-bridge`` device type has been replaced by the
  783. ``spapr-pci-host-bridge`` device type.
  784. ``ivshmem`` (removed in 4.0)
  785. ''''''''''''''''''''''''''''
  786. Replaced by either the ``ivshmem-plain`` or ``ivshmem-doorbell``.
  787. ``ide-drive`` (removed in 6.0)
  788. ''''''''''''''''''''''''''''''
  789. The 'ide-drive' device has been removed. Users should use 'ide-hd' or
  790. 'ide-cd' as appropriate to get an IDE hard disk or CD-ROM as needed.
  791. ``scsi-disk`` (removed in 6.0)
  792. ''''''''''''''''''''''''''''''
  793. The 'scsi-disk' device has been removed. Users should use 'scsi-hd' or
  794. 'scsi-cd' as appropriate to get a SCSI hard disk or CD-ROM as needed.
  795. ``sga`` (removed in 8.0)
  796. ''''''''''''''''''''''''
  797. The ``sga`` device loaded an option ROM for x86 targets which enabled
  798. SeaBIOS to send messages to the serial console. SeaBIOS 1.11.0 onwards
  799. contains native support for this feature and thus use of the option
  800. ROM approach was obsolete. The native SeaBIOS support can be activated
  801. by using ``-machine graphics=off``.
  802. ``pvrdma`` and the RDMA subsystem (removed in 9.1)
  803. ''''''''''''''''''''''''''''''''''''''''''''''''''
  804. The 'pvrdma' device and the whole RDMA subsystem have been removed.
  805. Related binaries
  806. ----------------
  807. ``qemu-nbd --partition`` (removed in 5.0)
  808. '''''''''''''''''''''''''''''''''''''''''
  809. The ``qemu-nbd --partition $digit`` code (also spelled ``-P``)
  810. could only handle MBR partitions, and never correctly handled logical
  811. partitions beyond partition 5. Exporting a partition can still be
  812. done by utilizing the ``--image-opts`` option with a raw blockdev
  813. using the ``offset`` and ``size`` parameters layered on top of
  814. any other existing blockdev. For example, if partition 1 is 100MiB
  815. long starting at 1MiB, the old command::
  816. qemu-nbd -t -P 1 -f qcow2 file.qcow2
  817. can be rewritten as::
  818. qemu-nbd -t --image-opts driver=raw,offset=1M,size=100M,file.driver=qcow2,file.file.driver=file,file.file.filename=file.qcow2
  819. ``qemu-img convert -n -o`` (removed in 5.1)
  820. '''''''''''''''''''''''''''''''''''''''''''
  821. All options specified in ``-o`` are image creation options, so
  822. they are now rejected when used with ``-n`` to skip image creation.
  823. ``qemu-img create -b bad file $size`` (removed in 5.1)
  824. ''''''''''''''''''''''''''''''''''''''''''''''''''''''
  825. When creating an image with a backing file that could not be opened,
  826. ``qemu-img create`` used to issue a warning about the failure but
  827. proceed with the image creation if an explicit size was provided.
  828. However, as the ``-u`` option exists for this purpose, it is safer to
  829. enforce that any failure to open the backing image (including if the
  830. backing file is missing or an incorrect format was specified) is an
  831. error when ``-u`` is not used.
  832. ``qemu-img amend`` to adjust backing file (removed in 6.1)
  833. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  834. The use of ``qemu-img amend`` to modify the name or format of a qcow2
  835. backing image was never fully documented or tested, and interferes
  836. with other amend operations that need access to the original backing
  837. image (such as deciding whether a v3 zero cluster may be left
  838. unallocated when converting to a v2 image). Any changes to the
  839. backing chain should be performed with ``qemu-img rebase -u`` either
  840. before or after the remaining changes being performed by amend, as
  841. appropriate.
  842. ``qemu-img`` backing file without format (removed in 6.1)
  843. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  844. The use of ``qemu-img create``, ``qemu-img rebase``, or ``qemu-img
  845. convert`` to create or modify an image that depends on a backing file
  846. now requires that an explicit backing format be provided. This is
  847. for safety: if QEMU probes a different format than what you thought,
  848. the data presented to the guest will be corrupt; similarly, presenting
  849. a raw image to a guest allows a potential security exploit if a future
  850. probe sees a non-raw image based on guest writes.
  851. To avoid creating unsafe backing chains, you must pass ``-o
  852. backing_fmt=`` (or the shorthand ``-F`` during create) to specify the
  853. intended backing format. You may use ``qemu-img rebase -u`` to
  854. retroactively add a backing format to an existing image. However, be
  855. aware that there are already potential security risks to blindly using
  856. ``qemu-img info`` to probe the format of an untrusted backing image,
  857. when deciding what format to add into an existing image.
  858. Block devices
  859. -------------
  860. VXHS backend (removed in 5.1)
  861. '''''''''''''''''''''''''''''
  862. The VXHS code did not compile since v2.12.0. It was removed in 5.1.
  863. ``sheepdog`` driver (removed in 6.0)
  864. ''''''''''''''''''''''''''''''''''''
  865. The corresponding upstream server project is no longer maintained.
  866. Users are recommended to switch to an alternative distributed block
  867. device driver such as RBD.
  868. Tools
  869. -----
  870. virtiofsd (removed in 8.0)
  871. ''''''''''''''''''''''''''
  872. There is a newer Rust implementation of ``virtiofsd`` at
  873. ``https://gitlab.com/virtio-fs/virtiofsd``; this has been
  874. stable for some time and is now widely used.
  875. The command line and feature set is very close to the removed
  876. C implementation.
  877. QEMU guest agent
  878. ----------------
  879. ``--blacklist`` command line option (removed in 9.1)
  880. ''''''''''''''''''''''''''''''''''''''''''''''''''''
  881. ``--blacklist`` has been replaced by ``--block-rpcs`` (which is a better
  882. wording for what this option does). The short form ``-b`` still stays
  883. the same and thus is the preferred way for scripts that should run with
  884. both, older and future versions of QEMU.
  885. ``blacklist`` config file option (removed in 9.1)
  886. '''''''''''''''''''''''''''''''''''''''''''''''''
  887. The ``blacklist`` config file option has been renamed to ``block-rpcs``
  888. (to be in sync with the renaming of the corresponding command line
  889. option).
  890. .. _Intel discontinuance notification: https://www.intel.com/content/www/us/en/content-details/781327/intel-is-discontinuing-ip-ordering-codes-listed-in-pdn2312-for-nios-ii-ip.html