QEMU With E2K User Support
Go to file
Peter Maydell aec4dd09f1 target/arm: Permit accesses to ELR_Hyp from Hyp mode via MSR/MRS (banked)
The MSR (banked) and MRS (banked) instructions allow accesses to ELR_Hyp
from either Monitor or Hyp mode. Our translate time check
was overly strict and only permitted access from Monitor mode.

The runtime check we do in msr_mrs_banked_exc_checks() had the
correct code in it, but never got there because of the earlier
"currmode == tgtmode" check. Special case ELR_Hyp.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Luc Michel <luc.michel@greensocs.com>
Message-id: 20180814124254.5229-9-peter.maydell@linaro.org
2018-08-20 11:24:32 +01:00
accel kvm: Use inhibit to prevent ballooning without synchronous mmu 2018-08-17 09:27:15 -06:00
audio
backends backends/cryptodev: remove dead code 2018-07-30 14:00:11 +02:00
block Block layer patches: 2018-08-15 22:11:08 +01:00
bsd-user
capstone@22ead3e0bf
chardev
contrib
crypto
default-configs i.MX6UL: Add i.MX6UL SOC 2018-08-16 14:05:28 +01:00
disas
docs docs/generic-loader: mention U-Boot and Intel HEX executable formats 2018-08-20 11:24:31 +01:00
dtc@e54388015a
fpu softfloat: Fix missing inexact for floating-point add 2018-08-16 14:29:58 +01:00
fsdev
gdb-xml
hw imx_serial: Generate interrupt on receive data ready if enabled 2018-08-20 11:24:31 +01:00
include imx_serial: Generate interrupt on receive data ready if enabled 2018-08-20 11:24:31 +01:00
io
libdecnumber
linux-headers
linux-user MIPS queue Aug 16, 2018 2018-08-16 19:02:21 +01:00
migration migration: fix duplicate initialization for expected_downtime and cleanup_bh 2018-07-24 17:28:57 +01:00
nbd
net tap: fix memory leak on success to create a tap device 2018-07-20 08:30:49 +08:00
pc-bios
po po: Don't include comments with location 2018-07-23 10:50:54 +01:00
qapi qapi: block: Remove mentions of error types which were removed 2018-08-15 12:50:39 +02:00
qga qga: process_event() simplification and leak fix 2018-07-23 18:54:26 -05:00
qobject Testing patches for 2018-08-16 2018-08-16 09:50:54 +01:00
qom qom/object: Add a new function object_initialize_child() 2018-07-17 13:12:49 +01:00
replay
roms
scripts qapi: Fix some pycodestyle-3 complaints 2018-08-15 07:24:22 +02:00
scsi
slirp slirp: Correct size check in m_inc() 2018-08-07 14:13:22 +01:00
stubs tests: don't silence error reporting for all tests 2018-07-24 17:35:23 +01:00
target target/arm: Permit accesses to ELR_Hyp from Hyp mode via MSR/MRS (banked) 2018-08-20 11:24:32 +01:00
tcg tcg/optimize: Do not skip default processing of dup_vec 2018-08-06 14:57:48 +01:00
tests Add QTest testcase for the Intel Hexadecimal 2018-08-16 14:05:28 +01:00
trace tracing: Use double-dash spelling for trace option 2018-07-19 13:09:04 +01:00
ui ui/cocoa.m: prevent stuck command key when going into full screen mode 2018-07-24 11:41:48 +01:00
util aio-posix: Improve comment around marking node deleted 2018-08-15 10:12:35 +08:00
.dir-locals.el
.editorconfig
.exrc
.gdbinit
.gitignore
.gitmodules
.gitpublish
.mailmap MAINTAINERS: Update target/mips maintainer's email addresses 2018-08-16 19:18:45 +02:00
.shippable.yml
.travis.yml
arch_init.c
balloon.c balloon: Allow multiple inhibit users 2018-08-17 09:27:15 -06:00
block.c block: Simplify append_open_options() 2018-08-15 12:50:39 +02:00
blockdev-nbd.c
blockdev.c block: Remove dead deprecation warning code 2018-08-15 12:50:39 +02:00
blockjob.c
bootdevice.c fw_cfg: ignore suffixes in the bootdevice list dependent on machine class 2018-08-16 22:27:43 -03:00
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE
configure Add QTest testcase for the Intel Hexadecimal 2018-08-16 14:05:28 +01:00
COPYING
COPYING.LIB
cpus-common.c
cpus.c
device_tree.c
device-hotplug.c block: Remove deprecated -drive option addr 2018-08-15 12:50:39 +02:00
disas.c
dma-helpers.c
dump.c
exec.c accel/tcg: Check whether TLB entry is RAM consistently with how we set it up 2018-08-14 17:17:19 +01:00
gdbstub.c
HACKING
hmp-commands-info.hx
hmp-commands.hx block: Remove deprecated -drive geometry options 2018-08-15 12:50:39 +02:00
hmp.c cli qmp: Mark --preconfig, exit-preconfig experimental 2018-07-16 15:38:19 +02:00
hmp.h
ioport.c
iothread.c
job-qmp.c
job.c
LICENSE
MAINTAINERS x86 queue, 2018-08-16 2018-08-17 09:46:00 +01:00
Makefile docs: add guidance on configuring CPU models for x86 2018-08-16 13:43:01 -03:00
Makefile.objs
Makefile.target
memory_ldst.inc.c
memory_mapping.c
memory.c accel/tcg: Pass read access type through to io_readx() 2018-08-14 17:17:19 +01:00
module-common.c
monitor.c monitor: fix oob command leak 2018-08-15 08:12:57 +02:00
numa.c
os-posix.c
os-win32.c
qdev-monitor.c
qdict-test-data.txt
qemu-bridge-helper.c
qemu-deprecated.texi block: Remove deprecated -drive option serial 2018-08-15 12:50:39 +02:00
qemu-doc.texi x86 queue, 2018-08-16 2018-08-17 09:46:00 +01:00
qemu-ga.texi
qemu-img-cmds.hx qemu-img: Add -C option for convert with copy offloading 2018-07-30 15:35:37 +02:00
qemu-img.c qemu-img: fix regression copying secrets during convert 2018-08-15 12:50:39 +02:00
qemu-img.texi qemu-img: Add -C option for convert with copy offloading 2018-07-30 15:35:37 +02:00
qemu-io-cmds.c
qemu-io.c
qemu-keymap.c
qemu-nbd.c
qemu-nbd.texi
qemu-option-trace.texi
qemu-options-wrapper.h qemu-img: remove references to GEN_DOCS 2018-05-20 08:35:54 +03:00
qemu-options.h
qemu-options.hx block: Remove deprecated -drive option serial 2018-08-15 12:50:39 +02:00
qemu-seccomp.c seccomp: allow sched_setscheduler() with SCHED_IDLE policy 2018-07-12 14:52:39 +02:00
qemu-tech.texi cli qmp: Mark --preconfig, exit-preconfig experimental 2018-07-16 15:38:19 +02:00
qemu.nsi
qemu.sasl
qmp.c cli qmp: Mark --preconfig, exit-preconfig experimental 2018-07-16 15:38:19 +02:00
qtest.c
README
replication.c
replication.h
rules.mak
thunk.c thunk: assert nb_fields is valid 2017-07-31 13:06:39 +03:00
tpm.c
trace-events
VERSION Open 3.1 development tree 2018-08-14 17:10:49 +01:00
version.rc
vl.c
win_dump.c
win_dump.h

         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.


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:

  mkdir build
  cd build
  ../configure
  make

Additional information can also be found online via the QEMU website:

  https://qemu.org/Hosts/Linux
  https://qemu.org/Hosts/Mac
  https://qemu.org/Hosts/W32


Submitting patches
==================

The QEMU source code is maintained under the GIT version control system.

   git clone git://git.qemu.org/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 HACKING and CODING_STYLE files.

Additional information on submitting patches can be found online via
the QEMU website

  https://qemu.org/Contribute/SubmitAPatch
  https://qemu.org/Contribute/TrivialPatches

The QEMU website is also maintained under source control.

  git clone git://git.qemu.org/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:

  $ 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:

  $ 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 Launchpad as its primary upstream bug tracker. Bugs
found when running code built from QEMU git or upstream released sources
should be reported via:

  https://bugs.launchpad.net/qemu/

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 launchpad.

For additional information on bug reporting consult:

  https://qemu.org/Contribute/ReportABug


Contact
=======

The QEMU community can be contacted in a number of ways, with the two
main methods being email and IRC

 - 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://qemu.org/Contribute/StartHere

-- End