{"id":15721433,"url":"https://github.com/portellam/powerstate-virtmanager","last_synced_at":"2025-06-23T16:40:52.003Z","repository":{"id":181752697,"uuid":"667249911","full_name":"portellam/powerstate-virtmanager","owner":"portellam","description":"Set the power state of a Virtual Machine (VM). Does what virt-manager doesn't; includes missing features like sleep, hibernate, and wake. Bash TUI and Python GUI application.","archived":false,"fork":false,"pushed_at":"2025-03-31T19:55:05.000Z","size":282,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T20:36:13.790Z","etag":null,"topics":["bash","bash-script","glade","gtk","gtk3","gui","libvirt","libvirtd","python","python3","qemu","qemu-kvm","terminal","tui","virt-manager","virtual-machine","virtualization"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/portellam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-07-17T04:54:20.000Z","updated_at":"2025-03-31T19:53:34.000Z","dependencies_parsed_at":"2024-03-12T10:44:06.630Z","dependency_job_id":"ed109700-61b0-4531-9301-4535fdbe07ab","html_url":"https://github.com/portellam/powerstate-virtmanager","commit_stats":null,"previous_names":["portellam/powerstate-virtmanager","portellam/pwrstat-virtman"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/portellam%2Fpowerstate-virtmanager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/portellam%2Fpowerstate-virtmanager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/portellam%2Fpowerstate-virtmanager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/portellam%2Fpowerstate-virtmanager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/portellam","download_url":"https://codeload.github.com/portellam/powerstate-virtmanager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246591781,"owners_count":20801984,"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","bash-script","glade","gtk","gtk3","gui","libvirt","libvirtd","python","python3","qemu","qemu-kvm","terminal","tui","virt-manager","virtual-machine","virtualization"],"created_at":"2024-10-03T22:01:08.016Z","updated_at":"2025-05-13T01:27:09.440Z","avatar_url":"https://github.com/portellam.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Power State Virtual Machine Manager\n### v1.0.0\nSet the power state of a QEMU/KVM Virtual Machine (VM). Wake from Sleep or\nHibernation. Does what `virt-manager` doesn't.\n\n## [Download](#5-download)\n#### View this repository on [Codeberg][01] or [GitHub][02].\n[01]: https://codeberg.org/portellam/powerstate-virtmanager\n[02]: https://github.com/portellam/powerstate-virtmanager\n##\n\n## Table of Contents\n- [1. Why?](#1-why)\n- [2. Related Projects](#2-related-projects)\n- [3. Documentation](#3-documentation)\n- [4. Host Requirements](#4-host-requirements)\n    - [4.1. Operating System](#41-operating-system)\n    - [4.2. Software](#42-software)\n    - [4.3. Hardware](#43-hardware)\n- [5. Download](#5-download)\n- [6. Usage](#6-usage)\n    - [6.1. Install](#61-install)\n    - [6.2. Run](#62-run)\n- [7. Contact](#7-contact)\n- [8. References](#8-references)\n\n## Contents\n### 1. Why?\nThe virtual machine manager application `virt-manager` does not (currently) have\nthe option to wake a VM from Sleep. In other words, as a VM cannot be awaken by\nan input device, unfortunately. For example, a physical or virtual \"power on\",\nbutton, keyboard input, or network activity. This application includes the\nability to wake from Sleep and Hibernation, and the other related features from\n`virt-manager`.\n\n### 2. Related Projects\nTo view other relevant projects, visit [Codeberg][21]\nor [GitHub][22].\n\n[21]: https://codeberg.org/portellam/vfio-collection\n[22]: https://github.com/portellam/vfio-collection\n\n### 3. Documentation\n- What is VFIO?[\u003csup\u003e[2]\u003c/sup\u003e](#2)\n- VFIO Discussion and Support[\u003csup\u003e[3]\u003c/sup\u003e](#3)\n- Hardware-Passthrough Guide[\u003csup\u003e[1]\u003c/sup\u003e](#1)\n- Virtual Machine XML Format Guide[\u003csup\u003e[4]\u003c/sup\u003e](#4)\n\n### 4. Host Requirements\n#### 4.1. Operating System\nLinux.\n\n#### 4.2. Software\n- `QEMU` and `Libvirt` for Virtual Machines.\n\n#### 4.3. Hardware\nThe following firmware options are supported and enabled (motherboard and CPU):\n- System Power State S3 (Sleep).\n- System Power State S4 (Hibernation).\n\n### 5. Download\n- Download the Latest Release:\u0026ensp;[Codeberg][51] or [GitHub][52]\n\n- Download the `.zip` file:\n    1. Viewing from the top of the repository's (current) webpage, click the\n        drop-down icon:\n        - `···` on Codeberg.\n        - `\u003c\u003e Code ` on GitHub.\n    2. Click `Download ZIP` and save.\n    3. Open the `.zip` file, then extract its contents.\n\n- Clone the repository:\n    1. Open a Command Line Interface (CLI) or Terminal.\n        - Open a console emulator (for Debian systems: Konsole).\n        - **Linux only:** Open an existing console: press `CTRL` + `ALT` + `F2`,\n        `F3`, `F4`, `F5`, or `F6`.\n            - **To return to the desktop,** press `CTRL` + `ALT` + `F7`.\n            - `F1` is reserved for debug output of the Linux kernel.\n            - `F7` is reserved for video output of the desktop environment.\n            - `F8` and above are unused.\n    2. Change your directory to your home folder or anywhere safe:\n        - `cd ~`\n    3. Clone the repository:\n        - `git clone https://www.codeberg.org/portellam/powerstate-virtmanager`\n        - `git clone https://www.github.com/portellam/powerstate-virtmanager`\n\n[51]: https://codeberg.org/portellam/powerstate-virtmanager/releases/latest\n[52]: https://github.com/portellam/powerstate-virtmanager/releases/latest\n\n### 6. Usage\n#### 6.1. Install\n```bash\nsudo bash installer.sh\n```\n\n#### 6.2. Run\nInstaller will copy required files to `/usr/bin/local/`. You may run executable\nfrom any directory.\n```bash\nsudo powerstate-virtmanager\n```\n\n### 7. Contact\nDo you need help? Please visit the [Issues][71] page.\n\n[71]: https://github.com/portellam/powerstate-virtmanager/issues\n\n### 8. References\n#### 1.\n\u0026nbsp;\u0026nbsp;**PCI passthrough via OVMF**. ArchWiki. Accessed June 14, 2024.\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003csup\u003ehttps://wiki.archlinux.org/title/PCI_passthrough_via_OVMF.\u003c/sup\u003e\n\n#### 2.\n\u0026nbsp;\u0026nbsp;**VFIO - ‘Virtual Function I/O’ - The Linux Kernel Documentation**.\nThe linux kernel. Accessed June 14, 2024.\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003csup\u003ehttps://www.kernel.org/doc/html/latest/driver-api/vfio.html.\u003c/sup\u003e\n\n#### 3.\n\u0026nbsp;\u0026nbsp;**VFIO Discussion and Support**. Reddit. Accessed June 14, 2024.\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003csup\u003ehttps://www.reddit.com/r/VFIO/.\u003c/sup\u003e\n##\n\n#### Click [here](#auto-xorg) to return to the top of this document.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fportellam%2Fpowerstate-virtmanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fportellam%2Fpowerstate-virtmanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fportellam%2Fpowerstate-virtmanager/lists"}