Permalink
Browse files

On Ubuntu the qemu keymaps are in /usr/share/qemu-linaro/qemu: add th…

…is to the include path with "-L"
  • Loading branch information...
1 parent fee85d6 commit 11845430505cc2658de87fab64d2775bd3429464 David Scott committed Jan 2, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 scripts/qemu-dm-wrapper
@@ -33,6 +33,10 @@ def main(argv):
domid = int(argv[1])
qemu_args = ['qemu-dm-%d'%domid] + argv[2:]
+ # Workaround http://unix.stackexchange.com/questions/39495/domain-ubuntu-hvm-does-not-exists-xen-ubuntu-hvm-guest-os-installation-pro
+ if os.path.exists("/usr/share/qemu-linaro/qemu"):
+ qemu_args = qemu_args + [ "-L", "/usr/share/qemu-linaro/qemu" ]
+
print "qemu-dm-wrapper in python:"
print "Using domid: %d" % domid
print "Arguments: %s" % " ".join(argv[1:])

0 comments on commit 1184543

Please sign in to comment.