vm.txt 782 B

1234567891011121314151617181920212223242526
  1. Generic vm interface
  2. ====================================
  3. The virtual machine "device" also accepts the ioctls KVM_SET_DEVICE_ATTR,
  4. KVM_GET_DEVICE_ATTR, and KVM_HAS_DEVICE_ATTR. The interface uses the same
  5. struct kvm_device_attr as other devices, but targets VM-wide settings
  6. and controls.
  7. The groups and attributes per virtual machine, if any, are architecture
  8. specific.
  9. 1. GROUP: KVM_S390_VM_MEM_CTRL
  10. Architectures: s390
  11. 1.1. ATTRIBUTE: KVM_S390_VM_MEM_CTRL
  12. Parameters: none
  13. Returns: -EBUSY if already a vcpus is defined, otherwise 0
  14. Enables CMMA for the virtual machine
  15. 1.2. ATTRIBUTE: KVM_S390_VM_CLR_CMMA
  16. Parameteres: none
  17. Returns: 0
  18. Clear the CMMA status for all guest pages, so any pages the guest marked
  19. as unused are again used any may not be reclaimed by the host.