qemu guest automation

前端 未结 8 882
生来不讨喜
生来不讨喜 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:29

    The QEMU Monitor can interact with guest systems to a limited extent using it's own console. This includes reading registers, controlling the mouse/keyboard, and getting screen dumps. There is a QEMU Monitor Protocol (QMP) that let's you pass JSON commands to and read values from the guest system.

提交回复
热议问题