[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Update doc-comments.
# HG changeset patch # User Ewan Mellor <ewan@xxxxxxxxxxxxx> # Date 1170075198 0 # Node ID 090079c988d190e94f02f9c38a76128837df64c6 # Parent 66dda30190a2a9ac705166784871971cf3f4c1ad Update doc-comments. Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> --- tools/libxen/include/xen_vm.h | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff -r 66dda30190a2 -r 090079c988d1 tools/libxen/include/xen_vm.h --- a/tools/libxen/include/xen_vm.h Mon Jan 29 12:19:40 2007 +0000 +++ b/tools/libxen/include/xen_vm.h Mon Jan 29 12:53:18 2007 +0000 @@ -51,7 +51,10 @@ * PV/ramdisk, PV/args and PV/bootloader_args will be passed to the bootloader * unmodified, and interpretation of those fields is then specific to the * bootloader itself, including the possibility that the bootloader will - * ignore some or all of those given values. + * ignore some or all of those given values. Finally the paths of all bootable + * disks are added to the bootloader commandline (a disk is bootable if its + * VBD has the bootable flag set). There may be zero, one or many bootable + * disks; the bootloader decides which disk (if any) to boot from. * * If the bootloader is pygrub, then the menu.lst is parsed if present in the * guest's filesystem, otherwise the specified kernel and ramdisk are used, or @@ -846,6 +849,8 @@ xen_vm_unpause(xen_session *session, xen * * Once shutdown has been completed perform poweroff action specified in guest * configuration. + * + * This can only be called when the specified VM is in the Running state. */ extern bool xen_vm_clean_shutdown(xen_session *session, xen_vm vm); @@ -857,6 +862,8 @@ xen_vm_clean_shutdown(xen_session *sessi * * Once shutdown has been completed perform reboot action specified in guest * configuration. + * + * This can only be called when the specified VM is in the Running state. */ extern bool xen_vm_clean_reboot(xen_session *session, xen_vm vm); @@ -879,14 +886,16 @@ xen_vm_hard_reboot(xen_session *session, /** - * Suspend the specified VM to disk. + * Suspend the specified VM to disk. This can only be called when the + * specified VM is in the Running state. */ extern bool xen_vm_suspend(xen_session *session, xen_vm vm); /** - * Awaken the specified VM and resume it. + * Awaken the specified VM and resume it. This can only be called when + * the specified VM is in the Suspended state. */ extern bool xen_vm_resume(xen_session *session, xen_vm vm, bool start_paused); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |