Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update guest suspend tests #54

Closed
wants to merge 8 commits into from
Closed

Update guest suspend tests #54

wants to merge 8 commits into from

Commits on Oct 22, 2012

  1. tools: Add tapfd_helper tool

    Move this tapfd_helper tool from autotest repo into
    this virt-test repo, since it's a virt-test only tool.
    
    This script can help us boot up guest with autotest
    generated qemu command line, it creates tap device
    and updates the tapfd in given qemu cli.
    
    Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
    zhouqt committed Oct 22, 2012
    Copy the full SHA
    3a11f43 View commit details
    Browse the repository at this point in the history
  2. virt.kvm_monitor: add system_wakeup monitor command

    qemu adds a new monitor cmd called 'system_wakeup' in commit
    9b9df25a474bfee59dd46d033eb4ccc16582aac2
    
    This patch adds a method in kvm_monitor so that we can test
    this new monitor cmd with autotest.
    
    Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
    zhouqt committed Oct 22, 2012
    Copy the full SHA
    13da2d6 View commit details
    Browse the repository at this point in the history
  3. virt.util_test: Add a new class for guest suspend test

    This 'GuestSuspend' class contains some steps needed by
    guest suspend test, it provides 2 methods:
     * guest_suspend_mem()
     * guest_suspend_disk()
    They will run a 'standard' suspend testing.
    
    If you want to custom suspend testing, you can just inherit
    from this class and implement your own steps.
    
    This class also provides 3 hook points:
     * action_before_suspend()
     * action_during_suspend()
     * action_after_suspend()
    You can insert your own test steps in these test points.
    
    Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
    zhouqt committed Oct 22, 2012
    Copy the full SHA
    510f176 View commit details
    Browse the repository at this point in the history
  4. tests: Update guest_s4 test with new GuestSuspend class

    This patch also add some custom cmd for windows XP/2003.
    
    Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
    zhouqt committed Oct 22, 2012
    Copy the full SHA
    999862c View commit details
    Browse the repository at this point in the history
  5. tests: Add a new test case guest_s3

    This is another version of guest s3 test, it supports
    both linux and windows guest.
    
    Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
    zhouqt committed Oct 22, 2012
    Copy the full SHA
    ee23ca2 View commit details
    Browse the repository at this point in the history
  6. tests: Remove test linux_s3

    This linux_s3 test is replaced by test guest_s3,
    so remove it directly.
    
    Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
    zhouqt committed Oct 22, 2012
    Copy the full SHA
    f59564a View commit details
    Browse the repository at this point in the history
  7. virt.guest_agent: Fix guest agent exception initiation problem

    There are some wrong format of in guest agent exceptions
    definition, This patch fixes these problem.
    
    Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
    zhouqt committed Oct 22, 2012
    Copy the full SHA
    5907925 View commit details
    Browse the repository at this point in the history
  8. KVM Test: Add a subtest suspend for qemu guest agent

    This 'suspend' subtest run guest s3/s4 test with
    qemu guest agent commands, to verify guest agent's
    suspend commands.
    
    Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
    zhouqt committed Oct 22, 2012
    Copy the full SHA
    7487dc9 View commit details
    Browse the repository at this point in the history