From Fedora Project Wiki

Description

This case verifies that the host can successfully suspend and resume while KVM guest(s) are operational.


How to test

First, verify that your host machine is able to suspend/resume by executing:

echo mem > /sys/power/state

Or your preferred method (closing the lid of your laptop, for instance).

If this works:

  1. start a KVM guest
  2. login in to it
  3. start your preferred stress application (eg: find /)
  4. attempt to suspend/resume the host while the stress application runs

Expected Results

  1. The running KVM guest should not interfere with the suspend/resume operation.
  2. In case of apparent problems, please once again confirm that your machine is able to suspend/resume without a KVM guest.