virt: Add a couple debugging messages

And fix a comment

Signed-off-by: Cole Robinson <crobinso@redhat.com>
virt: Shorten timeout to 3 mins for unattended import install

Since this mode isn't really an 'install', just libvirt-ifying a
pre-installed disk image. At most we should have to wait for the
VM to boot.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
virt: Add libvirt/env to .gitignore

Signed-off-by: Cole Robinson <crobinso@redhat.com>
virt: Try arp for non-root IP lookup

The default set of libvirt tests invoked via ./run actually work
quite well for me as non root (connecting to the libvirt session
instance). The only problem is that the initial import install test
times out, since non-root can't run tcpdump.

But we can get this info from arp, and there's already code in place
that basically does what we want, just needs a little reorg.

I'm sure the layering here isn't right, so please break out the clue
stick if neccessary.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
virt: Don't try to login to a paused guest

Since it's going to fail and just waste time.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
virt-libvirt: Use state() helper more

Signed-off-by: Cole Robinson <crobinso@redhat.com>
virt: Add 'skip_image_processing' parameter

Some of the libvirt tests at least involve virtually no guest interraction,
so being able to skip the image checks speeds things up for us. Will be used
in the next patch.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
virt: Try harder when checking guest liveness in post processing

If a quick test started the VM during preprocessing, it may not
have even finished booting up by the time we call the postprocess
login() liveness check. login() then immediately fails since the
guest doesn't have a discernable IP.

Use wait_for_login() with a short timeout to fix things, but not
lose too much time on a hung VM.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
virt: Increase postprocess login timeout

Signed-off-by: Chris Evich <cevich@redhat.com>
virt-libvirt: virsh_domid remote bufgix

Signed-off-by: Chris Evich <cevich@redhat.com>