def snapshot(self, context, instance, image_id, update_task_state):
        self._vmops.snapshot(context, instance, image_id, update_task_state)
Create snapshot from a running VM instance.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/xenapi/driver.py/XenAPIDriver.snapshot