target-i386: Change CPUID model of 486 to 8
commitb2a856d99281f2fee60a4313d204205bcd2c4269
authorAndreas Färber <afaerber@suse.de>
Wed, 1 May 2013 15:30:51 +0000 (1 17:30 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 6 May 2013 17:55:18 +0000 (6 19:55 +0200)
tree02363566ba4cdb255fa37de89accbc1e9b3aec01
parentba2bc7a42e7c7b343f996967484ce3a1543cfebc
target-i386: Change CPUID model of 486 to 8

This changes the model number of 486 to 8 (DX4) which matches the
feature set presented, and actually has the CPUID instruction.

This adds a compatibility property, to keep model=0 on pc-*-1.4 and older.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
[AF: Add compat_props entry]
Tested-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
include/hw/i386/pc.h
target-i386/cpu.c