14.8.3. 挂起正在运行的域
virsh dompmsuspend domain
--duration
--target
命令将取一个正在运行的域并暂停,因此可将其置于三个可能的状态之一(S3、S4 或两者的混合)。
virsh dompmsuspend rhel6 --duration 100 --target mem
# virsh dompmsuspend rhel6 --duration 100 --target mem
这个命令会采用以下选项:
--duration
- 设置状态更改的时间(以秒为单位)--target
- 可以是mem(suspend to RAM(S3))
磁盘(suspend to disk(S4))
,或混合(混合云暂停)