]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Fix 'kvm run' on 32-bit machines with >2 GB of RAM
authorPekka Enberg <penberg@kernel.org>
Thu, 16 Jun 2011 14:04:31 +0000 (17:04 +0300)
committerPekka Enberg <penberg@kernel.org>
Thu, 16 Jun 2011 14:04:31 +0000 (17:04 +0300)
commit1a9a01959bd5f2425ddc5239d5625dfbb3f63aac
tree42f28b2d5af6d4cbc64f8b52109b546ea32dd4df
parentb7dbead4e06a6b9a7f74a7bd65e9e2f0770158b5
kvm tools: Fix 'kvm run' on 32-bit machines with >2 GB of RAM

This patch fixes the following nasty 'kvm run' startup problem that's caused by
'long' and 'u64' mixup in the code:

  $ ./kvm run
    Fatal: out of memory

Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/include/kvm/kvm.h
tools/kvm/kvm-run.c
tools/kvm/kvm.c