{"action":"created","issue":{"url":"https://api.github.com/repos/kata-containers/runtime/issues/476","repository_url":"https://api.github.com/repos/kata-containers/runtime","labels_url":"https://api.github.com/repos/kata-containers/runtime/issues/476/labels{/name}","comments_url":"https://api.github.com/repos/kata-containers/runtime/issues/476/comments","events_url":"https://api.github.com/repos/kata-containers/runtime/issues/476/events","html_url":"https://github.com/kata-containers/runtime/issues/476","id":339559792,"node_id":"MDU6SXNzdWUzMzk1NTk3OTI=","number":476,"title":"Add AMD support to kata-runtime kata-check","user":{"login":"gkennedy12","id":37120408,"node_id":"MDQ6VXNlcjM3MTIwNDA4","avatar_url":"https://avatars1.githubusercontent.com/u/37120408?v=4","gravatar_id":"","url":"https://api.github.com/users/gkennedy12","html_url":"https://github.com/gkennedy12","followers_url":"https://api.github.com/users/gkennedy12/followers","following_url":"https://api.github.com/users/gkennedy12/following{/other_user}","gists_url":"https://api.github.com/users/gkennedy12/gists{/gist_id}","starred_url":"https://api.github.com/users/gkennedy12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkennedy12/subscriptions","organizations_url":"https://api.github.com/users/gkennedy12/orgs","repos_url":"https://api.github.com/users/gkennedy12/repos","events_url":"https://api.github.com/users/gkennedy12/events{/privacy}","received_events_url":"https://api.github.com/users/gkennedy12/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-09T18:31:42Z","updated_at":"2018-07-09T19:13:11Z","closed_at":"2018-07-09T19:13:11Z","author_association":"NONE","body":"# Description of problem\r\n\r\nCurrently kata-runtime kata-check does not run properly on AMD machines. Add the changes necessary to make it work. \r\n\r\nI have an AMD machine patch for kata-runtime if this issue is accepted.\r\n\r\n# Expected result\r\n\r\nIt should look something like this on an AMD machine:\r\n\r\n\\# kata-runtime kata-check\r\nINFO[0000] CPU property found                            description=\"AMD Architecture CPU\" name=AuthenticAMD pid=44944 source=runtime type=attribute\r\nINFO[0000] CPU property found                            description=\"Virtualization support\" name=svm pid=44944 source=runtime type=flag\r\nINFO[0000] CPU property found                            description=\"64Bit CPU\" name=lm pid=44944 source=runtime type=flag\r\nINFO[0000] CPU property found                            description=SSE4.1 name=sse4_1 pid=44944 source=runtime type=flag\r\nINFO[0000] kernel property found                         description=\"AMD KVM\" name=kvm_amd pid=44944 source=runtime type=module\r\nINFO[0000] Kernel property value correct                 description=\"AMD KVM\" name=kvm_amd parameter=nested pid=44944 source=runtime type=module value=1\r\nINFO[0000] kernel property found                         description=\"Host kernel accelerator for virtio\" name=vhost pid=44944 source=runtime type=module\r\nINFO[0000] kernel property found                         description=\"Host kernel accelerator for virtio network\" name=vhost_net pid=44944 source=runtime type=module\r\nINFO[0000] kernel property found                         description=\"Kernel-based Virtual Machine\" name=kvm pid=44944 source=runtime type=module\r\nINFO[0000] System is capable of running Kata Containers  name=kata-runtime pid=44944 source=runtime\r\nINFO[0000] device available                              check-type=full device=/dev/kvm name=kata-runtime pid=44944 source=runtime\r\nINFO[0000] feature available                             check-type=full feature=create-vm name=kata-runtime pid=44944 source=runtime\r\nINFO[0000] System can currently create Kata Containers   name=kata-runtime pid=44944 source=runtime\r\n\\#\r\n\r\n# Actual result\r\n\r\nHere's what it currently looks like on an AMD machine:\r\n\r\n\\# kata-runtime kata-check\r\nERRO[0000] CPU property not found                        description=\"Intel Architecture CPU\" name=GenuineIntel pid=43913 source=runtime type=attribute\r\nERRO[0000] CPU property not found                        description=\"Virtualization support\" name=vmx pid=43913 source=runtime type=flag\r\nINFO[0000] CPU property found                            description=\"64Bit CPU\" name=lm pid=43913 source=runtime type=flag\r\nINFO[0000] CPU property found                            description=SSE4.1 name=sse4_1 pid=43913 source=runtime type=flag\r\nINFO[0000] kernel property found                         description=\"Kernel-based Virtual Machine\" name=kvm pid=43913 source=runtime type=module\r\nINFO[0000] kernel property found                         description=\"Intel KVM\" name=kvm_intel pid=43913 source=runtime type=module\r\nERRO[0000] open /sys/module/kvm_intel/parameters/nested: no such file or directory  name=kata-runtime pid=43913 source=runtime\r\nopen /sys/module/kvm_intel/parameters/nested: no such file or directory\r\n\\#\r\n\r\n---\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kata-containers/runtime/issues/comments/403589294","html_url":"https://github.com/kata-containers/runtime/issues/476#issuecomment-403589294","issue_url":"https://api.github.com/repos/kata-containers/runtime/issues/476","id":403589294,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzU4OTI5NA==","user":{"login":"gkennedy12","id":37120408,"node_id":"MDQ6VXNlcjM3MTIwNDA4","avatar_url":"https://avatars1.githubusercontent.com/u/37120408?v=4","gravatar_id":"","url":"https://api.github.com/users/gkennedy12","html_url":"https://github.com/gkennedy12","followers_url":"https://api.github.com/users/gkennedy12/followers","following_url":"https://api.github.com/users/gkennedy12/following{/other_user}","gists_url":"https://api.github.com/users/gkennedy12/gists{/gist_id}","starred_url":"https://api.github.com/users/gkennedy12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkennedy12/subscriptions","organizations_url":"https://api.github.com/users/gkennedy12/orgs","repos_url":"https://api.github.com/users/gkennedy12/repos","events_url":"https://api.github.com/users/gkennedy12/events{/privacy}","received_events_url":"https://api.github.com/users/gkennedy12/received_events","type":"User","site_admin":false},"created_at":"2018-07-09T19:13:11Z","updated_at":"2018-07-09T19:13:11Z","author_association":"NONE","body":"Thank you"}}
{"actor":{"display_login":"gkennedy12"}}