{"action":"created","comment":{"url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/comments/227075920","pull_request_review_id":167033509,"id":227075920,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNzA3NTkyMA==","diff_hunk":"@@ -0,0 +1,136 @@\n+.. _partition_mode:\n+\n+Using partition mode on UP2\n+===========================\n+This tutorial describes all the steps you need to take in order to use partition mode with the ACRN hypervisor on UP2.\n+\n+Enabling partition mode\n+***********************\n+1. Make the following changes in ``hypervisor/arch/x86/Kconfig`` :\n+\n+   .. code-block:: none\n+\n+      diff --git a/hypervisor/arch/x86/Kconfig b/hypervisor/arch/x86/Kconfig\n+      index d4b41165..c279cd7f 100644\n+      --- a/hypervisor/arch/x86/Kconfig\n+      +++ b/hypervisor/arch/x86/Kconfig\n+      @@ -13,7 +13,7 @@ endchoice\n+\n+      choice\n+          prompt \"Hypervisor mode\"\n+      -       default SHARING_MODE\n+      +       default PARTITION_MODE\n+\n+      config SHARING_MODE\n+          bool \"Sharing mode\"\n+      @@ -72,7 +72,7 @@ endchoice\n+      config SERIAL_MMIO_BASE\n+          hex \"Base address of serial MMIO region\"\n+          depends on SERIAL_MMIO\n+      -       default 0xfc000000\n+      +       default <Your serial mmio addr>\n+\n+\n+2. Modify the ``vpci_vdev_arrary`` structure (one per vm) in ``hypervisor/partition/vm_description.c`` per ","path":"doc/tutorials/using_partition_mode_on_up2.rst","position":34,"original_position":34,"commit_id":"4311a6e317491e724e4b81c44c56d153288d16ac","original_commit_id":"4311a6e317491e724e4b81c44c56d153288d16ac","user":{"login":"gvancuts","id":2192801,"node_id":"MDQ6VXNlcjIxOTI4MDE=","avatar_url":"https://avatars1.githubusercontent.com/u/2192801?v=4","gravatar_id":"","url":"https://api.github.com/users/gvancuts","html_url":"https://github.com/gvancuts","followers_url":"https://api.github.com/users/gvancuts/followers","following_url":"https://api.github.com/users/gvancuts/following{/other_user}","gists_url":"https://api.github.com/users/gvancuts/gists{/gist_id}","starred_url":"https://api.github.com/users/gvancuts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvancuts/subscriptions","organizations_url":"https://api.github.com/users/gvancuts/orgs","repos_url":"https://api.github.com/users/gvancuts/repos","events_url":"https://api.github.com/users/gvancuts/events{/privacy}","received_events_url":"https://api.github.com/users/gvancuts/received_events","type":"User","site_admin":false},"body":"I believe there is a series of patches coming about built-in VM configurations: https://lists.projectacrn.org/g/acrn-dev/message/13274. But until then, modifying the source code is the only option.\r\n\r\nCan we all remember to modify this tutorial once the patch lands in the code?","created_at":"2018-10-22T18:04:42Z","updated_at":"2018-10-22T18:15:12Z","html_url":"https://github.com/projectacrn/acrn-hypervisor/pull/1547#discussion_r227075920","pull_request_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/1547","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/comments/227075920"},"html":{"href":"https://github.com/projectacrn/acrn-hypervisor/pull/1547#discussion_r227075920"},"pull_request":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/1547"}},"in_reply_to_id":227069227},"pull_request":{"url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/1547","id":224594677,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0NTk0Njc3","html_url":"https://github.com/projectacrn/acrn-hypervisor/pull/1547","diff_url":"https://github.com/projectacrn/acrn-hypervisor/pull/1547.diff","patch_url":"https://github.com/projectacrn/acrn-hypervisor/pull/1547.patch","issue_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/issues/1547","number":1547,"state":"open","locked":false,"title":"Documentation: Add tutorial about how to use partition mode on UP2","user":{"login":"KaigeFu","id":38653193,"node_id":"MDQ6VXNlcjM4NjUzMTkz","avatar_url":"https://avatars2.githubusercontent.com/u/38653193?v=4","gravatar_id":"","url":"https://api.github.com/users/KaigeFu","html_url":"https://github.com/KaigeFu","followers_url":"https://api.github.com/users/KaigeFu/followers","following_url":"https://api.github.com/users/KaigeFu/following{/other_user}","gists_url":"https://api.github.com/users/KaigeFu/gists{/gist_id}","starred_url":"https://api.github.com/users/KaigeFu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaigeFu/subscriptions","organizations_url":"https://api.github.com/users/KaigeFu/orgs","repos_url":"https://api.github.com/users/KaigeFu/repos","events_url":"https://api.github.com/users/KaigeFu/events{/privacy}","received_events_url":"https://api.github.com/users/KaigeFu/received_events","type":"User","site_admin":false},"body":"This patch adds tutorial about all the steps you need to take in order to use\r\npartition mode with ACRN hypervisor on UP2.\r\n\r\nTracked-On: #1160\r\nSigned-off-by: Kaige Fu <kaige.fu@intel.com>","created_at":"2018-10-22T05:59:57Z","updated_at":"2018-10-22T18:15:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"243231984461c23a1dcfd2323275cf4af271528c","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jren1","id":1057333,"node_id":"MDQ6VXNlcjEwNTczMzM=","avatar_url":"https://avatars2.githubusercontent.com/u/1057333?v=4","gravatar_id":"","url":"https://api.github.com/users/jren1","html_url":"https://github.com/jren1","followers_url":"https://api.github.com/users/jren1/followers","following_url":"https://api.github.com/users/jren1/following{/other_user}","gists_url":"https://api.github.com/users/jren1/gists{/gist_id}","starred_url":"https://api.github.com/users/jren1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jren1/subscriptions","organizations_url":"https://api.github.com/users/jren1/orgs","repos_url":"https://api.github.com/users/jren1/repos","events_url":"https://api.github.com/users/jren1/events{/privacy}","received_events_url":"https://api.github.com/users/jren1/received_events","type":"User","site_admin":false},{"login":"ailun258","id":20394804,"node_id":"MDQ6VXNlcjIwMzk0ODA0","avatar_url":"https://avatars2.githubusercontent.com/u/20394804?v=4","gravatar_id":"","url":"https://api.github.com/users/ailun258","html_url":"https://github.com/ailun258","followers_url":"https://api.github.com/users/ailun258/followers","following_url":"https://api.github.com/users/ailun258/following{/other_user}","gists_url":"https://api.github.com/users/ailun258/gists{/gist_id}","starred_url":"https://api.github.com/users/ailun258/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ailun258/subscriptions","organizations_url":"https://api.github.com/users/ailun258/orgs","repos_url":"https://api.github.com/users/ailun258/repos","events_url":"https://api.github.com/users/ailun258/events{/privacy}","received_events_url":"https://api.github.com/users/ailun258/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/1547/commits","review_comments_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/1547/comments","review_comment_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/issues/1547/comments","statuses_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/statuses/4311a6e317491e724e4b81c44c56d153288d16ac","head":{"label":"KaigeFu:partition_mode_tutorial","ref":"partition_mode_tutorial","sha":"4311a6e317491e724e4b81c44c56d153288d16ac","user":{"login":"KaigeFu","id":38653193,"node_id":"MDQ6VXNlcjM4NjUzMTkz","avatar_url":"https://avatars2.githubusercontent.com/u/38653193?v=4","gravatar_id":"","url":"https://api.github.com/users/KaigeFu","html_url":"https://github.com/KaigeFu","followers_url":"https://api.github.com/users/KaigeFu/followers","following_url":"https://api.github.com/users/KaigeFu/following{/other_user}","gists_url":"https://api.github.com/users/KaigeFu/gists{/gist_id}","starred_url":"https://api.github.com/users/KaigeFu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaigeFu/subscriptions","organizations_url":"https://api.github.com/users/KaigeFu/orgs","repos_url":"https://api.github.com/users/KaigeFu/repos","events_url":"https://api.github.com/users/KaigeFu/events{/privacy}","received_events_url":"https://api.github.com/users/KaigeFu/received_events","type":"User","site_admin":false},"repo":{"id":139082462,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkwODI0NjI=","name":"acrn-hypervisor","full_name":"KaigeFu/acrn-hypervisor","private":false,"owner":{"login":"KaigeFu","id":38653193,"node_id":"MDQ6VXNlcjM4NjUzMTkz","avatar_url":"https://avatars2.githubusercontent.com/u/38653193?v=4","gravatar_id":"","url":"https://api.github.com/users/KaigeFu","html_url":"https://github.com/KaigeFu","followers_url":"https://api.github.com/users/KaigeFu/followers","following_url":"https://api.github.com/users/KaigeFu/following{/other_user}","gists_url":"https://api.github.com/users/KaigeFu/gists{/gist_id}","starred_url":"https://api.github.com/users/KaigeFu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaigeFu/subscriptions","organizations_url":"https://api.github.com/users/KaigeFu/orgs","repos_url":"https://api.github.com/users/KaigeFu/repos","events_url":"https://api.github.com/users/KaigeFu/events{/privacy}","received_events_url":"https://api.github.com/users/KaigeFu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/KaigeFu/acrn-hypervisor","description":"Project ACRN hypervisor ","fork":true,"url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor","forks_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/forks","keys_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/teams","hooks_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/hooks","issue_events_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/issues/events{/number}","events_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/events","assignees_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/assignees{/user}","branches_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/branches{/branch}","tags_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/tags","blobs_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/git/refs{/sha}","trees_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/statuses/{sha}","languages_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/languages","stargazers_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/stargazers","contributors_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/contributors","subscribers_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/subscribers","subscription_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/subscription","commits_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/commits{/sha}","git_commits_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/git/commits{/sha}","comments_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/comments{/number}","issue_comment_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/issues/comments{/number}","contents_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/contents/{+path}","compare_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/merges","archive_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/downloads","issues_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/issues{/number}","pulls_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/pulls{/number}","milestones_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/milestones{/number}","notifications_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/labels{/name}","releases_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/releases{/id}","deployments_url":"https://api.github.com/repos/KaigeFu/acrn-hypervisor/deployments","created_at":"2018-06-29T00:38:29Z","updated_at":"2018-10-18T23:58:10Z","pushed_at":"2018-10-22T05:59:27Z","git_url":"git://github.com/KaigeFu/acrn-hypervisor.git","ssh_url":"git@github.com:KaigeFu/acrn-hypervisor.git","clone_url":"https://github.com/KaigeFu/acrn-hypervisor.git","svn_url":"https://github.com/KaigeFu/acrn-hypervisor","homepage":"","size":19565,"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,"archived":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"projectacrn:master","ref":"master","sha":"4ce80e5ccc09ba678421068fd1f082fcc9a64630","user":{"login":"projectacrn","id":36865262,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2ODY1MjYy","avatar_url":"https://avatars1.githubusercontent.com/u/36865262?v=4","gravatar_id":"","url":"https://api.github.com/users/projectacrn","html_url":"https://github.com/projectacrn","followers_url":"https://api.github.com/users/projectacrn/followers","following_url":"https://api.github.com/users/projectacrn/following{/other_user}","gists_url":"https://api.github.com/users/projectacrn/gists{/gist_id}","starred_url":"https://api.github.com/users/projectacrn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectacrn/subscriptions","organizations_url":"https://api.github.com/users/projectacrn/orgs","repos_url":"https://api.github.com/users/projectacrn/repos","events_url":"https://api.github.com/users/projectacrn/events{/privacy}","received_events_url":"https://api.github.com/users/projectacrn/received_events","type":"Organization","site_admin":false},"repo":{"id":123983554,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM5ODM1NTQ=","name":"acrn-hypervisor","full_name":"projectacrn/acrn-hypervisor","private":false,"owner":{"login":"projectacrn","id":36865262,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2ODY1MjYy","avatar_url":"https://avatars1.githubusercontent.com/u/36865262?v=4","gravatar_id":"","url":"https://api.github.com/users/projectacrn","html_url":"https://github.com/projectacrn","followers_url":"https://api.github.com/users/projectacrn/followers","following_url":"https://api.github.com/users/projectacrn/following{/other_user}","gists_url":"https://api.github.com/users/projectacrn/gists{/gist_id}","starred_url":"https://api.github.com/users/projectacrn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectacrn/subscriptions","organizations_url":"https://api.github.com/users/projectacrn/orgs","repos_url":"https://api.github.com/users/projectacrn/repos","events_url":"https://api.github.com/users/projectacrn/events{/privacy}","received_events_url":"https://api.github.com/users/projectacrn/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/projectacrn/acrn-hypervisor","description":"Project ACRN hypervisor ","fork":false,"url":"https://api.github.com/repos/projectacrn/acrn-hypervisor","forks_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/forks","keys_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/teams","hooks_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/hooks","issue_events_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/issues/events{/number}","events_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/events","assignees_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/assignees{/user}","branches_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/branches{/branch}","tags_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/tags","blobs_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/statuses/{sha}","languages_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/languages","stargazers_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/stargazers","contributors_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/contributors","subscribers_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/subscribers","subscription_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/subscription","commits_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/contents/{+path}","compare_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/merges","archive_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/downloads","issues_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/issues{/number}","pulls_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls{/number}","milestones_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/milestones{/number}","notifications_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/labels{/name}","releases_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/releases{/id}","deployments_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/deployments","created_at":"2018-03-05T21:52:25Z","updated_at":"2018-10-22T15:25:20Z","pushed_at":"2018-10-22T08:57:30Z","git_url":"git://github.com/projectacrn/acrn-hypervisor.git","ssh_url":"git@github.com:projectacrn/acrn-hypervisor.git","clone_url":"https://github.com/projectacrn/acrn-hypervisor.git","svn_url":"https://github.com/projectacrn/acrn-hypervisor","homepage":"","size":19560,"stargazers_count":276,"watchers_count":276,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":175,"mirror_url":null,"archived":false,"open_issues_count":270,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":175,"open_issues":270,"watchers":276,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/1547"},"html":{"href":"https://github.com/projectacrn/acrn-hypervisor/pull/1547"},"issue":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/issues/1547"},"comments":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/issues/1547/comments"},"review_comments":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/1547/comments"},"review_comment":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/1547/commits"},"statuses":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/statuses/4311a6e317491e724e4b81c44c56d153288d16ac"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"gvancuts"}}