]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
error: Track locations in configuration files
authorMarkus Armbruster <armbru@redhat.com>
Thu, 18 Feb 2010 18:48:33 +0000 (19:48 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 16 Mar 2010 15:58:32 +0000 (16:58 +0100)
commitcf5a65aaaf3e9382e50df550ba049a1c8691a5dd
treecefb10d2cab499ba0d7c76682503a309c187dc4a
parent65abca0a3441fb47024553e7676f6f3eef685a32
error: Track locations in configuration files

New LOC_FILE.  Use it for tracking file name and line number in
qemu_config_parse().  We now report errors like

    qemu:foo.conf:42: Did not find I2C bus for smbus-eeprom

In particular, gems like this message:

    -device: no driver specified

become almost nice now:

    qemu:foo.conf:44: -device: no driver specified

(A later commit will get rid of the bogus -device:)
qemu-config.c
qemu-config.h
qemu-error.c
qemu-error.h
vl.c