[SeaBIOS] [PATCH] Add an IPMI SMBIOS entry
Gleb Natapov
gleb at redhat.com
Tue Jul 31 15:36:30 CEST 2012
On Tue, Jul 31, 2012 at 08:33:53AM -0500, Corey Minyard wrote:
> On 07/31/2012 02:10 AM, Gleb Natapov wrote:
> >
> > /* This CPUID returns the signature 'KVMKVMKVM' in ebx, ecx, and edx. It
> > * should be used to determine that a VM is running under KVM.
> >@@ -35,6 +36,13 @@ static inline int kvm_para_available(void)
> > #define QEMU_CFG_BOOT_MENU 0x0e
> > #define QEMU_CFG_MAX_CPUS 0x0f
> > #define QEMU_CFG_FILE_DIR 0x19
> >+#define QEMU_CFG_IPMI_INTERFACE 0x30
> >+#define QEMU_CFG_IPMI_BASE_ADDR 0x31
> >+#define QEMU_CFG_IPMI_REG_SPACE 0x32
> >+#define QEMU_CFG_IPMI_REG_SPACING 0x33
> >+#define QEMU_CFG_IPMI_SLAVE_ADDR 0x34
> >+#define QEMU_CFG_IPMI_IRQ 0x35
> >+#define QEMU_CFG_IPMI_VERSION 0x36
> >Better to add _one_ fw_cfg entry that contains all of the info. But I am
> >sure Kevin will want this to be passed through file interface anyway.
> >
> >
> I considered that, but that seems like a more brittle interface. New
> fields may need to be added in the future. I'll look at the file
> interface, but I would think it would be best to have something that
> could be added to.
>
If you think it will have to be extended version it or include feature
bitmap.
--
Gleb.
More information about the SeaBIOS
mailing list