make qemu-kvm option handling target-independent
commit0eb2a7e9010f2aedf2dd66fde0d1e95f27159104
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 24 Oct 2011 12:59:16 +0000 (24 10:59 -0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 24 Oct 2011 12:59:16 +0000 (24 10:59 -0200)
treec0c456c07b86611e45ff4e39ab836b24fae18839
parent94de7c070d71ea5ed019a1c4e840ad810246e8b7
make qemu-kvm option handling target-independent

Using CONFIG_KVM (a target config option) in vl.c is a source of
confusion and trouble in Makefile handling, since it differs from
upstream QEMU.

Create a new host config option and use that.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
configure
qemu-kvm.c
vl.c