KVM超级调用创新
来宾操作系统如何从其用户空间调用超级调用,以便被主机捕获?
超级调用 API 没有(至少对我自己而言)提供足够的详细信息,以便能够开始使用寄存器将信息传递给主机。
我想要具体的代码示例,了解如何使用需要设置的寄存器值来执行此操作,以及如何在主机端捕获和修改陷阱
*而不是 virtio_serial 函数
how would the guest OS invoke a hypercall from its user space such that it can be trapped by the host?
the hypercall API does not (at least for myself) give sufficient detail to be able to start using the registers for information passing to the host.
i would like specific code samples for how to do this with the register values that need to be set as well as how the trap can be caught and modified on the host side
*not the virtio_serial functions
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论