From 683dd5cbab506572e2f0d2c9becf2c6404b8b46b Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 26 Jan 2016 22:18:42 +0000 Subject: [PATCH] docs: Refresh the guestfs-testing(1) man page. Require libguestfs >= 1.22. Testing ancient versions isn't useful. Add a virt-builder test section. --- docs/guestfs-testing.pod | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/docs/guestfs-testing.pod b/docs/guestfs-testing.pod index 25286041a..1e88ed4df 100644 --- a/docs/guestfs-testing.pod +++ b/docs/guestfs-testing.pod @@ -11,8 +11,7 @@ this testing is very valuable. Thanks for helping out! Tests marked with a B<*> (asterisk) can B if you're not careful. The others are safe and won't modify anything. -Most of these tests will work with any libguestfs E 1.14. Some of -these tests (marked) require libguestfs E 1.22. +These tests B 1.22>. You can report bugs you find through this link: @@ -88,9 +87,6 @@ Which version of qemu is being used? It may be printed out: libguestfs: qemu version 1.5 -but note that if you're using libvirt then libguestfs doesn't have -this information. - =item * Which kernel is being used? L will try to pick the @@ -119,7 +115,6 @@ line). Also make sure that L succeeds. =head2 Try to open a remote guest image with guestfish. -B this test requires S 1.22> and S 1.5>. You may also have to disable libvirt by setting this: export LIBGUESTFS_BACKEND=direct @@ -270,6 +265,10 @@ or: Do the results match what is actually in the guest? +If you have an unusual guest (a rare Linux distro, a very new version +of Windows), does virt-inspector recognize it? If not, then it's +probably a bug. + =head2 Try the auditing features of virt-ls on all your guests. List all setuid or setgid programs in a Linux virtual machine: @@ -352,7 +351,23 @@ Using L, make a disk image more sparse: Is F still bootable after sparsifying? Is the resulting disk image smaller (use C to check)? -=head2 B<*> "sysprep" a B Linux guest. +=head2 Build and boot a guest + +Using L, choose a guest from the list: + + virt-builder -l + +build it: + + virt-builder -o disk.img [os-version from list above] + +and boot it: + + qemu-kvm -cpu host -m 2048 -drive file=disk.img,format=raw + +Does it boot? + +=head2 B<*> "Sysprep" a B Linux guest. B that this really will mess up an existing guest, so it's better to clone the guest before trying this.