summaryrefslogtreecommitdiff
path: root/kvm
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-09-18 13:07:12 +0200
committerAvi Kivity <avi@qumranet.com>2007-09-18 13:07:12 +0200
commit73ad30da33a77a2b52f5320e0ecb0e3cda82d8d8 (patch)
tree373636dbfb33b2e681ec0d23068ff6d48e8a328e /kvm
parentc830ee15e1b792e1c1df0d79de9a3b85fc5a3c22 (diff)
kvm: run script: support -no-kvm-irqchip
this script is getting more and more ridiculous.
Diffstat (limited to 'kvm')
-rwxr-xr-xkvm10
1 files changed, 10 insertions, 0 deletions
diff --git a/kvm b/kvm
index 3e19e76e..d091c861 100755
--- a/kvm
+++ b/kvm
@@ -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: