{"action":"created","comment":{"url":"https://api.github.com/repos/xapi-project/xenopsd/pulls/comments/74904867","id":74904867,"diff_hunk":"@@ -1185,8 +1185,11 @@ let rec perform_atomic ~progress_callback ?subtask ?result (op: atomic) (t: Xeno\n \t\t\tVM_DB.signal id\n \t\t| VM_unpause id ->\n \t\t\tdebug \"VM.unpause %s\" id;\n-\t\t\tB.VM.unpause t (VM_DB.read_exn id);\n-\t\t\tVM_DB.signal id\n+\t\t\tlet power = (B.VM.get_state (VM_DB.read_exn id)).Vm.power_state in\n+\t\t\tbegin match power with\n+\t\t\t| Paused -> B.VM.unpause t (VM_DB.read_exn id); VM_DB.signal id\n+\t\t\t| _ -> debug \"Cannot perform VM_unpause. VM %s is not paused\" id","path":"lib/xenops_server.ml","position":9,"original_position":9,"commit_id":"734254576d93f5d960407f5f0e4de5d000d6c811","original_commit_id":"734254576d93f5d960407f5f0e4de5d000d6c811","user":{"login":"robhoes","id":413005,"avatar_url":"https://avatars.githubusercontent.com/u/413005?v=3","gravatar_id":"","url":"https://api.github.com/users/robhoes","html_url":"https://github.com/robhoes","followers_url":"https://api.github.com/users/robhoes/followers","following_url":"https://api.github.com/users/robhoes/following{/other_user}","gists_url":"https://api.github.com/users/robhoes/gists{/gist_id}","starred_url":"https://api.github.com/users/robhoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robhoes/subscriptions","organizations_url":"https://api.github.com/users/robhoes/orgs","repos_url":"https://api.github.com/users/robhoes/repos","events_url":"https://api.github.com/users/robhoes/events{/privacy}","received_events_url":"https://api.github.com/users/robhoes/received_events","type":"User","site_admin":false},"body":"Let's use the `info` log level, and make it sound less like an error, e.g. \"VM %s is already unpaused.\"","created_at":"2016-08-16T09:43:40Z","updated_at":"2016-08-16T09:43:40Z","html_url":"https://github.com/xapi-project/xenopsd/pull/281#discussion_r74904867","pull_request_url":"https://api.github.com/repos/xapi-project/xenopsd/pulls/281","_links":{"self":{"href":"https://api.github.com/repos/xapi-project/xenopsd/pulls/comments/74904867"},"html":{"href":"https://github.com/xapi-project/xenopsd/pull/281#discussion_r74904867"},"pull_request":{"href":"https://api.github.com/repos/xapi-project/xenopsd/pulls/281"}}},"pull_request":{"url":"https://api.github.com/repos/xapi-project/xenopsd/pulls/281","id":81302778,"html_url":"https://github.com/xapi-project/xenopsd/pull/281","diff_url":"https://github.com/xapi-project/xenopsd/pull/281.diff","patch_url":"https://github.com/xapi-project/xenopsd/pull/281.patch","issue_url":"https://api.github.com/repos/xapi-project/xenopsd/issues/281","number":281,"state":"open","locked":false,"title":"CA-218097: When attempting to start a VM check it's not already in ru…","user":{"login":"kc284","id":3705142,"avatar_url":"https://avatars.githubusercontent.com/u/3705142?v=3","gravatar_id":"","url":"https://api.github.com/users/kc284","html_url":"https://github.com/kc284","followers_url":"https://api.github.com/users/kc284/followers","following_url":"https://api.github.com/users/kc284/following{/other_user}","gists_url":"https://api.github.com/users/kc284/gists{/gist_id}","starred_url":"https://api.github.com/users/kc284/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kc284/subscriptions","organizations_url":"https://api.github.com/users/kc284/orgs","repos_url":"https://api.github.com/users/kc284/repos","events_url":"https://api.github.com/users/kc284/events{/privacy}","received_events_url":"https://api.github.com/users/kc284/received_events","type":"User","site_admin":false},"body":"…nning state.\r\n\r\nSigned-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>","created_at":"2016-08-15T11:58:58Z","updated_at":"2016-08-16T09:43:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c5bfa6ad98c5d661c3249ec575c95c655445343f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/xapi-project/xenopsd/pulls/281/commits","review_comments_url":"https://api.github.com/repos/xapi-project/xenopsd/pulls/281/comments","review_comment_url":"https://api.github.com/repos/xapi-project/xenopsd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xapi-project/xenopsd/issues/281/comments","statuses_url":"https://api.github.com/repos/xapi-project/xenopsd/statuses/734254576d93f5d960407f5f0e4de5d000d6c811","head":{"label":"kc284:master","ref":"master","sha":"734254576d93f5d960407f5f0e4de5d000d6c811","user":{"login":"kc284","id":3705142,"avatar_url":"https://avatars.githubusercontent.com/u/3705142?v=3","gravatar_id":"","url":"https://api.github.com/users/kc284","html_url":"https://github.com/kc284","followers_url":"https://api.github.com/users/kc284/followers","following_url":"https://api.github.com/users/kc284/following{/other_user}","gists_url":"https://api.github.com/users/kc284/gists{/gist_id}","starred_url":"https://api.github.com/users/kc284/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kc284/subscriptions","organizations_url":"https://api.github.com/users/kc284/orgs","repos_url":"https://api.github.com/users/kc284/repos","events_url":"https://api.github.com/users/kc284/events{/privacy}","received_events_url":"https://api.github.com/users/kc284/received_events","type":"User","site_admin":false},"repo":{"id":63780753,"name":"xenopsd","full_name":"kc284/xenopsd","owner":{"login":"kc284","id":3705142,"avatar_url":"https://avatars.githubusercontent.com/u/3705142?v=3","gravatar_id":"","url":"https://api.github.com/users/kc284","html_url":"https://github.com/kc284","followers_url":"https://api.github.com/users/kc284/followers","following_url":"https://api.github.com/users/kc284/following{/other_user}","gists_url":"https://api.github.com/users/kc284/gists{/gist_id}","starred_url":"https://api.github.com/users/kc284/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kc284/subscriptions","organizations_url":"https://api.github.com/users/kc284/orgs","repos_url":"https://api.github.com/users/kc284/repos","events_url":"https://api.github.com/users/kc284/events{/privacy}","received_events_url":"https://api.github.com/users/kc284/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kc284/xenopsd","description":"XCP toolstack domain manager","fork":true,"url":"https://api.github.com/repos/kc284/xenopsd","forks_url":"https://api.github.com/repos/kc284/xenopsd/forks","keys_url":"https://api.github.com/repos/kc284/xenopsd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kc284/xenopsd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kc284/xenopsd/teams","hooks_url":"https://api.github.com/repos/kc284/xenopsd/hooks","issue_events_url":"https://api.github.com/repos/kc284/xenopsd/issues/events{/number}","events_url":"https://api.github.com/repos/kc284/xenopsd/events","assignees_url":"https://api.github.com/repos/kc284/xenopsd/assignees{/user}","branches_url":"https://api.github.com/repos/kc284/xenopsd/branches{/branch}","tags_url":"https://api.github.com/repos/kc284/xenopsd/tags","blobs_url":"https://api.github.com/repos/kc284/xenopsd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kc284/xenopsd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kc284/xenopsd/git/refs{/sha}","trees_url":"https://api.github.com/repos/kc284/xenopsd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kc284/xenopsd/statuses/{sha}","languages_url":"https://api.github.com/repos/kc284/xenopsd/languages","stargazers_url":"https://api.github.com/repos/kc284/xenopsd/stargazers","contributors_url":"https://api.github.com/repos/kc284/xenopsd/contributors","subscribers_url":"https://api.github.com/repos/kc284/xenopsd/subscribers","subscription_url":"https://api.github.com/repos/kc284/xenopsd/subscription","commits_url":"https://api.github.com/repos/kc284/xenopsd/commits{/sha}","git_commits_url":"https://api.github.com/repos/kc284/xenopsd/git/commits{/sha}","comments_url":"https://api.github.com/repos/kc284/xenopsd/comments{/number}","issue_comment_url":"https://api.github.com/repos/kc284/xenopsd/issues/comments{/number}","contents_url":"https://api.github.com/repos/kc284/xenopsd/contents/{+path}","compare_url":"https://api.github.com/repos/kc284/xenopsd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kc284/xenopsd/merges","archive_url":"https://api.github.com/repos/kc284/xenopsd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kc284/xenopsd/downloads","issues_url":"https://api.github.com/repos/kc284/xenopsd/issues{/number}","pulls_url":"https://api.github.com/repos/kc284/xenopsd/pulls{/number}","milestones_url":"https://api.github.com/repos/kc284/xenopsd/milestones{/number}","notifications_url":"https://api.github.com/repos/kc284/xenopsd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kc284/xenopsd/labels{/name}","releases_url":"https://api.github.com/repos/kc284/xenopsd/releases{/id}","deployments_url":"https://api.github.com/repos/kc284/xenopsd/deployments","created_at":"2016-07-20T12:46:24Z","updated_at":"2016-07-20T12:46:26Z","pushed_at":"2016-08-16T09:32:01Z","git_url":"git://github.com/kc284/xenopsd.git","ssh_url":"git@github.com:kc284/xenopsd.git","clone_url":"https://github.com/kc284/xenopsd.git","svn_url":"https://github.com/kc284/xenopsd","homepage":null,"size":31294,"stargazers_count":0,"watchers_count":0,"language":"OCaml","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xapi-project:master","ref":"master","sha":"77858de1fbaf2a5d8c5b4097dd2a09c094cd2e1a","user":{"login":"xapi-project","id":317268,"avatar_url":"https://avatars.githubusercontent.com/u/317268?v=3","gravatar_id":"","url":"https://api.github.com/users/xapi-project","html_url":"https://github.com/xapi-project","followers_url":"https://api.github.com/users/xapi-project/followers","following_url":"https://api.github.com/users/xapi-project/following{/other_user}","gists_url":"https://api.github.com/users/xapi-project/gists{/gist_id}","starred_url":"https://api.github.com/users/xapi-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xapi-project/subscriptions","organizations_url":"https://api.github.com/users/xapi-project/orgs","repos_url":"https://api.github.com/users/xapi-project/repos","events_url":"https://api.github.com/users/xapi-project/events{/privacy}","received_events_url":"https://api.github.com/users/xapi-project/received_events","type":"Organization","site_admin":false},"repo":{"id":7563740,"name":"xenopsd","full_name":"xapi-project/xenopsd","owner":{"login":"xapi-project","id":317268,"avatar_url":"https://avatars.githubusercontent.com/u/317268?v=3","gravatar_id":"","url":"https://api.github.com/users/xapi-project","html_url":"https://github.com/xapi-project","followers_url":"https://api.github.com/users/xapi-project/followers","following_url":"https://api.github.com/users/xapi-project/following{/other_user}","gists_url":"https://api.github.com/users/xapi-project/gists{/gist_id}","starred_url":"https://api.github.com/users/xapi-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xapi-project/subscriptions","organizations_url":"https://api.github.com/users/xapi-project/orgs","repos_url":"https://api.github.com/users/xapi-project/repos","events_url":"https://api.github.com/users/xapi-project/events{/privacy}","received_events_url":"https://api.github.com/users/xapi-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xapi-project/xenopsd","description":"XCP toolstack domain manager","fork":false,"url":"https://api.github.com/repos/xapi-project/xenopsd","forks_url":"https://api.github.com/repos/xapi-project/xenopsd/forks","keys_url":"https://api.github.com/repos/xapi-project/xenopsd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xapi-project/xenopsd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xapi-project/xenopsd/teams","hooks_url":"https://api.github.com/repos/xapi-project/xenopsd/hooks","issue_events_url":"https://api.github.com/repos/xapi-project/xenopsd/issues/events{/number}","events_url":"https://api.github.com/repos/xapi-project/xenopsd/events","assignees_url":"https://api.github.com/repos/xapi-project/xenopsd/assignees{/user}","branches_url":"https://api.github.com/repos/xapi-project/xenopsd/branches{/branch}","tags_url":"https://api.github.com/repos/xapi-project/xenopsd/tags","blobs_url":"https://api.github.com/repos/xapi-project/xenopsd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xapi-project/xenopsd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xapi-project/xenopsd/git/refs{/sha}","trees_url":"https://api.github.com/repos/xapi-project/xenopsd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xapi-project/xenopsd/statuses/{sha}","languages_url":"https://api.github.com/repos/xapi-project/xenopsd/languages","stargazers_url":"https://api.github.com/repos/xapi-project/xenopsd/stargazers","contributors_url":"https://api.github.com/repos/xapi-project/xenopsd/contributors","subscribers_url":"https://api.github.com/repos/xapi-project/xenopsd/subscribers","subscription_url":"https://api.github.com/repos/xapi-project/xenopsd/subscription","commits_url":"https://api.github.com/repos/xapi-project/xenopsd/commits{/sha}","git_commits_url":"https://api.github.com/repos/xapi-project/xenopsd/git/commits{/sha}","comments_url":"https://api.github.com/repos/xapi-project/xenopsd/comments{/number}","issue_comment_url":"https://api.github.com/repos/xapi-project/xenopsd/issues/comments{/number}","contents_url":"https://api.github.com/repos/xapi-project/xenopsd/contents/{+path}","compare_url":"https://api.github.com/repos/xapi-project/xenopsd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xapi-project/xenopsd/merges","archive_url":"https://api.github.com/repos/xapi-project/xenopsd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xapi-project/xenopsd/downloads","issues_url":"https://api.github.com/repos/xapi-project/xenopsd/issues{/number}","pulls_url":"https://api.github.com/repos/xapi-project/xenopsd/pulls{/number}","milestones_url":"https://api.github.com/repos/xapi-project/xenopsd/milestones{/number}","notifications_url":"https://api.github.com/repos/xapi-project/xenopsd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xapi-project/xenopsd/labels{/name}","releases_url":"https://api.github.com/repos/xapi-project/xenopsd/releases{/id}","deployments_url":"https://api.github.com/repos/xapi-project/xenopsd/deployments","created_at":"2013-01-11T17:19:31Z","updated_at":"2016-01-20T15:35:40Z","pushed_at":"2016-08-16T09:32:01Z","git_url":"git://github.com/xapi-project/xenopsd.git","ssh_url":"git@github.com:xapi-project/xenopsd.git","clone_url":"https://github.com/xapi-project/xenopsd.git","svn_url":"https://github.com/xapi-project/xenopsd","homepage":null,"size":34413,"stargazers_count":6,"watchers_count":6,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":10,"forks":38,"open_issues":10,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xapi-project/xenopsd/pulls/281"},"html":{"href":"https://github.com/xapi-project/xenopsd/pull/281"},"issue":{"href":"https://api.github.com/repos/xapi-project/xenopsd/issues/281"},"comments":{"href":"https://api.github.com/repos/xapi-project/xenopsd/issues/281/comments"},"review_comments":{"href":"https://api.github.com/repos/xapi-project/xenopsd/pulls/281/comments"},"review_comment":{"href":"https://api.github.com/repos/xapi-project/xenopsd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xapi-project/xenopsd/pulls/281/commits"},"statuses":{"href":"https://api.github.com/repos/xapi-project/xenopsd/statuses/734254576d93f5d960407f5f0e4de5d000d6c811"}}}}
{"actor":{"display_login":"robhoes"}}