mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
The tutorial doesn't match reality since at least 2013. Repairing it involves fixing the following issues: * Update for commit6d32717155
(aio / timers: Remove alarm timers): replace the broken examples. Instead of having one for returning a struct and another for returning a list of structs, do just one for the latter. This resolves the FIXME added in commite218052f92
(aio / timers: De-document -clock) back in 2014. * Update for commit895a2a80e0
(qapi: Use 'struct' instead of 'type' in schema). * Update for commit3313b6124b
(qapi: add qapi2texi script): add required documentation to the schema snippets, and drop section "Command Documentation". * Update for commita3c45b3e62
(qapi: New special feature flag "unstable"): supply the required feature, deemphasize the x- prefix. * Update for commitdd98234c05
(qapi: introduce x-query-roms QMP command): rephrase from "add new command" to "examine existing command". * Update for commit9492718b7c
(qapi misc: Elide redundant has_FOO in generated C): hello-world's message argument no longer comes with a has_message, add a second argument that does. * Update for moved and renamed files. While there, update QMP version output to current output. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20240227115617.237875-2-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> [Whitespace tidied up, typo fixed]