mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging
virtio,acpi: features, fixes, cleanups. vdpa support virtio-mem support a handy script for disassembling acpi tables misc fixes and cleanups Signed-off-by: Michael S. Tsirkin <mst@redhat.com> # gpg: Signature made Tue 07 Jul 2020 13:00:35 BST # gpg: using RSA key 5D09FD0871C8F85B94CA8A0D281F0DB8D28D5469 # gpg: issuer "mst@redhat.com" # gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>" [full] # gpg: aka "Michael S. Tsirkin <mst@redhat.com>" [full] # Primary key fingerprint: 0270 606B 6F3C DF3D 0B17 0970 C350 3912 AFBE 8E67 # Subkey fingerprint: 5D09 FD08 71C8 F85B 94CA 8A0D 281F 0DB8 D28D 5469 * remotes/mst/tags/for_upstream: (41 commits) vhost-vdpa: introduce vhost-vdpa net client vhost-vdpa: introduce vhost-vdpa backend vhost_net: introduce set_config & get_config vhost: implement vhost_force_iommu method vhost: introduce new VhostOps vhost_force_iommu vhost: implement vhost_vq_get_addr method vhost: introduce new VhostOps vhost_vq_get_addr vhost: implement vhost_dev_start method vhost: introduce new VhostOps vhost_dev_start vhost: check the existence of vhost_set_iotlb_callback virtio-pci: implement queue_enabled method virtio-bus: introduce queue_enabled method vhost_net: use the function qemu_get_peer net: introduce qemu_get_peer MAINTAINERS: add VT-d entry docs: vhost-user: add Virtio status protocol feature tests/acpi: remove stale allowed tables numa: Auto-enable NUMA when any memory devices are possible virtio-mem: Exclude unplugged memory during migration virtio-mem: Add trace events ... Signed-off-by: Peter Maydell <peter.maydell@linaro.org> # Conflicts: # hw/arm/virt.c # hw/virtio/trace-events
This commit is contained in:
@@ -20,3 +20,4 @@ Contents:
|
||||
qemu-ga
|
||||
vhost-user
|
||||
vhost-user-gpu
|
||||
vhost-vdpa
|
||||
|
||||
@@ -816,6 +816,7 @@ Protocol features
|
||||
#define VHOST_USER_PROTOCOL_F_RESET_DEVICE 13
|
||||
#define VHOST_USER_PROTOCOL_F_INBAND_NOTIFICATIONS 14
|
||||
#define VHOST_USER_PROTOCOL_F_CONFIGURE_MEM_SLOTS 15
|
||||
#define VHOST_USER_PROTOCOL_F_STATUS 16
|
||||
|
||||
Master message types
|
||||
--------------------
|
||||
@@ -1307,6 +1308,29 @@ Master message types
|
||||
``VHOST_USER_ADD_MEM_REG`` message, this message is used to set and
|
||||
update the memory tables of the slave device.
|
||||
|
||||
``VHOST_USER_SET_STATUS``
|
||||
:id: 39
|
||||
:equivalent ioctl: VHOST_VDPA_SET_STATUS
|
||||
:slave payload: N/A
|
||||
:master payload: ``u64``
|
||||
|
||||
When the ``VHOST_USER_PROTOCOL_F_STATUS`` protocol feature has been
|
||||
successfully negotiated, this message is submitted by the master to
|
||||
notify the backend with updated device status as defined in the Virtio
|
||||
specification.
|
||||
|
||||
``VHOST_USER_GET_STATUS``
|
||||
:id: 40
|
||||
:equivalent ioctl: VHOST_VDPA_GET_STATUS
|
||||
:slave payload: ``u64``
|
||||
:master payload: N/A
|
||||
|
||||
When the ``VHOST_USER_PROTOCOL_F_STATUS`` protocol feature has been
|
||||
successfully negotiated, this message is submitted by the master to
|
||||
query the backend for its device status as defined in the Virtio
|
||||
specification.
|
||||
|
||||
|
||||
Slave message types
|
||||
-------------------
|
||||
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
=====================
|
||||
Vhost-vdpa Protocol
|
||||
=====================
|
||||
|
||||
Introduction
|
||||
=============
|
||||
vDPA(Virtual data path acceleration) device is a device that uses
|
||||
a datapath which complies with the virtio specifications with vendor
|
||||
specific control path. vDPA devices can be both physically located on
|
||||
the hardware or emulated by software.
|
||||
|
||||
This document describes the vDPA support in qemu
|
||||
|
||||
Here is the kernel commit here
|
||||
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4c8cf31885f69e86be0b5b9e6677a26797365e1d
|
||||
|
||||
TODO : More information will add later
|
||||
Reference in New Issue
Block a user