OpenBSD 的 virsh 关闭 (libvirt/kvm)
是否可以正确关闭 openbsd 4.7 或 4.9
virsh shutdown OpenBSD
openbsd 位于从 libvirt 配置的 kvm/qemu 下。
shutdown 应该发送一个 ACPI 信号“按下电源按钮”,但我的 openbsd guest 对此没有反应。
另外,我可以配置 OpenBSD 在执行 halt
时真正关闭虚拟机的电源吗?现在它会要求控制台用户“按任意键重新启动”并且不要关闭电源。
Is it possible to correctly shutdown a openbsd 4.7 or 4.9 with
virsh shutdown OpenBSD
The openbsd is under kvm/qemu configured from libvirt.
shutdown should send an ACPI signal "Power button pressed", but my openbsd guest does not react to this.
Also, can I configure OpenBSD to really turn off power of virtual machine when doing halt
? Now it asks user from console "press any key to reboot" and don't switch power off.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
你尝试了吗?
我在我的 openbsd 机器上这样做了,通过 ssh 登录,它工作得很好。机器已关闭,virsh 也显示了这一点。
希望有帮助。
did you try?
I did that in my openbsd machine, logged through ssh and it works fine. The machine is shutdown and virsh shows that too.
Hope it helps.
您可以在操作系统停止后使用“halt -p”关闭虚拟机电源。
我无法让 OpenBSD 4.7 或 4.9 响应 Ubuntu Jaunty (9.04) 附带的 KVM/QEMU 上的 ACPI 信号。
You can use "halt -p" to power down the VM after the OS is halted.
I have not been able to get OpenBSD 4.7 or 4.9 to respond to ACPI signals on KVM/QEMU that ships with Ubuntu Jaunty (9.04).
OpenBSD 中既没有 paravirt 驱动程序,也没有代理(qemu 来宾代理)。但请参阅 acpibtn(4),它指出是否通过
sysctl< 设置值/code> 它会对 acpi 调用做出反应。
There's neither paravirt driver nor agent (qemu guest agent) in OpenBSD. But see acpibtn(4), it states if a value is set via
sysctl
it would react to acpi call.