Hi ----- Original Message ----- > On Mon, Sep 11, 2017 at 06:59:24PM +0200, Marc-André Lureau wrote: > > See docs/specs/vmcoreinfo.txt for details. > > > > "etc/vmcoreinfo" fw_cfg entry is added when using "-device vmcoreinfo". > > I'm wondering if you considered just adding the entry to fw_cfg by > default, without requiring any -device arg ? Unless I'm misunderstanding, > this doesn't feel like a device to me - its just a well known bucket > in fw_cfg IIUC ? Obviously its existance would need to be tied to > the latest machine type for ABI reasons though. The benefit of this > is that it would "just work" without us having to plumb it through to > all the downstream applications that use QEMU for mgmt guest (OpenStack, > oVirt, GNOME Boxes, virt-manager, and countless other mgmt apps).
v5 did that, it was using a -global fw_cfg.vmcoreinfo=on that defaulted to on. Michael preferred to have a separate -device rather than mix it with fw_cfg, since it's not directly related. We could make -device vmcoreinfo default on on machine type >= 2.11 instead? thanks