Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

8.12. 虚拟机电源管理

通过更改 Libvirt 的 Domain XML 中的以下参数,可以强制启用或禁用到客户端虚拟机的 BIOS 公告:
...
  <pm>
    <suspend-to-disk enabled='no'/>
    <suspend-to-mem enabled='yes'/>
  </pm>
  ...
元素 pm 启用(是'yes)或禁用('no')对 S3(暂停到磁盘)和 S4(暂停到内存)的 BIOS 支持。如果未指定任何内容,则管理程序将保留为默认值。