diff options
Diffstat (limited to 'scripts/runqemu')
| -rwxr-xr-x | scripts/runqemu | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 5c108ec23a..9ddd47267c 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
| @@ -73,11 +73,11 @@ of the following environment variables (in any order): | |||
| 73 | gl-es - enable virgl-based GL acceleration, using OpenGL ES (also needs gtk or sdl options) | 73 | gl-es - enable virgl-based GL acceleration, using OpenGL ES (also needs gtk or sdl options) |
| 74 | egl-headless - enable headless EGL output; use vnc (via publicvnc option) or spice to see it | 74 | egl-headless - enable headless EGL output; use vnc (via publicvnc option) or spice to see it |
| 75 | (hint: if /dev/dri/renderD* is absent due to lack of suitable GPU, 'modprobe vgem' will create | 75 | (hint: if /dev/dri/renderD* is absent due to lack of suitable GPU, 'modprobe vgem' will create |
| 76 | one sutable for mesa llvmpipe sofware renderer) | 76 | one suitable for mesa llvmpipe software renderer) |
| 77 | serial - enable a serial console on /dev/ttyS0 | 77 | serial - enable a serial console on /dev/ttyS0 |
| 78 | serialstdio - enable a serial console on the console (regardless of graphics mode) | 78 | serialstdio - enable a serial console on the console (regardless of graphics mode) |
| 79 | slirp - enable user networking, no root privileges is required | 79 | slirp - enable user networking, no root privilege is required |
| 80 | snapshot - don't write changes to back to images | 80 | snapshot - don't write changes back to images |
| 81 | kvm - enable KVM when running x86/x86_64 (VT-capable CPU required) | 81 | kvm - enable KVM when running x86/x86_64 (VT-capable CPU required) |
| 82 | kvm-vhost - enable KVM with vhost when running x86/x86_64 (VT-capable CPU required) | 82 | kvm-vhost - enable KVM with vhost when running x86/x86_64 (VT-capable CPU required) |
| 83 | publicvnc - enable a VNC server open to all hosts | 83 | publicvnc - enable a VNC server open to all hosts |
| @@ -352,10 +352,10 @@ class BaseConfig(object): | |||
| 352 | def check_arg_path(self, p): | 352 | def check_arg_path(self, p): |
| 353 | """ | 353 | """ |
| 354 | - Check whether it is <image>.qemuboot.conf or contains <image>.qemuboot.conf | 354 | - Check whether it is <image>.qemuboot.conf or contains <image>.qemuboot.conf |
| 355 | - Check whether is a kernel file | 355 | - Check whether it is a kernel file |
| 356 | - Check whether is a image file | 356 | - Check whether it is an image file |
| 357 | - Check whether it is a nfs dir | 357 | - Check whether it is an NFS dir |
| 358 | - Check whether it is a OVMF flash file | 358 | - Check whether it is an OVMF flash file |
| 359 | """ | 359 | """ |
| 360 | if p.endswith('.qemuboot.conf'): | 360 | if p.endswith('.qemuboot.conf'): |
| 361 | self.qemuboot = p | 361 | self.qemuboot = p |
| @@ -366,7 +366,7 @@ class BaseConfig(object): | |||
| 366 | self.kernel = p | 366 | self.kernel = p |
| 367 | elif os.path.exists(p) and (not os.path.isdir(p)) and '-image-' in os.path.basename(p): | 367 | elif os.path.exists(p) and (not os.path.isdir(p)) and '-image-' in os.path.basename(p): |
| 368 | self.rootfs = p | 368 | self.rootfs = p |
| 369 | # Check filename against self.fstypes can hanlde <file>.cpio.gz, | 369 | # Check filename against self.fstypes can handle <file>.cpio.gz, |
| 370 | # otherwise, its type would be "gz", which is incorrect. | 370 | # otherwise, its type would be "gz", which is incorrect. |
| 371 | fst = "" | 371 | fst = "" |
| 372 | for t in self.fstypes: | 372 | for t in self.fstypes: |
