| build(deps): bump actions/checkout from 6 to 7 (#301) Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 4 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| qom: Make InterfaceInfo[] uses const Mechanical change using: $ sed -i -E 's/\(InterfaceInfo.?\[/\(const InterfaceInfo\[/g' \ $(git grep -lE '\(InterfaceInfo.?\[\]\)') Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20250424194905.82506-7-philmd@linaro.org> | 1 year ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| refactor: remove more QEMU cruft (plugins), and unneeded features | 7 months ago |
| refactor: remove more QEMU cruft (plugins), and unneeded features | 7 months ago |
| crypto/hash-nettle: proper compatibility with nettle 4 | 5 months ago |
| dump: wrong ehsize value pt.2 | 7 months ago |
| ebpf: improve trace event coverage to all key operations The existing error trace event is renamed to have a name prefix matching its source file & to remove the redundant first arg that adds no useful information. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> | 1 year ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| refactor: remove more QEMU cruft (plugins), and unneeded features | 7 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| qemu/atomic: Add atomic16 primitives for xchg, fetch_and, fetch_or Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20250815122653.701782-3-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org> | 8 months ago |
| fix build error from upstream in virgl crap fixes #297 | 4 months ago |
| Stub ACC Buck Converter FAN53740 | 5 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| libdecnumber: replace FSF postal address with licenses URL Some of the GPLv2 boiler-plate still contained the obsolete "51 Franklin Street" postal address. Replace it with the canonical GNU licenses URL recommended by the FSF: https://www.gnu.org/licenses/ Signed-off-by: Sean Wei <me@sean.taipei> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-ID: <20250613.qemu.patch.03@sean.taipei> Signed-off-by: Thomas Huth <thuth@redhat.com> | 1 year ago |
| linux-headers: Remove the 32-bit arm headers KVM support for 32-bit arm has been dropped a while ago, so we don't need these headers in QEMU anymore. Fixes: 82bf7ae84ce ("target/arm: Remove KVM support for 32-bit Arm hosts") Acked-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20250710120035.169376-1-thuth@redhat.com> | 1 year ago |
| migration: fix unterminated migrate_add_blocker_modes call | 7 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| refactor: remove more QEMU cruft (plugins), and unneeded features | 7 months ago |
| po: update Italian translation Reported-by: bovirus <https://gitlab.com/bovirus> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2451 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> | 2 years ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| refactor: remove more QEMU cruft (plugins), and unneeded features | 7 months ago |
| refactor: remove some more misc scripts | 7 months ago |
| treewide: handle result of qio_channel_set_blocking() Currently, we just always pass NULL as errp argument. That doesn't look good. Some realizations of interface may actually report errors. Channel-socket realization actually either ignore or crash on errors, but we are going to straighten it out to always reporting an errp in further commits. So, convert all callers to either handle the error (where environment allows) or explicitly use &error_abort. Take also a chance to change the return value to more convenient bool (keeping also in mind, that underlying realizations may return -1 on failure, not -errno). Suggested-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> [DB: fix return type mismatch in TLS/websocket channel impls for qio_channel_set_blocking] Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> | 8 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| qapi: Move include/qapi/qmp/ to include/qobject/ The general expectation is that header files should follow the same file/path naming scheme as the corresponding source file. There are various historical exceptions to this practice in QEMU, with one of the most notable being the include/qapi/qmp/ directory. Most of the headers there correspond to source files in qobject/. This patch corrects most of that inconsistency by creating include/qobject/ and moving the headers for qobject/ there. This also fixes MAINTAINERS for include/qapi/qmp/dispatch.h: scripts/get_maintainer.pl now reports "QAPI" instead of "No maintainers found". Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Acked-by: Halil Pasic <pasic@linux.ibm.com> #s390x Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20241118151235.2665921-2-armbru@redhat.com> [Rebased] | 1 year ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| refactor: remove more QEMU cruft (plugins), and unneeded features | 7 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| fix: misc fixes and comments | 7 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| treewide: handle result of qio_channel_set_blocking() Currently, we just always pass NULL as errp argument. That doesn't look good. Some realizations of interface may actually report errors. Channel-socket realization actually either ignore or crash on errors, but we are going to straighten it out to always reporting an errp in further commits. So, convert all callers to either handle the error (where environment allows) or explicitly use &error_abort. Take also a chance to change the return value to more convenient bool (keeping also in mind, that underlying realizations may return -1 on failure, not -errno). Suggested-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> [DB: fix return type mismatch in TLS/websocket channel impls for qio_channel_set_blocking] Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> | 8 months ago |
| meson: fix Windows build The build fails on Windows. Replace calls to Unix programs like ´cat´, ´sed´ and ´true´ with calls to ´python´ and wrap calls to ´os.path.relpath´ in try-except because it can fail when the two paths are on different drives. Make sure to convert the Windows paths to Unix paths to prevent warnings in generated files. Signed-off-by: oltolm <oleg.tolmatcev@gmail.com> Message-id: 20250612221521.1109-2-oleg.tolmatcev@gmail.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> | 1 year ago |
| Revert "ui/egl-helpers: Fix incompatible pointer error on macOS" This reverts commit e3c6b14fc6813929a815a2bd3b95fe3926c5814f. | 6 months ago |
| qemu/timer: use clock_gettime_nsec_np on darwin | 6 months ago |
| b4: Drop linktrailermask When grabbing a patch series, the link trailer is replaced with a Message-ID, which is not useful compared to an URL. Fix that by dropping the linktrailermask config. Cc: Philippe Mathieu-Daudé <philmd@linaro.org> Cc: Jiaxun Yang <jiaxun.yang@flygoat.com> Fixes: 838cf72b5d2c ("Add a b4 configuration file") Link: https://lore.kernel.org/qemu-devel/20250630172301.519848-1-clg@redhat.com Signed-off-by: Cédric Le Goater <clg@redhat.com> | 1 year ago |
| misc: add clang format config [no ci] | 7 months ago |
| misc: rebrand, license and copyright updates Signed-off-by: Visual Ehrmanntraut <30368284+VisualEhrmanntraut@users.noreply.github.com> Signed-off-by: Christian Inci <chris.gh@broke-the-inter.net> | 9 months ago |
| Add .dir-locals.el file to configure emacs coding style Some default emacs setups indent by 2 spaces and uses tabs which is counter to the QEMU coding style rules. Adding a .dir-locals.el file in the top level of the GIT repo will inform emacs about the QEMU coding style, and so assist contributors in avoiding common style mistakes before they submit patches. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> | 10 years ago |
| editorconfig: update for perl scripts We have two types of perl scripts in the tree. The ones from the kernel are mostly tab based where as scripts we have written ourselves use 4 space indentation. Attempt to codify that in our .editorconfig Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250116160306.1709518-28-alex.bennee@linaro.org> | 1 year ago |
| qemu: add .exrc I've been using this to get correct indenting with vim in qemu for a while, but it's a bit easier if we put the settings in the central place. Note that 1. you still need to enable 'exrc' and 'secure' options in your vimrc for these settings to take effect. 2. you can create a .vimrc file if 'exrc' is on but there's need to bypass this configuration. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> | 13 years ago |
| .gdbinit: load QEMU sub-commands when gdb starts The scripts/qemu-gdb.py file is not easily discoverable. Add a .gdbinit file so GDB either loads qemu-gdb.py automatically or prints a message informing the user how to enable them (some systems disable ./.gdbinit loading for security reasons). Symlink .gdbinit and the scripts directory in order to make out-of-tree builds work. The scripts directory is used to find the qemu-gdb.py file specified by a relative path in .gdbinit. Suggested-by: Eric Blake <eblake@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Eric Blake <eblake@redhat.com> Message-id: 20170517124042.1430-1-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> | 9 years ago |
| rust: patch bilge-impl to allow compilation with 1.63.0 Apply a patch that removes "let ... else" constructs, replacing them with "if let ... else" or "let ... = match ...". "let ... else" was stabilized in Rust 1.65.0. Reviewed-by: Junjie Mao <junjie.mao@hotmail.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> | 1 year ago |
| misc: add clang format config [no ci] | 7 months ago |
| refactor: remove more QEMU cruft (plugins), and unneeded features | 7 months ago |
| COPYING: replace FSF postal address with licenses URL The license text in COPYING (GPLv2), COPYING.LIB (LGPLv2.1), and the linux-headers/LICENSES/preferred/GPL-2.0 file are referenced to the obsolete FSF postal address. Replace it with the canonical GNU licenses URL recommended by the FSF: https://www.gnu.org/licenses/ Signed-off-by: Sean Wei <me@sean.taipei> Message-ID: <20250613.qemu.patch.01@sean.taipei> [thuth: dropped the changes to the linux-headers folder] Signed-off-by: Thomas Huth <thuth@redhat.com> | 1 year ago |
| COPYING: replace FSF postal address with licenses URL The license text in COPYING (GPLv2), COPYING.LIB (LGPLv2.1), and the linux-headers/LICENSES/preferred/GPL-2.0 file are referenced to the obsolete FSF postal address. Replace it with the canonical GNU licenses URL recommended by the FSF: https://www.gnu.org/licenses/ Signed-off-by: Sean Wei <me@sean.taipei> Message-ID: <20250613.qemu.patch.01@sean.taipei> [thuth: dropped the changes to the linux-headers folder] Signed-off-by: Thomas Huth <thuth@redhat.com> | 1 year ago |
| misc: rebrand, license and copyright updates Signed-off-by: Visual Ehrmanntraut <30368284+VisualEhrmanntraut@users.noreply.github.com> Signed-off-by: Christian Inci <chris.gh@broke-the-inter.net> | 9 months ago |
| misc: rebrand, license and copyright updates Signed-off-by: Visual Ehrmanntraut <30368284+VisualEhrmanntraut@users.noreply.github.com> Signed-off-by: Christian Inci <chris.gh@broke-the-inter.net> | 9 months ago |
| refactor: remove QEMU's docs, tests and python/rust support useless for us. also, fuck python and rust. | 8 months ago |
| refactor: remove more QEMU cruft (plugins), and unneeded features | 7 months ago |
| fix: section number typo in license | 9 months ago |
| refactor: remove more QEMU cruft (plugins), and unneeded features | 7 months ago |
| docs(README): update legal disclaimers [no ci] I am not a lawyer. But looks good to me. | 8 months ago |
| Update version | 7 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| qapi: merge common parts of NbdServerOptions and nbd-server-start data Instead of comment "Keep this type consistent with the nbd-server-start arguments", we can simply merge these things. Note that each field of new base already has "since" tag, equal in both original copies. So "since" information is saved. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Message-ID: <20250219191914.440451-1-vsementsov@yandex-team.ru> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com> | 1 year ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| block: add bdrv_graph_wrlock_drained() convenience wrapper Many write-locked sections are also drained sections. A new bdrv_graph_wrunlock_drained() wrapper around bdrv_graph_wrunlock() is introduced, which will begin a drained section first. A global variable is used so bdrv_graph_wrunlock() knows if it also needs to end such a drained section. Both the aio_poll call in bdrv_graph_wrlock() and the aio_bh_poll() in bdrv_graph_wrunlock() can re-enter a write-locked section. While for the latter, ending the drain could be moved to before the call, the former requires that the variable is a counter and not just a boolean. Since the wrapper calls bdrv_drain_all_begin(), which must be called with the graph unlocked, mark the wrapper as GRAPH_UNLOCKED too. The switch to the new helpers was generated with the following commands and then manually checked: find . -name '*.c' -exec sed -i -z 's/bdrv_drain_all_begin();\n\s*bdrv_graph_wrlock();/bdrv_graph_wrlock_drained();/g' {} ';' find . -name '*.c' -exec sed -i -z 's/bdrv_graph_wrunlock();\n\s*bdrv_drain_all_end();/bdrv_graph_wrunlock();/g' {} ';' Suggested-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Fiona Ebner <f.ebner@proxmox.com> Message-ID: <20250530151125.955508-25-f.ebner@proxmox.com> [kwolf: Removed redundant GRAPH_UNLOCKED] Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> | 1 year ago |
| configure: remove unused default_cflags variable | 7 months ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| refactor: remove more QEMU cruft (plugins), and unneeded features | 7 months ago |
| qom: Make InterfaceInfo[] uses const Mechanical change using: $ sed -i -E 's/\(InterfaceInfo.?\[/\(const InterfaceInfo\[/g' \ $(git grep -lE '\(InterfaceInfo.?\[\]\)') Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20250424194905.82506-7-philmd@linaro.org> | 1 year ago |
| Merge branch 'stable-8.0' Co-authored-by: Christian Inci <chris.gh@broke-the-inter.net> Signed-off-by: Visual Ehrmanntraut <30368284+ChefKissInc@users.noreply.github.com> | 3 years ago |
| refactor: remove more QEMU cruft (plugins), and unneeded features | 7 months ago |
| refactor: remove more QEMU cruft (plugins), and unneeded features | 7 months ago |
| qom: Have class_init() take a const data argument Mechanical change using gsed, then style manually adapted to pass checkpatch.pl script. Suggested-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250424194905.82506-4-philmd@linaro.org> | 1 year ago |
| Merge branch 'stable-8.0' Co-authored-by: Christian Inci <chris.gh@broke-the-inter.net> Signed-off-by: Visual Ehrmanntraut <30368284+ChefKissInc@users.noreply.github.com> | 3 years ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| meson: libtasn1 is required | 4 months ago |
| refactor: remove more QEMU cruft (plugins), and unneeded features | 7 months ago |
| all: Clean up includes Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1454089805-5470-16-git-send-email-peter.maydell@linaro.org | 10 years ago |
| os: add an ability to lock memory on_fault This will be used in the following commits to make it possible to only lock memory on fault instead of right away. Signed-off-by: Daniil Tatianin <d-tatianin@yandex-team.ru> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Link: https://lore.kernel.org/r/20250212143920.1269754-2-d-tatianin@yandex-team.ru [peterx: fail os_mlock(on_fault=1) when not supported] [peterx: use G_GNUC_UNUSED instead of "(void)on_fault", per Dan] Signed-off-by: Peter Xu <peterx@redhat.com> | 1 year ago |
| include/qemu/osdep.h: Add Emscripten-specific OS dependencies On emscripten, some implementations in os-posix.c can't be used such as daemonizing and changing user. This commit introduces os-wasm.c and os-wasm.h which are forked from os-posix.c and os-posix.h and patched for targetting Emscripten. Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com> Link: https://lore.kernel.org/r/9fc7b106ecf86675b4532bd6778b7b5945442f89.1745820062.git.ktokunaga.mail@gmail.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> | 1 year ago |
| include: Rename sysemu/ -> system/ Headers in include/sysemu/ are not only related to system *emulation*, they are also used by virtualization. Rename as system/ which is clearer. Files renamed manually then mechanical change using sed tool. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Tested-by: Lei Yang <leiyang@redhat.com> Message-Id: <20241203172445.28576-1-philmd@linaro.org> | 1 year ago |
| fix(target/page-vary-common): potential fix for building with -flto | 7 months ago |
| refactor: remove more QEMU cruft (plugins), and unneeded features | 7 months ago |
| qemu-bridge-helper: relocate path to default ACL Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> | 5 years ago |
| Merge branch 'stable-8.0' Co-authored-by: Christian Inci <chris.gh@broke-the-inter.net> Signed-off-by: Visual Ehrmanntraut <30368284+ChefKissInc@users.noreply.github.com> | 3 years ago |
| qemu-img: snapshot: allow specifying -f fmt For consistency with other commands, and since it already accepts --image-opts, allow specifying -f fmt too. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20250531171609.197078-16-mjt@tls.msk.ru> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> | 1 year ago |
| refactor: replace usage of g_assert macros with custom ones part of end goal of removing dependency to the GNOME library | 7 months ago |
| qapi: Move include/qapi/qmp/ to include/qobject/ The general expectation is that header files should follow the same file/path naming scheme as the corresponding source file. There are various historical exceptions to this practice in QEMU, with one of the most notable being the include/qapi/qmp/ directory. Most of the headers there correspond to source files in qobject/. This patch corrects most of that inconsistency by creating include/qobject/ and moving the headers for qobject/ there. This also fixes MAINTAINERS for include/qapi/qmp/dispatch.h: scripts/get_maintainer.pl now reports "QAPI" instead of "No maintainers found". Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Acked-by: Halil Pasic <pasic@linux.ibm.com> #s390x Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20241118151235.2665921-2-armbru@redhat.com> [Rebased] | 1 year ago |
| qapi: Move include/qapi/qmp/ to include/qobject/ The general expectation is that header files should follow the same file/path naming scheme as the corresponding source file. There are various historical exceptions to this practice in QEMU, with one of the most notable being the include/qapi/qmp/ directory. Most of the headers there correspond to source files in qobject/. This patch corrects most of that inconsistency by creating include/qobject/ and moving the headers for qobject/ there. This also fixes MAINTAINERS for include/qapi/qmp/dispatch.h: scripts/get_maintainer.pl now reports "QAPI" instead of "No maintainers found". Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Acked-by: Halil Pasic <pasic@linux.ibm.com> #s390x Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20241118151235.2665921-2-armbru@redhat.com> [Rebased] | 1 year ago |
| cleanup: Drop pointless return at end of function A few functions now end with a label. The next commit will clean them up. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20250407082643.2310002-3-armbru@redhat.com> [Straightforward conflict with commit 988ad4ccebb6 (hw/loongarch/virt: Fix cpuslot::cpu set at last in virt_cpu_plug()) resolved] | 1 year ago |
| nbd: Defer trace init until after daemonization At least the simple trace backend works by spawning a helper thread, and setting up an atexit() handler that coordinates completion with the helper thread. But since atexit registrations survive fork() but helper threads do not, this means that qemu-nbd configured to use the simple trace will deadlock waiting for a thread that no longer exists when it has daemonized. Better is to follow the example of vl.c: don't call any setup functions that might spawn helper threads until we are in the final process that will be doing the work worth tracing. Tested by configuring with --enable-trace-backends=simple, then running qemu-nbd --fork --trace=nbd_\*,file=qemu-nbd.trace -f raw -r README.rst followed by `nbdinfo nbd://localhost`, and observing that the trace file is now created without hanging. Reported-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com> Message-ID: <20250227220625.870246-2-eblake@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> | 1 year ago |
| refactor: remove more QEMU cruft (plugins), and unneeded features | 7 months ago |
| refactor: remove QEMU's docs, tests and python/rust support useless for us. also, fuck python and rust. | 8 months ago |
| sasl: remove comment about obsolete kerberos versions This is not relevant to any OS distro that QEMU currently targets. Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> | 5 years ago |
| replication: move include out of root directory The replication.h file is included from migration/colo.c and tests/unit/test-replication.c, so it should be in include/. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> | 5 years ago |
| cpu-target: build compilation unit once for user/system Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20250730220519.1140447-2-pierrick.bouvier@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> | 8 months ago |
| target-info: Statically initialize target_arch Use TARGET_ARCH and token pasting to initialize target_arch from SYS_EMU_TARGET_*. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20260205030617.266625-4-richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> | 8 months ago |
| system/dma-helpers.c: Move trace events to system/trace-events The dma-helpers.c file is in the system/ subdirectory, but it defines its trace events in the root trace-events file. Move them to the system/trace-events file where they more naturally belong. Fixes: 800d4deda0 ("softmmu: move more files to softmmu/") Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20241108162909.4080314-2-peter.maydell@linaro.org | 1 year ago |
| misc: rebrand, license and copyright updates Signed-off-by: Visual Ehrmanntraut <30368284+VisualEhrmanntraut@users.noreply.github.com> Signed-off-by: Christian Inci <chris.gh@broke-the-inter.net> | 9 months ago |