RFC: proposal for VM reset & shutdown hcall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For the e500 PV platform we need a VM reset and shutdown mechanisms.

------------------------------------------------------------------------
Hypercall: KVM_HC_VM_RESET
Description:  Requests that the virtual machine be reset.  The
              hcall takes no arguments. If successful the hcall does not
              return.

Arguments:
     r11    hcall-token   KVM_HC_VM_RESET

Return values
     r3     status        Status of the hcall.  If the hcall succeeds
                          it does not return.  If an error occurs
                          EV_INTERNAL is returned.
------------------------------------------------------------------------
Hypercall: KVM_HC_VM_SHUTDOWN
Description:  Requests that the virtual machine be powered-off/halted.
              The hcall takes no arguments. If successful the hcall does not
              return.

Arguments:
     r11    hcall-token   KVM_HC_VM_SHUTDOWN

Return values
     r3     status        Status of the hcall.  If the hcall succeeds
                          it does not return.  If an error occurs
                          EV_INTERNAL is returned.
------------------------------------------------------------------------

Implementation notes:

   -expect hcall token to be defined with KVM_HCALL_TOKEN:
       KVM_HC_VM_RESET
       KVM_HC_VM_SHUTDOWN

   -the KVM_HC_FEATURES hcall should be expanded with new feature bits
    to advertise both new hcalls to the VM: e.g.  #define KVM_FEATURE_VM_RESET


Regards,
Stuart


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux