All of lore.kernel.org
 help / color / mirror / Atom feed
* RFC: proposal for VM reset & shutdown hcall
@ 2013-07-01 21:59 Yoder Stuart-B08248
  2013-07-01 22:13   ` Alexander Graf
  0 siblings, 1 reply; 33+ messages in thread
From: Yoder Stuart-B08248 @ 2013-07-01 21:59 UTC (permalink / raw)
  To: Bhushan Bharat-R65777, Alexander Graf, Wood Scott-B07421
  Cc: kvm@vger.kernel.org

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



^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2013-07-02 22:19 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-01 21:59 RFC: proposal for VM reset & shutdown hcall Yoder Stuart-B08248
2013-07-01 22:13 ` Alexander Graf
2013-07-01 22:13   ` Alexander Graf
2013-07-01 22:59   ` Yoder Stuart-B08248
2013-07-01 22:59     ` Yoder Stuart-B08248
2013-07-01 23:01     ` Alexander Graf
2013-07-01 23:01       ` Alexander Graf
2013-07-01 23:05       ` Yoder Stuart-B08248
2013-07-01 23:05         ` Yoder Stuart-B08248
2013-07-01 23:09         ` Scott Wood
2013-07-01 23:09           ` Scott Wood
2013-07-01 23:12           ` Alexander Graf
2013-07-01 23:12             ` Alexander Graf
2013-07-01 23:11         ` Alexander Graf
2013-07-01 23:11           ` Alexander Graf
2013-07-01 23:02   ` Yoder Stuart-B08248
2013-07-01 23:02     ` Yoder Stuart-B08248
2013-07-02 15:07   ` RFC: proposal for VM reset & shutdown hcall (v2) Yoder Stuart-B08248
2013-07-02 15:07     ` Yoder Stuart-B08248
2013-07-02 15:23     ` Alexander Graf
2013-07-02 15:23       ` Alexander Graf
2013-07-02 15:33       ` Yoder Stuart-B08248
2013-07-02 15:33         ` Yoder Stuart-B08248
2013-07-02 16:56         ` Scott Wood
2013-07-02 16:56           ` Scott Wood
2013-07-02 19:11           ` Yoder Stuart-B08248
2013-07-02 19:11             ` Yoder Stuart-B08248
2013-07-02 22:08   ` RFC: proposal for VM reset & shutdown hcall (v3) Yoder Stuart-B08248
2013-07-02 22:08     ` Yoder Stuart-B08248
2013-07-02 22:13     ` Scott Wood
2013-07-02 22:13       ` Scott Wood
2013-07-02 22:19       ` Alexander Graf
2013-07-02 22:19         ` Alexander Graf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.