[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH RFC 6/7] ARM64: KVM: Support heterogeneous system
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] [PATCH RFC 6/7] ARM64: KVM: Support heterogeneous system |
Date: |
Wed, 15 Mar 2017 14:21:48 +0000 |
On 15 March 2017 at 14:06, Andrew Jones <address@hidden> wrote:
> On Wed, Mar 15, 2017 at 02:36:45PM +0100, Christoffer Dall wrote:
>> > If QEMU wants to know
>> > whether or not the host it's running on is heterogeneous, then
>> > it can just query sysfs, rather than ask KVM.
>> >
>>
>> Can it? Is this information available in a reliable way from userspace?
>
> I don't know much (anything) about it, but, afaict, yes. See
> https://lkml.org/lkml/2017/1/19/380
AFAICT that won't work if the CPU you're trying to
look at the ID registers for happens to be offline at
the time you're looking at it.
thanks
-- PMM