Go to file
David Hildenbrand 07059effd1 s390x/kvm: let the CPU model control CMM(A)
Starting with recent kernels, if the cmma attributes are available, we
actually have hardware support. Enabling CMMA then means providing the
guest VCPU with CMM, therefore enabling its CMM facility.

Let's not blindly enable CMM anymore but let's control it using CPU models.
For disabled CPU models, CMMA will continue to always get enabled.

Also enable it in the applicable default models.

Please note that CMM doesn't work with hugetlbfs, therefore we will
warn the user and keep it disabled. Migrating from/to a hugetlbfs
configuration works, as it will be disabled on both sides.

Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Message-Id: <20160905085244.99980-24-dahi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
2016-09-06 17:06:51 +02:00
audio trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
backends fix qemu exit on memory hotplug when allocation fails at prealloc time 2016-08-02 12:03:58 +02:00
block block: fix possible reorder of flush operations 2016-08-18 14:36:49 +01:00
bsd-user Fix bsd-user build after d915b7bb 2016-08-24 16:42:40 +01:00
contrib
crypto trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
default-configs
disas
docs vhost-user: Introduce a new protocol feature REPLY_ACK. 2016-08-10 17:47:29 +03:00
dtc@65cc4d2748
fpu softfloat: Fix warn about implicit conversion from int to int8_t 2016-08-15 16:15:38 +01:00
fsdev
gdb-xml
hw s390x/kvm: allow runtime-instrumentation for "none" machine 2016-09-06 17:06:50 +02:00
include s390x/sclp: propagate hmfai 2016-09-06 17:06:50 +02:00
io trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
libdecnumber
linux-headers linux-headers: update 2016-09-05 15:15:16 +02:00
linux-user syscall.c: Redefine IFLA_* enums 2016-08-19 09:47:51 +01:00
migration trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
nbd nbd: Limit nbdflags to 16 bits 2016-08-03 18:44:56 +02:00
net Revert "Change net/socket.c to use socket_*() functions" 2016-08-30 16:28:46 +02:00
pc-bios optionrom: cope with multiple -O options 2016-08-30 16:28:46 +02:00
pixman@87eea99e44
po
qapi block: Accept any target node for transactional blockdev-backup 2016-08-05 10:55:14 +02:00
qga
qobject
qom trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
replay
roms
scripts checkpatch: default to success if only warnings 2016-08-10 12:44:51 +02:00
slirp slirp: Rename "struct arphdr" to "struct slirp_arphdr" 2016-08-16 12:17:36 +01:00
stubs
target-alpha
target-arm target-arm: Fix warn about implicit conversion 2016-08-12 11:12:24 +01:00
target-cris
target-i386 target-i386: kvm: Report kvm_pv_unhalt as unsupported w/o kernel_irqchip 2016-08-16 08:49:53 -03:00
target-lm32
target-m68k
target-microblaze
target-mips target-mips: fix EntryHi.EHINV being cleared on TLB exception 2016-07-28 11:24:02 +01:00
target-moxie
target-openrisc
target-ppc trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
target-s390x s390x/kvm: let the CPU model control CMM(A) 2016-09-06 17:06:51 +02:00
target-sh4
target-sparc trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
target-tilegx
target-tricore
target-unicore32
target-xtensa
tcg tcg: Lower indirect registers in a separate pass 2016-08-05 21:44:40 +05:30
tests test-logging: don't hard-code paths in /tmp 2016-08-19 12:44:11 +01:00
trace
ui ui: fix refresh of VNC server surface 2016-08-30 11:20:24 +01:00
util trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01: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
blockdev-nbd.c
blockdev.c block: Accept any target node for transactional blockdev-backup 2016-08-05 10:55:14 +02:00
blockjob.c
bootdevice.c
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE CODING_STYLE, checkpatch: update line length rules 2016-08-10 12:22:33 +02:00
configure pc-bios/optionrom: Fix OpenBSD build with better detection of linker emulation 2016-08-15 17:21:30 +01:00
COPYING
COPYING.LIB
cpu-exec-common.c
cpu-exec.c
cpus.c
cputlb.c
device_tree.c
device-hotplug.c
disas.c
dma-helpers.c
dump.c
exec.c fix qemu exit on memory hotplug when allocation fails at prealloc time 2016-08-02 12:03:58 +02:00
gdbstub.c
HACKING Disable warn about left shifts of negative values 2016-08-09 22:57:36 +02:00
hmp-commands-info.hx
hmp-commands.hx
hmp.c
hmp.h
iohandler.c
ioport.c
iothread.c
kvm-all.c error: Fix error_printf() calls lacking newlines 2016-08-08 09:01:27 +02:00
kvm-stub.c
LICENSE
main-loop.c
MAINTAINERS MAINTAINERS: Add Host Memory Backends section 2016-08-02 08:22:02 -03:00
Makefile build-sys: fix building with make CFLAGS=.. argument 2016-08-09 22:57:36 +02:00
Makefile.objs
Makefile.target s390x/cpumodel: generate CPU feature lists for CPU models 2016-09-06 17:06:49 +02:00
memory_mapping.c
memory.c
module-common.c
monitor.c monitor: fix crash when leaving qemu with spice audio 2016-08-08 14:16:11 +02:00
numa.c numa: do not leak NumaOptions 2016-08-07 23:59:59 +04:00
os-posix.c
os-win32.c
page_cache.c
qapi-schema.json qmp: details about CPU definitions in query-cpu-definitions 2016-09-05 15:42:36 +02:00
qdev-monitor.c
qdict-test-data.txt
qemu-bridge-helper.c
qemu-char.c char: fix waiting for TLS and telnet connection 2016-08-16 11:50:55 +01:00
qemu-doc.texi
qemu-ga.texi
qemu-img-cmds.hx
qemu-img.c Update ancient copyright string in -version output 2016-08-11 16:24:53 +01:00
qemu-img.texi
qemu-io-cmds.c
qemu-io.c
qemu-nbd.c nbd: Limit nbdflags to 16 bits 2016-08-03 18:44:56 +02:00
qemu-nbd.texi
qemu-option-trace.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx Reorganize help output of '-display' option 2016-08-03 18:44:57 +02:00
qemu-seccomp.c
qemu-tech.texi
qemu-timer.c timer: set vm_clock disabled default 2016-08-09 22:57:36 +02:00
qemu.nsi
qemu.sasl
qmp-commands.hx qmp-commands.hx: remove outdated note 2016-08-16 15:19:52 +01:00
qmp.c
qtest.c
README
rules.mak s390x/cpumodel: generate CPU feature lists for CPU models 2016-09-06 17:06:49 +02:00
softmmu_template.h
spice-qemu-char.c
tcg-runtime.c
tci.c
thread-pool.c
thunk.c
tpm.c
trace-events xen: handle inbound migration of VMs without ioreq server pages 2016-08-12 16:38:30 -07:00
translate-all.c translate: early exit in tb_flush if there is no tcg 2016-08-30 13:30:55 +01:00
translate-all.h
translate-common.c
user-exec.c
VERSION Open 2.8 development tree 2016-09-05 11:38:54 +01:00
version.rc
vl.c Update ancient copyright string in -version output 2016-08-11 16:24:53 +01:00
xen-common-stub.c
xen-common.c
xen-hvm-stub.c
xen-hvm.c xen: handle inbound migration of VMs without ioreq server pages 2016-08-12 16:38:30 -07:00
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