{"action":"opened","number":484,"pull_request":{"url":"https://api.github.com/repos/xapi-project/xenopsd/pulls/484","id":176135791,"html_url":"https://github.com/xapi-project/xenopsd/pull/484","diff_url":"https://github.com/xapi-project/xenopsd/pull/484.diff","patch_url":"https://github.com/xapi-project/xenopsd/pull/484.patch","issue_url":"https://api.github.com/repos/xapi-project/xenopsd/issues/484","number":484,"state":"open","locked":false,"title":"CP-27216: uid/gid save and restore of device file","user":{"login":"taoyongd","id":20807635,"avatar_url":"https://avatars2.githubusercontent.com/u/20807635?v=4","gravatar_id":"","url":"https://api.github.com/users/taoyongd","html_url":"https://github.com/taoyongd","followers_url":"https://api.github.com/users/taoyongd/followers","following_url":"https://api.github.com/users/taoyongd/following{/other_user}","gists_url":"https://api.github.com/users/taoyongd/gists{/gist_id}","starred_url":"https://api.github.com/users/taoyongd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taoyongd/subscriptions","organizations_url":"https://api.github.com/users/taoyongd/orgs","repos_url":"https://api.github.com/users/taoyongd/repos","events_url":"https://api.github.com/users/taoyongd/events{/privacy}","received_events_url":"https://api.github.com/users/taoyongd/received_events","type":"User","site_admin":false},"body":"This ticket is to make the uid/gid more accurate, as uid/gid of almost all the\r\nusb devices in the path (eg. \"/dev/bus/usb/001/003\") is 0/0. But it\r\nstill can be other values. So we will save the uid/gid of the device file\r\nwhen plugging it to vm and restore it in unplug step.\r\n\r\nThis PR is also along with https://github.com/xapi-project/xen-api/pull/3525 \r\nSigned-off-by: Taoyong Ding <taoyong.ding@citrix.com>","created_at":"2018-03-20T09:48:53Z","updated_at":"2018-03-20T09:48:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/xapi-project/xenopsd/pulls/484/commits","review_comments_url":"https://api.github.com/repos/xapi-project/xenopsd/pulls/484/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/484/comments","statuses_url":"https://api.github.com/repos/xapi-project/xenopsd/statuses/5013388cded49f74ee51581a10451a1d5684c6f4","head":{"label":"taoyongd:CP-27216","ref":"CP-27216","sha":"5013388cded49f74ee51581a10451a1d5684c6f4","user":{"login":"taoyongd","id":20807635,"avatar_url":"https://avatars2.githubusercontent.com/u/20807635?v=4","gravatar_id":"","url":"https://api.github.com/users/taoyongd","html_url":"https://github.com/taoyongd","followers_url":"https://api.github.com/users/taoyongd/followers","following_url":"https://api.github.com/users/taoyongd/following{/other_user}","gists_url":"https://api.github.com/users/taoyongd/gists{/gist_id}","starred_url":"https://api.github.com/users/taoyongd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taoyongd/subscriptions","organizations_url":"https://api.github.com/users/taoyongd/orgs","repos_url":"https://api.github.com/users/taoyongd/repos","events_url":"https://api.github.com/users/taoyongd/events{/privacy}","received_events_url":"https://api.github.com/users/taoyongd/received_events","type":"User","site_admin":false},"repo":{"id":76036371,"name":"xenopsd","full_name":"taoyongd/xenopsd","owner":{"login":"taoyongd","id":20807635,"avatar_url":"https://avatars2.githubusercontent.com/u/20807635?v=4","gravatar_id":"","url":"https://api.github.com/users/taoyongd","html_url":"https://github.com/taoyongd","followers_url":"https://api.github.com/users/taoyongd/followers","following_url":"https://api.github.com/users/taoyongd/following{/other_user}","gists_url":"https://api.github.com/users/taoyongd/gists{/gist_id}","starred_url":"https://api.github.com/users/taoyongd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taoyongd/subscriptions","organizations_url":"https://api.github.com/users/taoyongd/orgs","repos_url":"https://api.github.com/users/taoyongd/repos","events_url":"https://api.github.com/users/taoyongd/events{/privacy}","received_events_url":"https://api.github.com/users/taoyongd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/taoyongd/xenopsd","description":"XCP toolstack domain manager","fork":true,"url":"https://api.github.com/repos/taoyongd/xenopsd","forks_url":"https://api.github.com/repos/taoyongd/xenopsd/forks","keys_url":"https://api.github.com/repos/taoyongd/xenopsd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taoyongd/xenopsd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taoyongd/xenopsd/teams","hooks_url":"https://api.github.com/repos/taoyongd/xenopsd/hooks","issue_events_url":"https://api.github.com/repos/taoyongd/xenopsd/issues/events{/number}","events_url":"https://api.github.com/repos/taoyongd/xenopsd/events","assignees_url":"https://api.github.com/repos/taoyongd/xenopsd/assignees{/user}","branches_url":"https://api.github.com/repos/taoyongd/xenopsd/branches{/branch}","tags_url":"https://api.github.com/repos/taoyongd/xenopsd/tags","blobs_url":"https://api.github.com/repos/taoyongd/xenopsd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taoyongd/xenopsd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taoyongd/xenopsd/git/refs{/sha}","trees_url":"https://api.github.com/repos/taoyongd/xenopsd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taoyongd/xenopsd/statuses/{sha}","languages_url":"https://api.github.com/repos/taoyongd/xenopsd/languages","stargazers_url":"https://api.github.com/repos/taoyongd/xenopsd/stargazers","contributors_url":"https://api.github.com/repos/taoyongd/xenopsd/contributors","subscribers_url":"https://api.github.com/repos/taoyongd/xenopsd/subscribers","subscription_url":"https://api.github.com/repos/taoyongd/xenopsd/subscription","commits_url":"https://api.github.com/repos/taoyongd/xenopsd/commits{/sha}","git_commits_url":"https://api.github.com/repos/taoyongd/xenopsd/git/commits{/sha}","comments_url":"https://api.github.com/repos/taoyongd/xenopsd/comments{/number}","issue_comment_url":"https://api.github.com/repos/taoyongd/xenopsd/issues/comments{/number}","contents_url":"https://api.github.com/repos/taoyongd/xenopsd/contents/{+path}","compare_url":"https://api.github.com/repos/taoyongd/xenopsd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taoyongd/xenopsd/merges","archive_url":"https://api.github.com/repos/taoyongd/xenopsd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taoyongd/xenopsd/downloads","issues_url":"https://api.github.com/repos/taoyongd/xenopsd/issues{/number}","pulls_url":"https://api.github.com/repos/taoyongd/xenopsd/pulls{/number}","milestones_url":"https://api.github.com/repos/taoyongd/xenopsd/milestones{/number}","notifications_url":"https://api.github.com/repos/taoyongd/xenopsd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taoyongd/xenopsd/labels{/name}","releases_url":"https://api.github.com/repos/taoyongd/xenopsd/releases{/id}","deployments_url":"https://api.github.com/repos/taoyongd/xenopsd/deployments","created_at":"2016-12-09T13:09:28Z","updated_at":"2016-12-09T13:09:30Z","pushed_at":"2018-03-20T09:47:14Z","git_url":"git://github.com/taoyongd/xenopsd.git","ssh_url":"git@github.com:taoyongd/xenopsd.git","clone_url":"https://github.com/taoyongd/xenopsd.git","svn_url":"https://github.com/taoyongd/xenopsd","homepage":null,"size":32922,"stargazers_count":0,"watchers_count":0,"language":"OCaml","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xapi-project:qemu-upstream","ref":"qemu-upstream","sha":"62e7a27aac73a8b9663827417c2b9c4bbe16e0c2","user":{"login":"xapi-project","id":317268,"avatar_url":"https://avatars3.githubusercontent.com/u/317268?v=4","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://avatars3.githubusercontent.com/u/317268?v=4","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":"2018-03-19T16:24:45Z","pushed_at":"2018-03-19T16:24:42Z","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":33312,"stargazers_count":7,"watchers_count":7,"language":"OCaml","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":56,"open_issues":10,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xapi-project/xenopsd/pulls/484"},"html":{"href":"https://github.com/xapi-project/xenopsd/pull/484"},"issue":{"href":"https://api.github.com/repos/xapi-project/xenopsd/issues/484"},"comments":{"href":"https://api.github.com/repos/xapi-project/xenopsd/issues/484/comments"},"review_comments":{"href":"https://api.github.com/repos/xapi-project/xenopsd/pulls/484/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/484/commits"},"statuses":{"href":"https://api.github.com/repos/xapi-project/xenopsd/statuses/5013388cded49f74ee51581a10451a1d5684c6f4"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":44,"deletions":9,"changed_files":2}}
{"actor":{"display_login":"taoyongd"}}