|
From: | Peter Maydell |
Subject: | Re: [Qemu-arm] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo |
Date: | Thu, 7 Apr 2016 11:11:21 +0100 |
On 7 April 2016 at 10:58, <address@hidden> wrote: > From: Vijaya Kumar K <address@hidden> > > utils cannot read target cpu information to > fetch cpu information to implement cpu specific > features or erratas. For this parse /proc/cpuinfo > and fetch cpu information. > > For now this helper only fetches cpu information > for arm architectures. As I understand it /proc/cpuinfo is intended only for humans to read. Please don't write code to parse it; find a different way to get this information instead if you really need it. (I'm not really happy about such specific-to-a-particular-vendor patches in QEMU anyway; we should have migration code that works acceptably for any implementation.) thanks -- PMM
[Prev in Thread] | Current Thread | [Next in Thread] |