direct-io.hg

diff tools/libxc/xenctrl.h @ 14160:270a5e2ead43

Let xend choose to do hard or soft domain resumption depending on
whether the domain advertises support for soft resumption in its
elfnotes.

Signed-off-by: Brendan Cully <brendan@kublai.com>
author kfraser@localhost.localdomain
date Wed Feb 28 09:39:03 2007 +0000 (2007-02-28)
parents 3dac99b6034e
children f40b13ed0e05
line diff
     1.1 --- a/tools/libxc/xenctrl.h	Wed Feb 28 09:38:14 2007 +0000
     1.2 +++ b/tools/libxc/xenctrl.h	Wed Feb 28 09:39:03 2007 +0000
     1.3 @@ -243,10 +243,12 @@ int xc_domain_destroy(int xc_handle,
     1.4   *
     1.5   * @parm xc_handle a handle to an open hypervisor interface
     1.6   * @parm domid the domain id to resume
     1.7 + * @parm fast use cooperative resume (guest must support this)
     1.8   * return 0 on success, -1 on failure
     1.9   */
    1.10  int xc_domain_resume(int xc_handle,
    1.11 -                      uint32_t domid);
    1.12 +		     uint32_t domid,
    1.13 +		     int fast);
    1.14  
    1.15  /**
    1.16   * This function will shutdown a domain. This is intended for use in