This series of patches fixes a bunch of issues in the PM SMBus driver for x86 chips so that IPMI over SMBus can actually work (and other things can work, too, I have a number of devices that I've added later, and there's the eeprom, of course).
It then adds an IPMI device that sits on I2C and fixes up the ACPI handling so it can be added to the ACPI tables. This is mostly for comment for now, though I'd be happy for it to be merged if it's good. Yeah, not likely at this point. I'd like to add tests, but that would be a separate patch anyway. Tests will be fairly complicated as there doesn't appear to be any tests for the PM SMBus. IPMI over SMBus is not common now, but I've seen some new systems coming out with it outside of the Intel world. I've needed a test bed to reproduce bugs and test out new capabilities, but other systems may need it in the future. Later in my queue is support for an SMBus alert device (allowing a shared interrupt from SMBus devices) and support for a couple of I2C bus multiplexers. If you are interested, you can see my queue at the ever changing https://github.com/cminyard/qemu master-ipmi-rebase branch.