summaryrefslogtreecommitdiffstats
path: root/inspector/virt-inspector.c
Commit message (Collapse)AuthorAgeFilesLines
* tools: Modify existing tools to use guestfs_{push,pop}_error_handler.Richard W.M. Jones2012-11-091-54/+41
| | | | | This is a shorter and more convenient way to disable errors temporarily across calls.
* inspect: Use new inspect_list_applications2 API callJohn Eckersberg2012-11-011-25/+29
| | | | | RWMJ: - Update virt-inspector.rng.
* remove the useless "h" optionWanlong Gao2012-09-261-3/+0
| | | | | | "h" option is not enabled in virt-cat, remove it. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* syntax: Remove gnulib c-ctype.h in files that don't use it.Richard W.M. Jones2012-09-151-1/+0
| | | | Found by 'make syntax-check'.
* New API: guestfs_canonical_device_name.Richard W.M. Jones2012-06-131-27/+24
| | | | This API makes device names canonical, eg. /dev/vda1 -> /dev/sda1.
* Replace 'int' with 'size_t' passim.Richard W.M. Jones2012-03-131-4/+4
| | | | | Analyze all uses of 'int' in the code, and replace with 'size_t' where appropriate.
* Tempus fugit.Richard W.M. Jones2012-01-181-1/+1
| | | | Update all copyright dates to 2012.
* fish options parsing: Allow add_drives to be called multiple times.Richard W.M. Jones2012-01-181-3/+2
| | | | | | Ensure that the drv structure is always zeroed on allocation. Don't leak old drv->device when add_drives is called multiple times.
* Update FSF address.Matthew Booth2011-11-081-1/+1
|
* Add virt-inspector --xpath to run XPath queries directly.Richard W.M. Jones2011-11-031-0/+124
| | | | | | | xmlstarlet is good, but not available in Red Hat Enterprise Linux. Build a simple but sane XPath query parser into virt-inspector directly so that we don't need any external tools.
* New API: inspect-get-icon returns the guest icon.Richard W.M. Jones2011-06-281-7/+25
| | | | | | | | | | This API returns the guest's favicon if found, else an icon representing the guest operating system. Currently supported by this patch: Fedora, RHEL and derivatives, Debian (but not Ubuntu), Windows XP, Windows 7. This also updates virt-inspector to include an <icon> element containing the icon in base64 encoding.
* inspector: Include <hostname> in output.Richard W.M. Jones2011-04-141-0/+8
|
* Include string.h and libintl.h, as needed.Jim Meyering2011-04-131-0/+2
| | | | | | | | | * df/df.c: As above. * df/main.c: As above. * df/output.c: As above. * fuse/guestmount.c: As above. * inspector/virt-inspector.c: As above. * rescue/virt-rescue.c: As above.
* New API: inspect-get-drive-mappingsRichard W.M. Jones2011-04-051-0/+54
| | | | | | | | | | | | This returns the drive mappings from the Windows Registry. virt-inspector displays the drive mappings, giving output similar to this: <drive_mappings> <drive_mapping name="C">/dev/sda2</drive_mapping> <drive_mapping name="E">/dev/sdb1</drive_mapping> </drive_mappings>
* New API: inspect-get-windows-current-control-setRichard W.M. Jones2011-04-051-0/+8
| | | | | | | | | | | | | | This returns the actual registry key corresponding to CurrentControlSet (eg. it might be "ControlSet001"). Previously the inspection code was hard-coding ControlSet001. Now we use the correct control set, and also make it available to callers through the API. This commit also updates the virt-dhcp-address example so it uses this new API. virt-inspector displays the current control set when available.
* New API: guestfs_inspect_get_product_variantRichard W.M. Jones2011-03-231-1/+8
| | | | | | | | | | This returns a product variant for inspected operating systems. In practice this is a useful way to distinguish between consumer and enterprise/server versions of Windows that otherwise have the same version number. Notes: Labels: feature
* Include <locale.h> in compilation units that use setlocale function.Richard W.M. Jones2011-03-071-0/+1
| | | | Fix required by gcc 4.6.0.
* fish: Add guestfish --live, guestmount --live options.Richard W.M. Jones2011-02-031-0/+2
| | | | | | The other programs have the variable, but the flag is not enabled either because it doesn't make sense or because the implications are not well understood.
* Add ability to inspect install disks and live CDs.Richard W.M. Jones2011-01-151-1/+30
| | | | | For examples of the virt-inspector output, see the additional inspector/example-*.xml files in this commit.
* inspector: Remove some unused local variables.Richard W.M. Jones2010-12-091-2/+0
|
* inspector: Make whole disk paths canonical (RHBZ#655554).Richard W.M. Jones2010-11-231-1/+1
|
* inspector: Fix documentation of -x option in usage.Richard W.M. Jones2010-11-221-1/+1
| | | | This updates commit c5cb65f0aac3298e634b183f73fda6644a158018.
* inspector: Rewrite virt-inspector in C.Richard W.M. Jones2010-11-191-0/+657