Re: [PATCH 8/9] Protect qemu-kvm.h declarations with NEED_CPU_H

2010-09-21 Thread Avi Kivity
On 09/20/2010 07:05 PM, Michael S. Tsirkin wrote: On Mon, Sep 20, 2010 at 05:06:49PM +0200, Avi Kivity wrote: > Target-specific definitions need to be qualified with NEED_CPU_H so kvm.h > can be included from non-target-specific files. > > Signed-off-by: Avi Kivity Long term, would be cleane

Re: [PATCH 8/9] Protect qemu-kvm.h declarations with NEED_CPU_H

2010-09-20 Thread Michael S. Tsirkin
On Mon, Sep 20, 2010 at 05:06:49PM +0200, Avi Kivity wrote: > Target-specific definitions need to be qualified with NEED_CPU_H so kvm.h > can be included from non-target-specific files. > > Signed-off-by: Avi Kivity Long term, would be cleaner to split this into two files ... > --- > kvm-stub.

[PATCH 8/9] Protect qemu-kvm.h declarations with NEED_CPU_H

2010-09-20 Thread Avi Kivity
Target-specific definitions need to be qualified with NEED_CPU_H so kvm.h can be included from non-target-specific files. Signed-off-by: Avi Kivity --- kvm-stub.c |1 + qemu-kvm.h | 21 - 2 files changed, 21 insertions(+), 1 deletions(-) diff --git a/kvm-stub.c b/kvm-s