summaryrefslogtreecommitdiff
path: root/kvm
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-06-20 10:26:29 +0300
committerAvi Kivity <avi@qumranet.com>2007-06-20 10:26:29 +0300
commit1c488dff90595391e3469992d9073be73efac328 (patch)
tree2baf836714338ca003cef4f716b5f4c822561520 /kvm
parent2b39264519b1433cc04c3e81995c3790d9a208ea (diff)
kvm: run script: adjust to always using x86_64 as a target
Diffstat (limited to 'kvm')
-rwxr-xr-xkvm6
1 files changed, 1 insertions, 5 deletions
diff --git a/kvm b/kvm
index e432b882..b2f2797b 100755
--- a/kvm
+++ b/kvm
@@ -169,11 +169,7 @@ bootdisk = 'c'
if options.install:
bootdisk = 'd'
-import platform
-arch = platform.machine()
-# check 32-bit userspace on 64-bit kernel
-if platform.architecture()[0] == '32bit':
- arch = 'i386'
+arch = 'x86_64'
if arch == 'x86_64':
cmd = 'qemu-system-' + arch