Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2000213

Summary: RFE: detect virtiofsd and other vhost-user programs via vhost-user JSON metadata
Product: OpenShift Container Platform Reporter: Stefan Hajnoczi <stefanha>
Component: sandboxed-containersAssignee: Ariel Adam <aadam>
Status: CLOSED DEFERRED QA Contact: Cameron Meadors <cmeadors>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.9CC: smitterl, xiagao
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-09 01:06:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1997279    
Bug Blocks:    

Description Stefan Hajnoczi 2021-09-01 15:13:34 UTC
There is a standard vhost-user JSON metadata format and file system location where vhost-user programs register themselves. kata-runtime does not use this information yet, relying on file system paths in configuration.toml instead.

It would be helpful to automatically detect the virtiofsd program using the standard vhost-user JSON metadata. This way Kata Containers and downstream packages don't need to hardcode file system paths. It will also be possible support multiple virtiofsd packages without local changes to configuration.toml (whichever virtiofsd implementation is installed will be used automatically).

The vhost-user JSON metadata format is documented here:
https://gitlab.com/qemu-project/qemu/-/blob/master/docs/interop/vhost-user.rst#id36

Libvirt implements the vhost-user JSON metadata format if you would like to look at an example implementation.

Comment 2 Shiftzilla 2023-03-09 01:06:32 UTC
OpenShift has moved to Jira for its defect tracking! This bug can now be found in the OCPBUGS project in Jira.

https://issues.redhat.com/browse/OCPBUGS-8965