All of lore.kernel.org
 help / color / mirror / Atom feed
* KVM on 440GP
@ 2010-01-22 15:10 Corey Minyard
  2010-01-22 15:27 ` Corey Minyard
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Corey Minyard @ 2010-01-22 15:10 UTC (permalink / raw)
  To: kvm-ppc

I'm playing around with KVM on an ebony board (440GP), just trying to 
get it to work, really.  I followed the instructions at 
http://www.linux-kvm.org/page/PowerPC and I used the 2.6.33 branch of 
the kvm kernel repository.  When I try to run kvm, qemu appears to abort 
and actually logs me off.

Doing a little debugging, I found that qemu_memalign() is calling abort 
because posix_memalign() is failing.  I haven't done any more debugging 
than that.

Since I already had to fix a kernel issue to get it the kernel code to 
initialize since the platform was reported as ppc440gp, not ppc440, I'm 
wondering how hard it's going to be to get this working.  Does anyone 
have this working at all?  Should I back up to a previous version?  Any 
help would be appreciated.

Thanks,

-corey

Here's the change I made to get kvm in the kernel to initialize:


Index: kvm/arch/powerpc/kvm/44x.c
=================================--- kvm.orig/arch/powerpc/kvm/44x.c
+++ kvm/arch/powerpc/kvm/44x.c
@@ -42,7 +42,7 @@ int kvmppc_core_check_processor_compat(v
 {
        int r;

-       if (strcmp(cur_cpu_spec->platform, "ppc440") = 0)
+       if (strncmp(cur_cpu_spec->platform, "ppc440", 6) = 0)
                r = 0;
        else
                r = -ENOTSUPP;


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

end of thread, other threads:[~2010-03-09 13:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-22 15:10 KVM on 440GP Corey Minyard
2010-01-22 15:27 ` Corey Minyard
2010-01-22 16:52 ` Hollis Blanchard
2010-01-22 17:23 ` Corey Minyard
2010-01-22 17:27 ` Alexander Graf
2010-01-22 18:14 ` Hollis Blanchard
2010-01-22 18:29 ` Corey Minyard
2010-01-22 18:48 ` Alexander Graf
2010-01-22 19:13 ` Corey Minyard
2010-01-22 19:28 ` Hollis Blanchard
2010-01-22 20:04 ` Corey Minyard
2010-03-09  5:38 ` Hollis Blanchard
2010-03-09 13:46 ` Corey Minyard

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.