forked from Mirror/pmbootstrap
pmb.qemu: add --no-kvm to disable KVM even when available (!1886)
To test QEMU's CPU emulation it is useful to have a switch to disable KVM, even when it is available (and potentially working fine). Add --no-kvm for that purpose.
This commit is contained in:
parent
903491f518
commit
76dcf8aa0b
2 changed files with 5 additions and 1 deletions
|
@ -123,6 +123,10 @@ def arguments_qemu(subparser):
|
|||
ret.add_argument("--flavor", help="name of the kernel flavor (run 'pmbootstrap flasher list_flavors'"
|
||||
" to get a list of all installed flavors")
|
||||
|
||||
ret.add_argument("--no-kvm", dest="qemu_kvm", default=True, action='store_false',
|
||||
help="Avoid using hardware-assisted virtualization with KVM "
|
||||
"even when available (SLOW!)")
|
||||
|
||||
ret.add_argument("--tablet", dest="qemu_tablet", action='store_true',
|
||||
default=False, help="Use 'tablet' instead of 'mouse' input "
|
||||
"for QEMU. The tablet input device automatically grabs/releases "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue