X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=TODO;h=3a0a6b0514c9b5ffdcafd81b513d3892331246cb;hb=407d8fe1db9b8c9b0b6608353e000cb08daa5605;hp=0a79465b3e8ed6df76fd001938c48ba19f1d756c;hpb=a9ac448cf8a3e8d13b67dc286940abe51226c9dc;p=libguestfs.git diff --git a/TODO b/TODO index 0a79465..3a0a6b0 100644 --- a/TODO +++ b/TODO @@ -432,11 +432,6 @@ guestfish drive letters There should be an option to mount all Windows drives as separate paths, like C: => /c/, D: => /d/ etc. -Select machines by UUID ------------------------ - -guestfish -u UUID guestfish -d UUID - More inspection features ------------------------ @@ -446,19 +441,60 @@ More inspection features - last user who logged in - lastlog, last, who -Get the guest icon ------------------- +Integrate virt-inspector with CMDBs +----------------------------------- + +Either integrate virt-inspector with Configuration Management +Databases (CMDBs) or at least check that virt-inspector produces the +right range of data so that integration would be possible. The +standards for CMDBs come from the DMTF, see eg: + +http://dmtf.org/news/pr/2009/7/dmtf-releases-cmdbf-standard-federating-configuration-management-data + +Efficient way to visit all files +-------------------------------- + +https://rwmj.wordpress.com/2010/12/15/tip-audit-virtual-machine-for-setuid-files/#content -- For Linux guests, use /etc/favicon.png if available, else get it in - a distro-specific manner. -- For Windows guests, parse it out of c:\windows\explorer.exe +A naive method would look like: -Integrate event log parsing more closely ----------------------------------------- + g#visit ~return_stats:true "/" ( + fun pathname stat -> + ... + ) -https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-guestfish/ +However this has two disadvantages: + + - requires hand-written custom bindings in each language + - unclear about locking, thread-safety and re-entrancy of handle g + +A better way would be to have some sort of explicit "download all +filenames and stat structures", which could then be iterated over: + + let files = g#find_opts ~return_stats:true "/" in + List.iter ( + fun pathname stat -> + ... + ) + +The problem with this is that 'files' is going to be larger than a +protocol buffer. + +This leads to thinking about changes to the protocol / generator to +make this simpler. The proposal would be to add RBigStringList, +RBigStructList [or RBig (Ranytype ...)]. These would work like +FileOut, in that they would use file streaming to stream XDR +structures (probably written to a file on the library side). +Generated code would hide most of the implementation. + +We also need to think about security issues: is it possible for the +daemon to keep sending back data forever, and if so what happens on +the library side. + +[Users can now use virt-ls to solve some of these problems, but it is +not a general solution at the API level] + +Interactive disk creator +------------------------ -We should at least make sure the tools are packaged up for Fedora. We -could document formally how to do event log parsing. Also the above -only works for Windows Vista and later (since the log format changed), -so we could extend this to work for earlier versions. +An interactive disk creator program.