Re: [PATCH for-1.7] target-i386: Fix build by providing stub kvm_arch_get_supported_cpuid()

Gleb Natapov
2013-11-12T13:26:54Z

On Tue, Nov 12, 2013 at 01:21:51PM +0000, Peter Maydell wrote:
> (Similarly,
> you can put code that's a syntax error inside #if 0,
> but that won't work inside an "if (0)". The solution
> is not to do that.)
>
That's the advantage of using "if (0)" instead of #if 0. You do not
need to enable insane amount of options to check that your change does
not break complication for any of them.

--
Gleb.