From: Avi Kivity <avi@redhat.com>
To: Eduardo Habkost <ehabkost@redhat.com>
Cc: KVM devel mailing list <kvm@vger.kernel.org>,
Juan Quintela <quintela@redhat.com>,
libvir-list@redhat.com, qemu-devel@nongnu.org,
Igor Mammedov <imammedo@redhat.com>,
Jiri Denemark <jdenemar@redhat.com>
Subject: Re: [Qemu-devel] QEMU CPU model versioning/compatibility (was Re: KVM call minutes July 31th)
Date: Wed, 01 Aug 2012 11:50:01 +0300 [thread overview]
Message-ID: <5018EDB9.2040404@redhat.com> (raw)
In-Reply-To: <20120731151415.GK24331@otherpad.lan.raisama.net>
On 07/31/2012 06:14 PM, Eduardo Habkost wrote:
> On Tue, Jul 31, 2012 at 04:32:05PM +0200, Juan Quintela wrote:
>> - 1.2 plans for CPU model versioning/compatibility (eduardo)
>> (global properties vs QOM vs qdev)
>> how to do it ? configuration file? moving back to the code?
>> different external interface from internal one
>
> (CCing libvir-list)
>
> So, the problem is (please correct me if I am wrong):
>
> - libvirt expects the CPU models from the current config file to be
> provided by QEMU. libvirt won't write a cpudef config file.
> - Fixing compatibility problems on the CPU models (even the ones that
> are in config files) are expected to be QEMU's responsibility.
>
> Moving the CPU models inside the code is a step backwards, IMO. I don't
> think loading some kind of data from an external file (provided and
> maintained by QEMU itself) should be considered something special and
> magic, and make the data there a second-class citizen (that QEMU refuses
> to give proper support and keep compatibility).
I agree.
> But if it will make us stop running in circles every time something
> related to those files needs to be changed (remember the -no-user-config
> discussion?), I think I will accept that.
The issue is that we have a lot of machinery for backwards compatibility
in the code, and none in cpu definitions parser. Yes we could mark up
the cpu definitions so it could be text driven, but that's effort that
could be spent elsewhere. Moving it to a data-driven C implementation
that can rely on the existing backwards compat code is a good tradeoff IMO.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2012-08-01 8:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-31 14:32 [Qemu-devel] KVM call minutes July 31th Juan Quintela
2012-07-31 15:14 ` [Qemu-devel] QEMU CPU model versioning/compatibility (was Re: KVM call minutes July 31th) Eduardo Habkost
2012-08-01 8:50 ` Avi Kivity [this message]
2012-07-31 15:40 ` [Qemu-devel] KVM call minutes July 31th Eduardo Habkost
2012-07-31 15:56 ` Andreas Färber
2012-07-31 16:06 ` Igor Mammedov
2012-07-31 16:16 ` Andreas Färber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5018EDB9.2040404@redhat.com \
--to=avi@redhat.com \
--cc=ehabkost@redhat.com \
--cc=imammedo@redhat.com \
--cc=jdenemar@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=libvir-list@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).