acpi/ipmi: Initialize the fwinfo before fetching it
commit698ae42b9124dce23e03d0fea2e635b70540ef13
authorCorey Minyard <cminyard@mvista.com>
Mon, 24 Oct 2016 20:10:21 +0000 (24 15:10 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 1 Nov 2016 17:21:09 +0000 (1 19:21 +0200)
tree0739b0fbe2d3f668430afd83398c5531292dc4dd
parentf53b9f3625f1fc66e4514981e7d9315fa74516a7
acpi/ipmi: Initialize the fwinfo before fetching it

The initialization was missed before, resulting in some
bad data in the smbus case.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: qemu-stable@nongnu.org
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/ipmi.c