qemu guest automation

前端 未结 8 876
生来不讨喜
生来不讨喜 2021-02-09 02:39

I\'ve not been able to find any documentation stating the existence of an API that can be used to automate things inside of a qemu guest.

For example, I would like to la

8条回答
  •  野的像风
    2021-02-09 03:41

    If you're running Linux in the guest, couldn't you just use ssh/screen to launch remote processes on the guest?

    Alternatively, I have seen people write python wrappers that use popen() to grab stdin/stdout and use those to automate some commands (i.e. when you see the login prompt, send the login name to stdin of QEMU.

提交回复
热议问题