The capabilities XML uses the x86 specific terms 'S3', 'S4'
and 'Hybrid-Syspend'. Switch it to use the same terminology
as the API constants and virsh options, eg 'suspend_mem'
'suspend_disk' and 'suspend_hybrid'
* docs/formatcaps.html.in, docs/schemas/capability.rng,
src/conf/capabilities.c: Rename suspend constants
...
</cpu>
<power_management>
- <S3/>
- <S4/>
- <Hybrid-Suspend/>
+ <suspend_mem/>
+ <suspend_disk/>
+ <suspend_hybrid/>
<power_management/>
</host></span>
<element name='power_management'>
<interleave>
<optional>
- <element name='S3'>
+ <element name='suspend_mem'>
<empty/>
</element>
</optional>
<optional>
- <element name='S4'>
+ <element name='suspend_disk'>
<empty/>
</element>
</optional>
<optional>
- <element name='Hybrid-Suspend'>
+ <element name='suspend_hybrid'>
<empty/>
</element>
</optional>
#define VIR_FROM_THIS VIR_FROM_CAPABILITIES
VIR_ENUM_IMPL(virHostPMCapability, VIR_NODE_SUSPEND_TARGET_LAST,
- "S3", "S4", "Hybrid-Suspend")
+ "suspend_mem", "suspend_disk", "suspend_hybrid");
/**
* virCapabilitiesNew: