diff options
author | Markus Armbruster <armbru@redhat.com> | 2017-02-15 11:05:45 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-02-21 13:17:40 +0100 |
commit | 664cc623bfe161759eabd263a1bf7668895b9e4a (patch) | |
tree | b657ff5380441396b0f3430fbbdb0c344756d6bb /hmp.h | |
parent | 2a7ae4ee50002a2fb5ac67fc8c32cc9009335cd8 (diff) | |
download | qemu-664cc623bfe161759eabd263a1bf7668895b9e4a.zip |
blockdev: Improve message for orphaned -drive
We warn when a -drive isn't supported by the machine type (commit
a66c9dc):
$ qemu-system-x86_64 -S -display none -drive if=mtd
Warning: Orphaned drive without device: id=mtd0,file=,if=mtd,bus=0,unit=0
Improve this to point to the offending bit of configuration:
qemu-system-x86_64: -drive if=mtd: warning: machine type does not support if=mtd,bus=0,unit=0
Especially nice when it's hidden behind -readconfig foo.cfg:
qemu-system-x86_64:foo.cfg:140: warning: machine type does not support if=mtd,bus=0,unit=0
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1487153147-11530-7-git-send-email-armbru@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'hmp.h')
0 files changed, 0 insertions, 0 deletions