{"action":"opened","number":166,"pull_request":{"url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/pulls/166","id":141611317,"html_url":"https://github.com/virtio-win/kvm-guest-drivers-windows/pull/166","diff_url":"https://github.com/virtio-win/kvm-guest-drivers-windows/pull/166.diff","patch_url":"https://github.com/virtio-win/kvm-guest-drivers-windows/pull/166.patch","issue_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/issues/166","number":166,"state":"open","locked":false,"title":"viostor: Fix geometry updates with vectors=1","user":{"login":"ladipro","id":12206368,"avatar_url":"https://avatars1.githubusercontent.com/u/12206368?v=4","gravatar_id":"","url":"https://api.github.com/users/ladipro","html_url":"https://github.com/ladipro","followers_url":"https://api.github.com/users/ladipro/followers","following_url":"https://api.github.com/users/ladipro/following{/other_user}","gists_url":"https://api.github.com/users/ladipro/gists{/gist_id}","starred_url":"https://api.github.com/users/ladipro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ladipro/subscriptions","organizations_url":"https://api.github.com/users/ladipro/orgs","repos_url":"https://api.github.com/users/ladipro/repos","events_url":"https://api.github.com/users/ladipro/events{/privacy}","received_events_url":"https://api.github.com/users/ladipro/received_events","type":"User","site_admin":false},"body":"If the virtio-blk-pci device is configured with only one MSI vector,\r\nthe driver didn't refresh its geometry information on disk resize\r\nbecause it's not easy to tell that the interrupt was triggered by\r\na config change.\r\n\r\nPossible solutions include:\r\n* checking the config generation field (virtio 1.0 only) to detect\r\n  config changes\r\n* checking the ISR status field (QEMU seems to always set bit 1 even\r\n  if the device operates in MSI mode)\r\n* re-reading the config in a rate-limited fashion (on every n-th\r\n  interrupt, or every second, or something similar)\r\n\r\nThis commit fixes it by polling the config when we're asked for the\r\ngeometry info by the OS. RhelGetDiskGeometry just copies the info to\r\nour internal structures anyway, so we're not losing much by not\r\ndoing it before Windows asks.\r\n\r\nThis fixes https://bugzilla.redhat.com/show_bug.cgi?id=1451572\r\n\r\nSigned-off-by: Ladi Prosek <lprosek@redhat.com>","created_at":"2017-09-18T14:04:49Z","updated_at":"2017-09-18T14:04:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/pulls/166/commits","review_comments_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/pulls/166/comments","review_comment_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/pulls/comments{/number}","comments_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/issues/166/comments","statuses_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/statuses/636b91c6618ee09535c499409adb8cefbd5e27b5","head":{"label":"ladipro:viostor_one_vector","ref":"viostor_one_vector","sha":"636b91c6618ee09535c499409adb8cefbd5e27b5","user":{"login":"ladipro","id":12206368,"avatar_url":"https://avatars1.githubusercontent.com/u/12206368?v=4","gravatar_id":"","url":"https://api.github.com/users/ladipro","html_url":"https://github.com/ladipro","followers_url":"https://api.github.com/users/ladipro/followers","following_url":"https://api.github.com/users/ladipro/following{/other_user}","gists_url":"https://api.github.com/users/ladipro/gists{/gist_id}","starred_url":"https://api.github.com/users/ladipro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ladipro/subscriptions","organizations_url":"https://api.github.com/users/ladipro/orgs","repos_url":"https://api.github.com/users/ladipro/repos","events_url":"https://api.github.com/users/ladipro/events{/privacy}","received_events_url":"https://api.github.com/users/ladipro/received_events","type":"User","site_admin":false},"repo":{"id":81547026,"name":"kvm-guest-drivers-windows","full_name":"ladipro/kvm-guest-drivers-windows","owner":{"login":"ladipro","id":12206368,"avatar_url":"https://avatars1.githubusercontent.com/u/12206368?v=4","gravatar_id":"","url":"https://api.github.com/users/ladipro","html_url":"https://github.com/ladipro","followers_url":"https://api.github.com/users/ladipro/followers","following_url":"https://api.github.com/users/ladipro/following{/other_user}","gists_url":"https://api.github.com/users/ladipro/gists{/gist_id}","starred_url":"https://api.github.com/users/ladipro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ladipro/subscriptions","organizations_url":"https://api.github.com/users/ladipro/orgs","repos_url":"https://api.github.com/users/ladipro/repos","events_url":"https://api.github.com/users/ladipro/events{/privacy}","received_events_url":"https://api.github.com/users/ladipro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ladipro/kvm-guest-drivers-windows","description":"Windows paravirtualized ","fork":true,"url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows","forks_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/forks","keys_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/teams","hooks_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/hooks","issue_events_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/issues/events{/number}","events_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/events","assignees_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/assignees{/user}","branches_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/branches{/branch}","tags_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/tags","blobs_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/git/refs{/sha}","trees_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/statuses/{sha}","languages_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/languages","stargazers_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/stargazers","contributors_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/contributors","subscribers_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/subscribers","subscription_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/subscription","commits_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/commits{/sha}","git_commits_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/git/commits{/sha}","comments_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/comments{/number}","issue_comment_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/issues/comments{/number}","contents_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/contents/{+path}","compare_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/merges","archive_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/downloads","issues_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/issues{/number}","pulls_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/pulls{/number}","milestones_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/milestones{/number}","notifications_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/labels{/name}","releases_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/releases{/id}","deployments_url":"https://api.github.com/repos/ladipro/kvm-guest-drivers-windows/deployments","created_at":"2017-02-10T09:03:42Z","updated_at":"2017-02-10T09:03:45Z","pushed_at":"2017-09-18T14:04:13Z","git_url":"git://github.com/ladipro/kvm-guest-drivers-windows.git","ssh_url":"git@github.com:ladipro/kvm-guest-drivers-windows.git","clone_url":"https://github.com/ladipro/kvm-guest-drivers-windows.git","svn_url":"https://github.com/ladipro/kvm-guest-drivers-windows","homepage":"http://www.linux-kvm.org/page/WindowsGuestDrivers","size":7371,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"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":"virtio-win:master","ref":"master","sha":"abb3a30d52ddaa2598b6f006df8446b5885f6348","user":{"login":"virtio-win","id":25745520,"avatar_url":"https://avatars0.githubusercontent.com/u/25745520?v=4","gravatar_id":"","url":"https://api.github.com/users/virtio-win","html_url":"https://github.com/virtio-win","followers_url":"https://api.github.com/users/virtio-win/followers","following_url":"https://api.github.com/users/virtio-win/following{/other_user}","gists_url":"https://api.github.com/users/virtio-win/gists{/gist_id}","starred_url":"https://api.github.com/users/virtio-win/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtio-win/subscriptions","organizations_url":"https://api.github.com/users/virtio-win/orgs","repos_url":"https://api.github.com/users/virtio-win/repos","events_url":"https://api.github.com/users/virtio-win/events{/privacy}","received_events_url":"https://api.github.com/users/virtio-win/received_events","type":"Organization","site_admin":false},"repo":{"id":2524933,"name":"kvm-guest-drivers-windows","full_name":"virtio-win/kvm-guest-drivers-windows","owner":{"login":"virtio-win","id":25745520,"avatar_url":"https://avatars0.githubusercontent.com/u/25745520?v=4","gravatar_id":"","url":"https://api.github.com/users/virtio-win","html_url":"https://github.com/virtio-win","followers_url":"https://api.github.com/users/virtio-win/followers","following_url":"https://api.github.com/users/virtio-win/following{/other_user}","gists_url":"https://api.github.com/users/virtio-win/gists{/gist_id}","starred_url":"https://api.github.com/users/virtio-win/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtio-win/subscriptions","organizations_url":"https://api.github.com/users/virtio-win/orgs","repos_url":"https://api.github.com/users/virtio-win/repos","events_url":"https://api.github.com/users/virtio-win/events{/privacy}","received_events_url":"https://api.github.com/users/virtio-win/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/virtio-win/kvm-guest-drivers-windows","description":"Windows paravirtualized ","fork":false,"url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows","forks_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/forks","keys_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/keys{/key_id}","collaborators_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/teams","hooks_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/hooks","issue_events_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/issues/events{/number}","events_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/events","assignees_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/assignees{/user}","branches_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/branches{/branch}","tags_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/tags","blobs_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/git/refs{/sha}","trees_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/git/trees{/sha}","statuses_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/statuses/{sha}","languages_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/languages","stargazers_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/stargazers","contributors_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/contributors","subscribers_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/subscribers","subscription_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/subscription","commits_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/commits{/sha}","git_commits_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/git/commits{/sha}","comments_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/comments{/number}","issue_comment_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/issues/comments{/number}","contents_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/contents/{+path}","compare_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/compare/{base}...{head}","merges_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/merges","archive_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/downloads","issues_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/issues{/number}","pulls_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/pulls{/number}","milestones_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/milestones{/number}","notifications_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/labels{/name}","releases_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/releases{/id}","deployments_url":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/deployments","created_at":"2011-10-06T09:06:41Z","updated_at":"2017-09-14T19:44:15Z","pushed_at":"2017-09-18T12:29:11Z","git_url":"git://github.com/virtio-win/kvm-guest-drivers-windows.git","ssh_url":"git@github.com:virtio-win/kvm-guest-drivers-windows.git","clone_url":"https://github.com/virtio-win/kvm-guest-drivers-windows.git","svn_url":"https://github.com/virtio-win/kvm-guest-drivers-windows","homepage":"http://www.linux-kvm.org/page/WindowsGuestDrivers","size":7285,"stargazers_count":284,"watchers_count":284,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":114,"mirror_url":null,"open_issues_count":21,"forks":114,"open_issues":21,"watchers":284,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/pulls/166"},"html":{"href":"https://github.com/virtio-win/kvm-guest-drivers-windows/pull/166"},"issue":{"href":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/issues/166"},"comments":{"href":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/issues/166/comments"},"review_comments":{"href":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/pulls/166/comments"},"review_comment":{"href":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/pulls/166/commits"},"statuses":{"href":"https://api.github.com/repos/virtio-win/kvm-guest-drivers-windows/statuses/636b91c6618ee09535c499409adb8cefbd5e27b5"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":8,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"ladipro"}}