linux-user: Fake /proc/cpuinfo
authorAlexander Graf <agraf@suse.de>
Mon, 23 Jul 2012 08:24:14 +0000 (10:24 +0200)
committerChanho Park <parkch98@gmail.com>
Tue, 9 Sep 2014 02:32:50 +0000 (11:32 +0900)
commit3567c1912e7d5c9dcf1e235515c8a4396f51873a
treebc8e8fd4c440e17bfc43eda2ea29ed1c75043319
parentd612b7393114ec459d52bfca6de56fae60766f95
linux-user: Fake /proc/cpuinfo

Fedora 17 for ARM reads /proc/cpuinfo and fails if it doesn't contain
ARM related contents. This patch implements a quick hack to expose real
/proc/cpuinfo data taken from a real world machine.

The real fix would be to generate at least the flags automatically based
on the selected CPU. Please do not submit this patch upstream until this
has happened.

Signed-off-by: Alexander Graf <agraf@suse.de>
[AF: Rebased for v1.6 and v1.7]
Signed-off-by: Andreas Färber <afaerber@suse.de>
linux-user/syscall.c