{"action":"created","issue":{"url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/81","labels_url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/81/comments","events_url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/81/events","html_url":"https://github.com/avocado-framework/avocado-vt/pull/81","id":104279932,"number":81,"title":"Refine the default image backup handling","user":{"login":"ldoktor","id":1074021,"avatar_url":"https://avatars.githubusercontent.com/u/1074021?v=3","gravatar_id":"","url":"https://api.github.com/users/ldoktor","html_url":"https://github.com/ldoktor","followers_url":"https://api.github.com/users/ldoktor/followers","following_url":"https://api.github.com/users/ldoktor/following{/other_user}","gists_url":"https://api.github.com/users/ldoktor/gists{/gist_id}","starred_url":"https://api.github.com/users/ldoktor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldoktor/subscriptions","organizations_url":"https://api.github.com/users/ldoktor/orgs","repos_url":"https://api.github.com/users/ldoktor/repos","events_url":"https://api.github.com/users/ldoktor/events{/privacy}","received_events_url":"https://api.github.com/users/ldoktor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-01T14:33:03Z","updated_at":"2015-09-02T01:52:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/avocado-framework/avocado-vt/pulls/81","html_url":"https://github.com/avocado-framework/avocado-vt/pull/81","diff_url":"https://github.com/avocado-framework/avocado-vt/pull/81.diff","patch_url":"https://github.com/avocado-framework/avocado-vt/pull/81.patch"},"body":"This patchset removes the `--vt-setup` and replaces the backup handling with settings: `backup_image_before_test` and `restore_image_after_test`. These are mapped to already existing values in cartesian_parser, so from virttest point of view there is no difference.\r\n\r\nIn separate patches I modified the virttest part  to improve logging and avoid double image restoration."},"comment":{"url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/comments/136912975","html_url":"https://github.com/avocado-framework/avocado-vt/pull/81#issuecomment-136912975","issue_url":"https://api.github.com/repos/avocado-framework/avocado-vt/issues/81","id":136912975,"user":{"login":"lmr","id":296807,"avatar_url":"https://avatars.githubusercontent.com/u/296807?v=3","gravatar_id":"","url":"https://api.github.com/users/lmr","html_url":"https://github.com/lmr","followers_url":"https://api.github.com/users/lmr/followers","following_url":"https://api.github.com/users/lmr/following{/other_user}","gists_url":"https://api.github.com/users/lmr/gists{/gist_id}","starred_url":"https://api.github.com/users/lmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmr/subscriptions","organizations_url":"https://api.github.com/users/lmr/orgs","repos_url":"https://api.github.com/users/lmr/repos","events_url":"https://api.github.com/users/lmr/events{/privacy}","received_events_url":"https://api.github.com/users/lmr/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T01:52:32Z","updated_at":"2015-09-02T01:52:32Z","body":"@clebergnu, yes, that'd do it nicely. The backup function can check the sha1sum of the pristine, uncompressed file, then if it doesn't match, it could restore from the 7zip file."}}