{"action":"created","comment":{"url":"https://api.github.com/repos/autotest/tp-qemu/pulls/comments/45439436","id":45439436,"diff_hunk":"@@ -2,35 +2,58 @@\n     type = driver_load\n     kill_vm_on_error = yes\n     login_timeout = 240\n-    driver_load_cmd = modprobe DRIVER_ID\n-    driver_unload_cmd = modprobe -r DRIVER_ID\n     repeats = 1\n     variants:\n-        - nic_device:\n+        - with_nic:\n             no e1000\n             nics += \" nic2\"\n-            nic_model_nic2 = e1000\n-            driver_id_cmd = lsmod |grep virtio_net\n+            nic_model_nic2 = rtl8139\n+            nic_model_nic1 = virtio\n             driver_id_pattern = virtio_net\n             test_after_load = file_transfer\n             filesize = 100\n             transfer_timeout = 1000\n-            Windows:\n-                # The DevCon utility is a command-line utility that acts as an\n-                # alternative to Device Manager. Please set up your windows guest\n-                # following: http://support.microsoft.com/kb/311272/en-us\n-                driver_id_cmd = C:\\devcon.exe find * | find \"VirtIO Ethernet Adapter\"\n-                driver_id_pattern = \"(.*?):\"\n-                driver_load_cmd = C:\\devcon.exe enable DRIVER_ID\n-                driver_unload_cmd = C:\\devcon.exe disable DRIVER_ID\n-        - balloon_device:\n+\n+        - with_balloon:\n             balloon = balloon0\n             balloon_dev_devid = balloon0\n             balloon_dev_add_bus = yes\n             driver_id_cmd = lsmod |grep virtio_balloon\n             driver_id_pattern = virtio_balloon\n-            Windows:\n-                driver_id_cmd = C:\\devcon.exe find * | find \"VirtIO Balloon Driver\"\n-                driver_id_pattern = \"(.*?):\"\n-                driver_load_cmd = C:\\devcon.exe enable DRIVER_ID\n-                driver_unload_cmd = C:\\devcon.exe disable DRIVER_ID\n+\n+        - with_viorng:\n+            no_virtio_rng:\n+            virtio_rngs += \" rng0\"\n+                backend_rng0 = rng-random","path":"qemu/tests/cfg/driver_load.cfg","position":45,"original_position":45,"commit_id":"018b8ada8da897c0ca25e78e3302c7e800c15174","original_commit_id":"018b8ada8da897c0ca25e78e3302c7e800c15174","user":{"login":"xutian","id":1871732,"avatar_url":"https://avatars.githubusercontent.com/u/1871732?v=3","gravatar_id":"","url":"https://api.github.com/users/xutian","html_url":"https://github.com/xutian","followers_url":"https://api.github.com/users/xutian/followers","following_url":"https://api.github.com/users/xutian/following{/other_user}","gists_url":"https://api.github.com/users/xutian/gists{/gist_id}","starred_url":"https://api.github.com/users/xutian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xutian/subscriptions","organizations_url":"https://api.github.com/users/xutian/orgs","repos_url":"https://api.github.com/users/xutian/repos","events_url":"https://api.github.com/users/xutian/events{/privacy}","received_events_url":"https://api.github.com/users/xutian/received_events","type":"User","site_admin":false},"body":"this parts no need 4 space","created_at":"2015-11-20T06:29:20Z","updated_at":"2015-11-20T06:29:20Z","html_url":"https://github.com/autotest/tp-qemu/pull/447#discussion_r45439436","pull_request_url":"https://api.github.com/repos/autotest/tp-qemu/pulls/447","_links":{"self":{"href":"https://api.github.com/repos/autotest/tp-qemu/pulls/comments/45439436"},"html":{"href":"https://github.com/autotest/tp-qemu/pull/447#discussion_r45439436"},"pull_request":{"href":"https://api.github.com/repos/autotest/tp-qemu/pulls/447"}}},"pull_request":{"url":"https://api.github.com/repos/autotest/tp-qemu/pulls/447","id":43007305,"html_url":"https://github.com/autotest/tp-qemu/pull/447","diff_url":"https://github.com/autotest/tp-qemu/pull/447.diff","patch_url":"https://github.com/autotest/tp-qemu/pull/447.patch","issue_url":"https://api.github.com/repos/autotest/tp-qemu/issues/447","number":447,"state":"open","locked":false,"title":"tp-qemu: Modify disable/enable test cases for windows","user":{"login":"vipmike007","id":869898,"avatar_url":"https://avatars.githubusercontent.com/u/869898?v=3","gravatar_id":"","url":"https://api.github.com/users/vipmike007","html_url":"https://github.com/vipmike007","followers_url":"https://api.github.com/users/vipmike007/followers","following_url":"https://api.github.com/users/vipmike007/following{/other_user}","gists_url":"https://api.github.com/users/vipmike007/gists{/gist_id}","starred_url":"https://api.github.com/users/vipmike007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vipmike007/subscriptions","organizations_url":"https://api.github.com/users/vipmike007/orgs","repos_url":"https://api.github.com/users/vipmike007/repos","events_url":"https://api.github.com/users/vipmike007/events{/privacy}","received_events_url":"https://api.github.com/users/vipmike007/received_events","type":"User","site_admin":false},"body":"modify disable/enable test cases for different devices\r\n\r\nThis patch can be used for disable/enable driver during reboot/shutdown/system_reset in the future.\r\nSigned-off-by: Mike Cao <bcao@redhat.com>","created_at":"2015-08-21T06:18:06Z","updated_at":"2015-11-20T06:29:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"577f195d5665b5f440c99f50043dd72c7e420dc2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/autotest/tp-qemu/pulls/447/commits","review_comments_url":"https://api.github.com/repos/autotest/tp-qemu/pulls/447/comments","review_comment_url":"https://api.github.com/repos/autotest/tp-qemu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/autotest/tp-qemu/issues/447/comments","statuses_url":"https://api.github.com/repos/autotest/tp-qemu/statuses/018b8ada8da897c0ca25e78e3302c7e800c15174","head":{"label":"vipmike007:disable_enable","ref":"disable_enable","sha":"018b8ada8da897c0ca25e78e3302c7e800c15174","user":{"login":"vipmike007","id":869898,"avatar_url":"https://avatars.githubusercontent.com/u/869898?v=3","gravatar_id":"","url":"https://api.github.com/users/vipmike007","html_url":"https://github.com/vipmike007","followers_url":"https://api.github.com/users/vipmike007/followers","following_url":"https://api.github.com/users/vipmike007/following{/other_user}","gists_url":"https://api.github.com/users/vipmike007/gists{/gist_id}","starred_url":"https://api.github.com/users/vipmike007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vipmike007/subscriptions","organizations_url":"https://api.github.com/users/vipmike007/orgs","repos_url":"https://api.github.com/users/vipmike007/repos","events_url":"https://api.github.com/users/vipmike007/events{/privacy}","received_events_url":"https://api.github.com/users/vipmike007/received_events","type":"User","site_admin":false},"repo":{"id":37463381,"name":"tp-qemu","full_name":"vipmike007/tp-qemu","owner":{"login":"vipmike007","id":869898,"avatar_url":"https://avatars.githubusercontent.com/u/869898?v=3","gravatar_id":"","url":"https://api.github.com/users/vipmike007","html_url":"https://github.com/vipmike007","followers_url":"https://api.github.com/users/vipmike007/followers","following_url":"https://api.github.com/users/vipmike007/following{/other_user}","gists_url":"https://api.github.com/users/vipmike007/gists{/gist_id}","starred_url":"https://api.github.com/users/vipmike007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vipmike007/subscriptions","organizations_url":"https://api.github.com/users/vipmike007/orgs","repos_url":"https://api.github.com/users/vipmike007/repos","events_url":"https://api.github.com/users/vipmike007/events{/privacy}","received_events_url":"https://api.github.com/users/vipmike007/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vipmike007/tp-qemu","description":"Virt Test Provider for qemu and other related virtualization backends","fork":true,"url":"https://api.github.com/repos/vipmike007/tp-qemu","forks_url":"https://api.github.com/repos/vipmike007/tp-qemu/forks","keys_url":"https://api.github.com/repos/vipmike007/tp-qemu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vipmike007/tp-qemu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vipmike007/tp-qemu/teams","hooks_url":"https://api.github.com/repos/vipmike007/tp-qemu/hooks","issue_events_url":"https://api.github.com/repos/vipmike007/tp-qemu/issues/events{/number}","events_url":"https://api.github.com/repos/vipmike007/tp-qemu/events","assignees_url":"https://api.github.com/repos/vipmike007/tp-qemu/assignees{/user}","branches_url":"https://api.github.com/repos/vipmike007/tp-qemu/branches{/branch}","tags_url":"https://api.github.com/repos/vipmike007/tp-qemu/tags","blobs_url":"https://api.github.com/repos/vipmike007/tp-qemu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vipmike007/tp-qemu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vipmike007/tp-qemu/git/refs{/sha}","trees_url":"https://api.github.com/repos/vipmike007/tp-qemu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vipmike007/tp-qemu/statuses/{sha}","languages_url":"https://api.github.com/repos/vipmike007/tp-qemu/languages","stargazers_url":"https://api.github.com/repos/vipmike007/tp-qemu/stargazers","contributors_url":"https://api.github.com/repos/vipmike007/tp-qemu/contributors","subscribers_url":"https://api.github.com/repos/vipmike007/tp-qemu/subscribers","subscription_url":"https://api.github.com/repos/vipmike007/tp-qemu/subscription","commits_url":"https://api.github.com/repos/vipmike007/tp-qemu/commits{/sha}","git_commits_url":"https://api.github.com/repos/vipmike007/tp-qemu/git/commits{/sha}","comments_url":"https://api.github.com/repos/vipmike007/tp-qemu/comments{/number}","issue_comment_url":"https://api.github.com/repos/vipmike007/tp-qemu/issues/comments{/number}","contents_url":"https://api.github.com/repos/vipmike007/tp-qemu/contents/{+path}","compare_url":"https://api.github.com/repos/vipmike007/tp-qemu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vipmike007/tp-qemu/merges","archive_url":"https://api.github.com/repos/vipmike007/tp-qemu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vipmike007/tp-qemu/downloads","issues_url":"https://api.github.com/repos/vipmike007/tp-qemu/issues{/number}","pulls_url":"https://api.github.com/repos/vipmike007/tp-qemu/pulls{/number}","milestones_url":"https://api.github.com/repos/vipmike007/tp-qemu/milestones{/number}","notifications_url":"https://api.github.com/repos/vipmike007/tp-qemu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vipmike007/tp-qemu/labels{/name}","releases_url":"https://api.github.com/repos/vipmike007/tp-qemu/releases{/id}","created_at":"2015-06-15T12:21:33Z","updated_at":"2015-06-15T12:21:35Z","pushed_at":"2015-11-20T06:23:11Z","git_url":"git://github.com/vipmike007/tp-qemu.git","ssh_url":"git@github.com:vipmike007/tp-qemu.git","clone_url":"https://github.com/vipmike007/tp-qemu.git","svn_url":"https://github.com/vipmike007/tp-qemu","homepage":null,"size":10958,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"autotest:master","ref":"master","sha":"bea908b2664a2bfee89dbf07e42aec2265b2d7ff","user":{"login":"autotest","id":472856,"avatar_url":"https://avatars.githubusercontent.com/u/472856?v=3","gravatar_id":"","url":"https://api.github.com/users/autotest","html_url":"https://github.com/autotest","followers_url":"https://api.github.com/users/autotest/followers","following_url":"https://api.github.com/users/autotest/following{/other_user}","gists_url":"https://api.github.com/users/autotest/gists{/gist_id}","starred_url":"https://api.github.com/users/autotest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autotest/subscriptions","organizations_url":"https://api.github.com/users/autotest/orgs","repos_url":"https://api.github.com/users/autotest/repos","events_url":"https://api.github.com/users/autotest/events{/privacy}","received_events_url":"https://api.github.com/users/autotest/received_events","type":"Organization","site_admin":false},"repo":{"id":16180304,"name":"tp-qemu","full_name":"autotest/tp-qemu","owner":{"login":"autotest","id":472856,"avatar_url":"https://avatars.githubusercontent.com/u/472856?v=3","gravatar_id":"","url":"https://api.github.com/users/autotest","html_url":"https://github.com/autotest","followers_url":"https://api.github.com/users/autotest/followers","following_url":"https://api.github.com/users/autotest/following{/other_user}","gists_url":"https://api.github.com/users/autotest/gists{/gist_id}","starred_url":"https://api.github.com/users/autotest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autotest/subscriptions","organizations_url":"https://api.github.com/users/autotest/orgs","repos_url":"https://api.github.com/users/autotest/repos","events_url":"https://api.github.com/users/autotest/events{/privacy}","received_events_url":"https://api.github.com/users/autotest/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/autotest/tp-qemu","description":"Virt Test Provider for qemu and other related virtualization backends","fork":false,"url":"https://api.github.com/repos/autotest/tp-qemu","forks_url":"https://api.github.com/repos/autotest/tp-qemu/forks","keys_url":"https://api.github.com/repos/autotest/tp-qemu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/autotest/tp-qemu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/autotest/tp-qemu/teams","hooks_url":"https://api.github.com/repos/autotest/tp-qemu/hooks","issue_events_url":"https://api.github.com/repos/autotest/tp-qemu/issues/events{/number}","events_url":"https://api.github.com/repos/autotest/tp-qemu/events","assignees_url":"https://api.github.com/repos/autotest/tp-qemu/assignees{/user}","branches_url":"https://api.github.com/repos/autotest/tp-qemu/branches{/branch}","tags_url":"https://api.github.com/repos/autotest/tp-qemu/tags","blobs_url":"https://api.github.com/repos/autotest/tp-qemu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/autotest/tp-qemu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/autotest/tp-qemu/git/refs{/sha}","trees_url":"https://api.github.com/repos/autotest/tp-qemu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/autotest/tp-qemu/statuses/{sha}","languages_url":"https://api.github.com/repos/autotest/tp-qemu/languages","stargazers_url":"https://api.github.com/repos/autotest/tp-qemu/stargazers","contributors_url":"https://api.github.com/repos/autotest/tp-qemu/contributors","subscribers_url":"https://api.github.com/repos/autotest/tp-qemu/subscribers","subscription_url":"https://api.github.com/repos/autotest/tp-qemu/subscription","commits_url":"https://api.github.com/repos/autotest/tp-qemu/commits{/sha}","git_commits_url":"https://api.github.com/repos/autotest/tp-qemu/git/commits{/sha}","comments_url":"https://api.github.com/repos/autotest/tp-qemu/comments{/number}","issue_comment_url":"https://api.github.com/repos/autotest/tp-qemu/issues/comments{/number}","contents_url":"https://api.github.com/repos/autotest/tp-qemu/contents/{+path}","compare_url":"https://api.github.com/repos/autotest/tp-qemu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/autotest/tp-qemu/merges","archive_url":"https://api.github.com/repos/autotest/tp-qemu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/autotest/tp-qemu/downloads","issues_url":"https://api.github.com/repos/autotest/tp-qemu/issues{/number}","pulls_url":"https://api.github.com/repos/autotest/tp-qemu/pulls{/number}","milestones_url":"https://api.github.com/repos/autotest/tp-qemu/milestones{/number}","notifications_url":"https://api.github.com/repos/autotest/tp-qemu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/autotest/tp-qemu/labels{/name}","releases_url":"https://api.github.com/repos/autotest/tp-qemu/releases{/id}","created_at":"2014-01-23T17:51:34Z","updated_at":"2015-06-24T06:37:24Z","pushed_at":"2015-11-20T06:23:11Z","git_url":"git://github.com/autotest/tp-qemu.git","ssh_url":"git@github.com:autotest/tp-qemu.git","clone_url":"https://github.com/autotest/tp-qemu.git","svn_url":"https://github.com/autotest/tp-qemu","homepage":null,"size":11468,"stargazers_count":14,"watchers_count":14,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":25,"forks":50,"open_issues":25,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/autotest/tp-qemu/pulls/447"},"html":{"href":"https://github.com/autotest/tp-qemu/pull/447"},"issue":{"href":"https://api.github.com/repos/autotest/tp-qemu/issues/447"},"comments":{"href":"https://api.github.com/repos/autotest/tp-qemu/issues/447/comments"},"review_comments":{"href":"https://api.github.com/repos/autotest/tp-qemu/pulls/447/comments"},"review_comment":{"href":"https://api.github.com/repos/autotest/tp-qemu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/autotest/tp-qemu/pulls/447/commits"},"statuses":{"href":"https://api.github.com/repos/autotest/tp-qemu/statuses/018b8ada8da897c0ca25e78e3302c7e800c15174"}}}}