qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC] target-arm: Provide mechanism for getting KVM con


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC] target-arm: Provide mechanism for getting KVM constants even if not CONFIG_KVM
Date: Fri, 15 Nov 2013 12:33:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9

Il 15/11/2013 12:26, Peter Maydell ha scritto:
>> > It's okay.  There are indeed advantages to putting this together with
>> > the definitions, instead of splitting it between target-arm/cpu.h and
>> > target-arm/kvm.c.
> Cool. I just wanted to check I wasn't missing some
> clever approach to this that might have avoided the
> need to duplicate all the definitions.

If you call your constants KVM_FOO, the compiler should not warn for a
redefinition with the exact same content.  But I find that more gross
than clever...

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]