Github user ustcweizhou commented on the issue:

    https://github.com/apache/cloudstack/pull/977
  
    @kiwiflyer indeed, we need make some changes in 
./test/integration/smoke/test_vm_snapshots.py
    
    1. 
    '''
            vm_snapshot = VmSnapshot.create(
                self.apiclient,
                self.virtual_machine.id,
                "false",
                "TestSnapshot",
                "Dsiplay Text"
            )
    '''
    the 4th line should be "true" if self.hypervisor is KVM.
    
    2.
    '''
            self.virtual_machine.stop(self.apiclient)
    
            VmSnapshot.revertToSnapshot(
                self.apiclient,
                list_snapshot_response[0].id)
    
            self.virtual_machine.start(self.apiclient)
    '''
    
    This part should also be changed. as the vm should be running if revert vm 
snapshot.
    
    3. it seems we need to add a new test to backup snapshot from vm snapshot 
on kvm.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to