summaryrefslogtreecommitdiffstats
path: root/subdir-rules.mk
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-04-13 22:35:35 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-04-13 22:35:35 +0100
commit3c1f762abed92f7a358f3bc93e3396d0606b18ad (patch)
treea192d1a370a524a4cde61967d5a83ad0cea06276 /subdir-rules.mk
parent70975981bed8e0c01b5966c10b507bb82086e5f8 (diff)
downloadlibguestfs-3c1f762abed92f7a358f3bc93e3396d0606b18ad.tar.gz
libguestfs-3c1f762abed92f7a358f3bc93e3396d0606b18ad.tar.xz
libguestfs-3c1f762abed92f7a358f3bc93e3396d0606b18ad.zip
inspect: Cache downloaded files in the handle g->tmpdir.
During inspection we download various files such as the Windows 'software' and 'system' registries. Previously these were downloaded as temporary files and discarded immediately after use. This meant that the 'software' registry was being downloaded twice by virt-inspector (it's required once for basic OS inspection, and a second time to list Windows applications). This commit changes this so that these files are cached in g->tmpdir, and thus the second time we just reuse the file we've already downloaded. Callers shouldn't be relying on inspect-list-applications to reread the actual registry from the VM (unless you close and reopen the handle). It says in the documentation that the results of inspection may be cached in the handle.
Diffstat (limited to 'subdir-rules.mk')
0 files changed, 0 insertions, 0 deletions