KVM test: Parallel install of guest OS v3

The patch enables doing mulitple install of guest OS in parallel.
Have added four more options to  test_base.cfg, port redirection
entry "guest_port_unattended_install" for host to communicate with
guest during installation, "pxe_dir", 'pxe_image' and 'pxe_initrd"
to specify locations for kernel and initrd. For parallel
installation to work in unattended mode, the floppy image and pxe
boot path also have to be unique for each quest.

All the relevant unattended post install steps for guests were
changed, now they are server based codes.

Changes from v2:
 * According to Michael Goldish comments, handled a possible
socket.error exception that could be generated during the
unattended install test
 * Modified the floppy image names to be contained inside
the same directory that might hold the tftp root for each
OS, making the needed changes on unattended.py.
 * Added floppy names for windows based OSs, which were lacking
on previous patches.

Changes from v1:
 * Fixed the logic for the new unattended install test (original
implementation would hang indefinitely if guest dies in the middle
of the install).
 * Fixed the config changes to make sure the unattended install
port actually gets redirected so the test can work, also made the
config specific to unattended install
 * Merged the finish.exe patch, including a binary patch that
changes the binary shipped to the new version
 * Changed all unattended install files to use the parallel
mechanism

Tested with Windows 7 and Fedora 11 guests.

Signed-off-by: Yogananth Subramanian <anantyog@linux.vnet.ibm.com>
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4309 592f7852-d20e-0410-864c-8624ca9c26a4
25 files changed