intel / meta-acrn

Layer to integrate the ACRN hypervisor with the Yocto Project.
http://projectacrn.org/
MIT License
21 stars 40 forks source link

Kernel: Enable vsock kernel config in Service VM #468

Closed wenlingz closed 2 years ago

wenlingz commented 2 years ago

kernel: Enable vsock kernel config in Service VM

Signed-off-by: wenlingz wenling.zhang@intel.com

gvancuts commented 2 years ago

On a separate note, could we rename these config fragment files to use user_vm and service_vm instead of uos and sos?

wenlingz commented 2 years ago

@saininav please help review and merge it, thanks

saininav commented 2 years ago

Below configurations are already being enabled in Yocto build, for both SOS and Guest OS https://git.yoctoproject.org/yocto-kernel-cache/tree/cfg/virtio.cfg?h=yocto-5.10#n15

CONFIG_VSOCKETS=y CONFIG_VSOCKETS_DIAG=y CONFIG_VIRTIO_VSOCKETS=y CONFIG_VIRTIO_VSOCKETS_COMMON=y

saininav commented 2 years ago

I can see only missing configuration is CONFIG_VHOST_VSOCK.

Can you update your PR for this only !

saininav commented 2 years ago

On a separate note, could we rename these config fragment files to use user_vm and service_vm instead of uos and sos?

@gvancuts Sure, I will raise new PR for this modification !