[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 7/7] Refactor target specific handling, compile
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [PATCH 7/7] Refactor target specific handling, compile vl.c only once |
Date: |
Wed, 31 Mar 2010 22:19:26 +0300 |
On 3/31/10, Anthony Liguori <address@hidden> wrote:
> On 03/27/2010 05:11 PM, Blue Swirl wrote:
>
> > Move target specific functions and RAM handling to arch_init.c.
> >
> > Add a flag to QEMUOptions structure to indicate for which
> > architectures the option is allowed, check the flag
> > in run time and remove conditional code in option handling.
> >
> > Now that no target dependencies remain, compile vl.c only once
> > for all targets.
> >
> > Signed-off-by: Blue Swirl<address@hidden>
> >
> >
>
> This causes -enable-kvm to seg fault.
Variable kvm_state is used but it has not been initialized. This is
because kvm_init is not called. And this happens because CONFIG_KVM is
not set by config.h when included from vl.c.