smbios: Don't report unknown CPU speed (fix SVVP regression)
commit07d01c9c1929e43216005fcc8eccea75776ee0d2
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 7 Jan 2015 17:36:34 +0000 (7 15:36 -0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 27 Jan 2015 12:46:17 +0000 (27 14:46 +0200)
tree6b364196e0c08cc723deb4204416cabaf86995da
parent744c6d474791ff3ad5c2f08edc732564199fd146
smbios: Don't report unknown CPU speed (fix SVVP regression)

SVVP requires processor speed on Type 4 structures to not be unknown.
This was fixed in SeaBIOS 0.5.0 (in 2009), but the bug was reintroduced
in QEMU 2.1.

Revert to old behavior and report CPU speed as 2000 MHz instead of
unknown.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/smbios.c