summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-06-09 15:21:33 +0100
committerRichard Jones <rjones@redhat.com>2009-06-09 15:21:33 +0100
commitfe491524cefd1ede281debbc128dab4ce26d7ab6 (patch)
tree90cec44fc8f9db9c2ba849644dfe6578ff6000a9
parent27161658c897544a58c7d4f87c08f2ee8ce08d43 (diff)
downloadlibguestfs-fe491524cefd1ede281debbc128dab4ce26d7ab6.tar.gz
libguestfs-fe491524cefd1ede281debbc128dab4ce26d7ab6.tar.xz
libguestfs-fe491524cefd1ede281debbc128dab4ce26d7ab6.zip
Added more to-do items to the list.
-rw-r--r--TODO44
1 files changed, 44 insertions, 0 deletions
diff --git a/TODO b/TODO
index 3264e3a0..0aeceb7a 100644
--- a/TODO
+++ b/TODO
@@ -49,6 +49,9 @@ Use virtio_blk by default. It's faster and more natural.
Unfortunately it seems like this will rename all devices - see next
item.
+Note: virtio_blk *IS* supported by all our minimum platforms,
+ie. CentOS 5.3, Fedora 11, Debian.
+
----------------------------------------------------------------------
"Device independent" naming for devices.
@@ -99,3 +102,44 @@ no harm):
-drive file=...,if=[ide|virtio],cache=off
cache=off is necessary to improve reliability in the
event of a system crash when writing.
+
+----------------------------------------------------------------------
+
+"Standalone/local mode"
+
+Instead of running guestfsd (the daemon) inside qemu, there should be
+an option to just run guestfsd directly.
+
+The architecture in this mode would look like:
+
+ +------------------+
+ | main program |
+ |------------------|
+ | libguestfs |
+ +--------^---------+
+ | | reply
+ cmd | |
+ +----v-------------+
+ | guestfsd |
+ +------------------+
+
+Notes:
+
+(1) This only makes sense if we are running as root.
+
+(2) There is no console / kernel messages in this configuration, but
+we might consider capturing stderr from the daemon.
+
+(3) guestfs_config and guestfs_add_drive become no-ops.
+
+Obviously in this configuration, commands are run directly on the
+local machine's disks. You could just run the commands themselves
+directly, but libguestfs provides a convenient API and language
+bindings. Also deals with tricky stuff like parsing the output of the
+LVM commands. Also we get to leverage other code such as
+virt-inspector.
+
+This is mainly useful from live CDs, ie. virt-p2v.
+
+Should we bother having the daemon at all and just link the guestfsd
+code directly into libguestfs?