mirror of
https://github.com/linka-cloud/d2vm.git
synced 2024-11-17 21:46:24 +00:00
Adphi
1970ac19e4
refactor: move qemu to its own package tests: implements end to end tests for the convert command with the following images: alpine:3.17, ubuntu:20.04, debian:11, centos:8 Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
36 lines
1.6 KiB
Markdown
36 lines
1.6 KiB
Markdown
## d2vm run qemu
|
|
|
|
Run the virtual machine image with qemu
|
|
|
|
```
|
|
d2vm run qemu [options] [image-path] [flags]
|
|
```
|
|
|
|
### Options
|
|
|
|
```
|
|
--accel string Choose acceleration mode. Use 'tcg' to disable it. (default "hvf:tcg")
|
|
--arch string Type of architecture to use, e.g. x86_64, aarch64, s390x (default "x86_64")
|
|
--cpus uint Number of CPUs (default 1)
|
|
--detached Set qemu container to run in the background
|
|
--disk disk Disk config, may be repeated. [file=]path[,size=1G][,format=qcow2] (default [])
|
|
--gui Set qemu to use video output instead of stdio
|
|
-h, --help help for qemu
|
|
--mem uint Amount of memory in MB (default 1024)
|
|
--networking string Networking mode. Valid options are 'default', 'user', 'bridge[,name]', tap[,name] and 'none'. 'user' uses QEMUs userspace networking. 'bridge' connects to a preexisting bridge. 'tap' uses a prexisting tap device. 'none' disables networking.` (default "user")
|
|
--publish multiple-flag Publish a vm's port(s) to the host (default []) (default A multiple flag is a type of flag that can be repeated any number of times)
|
|
--qemu string Path to the qemu binary (otherwise look in $PATH)
|
|
```
|
|
|
|
### Options inherited from parent commands
|
|
|
|
```
|
|
--time string Enable formated timed output, valide formats: 'relative (rel | r)', 'full (f)' (default "none")
|
|
-v, --verbose Enable Verbose output
|
|
```
|
|
|
|
### SEE ALSO
|
|
|
|
* [d2vm run](d2vm_run.md) - Run the virtual machine image
|
|
|