{"action":"closed","issue":{"url":"https://api.github.com/repos/chef/ohai/issues/621","labels_url":"https://api.github.com/repos/chef/ohai/issues/621/labels{/name}","comments_url":"https://api.github.com/repos/chef/ohai/issues/621/comments","events_url":"https://api.github.com/repos/chef/ohai/issues/621/events","html_url":"https://github.com/chef/ohai/issues/621","id":107223874,"number":621,"title":"KVM/Virtualization Detection","user":{"login":"glasschef","id":6391892,"avatar_url":"https://avatars.githubusercontent.com/u/6391892?v=3","gravatar_id":"","url":"https://api.github.com/users/glasschef","html_url":"https://github.com/glasschef","followers_url":"https://api.github.com/users/glasschef/followers","following_url":"https://api.github.com/users/glasschef/following{/other_user}","gists_url":"https://api.github.com/users/glasschef/gists{/gist_id}","starred_url":"https://api.github.com/users/glasschef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glasschef/subscriptions","organizations_url":"https://api.github.com/users/glasschef/orgs","repos_url":"https://api.github.com/users/glasschef/repos","events_url":"https://api.github.com/users/glasschef/events{/privacy}","received_events_url":"https://api.github.com/users/glasschef/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-18T15:27:20Z","updated_at":"2015-11-20T20:09:54Z","closed_at":"2015-11-20T20:09:54Z","body":"On a \"specific\" KVM instance /proc/cpuinfo contains: \r\nmodel name : Intel Core i7 9xx (Nehalem Class Core i7) \r\nand that obviously fails KVM detection.\r\n\r\nMaybe we can add in something like this to linux virtualization detection?\r\n\r\n``` \r\nvirtualization[:system] = \"openstack\" \r\nvirtualization[:role] = \"guest\" \r\nvirtualization[:systems][:openstack] = \"guest\" \r\nwhen /Manufacturer: Red Hat/ \r\n   if so.stdout =~ /Product Name: KVM/ \r\n      virtualization[:system] = \"kvm\" \r\n      virtualization[:role] = \"guest\" \r\n      virtualization[:systems][:kvm] = \"guest\" \r\n   end \r\n   else\r\n      nil \r\nend\r\n```\r\n\r\n"}}