The guest console is useful for troubleshooting the failure cases
especially for the one who has calltrace. And the session through it
is also useful for the networking related test cases ( consider the
test which could shutdown or crash the guest network ). so this
patchset first redirects the guest serial to unix domain socket and
then could log the guest serial through a thread or make it as a
method of session. The last patch makes all linux guests to use serial as
their consoles through unattended files.
---
Jason Wang (9):
KVM test: Introduce the prompt assist
KVM test: Add the ability to send the username in remote_login()
KVM test: Make the login re suitable for serial console
KVM test: Redirect the serial to the unix domain socket
KVM test: Log the content from guest serial console
KVM test: Raise error when met unknown type in kvm_vm.remote_login().
KVM test: Introduce the local_login()
KVM test: Create the background threads before calling process()
KVM test: Redirect the console to serial for all linux guests
client/tests/kvm/kvm_preprocessing.py | 64 ++++++++++++++++++++++++--
client/tests/kvm/kvm_utils.py | 23 +++++++--
client/tests/kvm/kvm_vm.py | 48 ++++++++++++++++----
client/tests/kvm/tests_base.cfg.sample | 1
client/tests/kvm/unattended/Fedora-10.ks | 2 -
client/tests/kvm/unattended/Fedora-11.ks | 2 -
client/tests/kvm/unattended/Fedora-12.ks | 2 -
client/tests/kvm/unattended/Fedora-8.ks | 2 -
client/tests/kvm/unattended/Fedora-9.ks | 2 -
client/tests/kvm/unattended/OpenSUSE-11.xml | 1
client/tests/kvm/unattended/RHEL-3-series.ks | 2 -
client/tests/kvm/unattended/RHEL-4-series.ks | 2 -
client/tests/kvm/unattended/RHEL-5-series.ks | 2 -
client/tests/kvm/unattended/SLES-11.xml | 1
14 files changed, 128 insertions(+), 26 deletions(-)
--
Signature
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest