[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 00/10] Generate x86 cpu features
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH v2 00/10] Generate x86 cpu features |
Date: |
Fri, 8 Sep 2023 17:55:12 +0100 |
User-agent: |
Mutt/2.2.9 (2022-11-12) |
On Fri, Sep 08, 2023 at 04:48:46PM +0200, Igor Mammedov wrote:
> On Fri, 8 Sep 2023 14:45:24 +0200
> Tim Wiederhake <twiederh@redhat.com> wrote:
>
> > Synchronizing the list of cpu features and models with qemu is a recurring
> > task in libvirt. For x86, this is done by reading qom-list-properties for
> > max-x86_64-cpu and manually filtering out everthing that does not look like
> > a feature name, as well as parsing target/i386/cpu.c for cpu models.
>
> modulo fixing typos/name conflicts in 1st 3 patches,
>
> I don't think it's a great idea for libvirt (or any other user) to parse
> QEMU source (whether it's C code or yaml) or other way around for users
> to influence QEMU internals.
NB It isn't for libvirt to parse at runtime, rather it is for libvirt
maintainers to consume during dev, so libvirt keeps in sync with QEMU
features.
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH v2 07/10] target/i386: Format feature_word_info.c.inc: Fill out feat_names, (continued)
- [PATCH v2 07/10] target/i386: Format feature_word_info.c.inc: Fill out feat_names, Tim Wiederhake, 2023/09/08
- [PATCH v2 02/10] target/i386: Fix feature names in FEAT_VMX_EPT_VPID_CAPS, Tim Wiederhake, 2023/09/08
- [PATCH v2 04/10] target/i386: Split out feature_word_info, Tim Wiederhake, 2023/09/08
- [PATCH v2 10/10] target/i386: Autogenerate feature_word_info.c.inc, Tim Wiederhake, 2023/09/08
- [PATCH v2 05/10] target/i386: Translate feature_word_info to yaml, Tim Wiederhake, 2023/09/08
- [PATCH v2 08/10] target/i386: Format feature_word_info.c.inc: Unfold cpuid member, Tim Wiederhake, 2023/09/08
- Re: [PATCH v2 00/10] Generate x86 cpu features, Igor Mammedov, 2023/09/08
- Re: [PATCH v2 00/10] Generate x86 cpu features,
Daniel P . Berrangé <=