Bug 2000213 - RFE: detect virtiofsd and other vhost-user programs via vhost-user JSON metadata
Summary: RFE: detect virtiofsd and other vhost-user programs via vhost-user JSON metadata
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: sandboxed-containers
Version: 4.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Ariel Adam
QA Contact: Cameron Meadors
URL:
Whiteboard:
Depends On: 1997279
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-01 15:13 UTC by Stefan Hajnoczi
Modified: 2023-03-09 01:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-09 01:06:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker KATA-1000 0 None None None 2021-09-01 18:49:49 UTC

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


Note You need to log in before you can comment on or make changes to this bug.