{"id":19338188,"url":"https://github.com/jserv/kvm-user-x86","last_synced_at":"2025-06-26T03:34:55.235Z","repository":{"id":3359683,"uuid":"49189777","full_name":"jserv/kvm-user-x86","owner":"jserv","description":"A simple userspace program to interact with Linux KVM","archived":false,"fork":false,"pushed_at":"2023-08-04T00:58:25.000Z","size":5,"stargazers_count":23,"open_issues_count":0,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-24T18:59:27.627Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jserv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-07T07:48:00.000Z","updated_at":"2024-02-20T10:12:40.000Z","dependencies_parsed_at":"2024-11-10T03:16:46.256Z","dependency_job_id":"382bda90-f248-4c34-9d6f-0ac8289add8b","html_url":"https://github.com/jserv/kvm-user-x86","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jserv/kvm-user-x86","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jserv%2Fkvm-user-x86","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jserv%2Fkvm-user-x86/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jserv%2Fkvm-user-x86/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jserv%2Fkvm-user-x86/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jserv","download_url":"https://codeload.github.com/jserv/kvm-user-x86/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jserv%2Fkvm-user-x86/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261995390,"owners_count":23242202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T03:16:35.147Z","updated_at":"2025-06-26T03:34:55.179Z","avatar_url":"https://github.com/jserv.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"A simple userspace program to interact with Linux KVM on x86 hardware containing virtualization extensions (Intel VT or AMD-V).\n\nThe work was derived from [this article](http://soulxu.github.io/blog/2014/08/11/use-kvm-api-write-emulator/).\n\n## Prerequisites\n* Intel processor with VT (virtualization technology) extensions or AMD processor with SVM extensions (also called AMD-V)\n  - Enable VT or AMD in advance.\n* Install Linux kernel headers\n```\nsudo apt-get install linux-headers-generic\n```\n\n## Build\nSimply execute GNU `make`:\n```\nmake\n```\nThere are two files generated:\n* `kvm-user`\n* `vm.bin`\n\n## Run\n* Enable [KVM](http://www.linux-kvm.org/):\n```\nsudo modprobe kvm\n```\n* Execute `kvm-user`\n```\n./kvm-user\n```\n\nSample output:\n```\nKVM start run\nKVM_EXIT_IO\nout port: 0x10, data 0\nKVM start run\nKVM_EXIT_IO\nout port: 0x10, data 1\nKVM start run\nKVM_EXIT_IO\nout port: 0x10, data 2\nKVM start run\nKVM_EXIT_IO\nout port: 0x10, data 3\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjserv%2Fkvm-user-x86","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjserv%2Fkvm-user-x86","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjserv%2Fkvm-user-x86/lists"}