{"action":"created","issue":{"url":"https://api.github.com/repos/hyperhq/hyperstart/issues/118","repository_url":"https://api.github.com/repos/hyperhq/hyperstart","labels_url":"https://api.github.com/repos/hyperhq/hyperstart/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/hyperhq/hyperstart/issues/118/comments","events_url":"https://api.github.com/repos/hyperhq/hyperstart/issues/118/events","html_url":"https://github.com/hyperhq/hyperstart/pull/118","id":159074488,"number":118,"title":"enable kvm and devmem in guest kernel","user":{"login":"bergwolf","id":88972,"avatar_url":"https://avatars.githubusercontent.com/u/88972?v=3","gravatar_id":"","url":"https://api.github.com/users/bergwolf","html_url":"https://github.com/bergwolf","followers_url":"https://api.github.com/users/bergwolf/followers","following_url":"https://api.github.com/users/bergwolf/following{/other_user}","gists_url":"https://api.github.com/users/bergwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/bergwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bergwolf/subscriptions","organizations_url":"https://api.github.com/users/bergwolf/orgs","repos_url":"https://api.github.com/users/bergwolf/repos","events_url":"https://api.github.com/users/bergwolf/events{/privacy}","received_events_url":"https://api.github.com/users/bergwolf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-08T04:03:18Z","updated_at":"2016-06-08T04:10:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hyperhq/hyperstart/pulls/118","html_url":"https://github.com/hyperhq/hyperstart/pull/118","diff_url":"https://github.com/hyperhq/hyperstart/pull/118.diff","patch_url":"https://github.com/hyperhq/hyperstart/pull/118.patch"},"body":"Also rebase to 4.4.12 release.\r\n\r\nWith it, I can run nested hyperd inside hyperd:\r\n\r\n```\r\n[vmfarm@hypercloud-hyperd]$sudo hyperctl exec -t pod-oiIPppFzwm sh -c \"hyperctl run busybox ping -c 5 www.baidu.com\"\r\nUsing default tag: latest\r\nlatest: Pulling from library/busybox\r\n\r\n385e281300cc: Pull complete\r\na3ed95caeb02: Pull complete\r\nDigest: sha256:4a731fb46adc5cefe3ae374a8b6020fc1b6ad667a279647766e9a3cd89f6fa92\r\nStatus: Downloaded newer image for busybox:latest\r\nPING www.baidu.com (180.97.33.107): 56 data bytes\r\n64 bytes from 180.97.33.107: seq=0 ttl=51 time=37.534 ms\r\n64 bytes from 180.97.33.107: seq=1 ttl=51 time=36.160 ms\r\n64 bytes from 180.97.33.107: seq=2 ttl=51 time=36.852 ms\r\n64 bytes from 180.97.33.107: seq=3 ttl=51 time=35.345 ms\r\n64 bytes from 180.97.33.107: seq=4 ttl=51 time=35.695 ms\r\n\r\n--- www.baidu.com ping statistics ---\r\n5 packets transmitted, 5 packets received, 0% packet loss\r\nround-trip min/avg/max = 35.345/36.317/37.534 ms\r\n```"},"comment":{"url":"https://api.github.com/repos/hyperhq/hyperstart/issues/comments/224482445","html_url":"https://github.com/hyperhq/hyperstart/pull/118#issuecomment-224482445","issue_url":"https://api.github.com/repos/hyperhq/hyperstart/issues/118","id":224482445,"user":{"login":"bergwolf","id":88972,"avatar_url":"https://avatars.githubusercontent.com/u/88972?v=3","gravatar_id":"","url":"https://api.github.com/users/bergwolf","html_url":"https://github.com/bergwolf","followers_url":"https://api.github.com/users/bergwolf/followers","following_url":"https://api.github.com/users/bergwolf/following{/other_user}","gists_url":"https://api.github.com/users/bergwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/bergwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bergwolf/subscriptions","organizations_url":"https://api.github.com/users/bergwolf/orgs","repos_url":"https://api.github.com/users/bergwolf/repos","events_url":"https://api.github.com/users/bergwolf/events{/privacy}","received_events_url":"https://api.github.com/users/bergwolf/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T04:10:40Z","updated_at":"2016-06-08T04:10:40Z","body":"A sample image is pushed to hyperhq/hyperd. One can run it with a podfile like:\r\n```\r\n{\r\n        \"id\": \"hyperd\",\r\n        \"containers\" : [{\r\n            \"name\": \"hyperd\",\r\n            \"image\": \"hyperhq/hyperd:latest\",\r\n            \"workdir\": \"/\",\r\n            \"command\": [\"/bin/bash\"]\r\n        }],\r\n        \"resource\": {\r\n            \"vcpu\": 2,\r\n            \"memory\": 2048\r\n        },\r\n        \"files\": [],\r\n        \"volumes\": [],\r\n        \"tty\": true\r\n}\r\n```\r\n\r\nNeed a larger memory size because the default entrypoint behaviour is to pull and rebuild hyperd/runv/hyperstart from latest master, unless SKIPREBUILD environment variable is set.\r\n"}}
{"actor":{"display_login":"bergwolf"}}