diff options
author | Avi Kivity <avi@qumranet.com> | 2007-09-18 13:07:12 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-09-18 13:07:12 +0200 |
commit | 8a0b6bfc22cbabb9dd91571ef11359a47efb0706 (patch) | |
tree | 32dd8810a20822404d13ac5d1c40fd71b8c62d9a | |
parent | d81e4df509f1c74b088ba4f164dee8da564460d3 (diff) |
kvm: run script: support -no-kvm-irqchip
this script is getting more and more ridiculous.
-rwxr-xr-x | kvm/kvm | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -115,6 +115,13 @@ optparser.add_option('-s', '--smp', help = 'define number of vcpus', ) +optparser.add_option('--no-kvm-irqchip', + action = 'store_false', + default = True, + dest = 'irqchip', + help = 'avoid using in-kernel irqchip', + ) + optparser.add_option('-n', '--dry-run', help = "just print the qemu command line; don't run it", action = 'store_true', @@ -216,6 +223,9 @@ if not options.kvm: if options.debugger: qemu_args += ('-s',) +if not options.irqchip: + qemu_args += ('-no-kvm-irqchip',) + if not options.notap: mac = options.mac if not mac: |