aboutsummaryrefslogtreecommitdiff
path: root/hw/ipmi/isa_ipmi_bt.c
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2017-12-06 13:18:07 -0600
committerCorey Minyard <cminyard@mvista.com>2019-09-20 14:08:10 -0500
commit79d29a9d065d25f7f9da0dfca8ac9b6f1989978c (patch)
tree475f024301e35d9c3b4d1ab77fe6d00d62669de5 /hw/ipmi/isa_ipmi_bt.c
parent1739d54c8bea120897e6170a3807ab8633c6d460 (diff)
ipmi: Allow a size value to be passed for I/O space
PCI device I/O must be >= 8 bytes in length or they don't work. Allow the size to be passed in, the default size of 2 or 3 won't work. Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'hw/ipmi/isa_ipmi_bt.c')
-rw-r--r--hw/ipmi/isa_ipmi_bt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ipmi/isa_ipmi_bt.c b/hw/ipmi/isa_ipmi_bt.c
index c102778712..9a87ffd3f0 100644
--- a/hw/ipmi/isa_ipmi_bt.c
+++ b/hw/ipmi/isa_ipmi_bt.c
@@ -85,7 +85,7 @@ static void isa_ipmi_bt_realize(DeviceState *dev, Error **errp)
iib->bt.bmc->intf = ii;
iib->bt.opaque = iib;
- iic->init(ii, errp);
+ iic->init(ii, 0, errp);
if (*errp)
return;