[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] in a device or CPU instance init/realize, can I rely on
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] in a device or CPU instance init/realize, can I rely on something having the BQL or equivalent? |
Date: |
Fri, 8 Dec 2017 15:05:40 +0000 |
On 8 December 2017 at 14:50, Igor Mammedov <address@hidden> wrote:
> On Fri, 8 Dec 2017 13:19:27 +0000
> Peter Maydell <address@hidden> wrote:
>
>> On 8 December 2017 at 13:16, Igor Mammedov <address@hidden> wrote:
>> > TBH:
>> > I do not recall why we have x86 max/host cpu types do feature
>> > loading at realize time instead of at class init like the rest
>> > of static cpu types.
>>
>> class init is too early, IIRC -- it's before KVM has been set up at all.
>
> that shouldn't be an issue as kvm_ppc_register_host_cpu_type() demonstrates
> (i.e. an additional class init at kvm/tcg init time),
>
> so it might be some compat issue or just legacy approach why it
> havn't been rewritten to class_init for x86 the way PPC does.
> But Eduardo probably knows better if there is anything left that
> prevents using class init there.
Hmm. In any case, feel free to review
https://lists.gnu.org/archive/html/qemu-devel/2017-12/msg01225.html
and suggest changes if you think there's a better way of structuring
things.
thanks
-- PMM
- [Qemu-devel] in a device or CPU instance init/realize, can I rely on something having the BQL or equivalent?, Peter Maydell, 2017/12/07
- Re: [Qemu-devel] in a device or CPU instance init/realize, can I rely on something having the BQL or equivalent?, Igor Mammedov, 2017/12/07
- Re: [Qemu-devel] in a device or CPU instance init/realize, can I rely on something having the BQL or equivalent?, Peter Maydell, 2017/12/07
- Re: [Qemu-devel] in a device or CPU instance init/realize, can I rely on something having the BQL or equivalent?, Eduardo Habkost, 2017/12/07
- Re: [Qemu-devel] in a device or CPU instance init/realize, can I rely on something having the BQL or equivalent?, Peter Maydell, 2017/12/07
- Re: [Qemu-devel] in a device or CPU instance init/realize, can I rely on something having the BQL or equivalent?, Peter Maydell, 2017/12/07
- Re: [Qemu-devel] in a device or CPU instance init/realize, can I rely on something having the BQL or equivalent?, Igor Mammedov, 2017/12/08
- Re: [Qemu-devel] in a device or CPU instance init/realize, can I rely on something having the BQL or equivalent?, Peter Maydell, 2017/12/08
- Re: [Qemu-devel] in a device or CPU instance init/realize, can I rely on something having the BQL or equivalent?, Igor Mammedov, 2017/12/08
- Re: [Qemu-devel] in a device or CPU instance init/realize, can I rely on something having the BQL or equivalent?,
Peter Maydell <=
- Re: [Qemu-devel] in a device or CPU instance init/realize, can I rely on something having the BQL or equivalent?, Eduardo Habkost, 2017/12/08
- Re: [Qemu-devel] in a device or CPU instance init/realize, can I rely on something having the BQL or equivalent?, Igor Mammedov, 2017/12/08
- Re: [Qemu-devel] in a device or CPU instance init/realize, can I rely on something having the BQL or equivalent?, Eduardo Habkost, 2017/12/08