ACRN: DM: Implement the vhost vsock

This patch supports the user space logic of vhost vsock which
is majorly for its initialization phase.

Tracked-On: #7456
Signed-off-by: Liu Long <long.liu@linux.intel.com>
Reviewed-by: Conghui <conghui.chen@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com>
This commit is contained in:
Liu Long
2022-05-11 14:11:16 +08:00
committed by acrnsi-robot
parent 231f986bd9
commit 46e41390b5
4 changed files with 396 additions and 0 deletions

View File

@@ -221,6 +221,7 @@ enum {
#define VIRTIO_DEV_CONSOLE 0x1003
#define VIRTIO_DEV_RANDOM 0x1005
#define VIRTIO_DEV_GPU 0x1050
#define VIRTIO_DEV_VSOCK 0x1053
/*
* ACRN virtio device IDs