summaryrefslogtreecommitdiffstats
path: root/inspector/virt-inspector.pl
Commit message (Collapse)AuthorAgeFilesLines
* inspector: Determine guest architecture.Richard Jones2009-07-291-2/+52
| | | | | | | This commit adds kernel and userspace architecture detection (fully for Linux, partially for Windows). It adds an architecture for each kernel detected, and an architecture for each root (ie. userspace) found.
* Split $os->{version} into $os->{major_version} and $os->{minor_version}Matthew Booth2009-07-211-2/+5
|
* virt-inspector --fish: Fix incorrect '-a' parameter (RHBZ#512709)Richard Jones2009-07-201-3/+8
| | | | | | | | | | | | | | | | | virt-inspector --fish dom virt-inspector --ro-fish dom Both of the above commands give incorrect results if run on a libvirt domain, eg: $ virt-inspector --ro-fish RHEL54Betax64 ==> --ro -a RHEL54Betax64 -m /dev/VolGroup00/LogVol00:/ -m /dev/sda1:/boot ^^^^^^^^^^^^^ This is because the current code just prints back the original @ARGV parameters. This patch fixes this by getting the image names instead.
* Replace 'distrofamily' with feature tagsMatthew Booth2009-07-201-2/+2
| | | | | | | | | | | | | It turns out that the distribution hierarchy is not as reliable concept as you might think. This patch removes distrofamily again. Instead of distrofamily, we will add feature tags. This patch adds 2 feature tags for Linux distributions: package_format (eg rpm/dpkg) package_management (eg rhn/yum/apt) This change is reflected in the output of virt-inspector
* Differentiate 'distro' and 'distrofamily' in Sys::Guestfs::LibMatthew Booth2009-07-171-1/+4
| | | | | | | | | | | | | | | Change distro in the output formally known as virt-inspector to reflect the actual distro. Possible values are now: fedora, rhel, centos, scientific, debian. Add new distrofamily entry which is one of: redhat, debian. Currently all distros except 'debian' are in the redhat family. This allows you to, for example, select a RHEL/CentOS/Scientific Linux specific kernel for installation rather than assuming they're all the same. Note this also changes the behaviour of virt-inspector --query. It will now only return rhel=yes for RHEL.
* Make Perl strings translatable using perl-libintl.Richard Jones2009-07-151-10/+11
| | | | | | | | | All Perl strings are now marked as translatable using __"string" or __x("string {placeholder}", placeholder => $_). Perl strings now get copied to the PO files. The po/POTFILES.in file is now updated automagically whenever we add new *.c, *.pl or *.pm files into the repository.
* virt-inspector: Ignore swap partitions marked as "none".Richard Jones2009-07-141-1/+1
|
* Documentation for virt-v2v.Richard Jones2009-07-111-0/+2
|
* Add --version options to virt-df, virt-inspector and virt-v2v.Richard Jones2009-07-101-0/+15
|
* Move 'use File::Temp' from virt-inspector program to Sys::Guestfs::Lib.Richard Jones2009-07-101-1/+0
|
* Remove virt-inspector --force option - it didn't do anything.Richard Jones2009-07-091-13/+0
|
* Move the inspection analysis code into Sys::Guestfs::Lib library.Richard Jones2009-07-091-601/+40
| | | | | | | | | | | Creates new functions: inspect_all_partitions inspect_partition inspect_operating_systems mount_operating_system inspect_in_detail Includes far more documentation for the process.
* Move 'resolve_windows_path' to Sys::Guestfs::Lib.Richard Jones2009-07-091-39/+15
|
* Move 'get_partitions' call into Sys::Guestfs::Lib.Richard Jones2009-07-091-17/+2
|
* Add Sys::Guestfs::Lib - useful functions for using libguestfs from Perl.Richard Jones2009-07-091-56/+9
| | | | | | | | | | This adds an extra Perl module called Sys::Guestfs::Lib which adds useful functions for using libguestfs from Perl. The intention is that common code shared between virt-inspector, virt-df and virt-v2v will move into this library. This patch also changes virt-inspector to use this library.
* remove trailing blanksJim Meyering2009-07-031-1/+1
|
* Merge commit 'et/master'Matthew Booth2009-06-291-34/+11
|\
| * Add 'initrd-list' command to list contents of initrd images.Richard W.M. Jones2009-06-291-34/+11
| | | | | | | | | | | | Add 'initrd-list' command to list the files inside (new-style) initrd images. Update virt-inspector to use this instead of the less efficient download/unpack locally method.
* | Output the config filename containing a modprobe alias in XMLMatthew Booth2009-06-291-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change affects the XML output: /operatingsystems/operatingsystem/modprobealiases/alias/text() => /operatingsystems/operatingsystem/modprobealiases/alias/modulename/text() Additionally there are two new elements: /operatingsystems/operatingsystem/modprobealiases/alias/augeas /operatingsystems/operatingsystem/modprobealiases/alias/file These contain information about the location of the alias directive. /augeas is an augeas path. /file is the path of the file containing the directive.
* | Add a comment to device naming heuristicMatthew Booth2009-06-291-0/+6
|/
* Clean up XML outputMatthew Booth2009-06-271-62/+57
| | | | | | | | | | | This change makes XML use XML::Writer, and modifies the output in the following 2 ways: * /operatingsystems/operatingsystem/os is renamed to /operatingsystems/operatingsystem/name * /operatingsystems/kernels/version becomes an attribute of /operatingsystems/kernel for consistency with initrds
* Make virt-inspector look in more places for module aliasesMatthew Booth2009-06-251-5/+38
| | | | | | | | Specifically: /etc/conf.modules /etc/modules.conf /etc/modprobe.conf /etc/modprobe.d/*
* Add yaml output for virt-inspectorMatthew Booth2009-06-251-0/+15
|
* Allow guestfish -i / virt-inspector on live domains, in limited circumstances.Richard W.M. Jones2009-06-241-2/+8
|
* Fix detection of optional libvirt support in virt-inspector.Richard W.M. Jones2009-06-241-2/+4
|
* Fix libvirt integration in virt-inspector.Richard W.M. Jones2009-06-241-8/+5
|
* Added guestfish -i option to run virt-inspector.Richard W.M. Jones2009-06-241-6/+5
| | | | | | You can invoke guestfish with: guestfish -i libvirt-domain guestfish -i disk-image(s)
* New website, change et.redhat.com references to libguestfs.org1.0.43Richard Jones2009-06-091-1/+2
|
* Add support for decoding the Windows registry.Richard Jones2009-06-091-2/+181
|
* Parse /etc/modprobe.conf and initrd to give us a closer understandingRichard Jones2009-06-061-3/+140
| | | | of what the guest will actually boot on.
* Added query mode to virt-inspector.Richard Jones2009-06-061-21/+250
|
* Modules are *.o in Linux 2.4 kernels.Richard Jones2009-06-051-1/+1
|
* Add 'add_drive_ro' call. Fix up documentation. Plus a couple of minor code ↵Richard Jones2009-06-021-1/+1
| | | | improvements in the tests.
* virt-inspector now lists installed modules.Richard Jones2009-05-191-16/+19
|
* Inspect kernels for Linux OSes.Richard Jones2009-05-191-6/+53
|
* List installed applications (NOT WORKING).Richard Jones2009-05-081-5/+25
|
* Generated code to support previous 2 commits.Richard Jones2009-05-081-1/+28
|
* Fix umount_all command so it unmounts filesystems in the correct order.Richard Jones2009-04-301-6/+0
|
* XML output.Richard Jones2009-04-281-5/+78
|
* Perl output.Richard Jones2009-04-281-1/+38
|
* --fish and --ro-fish options working.Richard Jones2009-04-281-1/+73
|
* Added virt-inspector program from virt-v2v.Richard Jones2009-04-281-0/+566