mirror of https://gitlab.com/qemu-project/qemu
QEMU main repository: Please see https://www.qemu.org/docs/master/devel/submitting-a-patch.html for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website. http://www.qemu.org
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* Correct mmu-type property of sifive_u harts in device tree * Centralize MO_TE uses in a pair of helpers * Fix Ethernet interface support for microchip-icicle-kit * Fix mask for smsiaddrcfgh * Fix env->priv setting in reset_regs_csr() * Coverity-related fixes * Fix riscv_cpu_sirq_pending() mask * Fix a uninitialized variable warning * Make PMP granularity configurable -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEaukCtqfKh31tZZKWr3yVEwxTgBMFAmj6vn4ACgkQr3yVEwxT gBORBg/9HMcPIWY4TweyZXcVkcB/4LY3XboBCcumTUO3dEkiVMYc5TDauO++YiyJ YPRzFSAgwNxoF2ndtNLSc6OCu6LPRzWpt9a/MavTzfNLOQZ5vUbYCd3g24uR4Plz AOt7Jn9l8+95MxGeTq5NfDdOnyC+mF4EiIjhplbZz7UcMpouKRysAibSjuyXlYGD DutmQ/bctyDsASNFIl3xwT4po1M4EgMX4nL01ZbfYw2sTjPH2Vj53E0eQ9iZCsP6 l8L8PEz4Jiad2rapJdm2OS6mirMd3PZbYWqvRga/NQiTs4jGYSxiIhlpqR3Ez2id UBGjLKcbsgvyaX1ILq3n6nfftjrXpSEnCMh86/H3xZ8dhA8eBMrGTJvYXAX33ao5 d3ClcT+E7FTduc+hWl/B/l3eb6fOcEIQ172slBiPEfJJqwJgkXgOfftlxRJQ3iGs FbpCL0zEeB1/0SUvgI8Wv5652GiaAljWhhIM7FhWpohc2DxV2iUXuxhhXgHkztwL EIddIo9FLQqY7wxlQhvQKRT0hCm/9mtokq6jiQUTuVMn7gf4fWdvDSozRvX1b0DB CiJcPnKgM/M4UQHci8rboADWPSJ8oOSdz5dheQfXVNJczFnDqzMMVFbkFicXidJU aT+1sPuuSYE6hquR1p4yvxeyyfIQCdffzRBr3WZ2iq7GQ+I4/64= =P0/u -----END PGP SIGNATURE----- Merge tag 'pull-riscv-to-apply-20251024' of https://github.com/alistair23/qemu into staging Second RISC-V PR for 10.2 * Correct mmu-type property of sifive_u harts in device tree * Centralize MO_TE uses in a pair of helpers * Fix Ethernet interface support for microchip-icicle-kit * Fix mask for smsiaddrcfgh * Fix env->priv setting in reset_regs_csr() * Coverity-related fixes * Fix riscv_cpu_sirq_pending() mask * Fix a uninitialized variable warning * Make PMP granularity configurable # -----BEGIN PGP SIGNATURE----- # # iQIzBAABCgAdFiEEaukCtqfKh31tZZKWr3yVEwxTgBMFAmj6vn4ACgkQr3yVEwxT # gBORBg/9HMcPIWY4TweyZXcVkcB/4LY3XboBCcumTUO3dEkiVMYc5TDauO++YiyJ # YPRzFSAgwNxoF2ndtNLSc6OCu6LPRzWpt9a/MavTzfNLOQZ5vUbYCd3g24uR4Plz # AOt7Jn9l8+95MxGeTq5NfDdOnyC+mF4EiIjhplbZz7UcMpouKRysAibSjuyXlYGD # DutmQ/bctyDsASNFIl3xwT4po1M4EgMX4nL01ZbfYw2sTjPH2Vj53E0eQ9iZCsP6 # l8L8PEz4Jiad2rapJdm2OS6mirMd3PZbYWqvRga/NQiTs4jGYSxiIhlpqR3Ez2id # UBGjLKcbsgvyaX1ILq3n6nfftjrXpSEnCMh86/H3xZ8dhA8eBMrGTJvYXAX33ao5 # d3ClcT+E7FTduc+hWl/B/l3eb6fOcEIQ172slBiPEfJJqwJgkXgOfftlxRJQ3iGs # FbpCL0zEeB1/0SUvgI8Wv5652GiaAljWhhIM7FhWpohc2DxV2iUXuxhhXgHkztwL # EIddIo9FLQqY7wxlQhvQKRT0hCm/9mtokq6jiQUTuVMn7gf4fWdvDSozRvX1b0DB # CiJcPnKgM/M4UQHci8rboADWPSJ8oOSdz5dheQfXVNJczFnDqzMMVFbkFicXidJU # aT+1sPuuSYE6hquR1p4yvxeyyfIQCdffzRBr3WZ2iq7GQ+I4/64= # =P0/u # -----END PGP SIGNATURE----- # gpg: Signature made Fri 24 Oct 2025 01:47:10 AM CEST # gpg: using RSA key 6AE902B6A7CA877D6D659296AF7C95130C538013 # gpg: Good signature from "Alistair Francis <alistair@alistair23.me>" [unknown] # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: 6AE9 02B6 A7CA 877D 6D65 9296 AF7C 9513 0C53 8013 * tag 'pull-riscv-to-apply-20251024' of https://github.com/alistair23/qemu: (25 commits) target/riscv: Make PMP CSRs conform to WARL constraints target/riscv: Make PMP granularity configurable target/riscv: Fix a uninitialized variable warning target/riscv: fix riscv_cpu_sirq_pending() mask target/riscv/riscv-qmp-cmds.c: coverity-related fixes target/riscv/kvm: fix env->priv setting in reset_regs_csr() hw/intc: Allow gaps in hartids for aclint and aplic aplic: fix mask for smsiaddrcfgh microchip icicle: Enable PCS on Cadence Ethernet hw/net/cadence_gem: Add pcs-enabled property hw/riscv: microchip_pfsoc: Connect Ethernet PHY channels hw/net/cadence_gem: Support two Ethernet interfaces connected to single MDIO bus target/riscv: Introduce mo_endian_env() helper target/riscv: Introduce mo_endian() helper target/riscv: Factor MemOp variable out when MO_TE is set target/riscv: Conceal MO_TE|MO_ALIGN within gen_lr() / gen_sc() target/riscv: Conceal MO_TE within gen_cmpxchg*() target/riscv: Conceal MO_TE within gen_storepair_tl() target/riscv: Conceal MO_TE within gen_fload_idx() / gen_fstore_idx() target/riscv: Conceal MO_TE within gen_load_idx() / gen_store_idx() ... Signed-off-by: Richard Henderson <richard.henderson@linaro.org> |
17 hours ago | |
|---|---|---|
| .github/workflows | 4 years ago | |
| .gitlab/issue_templates | 3 years ago | |
| .gitlab-ci.d | 3 days ago | |
| accel | 3 days ago | |
| audio | 5 months ago | |
| authz | 6 months ago | |
| backends | 3 weeks ago | |
| block | 2 weeks ago | |
| bsd-user | 1 week ago | |
| chardev | 1 month ago | |
| common-user | 1 week ago | |
| configs | 2 days ago | |
| contrib | 5 days ago | |
| crypto | 3 weeks ago | |
| disas | 1 week ago | |
| docs | 2 days ago | |
| dump | 6 months ago | |
| ebpf | 1 year ago | |
| fpu | 4 months ago | |
| fsdev | 1 month ago | |
| gdb-xml | 2 days ago | |
| gdbstub | 1 month ago | |
| host/include | 2 months ago | |
| hw | 1 day ago | |
| include | 1 day ago | |
| io | 3 weeks ago | |
| libdecnumber | 4 months ago | |
| linux-headers | 2 weeks ago | |
| linux-user | 1 week ago | |
| migration | 3 weeks ago | |
| monitor | 3 days ago | |
| nbd | 1 month ago | |
| net | 3 weeks ago | |
| pc-bios | 2 days ago | |
| plugins | 1 month ago | |
| po | 1 year ago | |
| python | 1 week ago | |
| qapi | 3 days ago | |
| qga | 1 month ago | |
| qobject | 3 days ago | |
| qom | 3 months ago | |
| replay | 3 weeks ago | |
| roms | 3 weeks ago | |
| rust | 2 weeks ago | |
| scripts | 5 days ago | |
| scsi | 1 month ago | |
| semihosting | 4 weeks ago | |
| stats | 9 months ago | |
| storage-daemon | 3 months ago | |
| stubs | 3 weeks ago | |
| subprojects | 3 weeks ago | |
| system | 3 days ago | |
| target | 1 day ago | |
| tcg | 5 days ago | |
| tests | 1 day ago | |
| tools | 1 month ago | |
| trace | 3 weeks ago | |
| ui | 3 days ago | |
| util | 1 week ago | |
| .b4-config | 4 months ago | |
| .dir-locals.el | 10 years ago | |
| .editorconfig | 2 months ago | |
| .exrc | ||
| .gdbinit | 9 years ago | |
| .git-blame-ignore-revs | 3 years ago | |
| .gitattributes | 12 months ago | |
| .gitignore | 2 years ago | |
| .gitlab-ci.yml | 4 years ago | |
| .gitmodules | 3 weeks ago | |
| .gitpublish | 3 weeks ago | |
| .mailmap | 3 days ago | |
| .patchew.yml | 4 years ago | |
| .readthedocs.yml | 2 months ago | |
| .travis.yml | 5 months ago | |
| COPYING | 4 months ago | |
| COPYING.LIB | 4 months ago | |
| Kconfig | 1 year ago | |
| Kconfig.host | 8 months ago | |
| LICENSE | 6 years ago | |
| MAINTAINERS | 1 day ago | |
| Makefile | 4 months ago | |
| README.rst | 1 year ago | |
| VERSION | 2 months ago | |
| block.c | 3 months ago | |
| blockdev-nbd.c | 8 months ago | |
| blockdev.c | 3 months ago | |
| blockjob.c | 3 months ago | |
| clippy.toml | 1 month ago | |
| configure | 1 week ago | |
| cpu-common.c | 1 month ago | |
| cpu-target.c | 2 months ago | |
| event-loop-base.c | 6 months ago | |
| gitdm.config | 3 years ago | |
| hmp-commands-info.hx | 3 days ago | |
| hmp-commands.hx | 3 weeks ago | |
| iothread.c | 6 months ago | |
| job-qmp.c | 3 years ago | |
| job.c | 7 months ago | |
| meson.build | 1 week ago | |
| meson_options.txt | 2 weeks ago | |
| module-common.c | 10 years ago | |
| os-posix.c | 8 months ago | |
| os-wasm.c | 6 months ago | |
| os-win32.c | 10 months ago | |
| page-vary-common.c | 4 years ago | |
| page-vary-target.c | 6 months ago | |
| pythondeps.toml | 3 weeks ago | |
| qemu-bridge-helper.c | 5 years ago | |
| qemu-edid.c | 3 years ago | |
| qemu-img-cmds.hx | 3 months ago | |
| qemu-img.c | 3 months ago | |
| qemu-io-cmds.c | 9 months ago | |
| qemu-io.c | 9 months ago | |
| qemu-keymap.c | 6 months ago | |
| qemu-nbd.c | 8 months ago | |
| qemu-options.hx | 2 weeks ago | |
| qemu.nsi | 6 months ago | |
| qemu.sasl | 4 years ago | |
| replication.c | 4 years ago | |
| target-info-stub.c | 2 months ago | |
| target-info.c | 3 months ago | |
| trace-events | 11 months ago | |
| version.rc | 5 years ago | |
README.rst
=========== QEMU README =========== QEMU is a generic and open source machine & userspace emulator and virtualizer. QEMU is capable of emulating a complete machine in software without any need for hardware virtualization support. By using dynamic translation, it achieves very good performance. QEMU can also integrate with the Xen and KVM hypervisors to provide emulated hardware while allowing the hypervisor to manage the CPU. With hypervisor support, QEMU can achieve near native performance for CPUs. When QEMU emulates CPUs directly it is capable of running operating systems made for one machine (e.g. an ARMv7 board) on a different machine (e.g. an x86_64 PC board). QEMU is also capable of providing userspace API virtualization for Linux and BSD kernel interfaces. This allows binaries compiled against one architecture ABI (e.g. the Linux PPC64 ABI) to be run on a host using a different architecture ABI (e.g. the Linux x86_64 ABI). This does not involve any hardware emulation, simply CPU and syscall emulation. QEMU aims to fit into a variety of use cases. It can be invoked directly by users wishing to have full control over its behaviour and settings. It also aims to facilitate integration into higher level management layers, by providing a stable command line interface and monitor API. It is commonly invoked indirectly via the libvirt library when using open source applications such as oVirt, OpenStack and virt-manager. QEMU as a whole is released under the GNU General Public License, version 2. For full licensing details, consult the LICENSE file. Documentation ============= Documentation can be found hosted online at `<https://www.qemu.org/documentation/>`_. The documentation for the current development version that is available at `<https://www.qemu.org/docs/master/>`_ is generated from the ``docs/`` folder in the source tree, and is built by `Sphinx <https://www.sphinx-doc.org/en/master/>`_. Building ======== QEMU is multi-platform software intended to be buildable on all modern Linux platforms, OS-X, Win32 (via the Mingw64 toolchain) and a variety of other UNIX targets. The simple steps to build QEMU are: .. code-block:: shell mkdir build cd build ../configure make Additional information can also be found online via the QEMU website: * `<https://wiki.qemu.org/Hosts/Linux>`_ * `<https://wiki.qemu.org/Hosts/Mac>`_ * `<https://wiki.qemu.org/Hosts/W32>`_ Submitting patches ================== The QEMU source code is maintained under the GIT version control system. .. code-block:: shell git clone https://gitlab.com/qemu-project/qemu.git When submitting patches, one common approach is to use 'git format-patch' and/or 'git send-email' to format & send the mail to the qemu-devel@nongnu.org mailing list. All patches submitted must contain a 'Signed-off-by' line from the author. Patches should follow the guidelines set out in the `style section <https://www.qemu.org/docs/master/devel/style.html>`_ of the Developers Guide. Additional information on submitting patches can be found online via the QEMU website: * `<https://wiki.qemu.org/Contribute/SubmitAPatch>`_ * `<https://wiki.qemu.org/Contribute/TrivialPatches>`_ The QEMU website is also maintained under source control. .. code-block:: shell git clone https://gitlab.com/qemu-project/qemu-web.git * `<https://www.qemu.org/2017/02/04/the-new-qemu-website-is-up/>`_ A 'git-publish' utility was created to make above process less cumbersome, and is highly recommended for making regular contributions, or even just for sending consecutive patch series revisions. It also requires a working 'git send-email' setup, and by default doesn't automate everything, so you may want to go through the above steps manually for once. For installation instructions, please go to: * `<https://github.com/stefanha/git-publish>`_ The workflow with 'git-publish' is: .. code-block:: shell $ git checkout master -b my-feature $ # work on new commits, add your 'Signed-off-by' lines to each $ git publish Your patch series will be sent and tagged as my-feature-v1 if you need to refer back to it in the future. Sending v2: .. code-block:: shell $ git checkout my-feature # same topic branch $ # making changes to the commits (using 'git rebase', for example) $ git publish Your patch series will be sent with 'v2' tag in the subject and the git tip will be tagged as my-feature-v2. Bug reporting ============= The QEMU project uses GitLab issues to track bugs. Bugs found when running code built from QEMU git or upstream released sources should be reported via: * `<https://gitlab.com/qemu-project/qemu/-/issues>`_ If using QEMU via an operating system vendor pre-built binary package, it is preferable to report bugs to the vendor's own bug tracker first. If the bug is also known to affect latest upstream code, it can also be reported via GitLab. For additional information on bug reporting consult: * `<https://wiki.qemu.org/Contribute/ReportABug>`_ ChangeLog ========= For version history and release notes, please visit `<https://wiki.qemu.org/ChangeLog/>`_ or look at the git history for more detailed information. Contact ======= The QEMU community can be contacted in a number of ways, with the two main methods being email and IRC: * `<mailto:qemu-devel@nongnu.org>`_ * `<https://lists.nongnu.org/mailman/listinfo/qemu-devel>`_ * #qemu on irc.oftc.net Information on additional methods of contacting the community can be found online via the QEMU website: * `<https://wiki.qemu.org/Contribute/StartHere>`_