After debugging with gdb, I find out the mistake is me.

It turns out that there should be three configures to do: in qemu-kvm
root, in kvm, and in kvm/user, sadly, I missed the one in the middle.
So, the consequence is that the definition of the type struct
kvm_callbacks is different between kvm/user/main.c and
kvm/libkvm/libkvm.c, and the consequence is that the
kvm->callbacks->pre_kvm_run is a wild pointer.

Still, I don't know it is me or not, the configure in kvm infinitely
loops, and says "./configure: line 135: cd: qemu: No such file or
directory".
Clearly, there misses a qemu directory in kvm.

Regards,
Shawn

On Tue, Sep 15, 2009 at 5:07 PM, Avi Kivity <[email protected]> wrote:
> On 09/15/2009 05:33 AM, shawn du wrote:
>>
>> Yes, I am running the latest qemu-kvm.git against the not so latest
>> 2.6.27.18 kernel in Ubuntu 8.10. Normal VMs just run smoothly. Is
>> there a problem?
>>
>
> It should work.  If it doesn't, well, debug it with gdb.
>
> --
> error compiling committee.c: too many arguments to function
>
>
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to