ksm
element, which is a read-only element.
<host id="2ab5e1da-b726-4274-bbf7-0a42b16a0fc3" href="/rhevm-api/hosts/2ab5e1da-b726-4274-bbf7-0a42b16a0fc3"> <name>zig</name> <status>UP</status> ... <ksm>true</ksm> </host>
transparent_hugepages
element and updates with a PUT
request:
PUT /rhevm-api/hosts/2ab5e1da-b726-4274-bbf7-0a42b16a0fc3 HTTP/1.1 Accept: application/xml Content-Type: application/xml <host> <transparent_hugepages>true</transparent_hugepages> </host>
ksm
to the opposite status. For example, if transparent_hugepages
is set to true
, the API sets ksm
to false
.
<host id="2ab5e1da-b726-4274-bbf7-0a42b16a0fc3" href="/rhevm-api/hosts/2ab5e1da-b726-4274-bbf7-0a42b16a0fc3"> <name>zig</name> <status>UP</status> ... <transparent_hugepages>true</transparent_hugepages> <ksm>false</ksm> </host>
transparent_hugepages
is set to false
, the API sets ksm
to true
.
<host id="2ab5e1da-b726-4274-bbf7-0a42b16a0fc3" href="/rhevm-api/hosts/2ab5e1da-b726-4274-bbf7-0a42b16a0fc3"> <name>zig</name> <status>UP</status> ... <transparent_hugepages>false</transparent_hugepages> <ksm>true</ksm> </host>
capabilities
collection. See Section 7.1.2, “Features”.