QEMU With E2K User Support
Go to file
Suraj Jitindar Singh c6fd28fd57 target/ppc: Update tlbie to check privilege level based on GTSE
The Guest Translation Shootdown Enable (GTSE) bit in the Logical Partition
Control Register (LPCR) can be set to enable a guest to use the tlbie
instruction directly to invalidate translations.

When the GTSE bit is set then the tlbie instruction is supervisor
privileged, otherwise it is hypervisor privileged.

Add a guest translation shootdown enable (gtse) field to the diassembly
context and use this to check the correct privilege level at code
generation time.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2017-05-11 09:45:15 +10:00
audio audio: fix WAVState leak 2017-05-04 09:15:45 +02:00
backends hostmem: use host_memory_backend_mr_inited() where proper 2017-04-20 15:22:41 -03:00
block sockets: Limit SocketAddressLegacy to external interfaces 2017-05-09 09:14:40 +02:00
bsd-user bsd-user: align use of mmap_lock to that of linux-user 2017-03-28 10:50:40 +01:00
chardev QAPI patches for 2017-05-04 2017-05-09 15:49:14 -04:00
contrib libvhost-user: replace vasprintf() to fix build 2017-05-05 12:10:00 +02:00
crypto crypto: Make errp the last parameter of functions 2017-04-24 09:13:22 +02:00
default-configs s390x/3270: Mark non-migratable and enable the device 2017-05-04 10:34:37 +02:00
disas disas/cris.c: Avoid unintentional sign extension 2017-04-03 14:06:59 +01:00
docs trace: fix tcg tracing build breakage 2017-03-28 11:07:46 +01:00
dtc@558cd81bdd dtc: Revert unintentional submodule downgrade from commit c2cabb3422 2017-03-16 14:11:15 +00:00
fpu
fsdev
gdb-xml target/i386: Add GDB XML register description support 2017-05-05 12:09:59 +02:00
hw target/ppc: Set UPRT and GTSE on all cpus in H_REGISTER_PROCESS_TABLE 2017-05-11 09:45:15 +10:00
include ppc/xics: preserve P and Q bits for KVM IRQs 2017-05-11 09:45:15 +10:00
io sockets: Limit SocketAddressLegacy to external interfaces 2017-05-09 09:14:40 +02:00
libdecnumber
linux-headers
linux-user target/openrisc: implement shadow registers 2017-05-04 09:39:01 +09:00
migration sockets: Limit SocketAddressLegacy to external interfaces 2017-05-09 09:14:40 +02:00
nbd nbd-client: fix handling of hungup connections 2017-03-27 16:50:36 +02:00
net sockets: Limit SocketAddressLegacy to external interfaces 2017-05-09 09:14:40 +02:00
pc-bios Add QemuMacDrivers qemu_vga.ndrv revision d4e7d7a built as submodule 2017-05-11 09:45:15 +10:00
pixman@87eea99e44
po
qapi qobject-input-visitor: Catch misuse of end_struct vs. end_list 2017-05-09 09:14:40 +02:00
qga sockets: Limit SocketAddressLegacy to external interfaces 2017-05-09 09:14:40 +02:00
qobject qobject: Use simpler QDict/QList scalar insertion macros 2017-05-09 09:13:51 +02:00
qom container: don't leak container reference 2017-05-04 15:34:41 +04:00
replay monitor: Remove monitor parameter from save_vmstate 2017-05-04 10:32:58 +02:00
roms Add QemuMacDrivers as submodule 2017-05-11 09:45:15 +10:00
scripts QAPI patches for 2017-05-04 2017-05-09 15:49:14 -04:00
slirp slirp: VMStatify remaining except for loop 2017-04-29 18:44:16 +02:00
stubs move xen-hvm.c to hw/i386/xen/ 2017-04-25 11:04:34 -07:00
target target/ppc: Update tlbie to check privilege level based on GTSE 2017-05-11 09:45:15 +10:00
tcg tcg/mips: fix field extraction opcode 2017-05-06 12:48:53 +02:00
tests QAPI patches for 2017-05-04 2017-05-09 15:49:14 -04:00
trace trace: fix tcg tracing build breakage 2017-03-28 11:07:46 +01:00
ui sockets: Limit SocketAddressLegacy to external interfaces 2017-05-09 09:14:40 +02:00
util QAPI patches for 2017-05-04 2017-05-09 15:49:14 -04:00
.dir-locals.el
.exrc
.gitignore qapi: Clean up build of generated documentation 2017-03-16 07:13:02 +01:00
.gitmodules Add QemuMacDrivers as submodule 2017-05-11 09:45:15 +10:00
.mailmap
.shippable.yml
.travis.yml
accel.c
arch_init.c
atomic_template.h
balloon.c
block.c block: Simplify bdrv_append_temp_snapshot() logic 2017-05-09 09:14:39 +02:00
blockdev-nbd.c sockets: Limit SocketAddressLegacy to external interfaces 2017-05-09 09:14:40 +02:00
blockdev.c qobject: Use simpler QDict/QList scalar insertion macros 2017-05-09 09:13:51 +02:00
blockjob.c blockjob: Use bdrv_coroutine_enter to start coroutine 2017-04-11 20:07:15 +08:00
bootdevice.c
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE
configure tcg: enable MTTCG by default for PPC64 on x86 2017-05-11 09:45:15 +10:00
COPYING
COPYING.LIB
cpu-exec-common.c ui/console: ensure do_safe_dpy_refresh holds BQL 2017-03-28 10:52:24 +01:00
cpu-exec.c cpu-exec: update icount after each TB_EXIT 2017-04-10 10:23:38 +01:00
cpus-common.c
cpus.c cpus: Fix CPU unplug for MTTCG 2017-05-11 09:45:15 +10:00
cputlb.c cputlb: handle first atomic write to the page 2017-05-11 09:45:14 +10:00
device_tree.c
device-hotplug.c
disas.c
dma-helpers.c
dump.c dump: Acquire BQL around vm_start() in dump thread 2017-05-05 12:10:00 +02:00
exec.c memory: add support getting and using a dirty bitmap copy. 2017-04-24 10:12:28 +02:00
gdbstub.c gdbstub: implement remote debugging protocol escapes for command receive 2017-05-08 09:26:32 -04:00
HACKING
hax-stub.c
hmp-commands-info.hx
hmp-commands.hx hmp: gpa2hva and gpa2hpa hostaddr command 2017-04-26 14:42:31 +01:00
hmp.c sockets: Limit SocketAddressLegacy to external interfaces 2017-05-09 09:14:40 +02:00
hmp.h monitor: Move hmp_info_snapshots from savevm.c to hmp.c 2017-05-04 10:34:15 +02:00
ioport.c
iothread.c
kvm-all.c qemu-timer: do not include sysemu/cpus.h from util/qemu-timer.h 2017-03-14 13:28:18 +01:00
kvm-stub.c KVM: move SIG_IPI handling to kvm-all.c 2017-03-03 16:40:02 +01:00
LICENSE
MAINTAINERS QAPI patches for 2017-05-04 2017-05-09 15:49:14 -04:00
Makefile Add QemuMacDrivers qemu_vga.ndrv revision d4e7d7a built as submodule 2017-05-11 09:45:15 +10:00
Makefile.objs target-mips: replace few LOG_DISAS() with trace points 2017-03-20 11:06:32 +00:00
Makefile.target Xen 2017/04/21 + fix 2017-04-26 10:22:31 +01:00
memory_ldst.inc.c
memory_mapping.c
memory.c memory: add support getting and using a dirty bitmap copy. 2017-04-24 10:12:28 +02:00
module-common.c
monitor.c qobject: Use simpler QDict/QList scalar insertion macros 2017-05-09 09:13:51 +02:00
numa.c numa,spapr: align default numa node memory size to 256MB 2017-03-22 11:32:42 +11:00
os-posix.c
os-win32.c
page_cache.c
qapi-schema.json sockets: Limit SocketAddressLegacy to external interfaces 2017-05-09 09:14:40 +02:00
qdev-monitor.c migration: Disable hotplug/unplug during migration 2017-04-21 12:25:40 +02:00
qdict-test-data.txt
qemu-bridge-helper.c
qemu-doc.texi
qemu-ga.texi
qemu-img-cmds.hx qemu-img: Document backing options 2017-04-27 17:26:31 +02:00
qemu-img.c qobject: Use simpler QDict/QList scalar insertion macros 2017-05-09 09:13:51 +02:00
qemu-img.texi progress: Show current progress on SIGINFO 2017-04-28 18:48:11 +02:00
qemu-io-cmds.c block: Add errp to b{lk,drv}_truncate() 2017-04-28 16:02:02 +02:00
qemu-io.c qobject: Use simpler QDict/QList scalar insertion macros 2017-05-09 09:13:51 +02:00
qemu-nbd.c sockets: Limit SocketAddressLegacy to external interfaces 2017-05-09 09:14:40 +02:00
qemu-nbd.texi
qemu-option-trace.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx Fix the -accel parameter and the documentation for 'hax' 2017-05-05 12:10:00 +02:00
qemu-seccomp.c
qemu-tech.texi
qemu.nsi
qemu.sasl
qmp.c qdev: remove cannot_destroy_with_object_finalize_yet 2017-04-21 07:18:34 +02:00
qtest.c
README
replication.c
replication.h
rules.mak qapi: Clean up build of generated documentation 2017-03-16 07:13:02 +01:00
softmmu_template.h
spice-qemu-char.c spice-char: fix segfault in char_spice_finalize 2017-03-03 16:40:03 +01:00
tcg-runtime.c
tci.c
thunk.c
tpm.c
trace-events move xen-mapcache.c to hw/i386/xen/ 2017-04-25 11:04:34 -07:00
translate-all.c qemu-timer: do not include sysemu/cpus.h from util/qemu-timer.h 2017-03-14 13:28:18 +01:00
translate-all.h
translate-common.c Merge branch 'icount-update' into HEAD 2017-03-03 16:39:18 +01:00
user-exec-stub.c
user-exec.c user-exec: handle synchronous signals from QEMU gracefully 2017-03-28 10:50:35 +01:00
VERSION Open 2.10 development tree 2017-04-20 15:42:31 +01:00
version.rc
vl.c A large set of small patches. I have not included yet vhost-user-scsi, 2017-05-08 13:29:40 -04:00

         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:

  http://qemu-project.org/Hosts/Linux
  http://qemu-project.org/Hosts/Mac
  http://qemu-project.org/Hosts/W32


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

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

   git clone git://git.qemu-project.org/qemu.git

When submitting patches, the preferred 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

  http://qemu-project.org/Contribute/SubmitAPatch
  http://qemu-project.org/Contribute/TrivialPatches


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:

  http://qemu-project.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
   http://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:

  http://qemu-project.org/Contribute/StartHere

-- End