-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to let cloud-hypervisror communicate with the vhost RNG daemon #331
Comments
@mathieupoirier inputs ? |
This looks like a problem on the cloud hypervisor side but you can run the daemon with:
and you might get a bit more information on what is failing. |
I have no background or context on this. I will look into it in the coming
days.
…On Fri, 26 May 2023 at 04:57, Viresh Kumar ***@***.***> wrote:
@mathieupoirier <https://github.com/mathieupoirier> inputs ?
—
Reply to this email directly, view it on GitHub
<#331 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAELPW7I4Z77AHGX6EAPSHLXICEAPANCNFSM6AAAAAAXINNZCI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@wangchao-sh What is "ch-remote"? Can you provide more information on it? As @stsquad mentionned, it seems to be a problem related to cloud-hypervisor. It could also be an issue with priviliges. I'm afraid not much can be done with the information currently provided. |
@wangchao-sh ping Do you still have this problem or can we close this issue? |
start rng backend daemon:
#vhost-device-rng --socket-path=/tmp/rng.sock -c 1 -m 512 -p 1000
use ch-remote to let running cloud-hyperviosr communicate with the rng daemon:
# ch-remote --api-socket /work/run/clh.sock add-user-device socket=/tmp/rng.sock0,id=rng0 Error running command: Server responded with an error: InternalServerError: ApiError(VmAddUserDevice(DeviceManager(VfioUserCreateClient(StreamRead(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })))))
# ch-remote --api-socket /work/run/clh.sock add-device socket=/tmp/rng.sock0,id=rng0 Error running command: Error parsing device syntax: Error parsing --device: unknown option: socket
The error occurs when using the add-device or add-user-device parameter.
The text was updated successfully, but these errors were encountered: