<feature>

Adds or removes a CPU feature in a CPU model specification.

Text content

None.

Selected attributes

name
Specifies one of the features as shown in the output of the qemu-system-s390x -cpu help command.
policy= require | disable
require
Adds the feature to the CPU definition specified with the name attribute.
disable
Removes the feature from the CPU definition specified with the name attribute.

Usage

Configuring the CPU model

Parent elements

<cpu>

Child elements

None.

Example

This example uses the default for CPU model z14 as a starting point, but removes the iep feature:
<cpu mode="custom">
  <model>z14</model>
  <feature name="iep" policy="disable"/>
</cpu>