]> Git Repo - linux.git/commit
vdpa: support exposing the config size to userspace
authorLongpeng <[email protected]>
Tue, 15 Mar 2022 03:25:51 +0000 (11:25 +0800)
committerMichael S. Tsirkin <[email protected]>
Mon, 28 Mar 2022 20:53:00 +0000 (16:53 -0400)
commita61280ddddaa45f95b60dd54c05f8e0e5b6810b7
treef31e76d3b574d121c152341b47e065d2b4f4d1ab
parentf1781bedea8cae7f26aa0f20a00017ab746d4d4c
vdpa: support exposing the config size to userspace

- GET_CONFIG_SIZE: return the size of the virtio config space.

The size contains the fields which are conditional on feature
bits.

Acked-by: Jason Wang <[email protected]>
Signed-off-by: Longpeng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Stefano Garzarella <[email protected]>
drivers/vhost/vdpa.c
include/linux/vdpa.h
include/uapi/linux/vhost.h
This page took 0.047832 seconds and 4 git commands to generate.