summaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-06-08 15:46:23 +0100
committerRichard Jones <rjones@redhat.com>2009-06-08 15:46:23 +0100
commit3496c6c3dfb5ef4ab93f6aae86512665a37b23cf (patch)
treef44a6f02d74766097ea91946afa724633f260c67 /TODO
parentfa8cb5dac284bf463677380e5ef55370f447d870 (diff)
downloadlibguestfs-3496c6c3dfb5ef4ab93f6aae86512665a37b23cf.tar.gz
libguestfs-3496c6c3dfb5ef4ab93f6aae86512665a37b23cf.tar.xz
libguestfs-3496c6c3dfb5ef4ab93f6aae86512665a37b23cf.zip
More TODO items.
Diffstat (limited to 'TODO')
-rw-r--r--TODO44
1 files changed, 44 insertions, 0 deletions
diff --git a/TODO b/TODO
index 32a782c9..f3ee6791 100644
--- a/TODO
+++ b/TODO
@@ -40,3 +40,47 @@ For virt-inspector:
- Make a libvirt XML config
- Test over available OSes
+
+ - Add 'reged' / NT registry support.
+
+----------------------------------------------------------------------
+
+Use virtio_blk by default. It's faster and more natural.
+Unfortunately it seems like this will rename all devices - see next
+item.
+
+----------------------------------------------------------------------
+
+"Device independent" naming for devices.
+
+With a Fedora-based appliance, using libata driver, devices have
+"SCSI" names like /dev/sda.
+
+With an EPEL-based appliance, using old ide driver, devices have names
+like /dev/hda.
+
+If we use virtio_blk, devices will have names like /dev/vda.
+
+What a mess.
+
+So the idea would be to add a device independent naming scheme, such
+as the one used by grub:
+
+ "(hdX)" X = 0 means 'a', X = 1 means 'b' and so on.
+ "(hdX,Y)" Device X, partition Y (in grub, this counts from 0 which is
+ deeply confusing).
+
+There would have to be a very simple rule. If guestfsd was expecting
+a /dev block device or partition name, then the alternate form can be
+used, and we would just look it up using the normal output of
+guestfs_list_devices.
+
+Maybe best is to use /dev/sda as the "standard" naming. That
+shouldn't cause conflicts in the appliance because we tightly control
+what drivers are available.
+
+Note there's a lot of hackery that currently exists in tests.c which
+could be *removed* if we made this change.
+
+Open: Should the substitution be done in the library layer or in the
+daemon?