mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
1739d54c8b
commit
79d29a9d06
7 changed files with 44 additions and 11 deletions
|
@ -84,7 +84,7 @@ static void ipmi_isa_realize(DeviceState *dev, Error **errp)
|
|||
iik->kcs.bmc->intf = ii;
|
||||
iik->kcs.opaque = iik;
|
||||
|
||||
iic->init(ii, errp);
|
||||
iic->init(ii, 0, errp);
|
||||
if (*errp)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue