This is new version for sr-iov patch suite. I update it according to
lmr's comments. Thanks lmr.


Still use patch (07/10). It should be the easy way to fix the issue.
sr-iov env is set up in vm.create(). So when make_create_command() is called in 
needs_reboot(),
It will through exception because sr-iov device is not available.
We will always meet this exception if previous case did not use sr-iov device, 
or it use less sr-iov device than this case.


Test these patch in rhel6 host, all pass.
[root@unused kvm]# ../../../tools/scan_results.py 
Test                                                                            
                Status     Seconds  Info
----                                                                            
                ------     -------  ----
        (Result file: /root/autotest_upstream/client/results/default/status)
virt.kvm.vf_assignable.virtio_blk.smp2.virtio_net.RHEL.6.3.beta.x86_64.sr-iov.vf_boot
           GOOD       86       completed successfully
virt.kvm.vf_assignable.virtio_blk.smp2.virtio_net.RHEL.6.3.beta.x86_64.sr-iov.multi_vf_boot
     GOOD       1281     completed successfully
virt.kvm.vf_assignable.virtio_blk.smp2.virtio_net.RHEL.6.3.beta.x86_64.sr-iov.max_vf_boot
       GOOD       1284     completed successfully
virt.kvm.vf_assignable.virtio_blk.smp2.virtio_net.RHEL.6.3.beta.x86_64.sr-iov.pf_vf_boot
        GOOD       102      completed successfully
virt.kvm.vf_assignable.virtio_blk.smp2.virtio_net.RHEL.6.3.beta.x86_64.sr-iov.vf_boot_vms
       GOOD       138      completed successfully
virt.kvm.vf_assignable.virtio_blk.smp2.virtio_net.RHEL.6.3.beta.x86_64.sr-iov.vf_hotplug
        GOOD       184      completed successfully
virt.kvm.vf_assignable.virtio_blk.smp2.virtio_net.RHEL.6.3.beta.x86_64.sr-iov.vf_hot_unplug
     GOOD       171      completed successfully
virt.kvm.vf_assignable.virtio_blk.smp2.virtio_net.RHEL.6.3.beta.x86_64.sr-iov.vf_hotplug_500
    GOOD       8094     completed successfully
----                                                                            
                GOOD       11348  


[PATCH 01/10] virt: update PciAssignable class
[PATCH 02/10] cfg: update configure for vf_assignable in guest-hw.cfg.sample
[PATCH 03/10] kvm_vm.py Redesign sr-iov part code
[PATCH 04/10] kvm: Add update_mac_ip_address function to utils_test.py
[PATCH 05/10] env_process.py: Call update_mac_ip_address if mac_changeable is 
yes
[PATCH 06/10] utils_misc.py: Add default value for qemu_path in 
qemu_has_option()
[PATCH 07/10] virt_vm.py: Handle exception in needs_reboot()
[PATCH 08/10 v2] kvm: Add sr_iov_hotplug.py test script
[PATCH v2] kvm: Add sr_iov_hotunplug.py test script
[PATCH 10/10] cfg: Add sr-iov part new cases in subtest.cfg.sample

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to