smbios: extract x86 smbios building code into a function
commit5fd0a9d410dc876ce134359c489d1d639ea32889
authorWei Huang <wei@redhat.com>
Wed, 12 Aug 2015 02:08:18 +0000 (11 22:08 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 13 Aug 2015 11:08:30 +0000 (13 14:08 +0300)
tree28220a90629fbe20fe4b73bf511b168b93672908
parent94aaca6457e52bb9c8a53af3c89bfeec40afadfc
smbios: extract x86 smbios building code into a function

This patch extracts out the procedure of buidling x86 SMBIOS tables
into a dedicated function.

Acked-by: Gabriel Somlo <somlo@cmu.edu>
Tested-by: Gabriel Somlo <somlo@cmu.edu>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Leif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: Wei Huang <wei@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc.c