This missed v2.9 and v2.10. Let's try again: we can include this on v2.11, and remove the default config file in QEMU 2.13 or 2.14.
Changes v3 -> v4: * Use warn_report() instead of error_report("warning: ...") (Eric Blake) * Document as a deprecated feature in qemu-doc.texi * Updated Subject line (was "vl: Print warning if a non-empty default config file is found") Changes v2 -> v3: * Rebase to latest qemu.git master Changes v1 -> v2: * Remove unnecessary translation of qemu_config_parse() erros to -EINVAL at block/blkdebug.c:read_config() * Suggsted-by: Markus Armbruster <arm...@redhat.com> We plan to remove support for /etc/qemu/qemu.conf in the near future. Make QEMU print a warning in case there a non-empty /etc/qemu/qemu.conf is loaded, so users have time to adapt. Eduardo Habkost (2): config: qemu_config_parse() return number of config groups vl: Deprecate auto-loading of qemu.conf block/blkdebug.c | 1 - util/qemu-config.c | 15 +++++++-------- vl.c | 6 ++++++ qemu-doc.texi | 8 ++++++++ 4 files changed, 21 insertions(+), 9 deletions(-) -- 2.13.5