{"id":20268959,"url":"https://github.com/patatetom/qemu-helpers","last_synced_at":"2026-05-10T18:16:37.715Z","repository":{"id":262086853,"uuid":"886176808","full_name":"patatetom/qemu-helpers","owner":"patatetom","description":"bash qemu helpers","archived":false,"fork":false,"pushed_at":"2024-12-10T15:03:11.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T05:28:25.181Z","etag":null,"topics":["bash","qemu","qemu-img","virtualization"],"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/patatetom.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":"2024-11-10T12:08:24.000Z","updated_at":"2024-12-10T15:03:33.000Z","dependencies_parsed_at":"2024-11-28T11:22:29.745Z","dependency_job_id":"26f8622a-6c86-4af7-a6d1-666ed4b22a2b","html_url":"https://github.com/patatetom/qemu-helpers","commit_stats":null,"previous_names":["patatetom/qemu-helpers"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patatetom%2Fqemu-helpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patatetom%2Fqemu-helpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patatetom%2Fqemu-helpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patatetom%2Fqemu-helpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patatetom","download_url":"https://codeload.github.com/patatetom/qemu-helpers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241753144,"owners_count":20014252,"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":["bash","qemu","qemu-img","virtualization"],"created_at":"2024-11-14T12:22:00.990Z","updated_at":"2026-05-10T18:16:37.332Z","avatar_url":"https://github.com/patatetom.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bash qemu helpers\n\n_I like [QEMU](https://www.qemu.org/) and I like to use it directly from the [CLI](https://qemu.readthedocs.io/) to run tests with virtual machines : these helpers save me typing time._\n\ndownload `.qemu-helpers.rc` and source it after checking in your current bash shell or in your `~/.bashrc`.\n\n\n\n## qemu\n\n### alias\n\nquick call to `qemu-system-x86_64` with a few default parameters that can naturally (for the most part) be overridden by the command line.\n`-serial mon:stdio` avoids an unfortunate Ctrl-C.\n\n\u003e _`qemu` function and `qemu` alias cannot coexist._\n\u003e _this latter is commented/deactivated in favor of the function._\n\n\n### function\n\nthis helper executes `qemu-system-x86_64` with the parameters stored in the `qemu.cfg` configuration file (if present and executable) and the parameters passed on the command line (which supplement or overwrite those previously defined in the configuration file or in the function).\nsymbolic link can be used for `qemu.cfg` configuration file (eg. multiple settings).\n`chmod +x qemu.cfg` to activate the configuration and `chmod -x qemu.cfg` to deactivate it.\n\n\u003e _`qemu` function and `qemu` alias cannot coexist._\n\n\n\n## qemu-img\n\n### qemu-img create\n\nthis helper allows you to create a new image (qcow2 if not specified) based on a previous one, whose format will be automatically detected.\nit stops if the base image supplied is not read-only.\n\n\u003e _`qemu-img create -b previous next` will run `/usr/bin/qemu-img create -b previous -F qcow2 -f qcow2 next` if `previous` base is a qcow2 file (magic string `QFI\\xfb`) and `/usr/bin/qemu-img create -b previous -F raw -f qcow2 next` otherwise._\n\n\n### qemu-img tree\n\nthis helper displays base images (eg. dependencies) in tree form, highlighting those that are not read-only.\n\n\n\n## qemu-usbhost\n\nthis helper makes it easy to find the usb port where a smartphone is plugged in, so that it can be _fully_ transferred to the virtual machine.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatatetom%2Fqemu-helpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatatetom%2Fqemu-helpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatatetom%2Fqemu-helpers/lists"}