Compare commits
No commits in common. "14c87432076b0e574dfd07724dbb352e033c415a" and "8d2a6d27d6e5617786e1df7a286018018c589e5b" have entirely different histories.
14c8743207
...
8d2a6d27d6
1 changed files with 0 additions and 32 deletions
32
README.md
32
README.md
|
@ -22,25 +22,8 @@ scripts](#write-a-launching-script) to make it work as intended.
|
|||
`qemush` is **easy to setup** : you can make it work in a few steps, see
|
||||
section [Installation instructions](#installation-instructions).
|
||||
|
||||
## Good practices?
|
||||
|
||||
Here is a list of good practices forced by `qemush`.
|
||||
|
||||
- **Processes running as user `qemu`**: members of group `qemu` can manage
|
||||
the same virtual machines
|
||||
- **Modularization**: `qemush` launching scripts are intended to be
|
||||
stackable to reuse common `qemu` parameters in all virtual machines
|
||||
needing them
|
||||
- **Process supervision**: `qemush` uses `screen` to supervise processes
|
||||
and keep track of them
|
||||
- **Copy-on-write**: images are formatted using `qcow2` to use less space
|
||||
on disk
|
||||
|
||||
## Dependencies
|
||||
|
||||
All dependencies are common packages for a distribution, you'll be able to
|
||||
grab them from your packages sources.
|
||||
|
||||
- `qemu` - this is literally a QEMU wrapper so there's a chance you'll
|
||||
need it
|
||||
- `bash` - the `qemush` interpreter
|
||||
|
@ -75,15 +58,6 @@ Use your preferred way to add the `qemush` script to a folder of `PATH`.
|
|||
Recommended : copy the script in `/usr/local/bin` to make it effortlessly
|
||||
system wide.
|
||||
|
||||
### Extra: add `first-free-port` in `PATH`
|
||||
|
||||
`first-free-port` is a small C program designed accordingly to the Unix
|
||||
philosophy to show in `stdout` the first free (not listening) TCP port
|
||||
after `argv[1]`, or `argv[1]` if it is free. You can compile it and add
|
||||
it to your `PATH` if you need to allocate ports to protocols like SPICE in
|
||||
your launching scripts (example in `qemu/bin/*-spice`). Its source is in
|
||||
`src` folder of this repository.
|
||||
|
||||
## Usage
|
||||
|
||||
### Writing a launching script
|
||||
|
@ -108,9 +82,3 @@ You can launch any machine with the following command :
|
|||
```sh
|
||||
qemush start "$name"
|
||||
```
|
||||
|
||||
You can also list all available virtual machines by running this command :
|
||||
|
||||
```sh
|
||||
qemush ls
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue