----------------------------------------------------------------------
-Practically, resizing the partitions when a block device is resized
-isn't possible. So for example it's not possible to resize a Fedora
-block device. If you try to use sfdisk-N to change the boundaries of
-the existing partition to fill up the new space, you get an error that
-the partition is in use.
-
-The reason, I now think, is because LVM is using the partition as a
-PV, and this locks it as far as the kernel is concerned.
-
-Removing the PV [which is what we do in the test suite] isn't
-desirable if the PV contains data you care about. Rebooting the qemu
-subprocess after the partition table change works, but isn't very
-cool. I believe what we need to do is to temporarily reconfigure LVM
-(using /etc/lvm/lvm.conf) to ignore the PV, vgscan (which will then
-ignore the PV), make the changes to the partition table, then set the
-LVM configuration back and do a final vgscan.
-
-Need to test the above, and find a nice way to present it through
-the API.
+Complete the bindings tests - must test the return values and
+error cases.
+
+----------------------------------------------------------------------
+
+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?
+
+----------------------------------------------------------------------
+
+Qemu options -- After discussion with the KVM developers, they have
+recommended some flags which will improve the safety and reliability
+of KVM. Need to test that these also work under qemu (or at least, do
+no harm):
+
+-no-hpet HPET support is broken and should be disabled.
+
+-rtc-td-hack Keeps the rtc clock source track time correctly.
+
+-drive file=...,if=[ide|virtio],cache=off
+ cache=off is necessary to improve reliability in the
+ event of a system crash when writing.