Introduce ipmi device emulations via qemu/virsh cmd line for the power management of the hypervisor

Introduce ipmi device emulations for the power management of the hypervisor

I. IPMI (intelligent platform maintenance interface)

II. Use the qemu & virsh command line as the "startcmd" parameter for IPMI emulations
1. for qemu command line
- Supported qemu version: at least from qemu v2.2
- How to define:
   #1 Create a BMC, normally done from ipmi_sim
   #1.1 for internal: basic BMC inside qemu, like watchdog timer.
   -device ipmi-bmc-sim,id=bmc0
   #or 1.2 for external: connects to an external BMC over a chardev, like power
   #management, watchdog timer, set sensor value.
   #(need to install OpenIPMI in the hypervisor)
   -chardev socket,id=ipmi0,host=localhost,port=9002,reconnect=10 \
   -device ipmi-bmc-extern,id=bmc1,chardev=ipmi0 \
   #2 Attach the BMC to an interface
   -device isa-ipmi-kcs,bmc=bmc1 \
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值