No description
Find a file
Laurent Vivier 2a0fa68fb9 linux-user,sh4: fix signal retcode address
To return from a signal, setup_frame() puts an instruction to
be executed in the stack. This sequence calls the syscall sigreturn().

The address of the instruction must be set in the PR register
to be executed.

This patch fixes this: the current code sets the register to the address
of the instruction in the host address space (which can be 64bit whereas
PR is only 32bit), but the virtual CPU can't access this address space,
so we put in PR the address of the instruction in the guest address space.

This patch also removes an useless variable (ret) in the modified functions.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2016-01-08 15:24:57 +02:00
audio
backends
block block/mirror: replace IOV_MAX with blk_get_max_iov() 2015-12-22 16:01:07 +08:00
bsd-user linux-user: convert DEBUG_SIGNAL logging to tracepoints 2015-12-17 17:33:48 +01:00
contrib
crypto crypto: fix transposed arguments in cipher error message 2015-12-23 11:02:20 +00:00
default-configs nvdimm acpi: build ACPI NFIT table 2015-12-22 18:39:20 +02:00
disas
docs docs/pci_expander_bridge: fix typo 2015-12-22 18:39:20 +02:00
dtc@65cc4d2748
fpu
fsdev
gdb-xml
hw Fix a 2.5 regression. 2015-12-23 13:29:47 +00:00
include Merge misc crypto changes & fixes 2015-12-23 13:53:32 +00:00
io io: fix stack allocation when sending of file descriptors 2015-12-23 10:53:03 +00:00
libdecnumber
linux-headers linux-headers: update from kvm/next 2015-12-17 15:24:34 +01:00
linux-user linux-user,sh4: fix signal retcode address 2016-01-08 15:24:57 +02:00
migration
net
pc-bios
pixman@87eea99e44
po
qapi crypto: move QCryptoCipherAlgorithm/Mode enum definitions into QAPI 2015-12-23 11:02:20 +00:00
qga qga: convert to use error checked base64 decode 2015-12-18 16:25:08 +00:00
qobject
qom
replay
roms
scripts scripts/gdb: Fix a python exception in mtree.py 2015-12-22 16:01:08 +08:00
slirp
stubs kvm: x86: add support for KVM_CAP_SPLIT_IRQCHIP 2015-12-17 17:33:47 +01:00
target-alpha
target-arm kvm: x86: add support for KVM_CAP_SPLIT_IRQCHIP 2015-12-17 17:33:47 +01:00
target-cris cris: avoid "naked" qemu_log 2015-12-17 17:33:47 +01:00
target-i386 target-i386: kvm: clear unusable segments' flags in migration 2015-12-17 17:33:49 +01:00
target-lm32
target-m68k
target-microblaze microblaze: avoid "naked" qemu_log 2015-12-17 17:33:48 +01:00
target-mips
target-moxie
target-openrisc
target-ppc ppc: cleanup logging 2015-12-17 17:33:48 +01:00
target-s390x s390x: avoid "naked" qemu_log 2015-12-17 17:33:48 +01:00
target-sh4
target-sparc
target-tilegx
target-tricore tricore: avoid "naked" qemu_log 2015-12-17 17:33:48 +01:00
target-unicore32
target-xtensa xtensa: avoid "naked" qemu_log 2015-12-17 17:33:48 +01:00
tcg
tests Merge misc crypto changes & fixes 2015-12-23 13:53:32 +00:00
trace
ui ui: convert VNC server to use QIOChannelWebsock 2015-12-18 15:02:11 +00:00
util mmap-alloc: tweak a comment on ppc64 2015-12-22 17:45:12 +02:00
.dir-locals.el
.exrc
.gitignore
.gitmodules
.mailmap
.travis.yml
accel.c
aio-posix.c
aio-win32.c
arch_init.c
async.c
balloon.c
block.c block: Add opaque value to the amend CB 2015-12-18 14:34:43 +01:00
blockdev-nbd.c
blockdev.c block: Move cache options into options QDict 2015-12-18 14:34:43 +01:00
blockjob.c
bootdevice.c
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE
configure configure: Fix shell syntax to placate OpenBSD's pdksh 2015-12-18 13:32:49 +00:00
COPYING
COPYING.LIB
cpu-exec-common.c
cpu-exec.c
cpus.c
cputlb.c
device-hotplug.c
device_tree.c
disas.c
dma-helpers.c
dump.c
exec.c memory: try to inline constant-length reads 2015-12-17 17:33:49 +01:00
gdbstub.c
HACKING
hmp-commands-info.hx
hmp-commands.hx
hmp.c
hmp.h
iohandler.c
ioport.c
iothread.c
kvm-all.c kvm: x86: add support for KVM_CAP_SPLIT_IRQCHIP 2015-12-17 17:33:47 +01:00
kvm-stub.c
LICENSE
main-loop.c
MAINTAINERS nvdimm: add maintain info 2015-12-22 18:39:20 +02:00
Makefile crypto: ensure qapi/crypto.json is listed in qapi-modules 2015-12-23 11:02:20 +00:00
Makefile.objs io: add abstract QIOChannel classes 2015-12-18 12:18:05 +00:00
Makefile.target io: add abstract QIOChannel classes 2015-12-18 12:18:05 +00:00
memory.c memory: inline a few small accessors 2015-12-17 17:33:49 +01:00
memory_mapping.c
module-common.c
monitor.c
nbd.c
numa.c numa: Clean up query-memdev error handling 2015-12-18 15:50:24 -02:00
os-posix.c
os-win32.c
page_cache.c
qapi-schema.json qemu-char: convert to use error checked base64 decode 2015-12-18 16:25:08 +00:00
qdev-monitor.c
qdict-test-data.txt
qemu-bridge-helper.c
qemu-char.c qemu-char: convert to use error checked base64 decode 2015-12-18 16:25:08 +00:00
qemu-doc.texi Add a base IPMI interface 2015-12-22 18:39:19 +02:00
qemu-ga.texi
qemu-img-cmds.hx
qemu-img.c qemu-img: abort when full_backing_filename not present 2015-12-18 14:36:17 +01:00
qemu-img.texi
qemu-io-cmds.c
qemu-io.c
qemu-log.c user: introduce "-d page" 2015-12-17 17:33:48 +01:00
qemu-nbd.c
qemu-nbd.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx nvdimm acpi: build ACPI NFIT table 2015-12-22 18:39:20 +02:00
qemu-seccomp.c
qemu-tech.texi
qemu-timer.c
qemu.nsi
qemu.sasl
qjson.c
qmp-commands.hx qemu-char: convert to use error checked base64 decode 2015-12-18 16:25:08 +00:00
qmp.c
qtest.c
README
rules.mak
softmmu_template.h
spice-qemu-char.c
tcg-runtime.c
tci.c
thread-pool.c
thunk.c
tpm.c
trace-events io: add QIOChannelCommand class 2015-12-18 12:18:31 +00:00
translate-all.c
translate-all.h
translate-common.c
user-exec.c
VERSION
version.rc
vl.c
xen-common-stub.c
xen-common.c
xen-hvm-stub.c
xen-hvm.c
xen-mapcache.c

         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

Complete details of the process for building and configuring QEMU for
all supported host platforms can be found in the qemu-tech.html file.
Additional information can also be found online via the QEMU website:

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