Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'remotes/stsquad/tags/pull-for-6.1-rc1-2…
…30721-1' into staging Doc, metadata, plugin and testing updates for 6.1-rc1: - git ignore some file editor detritus - add overview on device emulation terminology - remove needless if leg in configure custom devices logic - numerous gitdm/mailmap updates - fix plugin_exit race for linux-user - fix a few bugs in cache modelling plugin - fix plugin calculation of physical address - handle pure assembler/linker tcg tests outside of docker - add tricore build to gitlab - remove superfluous MacOSX task - generalise the OpenBSI gitlab rules # gpg: Signature made Fri 23 Jul 2021 17:28:26 BST # gpg: using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44 # gpg: Good signature from "Alex Bennée (Master Work Key) <alex.bennee@linaro.org>" [full] # Primary key fingerprint: 6685 AE99 E751 67BC AFC8 DF35 FBD0 DB09 5A9E 2A44 * remotes/stsquad/tags/pull-for-6.1-rc1-230721-1: (28 commits) gitlab-ci: Extract OpenSBI job rules to reusable section gitlab-ci: Remove the second superfluous macos task gitlab: enable a very minimal build with the tricore container tests/tcg/configure.sh: add handling for assembler only builds plugins: Fix physical address calculation for IO regions plugins/cache: Fixed "function decl. is not a prototype" warnings plugins/cache: limited the scope of a mutex lock plugins/cache: Fixed a bug with destroying FIFO metadata tcg/plugins: implement a qemu_plugin_user_exit helper contrib/gitdm: add more individual contributor entries. contrib/gitdm: add a new interns group-map for GSoC/Outreachy work contrib/gitdm: add an explicit academic entry for BU contrib/gitdm: add group-map for Netflix contrib/gitdm: add domain-map for NVIDIA contrib/gitdm: add domain-map for Crudebyte contrib/gitdm: un-ironically add a mapping for LWN contrib/gitdm: add domain-map/group-map for Wind River contrib/gitdm: add domain-map for Eldorado contrib/gitdm: add domain-map/group-map mappings for Samsung gitdm.config: sort the corporate GroupMap entries ... Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
- Loading branch information
Showing
32 changed files
with
366 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,5 @@ GTAGS | |
*~ | ||
*.ast_raw | ||
*.depend_raw | ||
*.swp | ||
*.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,6 @@ cota@braap.org | |
uni-paderborn.de | ||
edu | ||
edu.cn | ||
|
||
# Boston University | ||
bu.edu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# | ||
# Group together everyone working as an intern via one of the various | ||
# outreach programs. | ||
# | ||
|
||
# GSoC 2020 Virtual FIDO/U2F security key | ||
cesar.belley@lse.epita.fr | ||
|
||
# GSoC 2020 TCG performance | ||
ahmedkhaledkaraman@gmail.com | ||
|
||
# GSoC 2021 TCG plugins | ||
ma.mandourr@gmail.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# | ||
# Netflix contributors using their personal emails | ||
# | ||
|
||
imp@bsdimp.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# | ||
# There are various automatic robots that occasionally scan and report | ||
# bugs. Let's group them together here. | ||
# | ||
|
||
# Euler Robot | ||
euler.robot@huawei.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.. _vhost_user_proto: | ||
|
||
=================== | ||
Vhost-user Protocol | ||
=================== | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
.. _device-emulation: | ||
|
||
Device Emulation | ||
---------------- | ||
|
||
QEMU supports the emulation of a large number of devices from | ||
peripherals such network cards and USB devices to integrated systems | ||
on a chip (SoCs). Configuration of these is often a source of | ||
confusion so it helps to have an understanding of some of the terms | ||
used to describes devices within QEMU. | ||
|
||
Common Terms | ||
~~~~~~~~~~~~ | ||
|
||
Device Front End | ||
================ | ||
|
||
A device front end is how a device is presented to the guest. The type | ||
of device presented should match the hardware that the guest operating | ||
system is expecting to see. All devices can be specified with the | ||
``--device`` command line option. Running QEMU with the command line | ||
options ``--device help`` will list all devices it is aware of. Using | ||
the command line ``--device foo,help`` will list the additional | ||
configuration options available for that device. | ||
|
||
A front end is often paired with a back end, which describes how the | ||
host's resources are used in the emulation. | ||
|
||
Device Buses | ||
============ | ||
|
||
Most devices will exist on a BUS of some sort. Depending on the | ||
machine model you choose (``-M foo``) a number of buses will have been | ||
automatically created. In most cases the BUS a device is attached to | ||
can be inferred, for example PCI devices are generally automatically | ||
allocated to the next free address of first PCI bus found. However in | ||
complicated configurations you can explicitly specify what bus | ||
(``bus=ID``) a device is attached to along with its address | ||
(``addr=N``). | ||
|
||
Some devices, for example a PCI SCSI host controller, will add an | ||
additional buses to the system that other devices can be attached to. | ||
A hypothetical chain of devices might look like: | ||
|
||
--device foo,bus=pci.0,addr=0,id=foo | ||
--device bar,bus=foo.0,addr=1,id=baz | ||
|
||
which would be a bar device (with the ID of baz) which is attached to | ||
the first foo bus (foo.0) at address 1. The foo device which provides | ||
that bus is itself is attached to the first PCI bus (pci.0). | ||
|
||
|
||
Device Back End | ||
=============== | ||
|
||
The back end describes how the data from the emulated device will be | ||
processed by QEMU. The configuration of the back end is usually | ||
specific to the class of device being emulated. For example serial | ||
devices will be backed by a ``--chardev`` which can redirect the data | ||
to a file or socket or some other system. Storage devices are handled | ||
by ``--blockdev`` which will specify how blocks are handled, for | ||
example being stored in a qcow2 file or accessing a raw host disk | ||
partition. Back ends can sometimes be stacked to implement features | ||
like snapshots. | ||
|
||
While the choice of back end is generally transparent to the guest, | ||
there are cases where features will not be reported to the guest if | ||
the back end is unable to support it. | ||
|
||
Device Pass Through | ||
=================== | ||
|
||
Device pass through is where the device is actually given access to | ||
the underlying hardware. This can be as simple as exposing a single | ||
USB device on the host system to the guest or dedicating a video card | ||
in a PCI slot to the exclusive use of the guest. | ||
|
||
|
||
Emulated Devices | ||
~~~~~~~~~~~~~~~~ | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
devices/ivshmem.rst | ||
devices/net.rst | ||
devices/nvme.rst | ||
devices/usb.rst | ||
devices/vhost-user.rst | ||
devices/virtio-pmem.rst |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.