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

Peter Maydell
2013-11-12T16:08:24Z

On 12 November 2013 15:58, Paolo Bonzini <pbonzini@redhat.com> wrote:
> I don't really see a reason why QEMU should give clang more weight than
> Windows or Mac OS X.

I'm not asking for more weight (and actually my main
reason for caring about clang is exactly MacOSX). I'm
just asking that when a bug is reported whose underlying
cause is "we don't work on clang because we're relying on
undocumented behaviour of gcc" with an attached patch that
fixes this by not relying on the undocumented behaviour,
that we apply the patch rather than saying "why do we
care about clang"...

This seems to me to be a win-win situation:
* we improve our code by not relying on undocumented
implentation specifics
* we work on a platform that, while not a primary
platform, is at least supported in the codebase and
has people who fix it when it breaks

-- PMM