public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Current KVM head crashes on startup
@ 2009-02-17 17:47 Brian Kress
  2009-02-18  7:51 ` Amit Shah
  2009-02-18 17:03 ` Avi Kivity
  0 siblings, 2 replies; 11+ messages in thread
From: Brian Kress @ 2009-02-17 17:47 UTC (permalink / raw)
  To: kvm

When I try to run KVM built off the current head, it crashes with a 
Segmentation fault.  KVM-84 does
not.  Seems to be dealing with the CPUID changes:


    0x081a5c70 in host_cpuid ()
        at /home/kressb/kvm/src/qemu/target-i386/helper.c:1426
    1426        asm volatile("pusha \n\t"


At a guess, it's this commit:


    commit b9bacf8975c5db7b6f14cabcae98130913f2d013
    Author: aliguori <aliguori>
    Date:   Mon Feb 9 15:50:08 2009 +0000

        KVM: CPUID takes ecx as input value for some functions (Amit Shah)

        The CPUID instruction takes the value of ECX as an input parameter
        in addition to the value of EAX as the count for functions 4, 0xb
        and 0xd. Make sure we pass the value to the instruction.

        Also convert to the qemu-style whitespace for the surrounding code.

        Signed-off-by: Amit Shah <amit.shah@redhat.com>
        Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


In case it matters, the host CPU is:


    Intel(R) Core(TM)2 CPU          6420  @ 2.13GHz

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

end of thread, other threads:[~2009-02-18 17:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-17 17:47 Current KVM head crashes on startup Brian Kress
2009-02-18  7:51 ` Amit Shah
2009-02-18  8:16   ` Amit Shah
2009-02-18  8:49     ` Avi Kivity
2009-02-18  9:05       ` Amit Shah
2009-02-18 10:19         ` Avi Kivity
2009-02-18 11:21           ` Amit Shah
2009-02-18 11:26             ` Avi Kivity
2009-02-18 12:20               ` Amit Shah
2009-02-18 12:29                 ` Avi Kivity
2009-02-18 17:03 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox