aboutsummaryrefslogtreecommitdiffstats
path: root/commands.tex
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-11-25 13:41:42 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-12-05 09:34:59 +0100
commit299999ba9bc14a7567307ff55c202012504dfedb (patch)
tree414ff7f3cbcde8b18fffebe27dcbad25d762ffe6 /commands.tex
parent63a7f2e9180b98bd1cdc1dacadd99e4baee75510 (diff)
downloadvirtio-spec-299999ba9bc14a7567307ff55c202012504dfedb.tar.gz
virtio-gpu: add shared resource feature
This patch adds a new virtio feature for shared resources. Shared resources are allocated by the guest from normal ram, like traditional resources. They can be used by the guest almost like traditional resources, the only exception is that shared resources can only be used with backing storage attached (the linux driver does that anyway so the workflow doesn't change). The host can map these resources and use them directly (using udmabuf), so any guest changes to these resources can be visible on the host without explicit transfer request. Transfer requests are still needed though as the host might still have syncronize the resource, for example in case importing the udmabuf failed for some reason. guest/host interface: Two new commands are added to create 2D and 3D shared resources. They work exactly like the non-shared counterparts. qemu patches: https://git.kraxel.org/cgit/qemu/log/?h=sirius/virtio-gpu-feature-shared linux patches: https://git.kraxel.org/cgit/linux/log/?h=drm-virtio-feature-shared Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'commands.tex')
0 files changed, 0 insertions, 0 deletions