qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] update Linux headers to 6.0


From: Peter Maydell
Subject: Re: [PATCH] update Linux headers to 6.0
Date: Tue, 27 Sep 2022 15:54:42 +0100

On Tue, 27 Sept 2022 at 15:53, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> The big change that comes in here is that several structs have been
> switched to flexible array members.  This is compatible with
> QEMU's use of this structs in constructs such as:
>
>     struct {
>         struct kvm_msrs info;
>         struct kvm_msr_entry entries[1];
>     } msr_data = {
>         .info.nmsrs = 1,
>         .entries[0].index = index,
>     };

This won't build on clang -- see the patchset
20220915091035.3897-1-chenyi.qiang@intel.com/">https://patchew.org/QEMU/20220915091035.3897-1-chenyi.qiang@intel.com/
which includes an initial patch to disable that warning first.

-- PMM



reply via email to

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