{"id":21997395,"url":"https://github.com/stephane-klein/virsh-kvm-playground","last_synced_at":"2026-04-13T21:31:30.454Z","repository":{"id":99041088,"uuid":"605076459","full_name":"stephane-klein/virsh-kvm-playground","owner":"stephane-klein","description":"virsh + kvm playground for Fedora","archived":false,"fork":false,"pushed_at":"2024-02-04T08:57:07.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-08T22:28:32.323Z","etag":null,"topics":["fedora","libvirt","playground","qemu","virt-install"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/stephane-klein.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":"2023-02-22T11:51:09.000Z","updated_at":"2023-03-01T14:51:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"7283270f-efc0-49fe-aed1-ad45a95de497","html_url":"https://github.com/stephane-klein/virsh-kvm-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stephane-klein/virsh-kvm-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Fvirsh-kvm-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Fvirsh-kvm-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Fvirsh-kvm-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Fvirsh-kvm-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephane-klein","download_url":"https://codeload.github.com/stephane-klein/virsh-kvm-playground/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Fvirsh-kvm-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31771803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["fedora","libvirt","playground","qemu","virt-install"],"created_at":"2024-11-29T22:16:06.991Z","updated_at":"2026-04-13T21:31:30.423Z","avatar_url":"https://github.com/stephane-klein.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# virsh + kvm playground\n\nThis playground was written for Fedora (37).\n\nThis playground is mainly based on the [Getting started with virtualization](https://docs.fedoraproject.org/en-US/quick-docs/getting-started-with-virtualization/) documentation.\n\nCheck host config:\n\n```sh\n$ ./scripts/check_host_config.sh\nVirtualization:                     AMD-V\nkvm_amd               204800  0\nkvm                  1372160  1 kvm_amd\nirqbypass              12288  1 kvm\nccp                   155648  1 kvm_amd\n```\n\n\nInstall dependencies:\n\n```sh\n$ sudo dnf group install --with-optional virtualization\n$ sudo dnf install bridge-utils\n$ sudo usermod -a -G libvirt stephane\n$ sudo usermod -a -G qemu stephane\n$ sudo systemctl enable libvirtd\n$ sudo systemctl start libvirtd\n```\n\nConfigure `virsh` default uri:\n\n```sh\n$ mkdir -p  ~/.config/libvirt/\n$ cat \u003c\u003cEOF \u003e ~/.config/libvirt/libvirt.conf\nuri_default = \"qemu:///system\"\nEOF\n```\n\nDownload Fedora37 `qcow2` from [generic/fedora37 Vagrant box](https://app.vagrantup.com/generic/boxes/fedora37) to `qcow2-images/fedora37.qcow2`:\n\n```sh\n$ ./download-qcow2-from-vagrant-box.sh\n```\n\n```sh\n$ ./scripts/up.sh\n$ virsh list --all\n Id   Name       State\n--------------------------\n 1    fedora37   running\n```\n\nEnter in VM (password is `vagrant`):\n\n```sh\n$ ./scripts/enter.sh\n192.168.122.99\nThe authenticity of host '192.168.122.99 (192.168.122.99)' can't be established.\nED25519 key fingerprint is SHA256:5BmVoQu1ADicFLhZVmDIeg6//vI4SObq/XjLuK6wX00.\nThis key is not known by any other names\nAre you sure you want to continue connecting (yes/no/[fingerprint])? yes\nWarning: Permanently added '192.168.122.99' (ED25519) to the list of known hosts.\nvagrant@192.168.122.99's password:\n```\n\nOpen UI window:\n\n```sh\n$ ./scripts/viewer.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephane-klein%2Fvirsh-kvm-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephane-klein%2Fvirsh-kvm-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephane-klein%2Fvirsh-kvm-playground/lists"}