|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] libxl: fix comment regarding bootloader disk lifetime
# HG changeset patch
# User Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
# Date 1343234357 -3600
# Node ID 50bc30bafbce95ae046c0a06d88968989bf5728a
# Parent b0d31b81aa588ef712cfbc6c8e4531082b2e26cd
libxl: fix comment regarding bootloader disk lifetime
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
diff -r b0d31b81aa58 -r 50bc30bafbce tools/libxl/libxl_internal.h
--- a/tools/libxl/libxl_internal.h Wed Jul 25 17:39:17 2012 +0100
+++ b/tools/libxl/libxl_internal.h Wed Jul 25 17:39:17 2012 +0100
@@ -2133,9 +2133,11 @@ struct libxl__bootloader_state {
/* Should be zeroed by caller on entry. Will be filled in by
* bootloader machinery; represents the local attachment of the
* disk for the benefit of the bootloader. Must be detached by
- * the caller using libxl__device_disk_local_detach, but only
- * after the domain's kernel and initramfs have been loaded into
- * memory and the file references disposed of. */
+ * the caller using libxl__device_disk_local_detach.
+ * (This is safe to do after ->callback() has happened since
+ * the domain's kernel and initramfs will have been copied
+ * out of the guest's disk into a temporary directory, mapped
+ * as file references, and deleted. */
libxl_device_disk localdisk;
uint32_t domid;
/* outputs:
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |