You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how would i go about sending input to rvvm in a way that is not interactive ?
as i tried printf ... | rvvm ... but it does not seem to work
and rvvm -serial file.txt just results in the serial output being written to the file with nothing actually inputting to the console serial (eg # shell )
might be related to how trying to type stuff before the kernel boots the # shell does not result in anything being sent to the shell (or stuff being partially sent)
for example, for simple automated boot up power down test printf "poweroff\n" | rvvm ...
this would also include sending mouse input to a running rvvm instance, eg to forward mouse events from the host to the guest
The text was updated successfully, but these errors were encountered:
ZLangJIT
changed the title
rvvm serial console external/programatic input
rvvm serial console external/programmatic input (docker --command like input - send input to running rvvm instance)
Sep 23, 2024
ZLangJIT
changed the title
rvvm serial console external/programmatic input (docker --command like input - send input to running rvvm instance)
rvvm serial console external/programmatic input (send input to running rvvm instance)
Sep 23, 2024
ZLangJIT
changed the title
rvvm serial console external/programmatic input (send input to running rvvm instance)
rvvm serial console external/programmatic input (send input to running a rvvm instance)
Sep 23, 2024
ZLangJIT
changed the title
rvvm serial console external/programmatic input (send input to running a rvvm instance)
rvvm serial console external/programmatic input (send input to a running rvvm instance)
Sep 23, 2024
ZLangJIT
changed the title
rvvm serial console external/programmatic input (send input to a running rvvm instance)
(automation/scripting) rvvm serial console external/programmatic input (send input to a running rvvm instance)
Sep 23, 2024
ZLangJIT
changed the title
(automation/scripting) rvvm serial console external/programmatic input (send input to a running rvvm instance)
(automation/scripting/CI) rvvm serial console external/programmatic input (send input to a running rvvm instance)
Sep 23, 2024
ZLangJIT
changed the title
(automation/scripting/CI) rvvm serial console external/programmatic input (send input to a running rvvm instance)
(automation/scripting/CI) rvvm external/programmatic input (send input to a running rvvm instance)
Sep 23, 2024
as i tried printf ... | rvvm ... but it does not seem to work
It might have worked, but this input is likely eaten and ignored by the kernel on some earlier boot stages.
Also rvvm -serial expects a path to pipe file, not a usual file. So you actually need to create a pipe file, then try to write into it from script AFTER the guest have booted... Yeah you are better off using in-guest scripts or using librvvm API instead.
how would i go about sending input to rvvm in a way that is not interactive ?
as i tried
printf ... | rvvm ...
but it does not seem to workand
rvvm -serial file.txt
just results in the serial output being written to the file with nothing actually inputting to the console serial (eg # shell )might be related to how trying to type stuff before the kernel boots the
#
shell does not result in anything being sent to the shell (or stuff being partially sent)for example, for simple automated boot up power down test
printf "poweroff\n" | rvvm ...
this would also include sending mouse input to a running rvvm instance, eg to forward mouse events from the host to the guest
The text was updated successfully, but these errors were encountered: