On Wed, Jun 24, 2009 at 1:13 PM, Anthony Liguori<aligu...@us.ibm.com> wrote:
> This introduces some #ifdefs in pcspk to fix the build when KVM isn't enabled.
>
> Signed-off-by: Anthony Liguori <aligu...@us.ibm.com>
> ---
>  hw/pcspk.c |   15 +++++++++------
>  1 files changed, 9 insertions(+), 6 deletions(-)
...

Thanks, Anthony.  This patch does solve my pcspk build breakage, and
gets me a bit further in the build, before:

...
  CC    ppc-softmmu/disas.o
  CC    ppc-softmmu/i386-dis.o
  CC    ppc-softmmu/ppc-dis.o
  AR    ppc-softmmu/libqemu.a
  LINK  ppc-softmmu/qemu-system-ppc
machine.o: In function `cpu_load':
/tmp/tmp.wibDyxlHPK/qemu-kvm-0.10.50.20090624132948/target-ppc/machine.c:180:
undefined reference to `cpu_synchronize_state'
machine.o: In function `cpu_save':
/tmp/tmp.wibDyxlHPK/qemu-kvm-0.10.50.20090624132948/target-ppc/machine.c:10:
undefined reference to `cpu_synchronize_state'
ppc440.o: In function `ppc440ep_init':
/tmp/tmp.wibDyxlHPK/qemu-kvm-0.10.50.20090624132948/hw/ppc440.c:48:
undefined reference to `kvm_enabled'
ppc440_bamboo.o: In function `bamboo_init':
/tmp/tmp.wibDyxlHPK/qemu-kvm-0.10.50.20090624132948/hw/ppc440_bamboo.c:183:
undefined reference to `kvm_enabled'
/tmp/tmp.wibDyxlHPK/qemu-kvm-0.10.50.20090624132948/hw/ppc440_bamboo.c:184:
undefined reference to `kvmppc_init'
ppce500_mpc8544ds.o: In function `mpc8544ds_init':
/tmp/tmp.wibDyxlHPK/qemu-kvm-0.10.50.20090624132948/hw/ppce500_mpc8544ds.c:277:
undefined reference to `kvm_enabled'
/tmp/tmp.wibDyxlHPK/qemu-kvm-0.10.50.20090624132948/hw/ppce500_mpc8544ds.c:278:
undefined reference to `kvmppc_init'
libqemu.a(helper.o): In function `ppc_tlb_invalidate_all':
/tmp/tmp.wibDyxlHPK/qemu-kvm-0.10.50.20090624132948/target-ppc/helper.c:1861:
undefined reference to `kvm_enabled'
collect2: ld returned 1 exit status
make[2]: *** [qemu-system-ppc] Error 1
make[1]: *** [subdir-ppc-softmmu] Error 2


:-Dustin
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to