Hi, > I'll ask Jordan too about the dynamic feature detection, because there's > another big hurdle with it (selecting a LockBox library instance at > runtime, dependent on the presence of SMM). Deciding about SMM support > at build time would make things hugely easier (because that's how > firmware for physical platforms is built as well).
piix/q35 falls into the same category I guess. We are just lucky that (a) alot of the chipset-specific initialization is not needed on qemu and (b) we can hide the remaining differences in ovmf-specific modules. cheers, Gerd