Find a file
Liran Alon 1d33bea4d0 linux-headers: sync with latest KVM headers from Linux 5.2
Improve the KVM_{GET,SET}_NESTED_STATE structs by detailing the format
of VMX nested state data in a struct.

In order to avoid changing the ioctl values of
KVM_{GET,SET}_NESTED_STATE, there is a need to preserve
sizeof(struct kvm_nested_state). This is done by defining the data
struct as "data.vmx[0]". It was the most elegant way I found to
preserve struct size while still keeping struct readable and easy to
maintain. It does have a misfortunate side-effect that now it has to be
accessed as "data.vmx[0]" rather than just "data.vmx".

Because we are already modifying these structs, I also modified the
following:
* Define the "format" field values as macros.
* Rename vmcs_pa to vmcs12_pa for better readability.

Signed-off-by: Liran Alon <liran.alon@oracle.com>
Reviewed-by: Maran Wilson <maran.wilson@oracle.com>
Message-Id: <20190619162140.133674-7-liran.alon@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-06-21 13:23:47 +02:00
accel KVM: Introduce kvm_arch_destroy_vcpu() 2019-06-21 02:29:39 +02:00
audio Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
authz Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
backends Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
block block/commit: Drop bdrv_child_try_set_perm() 2019-06-18 16:41:10 +02:00
bsd-user Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
capstone@22ead3e0bf
chardev monitor: Replace monitor_init() with monitor_init_{hmp, qmp}() 2019-06-18 08:14:17 +02:00
contrib vhost-user-gpu: initialize msghdr & iov at declaration 2019-06-16 16:16:52 -04:00
crypto Normalize position of header guard 2019-06-12 13:20:20 +02:00
default-configs
disas Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
docs i386/kvm: add support for Direct Mode for Hyper-V synthetic timers 2019-06-21 02:29:39 +02:00
dtc@88f18909db
fpu
fsdev Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
gdb-xml
hw i386/kvm: convert hyperv enlightenments properties from bools to bits 2019-06-21 02:29:38 +02:00
include KVM: Introduce kvm_arch_destroy_vcpu() 2019-06-21 02:29:39 +02:00
io Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
libdecnumber
linux-headers linux-headers: sync with latest KVM headers from Linux 5.2 2019-06-21 13:23:47 +02:00
linux-user semihosting: split console_out into string and char versions 2019-06-12 17:53:22 +01:00
migration Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
monitor block/block-backend: blk_iostatus_reset: drop usage of bs->job 2019-06-18 16:41:10 +02:00
nbd nbd/server: Nicer spelling of max BLOCK_STATUS reply length 2019-06-13 08:56:10 -05:00
net Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
pc-bios pc-bios: update the README file with edk2-stable201905 information 2019-06-14 21:48:00 +02:00
po
python/qemu event_match: always match on None value 2019-06-14 14:16:57 +02:00
qapi block/null: Expose read-zeroes option in QAPI schema 2019-06-18 16:41:10 +02:00
qga Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
qobject qemu-common: Move qemu_isalnum() etc. to qemu/ctype.h 2019-06-11 20:22:09 +02:00
qom Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
replay Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
roms roms/Makefile.edk2: update input file list for "pc-bios/edk2-licenses.txt" 2019-06-14 21:47:53 +02:00
scripts decodetree: Fix comparison of Field 2019-06-13 15:14:03 +01:00
scsi Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
slirp@f0da672620
stubs monitor: Replace monitor_init() with monitor_init_{hmp, qmp}() 2019-06-18 08:14:17 +02:00
target target/i386: kvm: Block migration for vCPUs exposed with nested virtualization 2019-06-21 13:23:44 +02:00
tcg Supply missing header guards 2019-06-12 13:20:21 +02:00
tests iotests: Test failure to loosen restrictions 2019-06-18 16:41:10 +02:00
trace Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
ui ui/cocoa: Fix mouse grabbing in fullscreen mode for relative input device 2019-06-13 11:23:22 +01:00
util Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
.cirrus.yml
.dir-locals.el
.editorconfig editorconfig: add setting for shell scripts 2019-06-12 17:53:22 +01:00
.exrc
.gdbinit
.gitignore
.gitlab-ci.yml
.gitmodules
.gitpublish
.mailmap
.patchew.yml
.shippable.yml
.travis.yml Travis: print acceptance tests logs in case of job failure 2019-06-18 11:15:08 -03:00
arch_init.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
balloon.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
block.c block: Ignore loosening perm restrictions failures 2019-06-18 16:41:10 +02:00
blockdev-nbd.c
blockdev.c block: drop bs->job 2019-06-18 16:41:10 +02:00
blockjob.c block: drop bs->job 2019-06-18 16:41:10 +02:00
bootdevice.c
bt-host.c
bt-vhci.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
Changelog
CODING_STYLE
configure configure: remove tpm_passthrough & tpm_emulator 2019-06-03 14:03:02 +02:00
COPYING
COPYING.LIB
cpus-common.c
cpus.c hax: Honor CPUState::halted 2019-06-21 02:29:38 +02:00
device-hotplug.c
device_tree.c
disas.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
dma-helpers.c
dump.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
exec.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
gdbstub.c monitor: Replace monitor_init() with monitor_init_{hmp, qmp}() 2019-06-18 08:14:17 +02:00
gitdm.config
HACKING
hmp-commands-info.hx
hmp-commands.hx monitor: Rename HMP command type and tables 2019-06-17 20:36:56 +02:00
hmp.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
ioport.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
iothread.c
job-qmp.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
job.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
Kconfig.host
LICENSE
MAINTAINERS monitor: Split out monitor/monitor.c 2019-06-18 08:14:17 +02:00
Makefile docs: Build and install specs manual 2019-06-17 15:35:31 +01:00
Makefile.objs monitor: Split out monitor/qmp.c 2019-06-17 20:36:56 +02:00
Makefile.target Move monitor.c to monitor/misc.c 2019-06-17 20:36:56 +02:00
memory.c qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02:00
memory_ldst.inc.c
memory_mapping.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
module-common.c
numa.c numa: improve cpu hotplug error message with a wrong node-id 2019-06-07 15:28:46 -03:00
os-posix.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
os-win32.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
qdev-monitor.c
qemu-bridge-helper.c
qemu-deprecated.texi vl: Deprecate -mon pretty=... for HMP monitors 2019-06-18 08:14:17 +02:00
qemu-doc.texi
qemu-edid.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
qemu-ga.texi
qemu-img-cmds.hx qemu-img: Add salvaging mode to convert 2019-06-14 14:16:57 +02:00
qemu-img.c qemu-img: Add salvaging mode to convert 2019-06-14 14:16:57 +02:00
qemu-img.texi qemu-img: Add salvaging mode to convert 2019-06-14 14:16:57 +02:00
qemu-io-cmds.c qemu-io-cmds: use clock_gettime for benchmarking 2019-06-12 17:53:22 +01:00
qemu-io.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
qemu-keymap.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
qemu-nbd.c qemu-nbd: Do not close stderr 2019-06-13 08:50:47 -05:00
qemu-nbd.texi qemu-nbd: Add --pid-file option 2019-06-13 08:50:47 -05:00
qemu-option-trace.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx
qemu-seccomp.c
qemu-tech.texi qemu-tech.texi: Remove "QEMU compared to other emulators" section 2019-06-17 15:35:31 +01:00
qemu.nsi
qemu.sasl
qtest.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
README
replication.c
replication.h Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
rules.mak
thunk.c
tpm.c
trace-events Move monitor.c to monitor/misc.c 2019-06-17 20:36:56 +02:00
VERSION
version.rc
vl.c vl: Deprecate -mon pretty=... for HMP monitors 2019-06-18 08:14:17 +02:00
win_dump.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
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 https://git.qemu.org/git/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 https://git.qemu.org/git/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