All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] configure: enable kvm on x32
@ 2015-03-12  6:13 ` Michael Tokarev
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Tokarev @ 2015-03-12  6:13 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, 778737

Here's a trivial change to enable kvm on x32 architecture.
I'm not 100% sure the result works correctly in all cases,
but this is a good start and in theory everything should
work.

Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

diff --git a/configure b/configure
index 47048f0..d2e626e 100755
--- a/configure
+++ b/configure
@@ -5164,7 +5164,9 @@ case "$target_name" in
       \( "$target_name" = "ppcemb" -a "$cpu" = "ppc64" \) -o \
       \( "$target_name" = "mipsel" -a "$cpu" = "mips" \) -o \
       \( "$target_name" = "x86_64" -a "$cpu" = "i386"   \) -o \
-      \( "$target_name" = "i386"   -a "$cpu" = "x86_64" \) \) ; then
+      \( "$target_name" = "i386"   -a "$cpu" = "x86_64" \) -o \
+      \( "$target_name" = "x86_64" -a "$cpu" = "x32"   \) -o \
+      \( "$target_name" = "i386"   -a "$cpu" = "x32" \) \) ; then
       echo "CONFIG_KVM=y" >> $config_target_mak
       if test "$vhost_net" = "yes" ; then
         echo "CONFIG_VHOST_NET=y" >> $config_target_mak


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-03-12 14:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-12  6:13 [Qemu-trivial] configure: enable kvm on x32 Michael Tokarev
2015-03-12  6:13 ` [Qemu-devel] " Michael Tokarev
2015-03-12  7:16 ` [Qemu-trivial] " Peter Maydell
2015-03-12  7:16   ` Peter Maydell
2015-03-12  8:06   ` [Qemu-trivial] " Michael Tokarev
2015-03-12  8:06     ` [Qemu-devel] " Michael Tokarev
2015-03-12 14:18     ` [Qemu-trivial] " Paolo Bonzini
2015-03-12 14:18       ` [Qemu-devel] " Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.