X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=TODO;h=e9716f23d4ce1edbc787bd17467c52d9ce0ecbe4;hp=452e5dc33fcfe5f41b93f8d5a1996d5720483b36;hb=87be9b26e7004a9a58970b4e97d0d152dc1c0704;hpb=979bcc553897f42024539ae6dd6ba66e9764a92c diff --git a/TODO b/TODO index 452e5dc..e9716f2 100644 --- a/TODO +++ b/TODO @@ -347,10 +347,7 @@ Common problems How can we solve these common user problems? -- http://lists.fedoraproject.org/pipermail/users/2010-June/374931.html - In guestfish, specified -m non-existent filesystem. We could suggest - a list of filesystems, or suggest they run the virt-list-filesystems - command. +[space for common problems here] Better support for encrypted devices ------------------------------------ @@ -363,35 +360,48 @@ We would like to add: - Direct access to the /dev/mapper device (eg. if it contains anything apart from VGs). -Recursive upload / download of multiple files ---------------------------------------------- +Display image as PS +------------------- + +Display the structure of an image file as a PS. + +Greater use of blkid / libblkid +------------------------------- -virt-tar is really clumsy to use, and upload/download in guestfish can -only do single files. tar-in in guestfish can upload multiple files, -but only if you have prepared a tarball in advance. +guestfs_zero should use wipefs. See wipefs(8). -What we really need is a method which is as easy to use as 'scp' and -'scp -r'. +There are various useful functions in libblkid for listing partitions, +devices etc which we are essentially duplicating in the daemon. It +would make more sense to just use libblkid for this. -Can we add this as a command in guestfish? This will be more useful -since users will already need to be in guestfish in order to create -target directories, review what they've done etc. It could be a meta- -command such as: +There are some places where we call out to the 'blkid' program. This +might be replaced by direct use of the library (if this is easier). - copy-in-recursive localdir remotedir - copy-out-recursive remotedir localdir +Remove repo from appliance name +------------------------------- + +There's no need to have the appliance name contain the repository name +(ie initramfs.x86_64.img instead of initramfs.fedora-13.x86_64.img). -which would hide use of tgz-in etc. +Visualization +------------- -Other thoughts on this: +Eric Sandeen pointed out the blktrace tool which is a better way of +capturing traces than using patched qemu (see +contrib/visualize-alignment). We would still use the same +visualization tools in conjunction with blktrace traces. -virt-cp or virt-rcp or virt-copy or virt-scp or ...? +Virt-df UUID +------------ -virt-copy *.c *.h GuestName:/tmp/ +Virt-df and any other tools with --csv output should be able to print +UUID of domain. This allows you to track the real domain across +renames etc. -virt-copy -r dir/ GuestName:/tmp/ +Add-domain command +------------------ -virt-copy GuestName:/tmp/foo* . +guestfs_add_domain (g, "libvirt-dom"); -virt-copy disk.img:/tmp/bar* otherdisk.img:/tmp -( probably not because it requires multiple libguestfs connections) +However this would need to not depend on libvirt, eg. loading it +on demand.