New API: inspect-get-windows-systemroot to get systemroot.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 27 Oct 2010 15:47:33 +0000 (16:47 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 28 Oct 2010 14:16:15 +0000 (15:16 +0100)
commita51f56adb168ac7d4b65b98c7f0cdb07f266265f
tree804e1596c32f2064fc5f3bf504afbbb92c0cceea
parent40d58fe65e10aa692d056a573e21e5afdc9329c7
New API: inspect-get-windows-systemroot to get systemroot.

We are already using heuristics in the C inspection code to
determine the Windows %SYSTEMROOT% directory.  This change
just exposes this information through the API.
generator/generator_actions.ml
src/guestfs-internal.h
src/inspect.c