]> git.ipfire.org Git - thirdparty/qemu.git/commit
chardev/char.c: fix "abstract device type" error message
authorMichael Tokarev <mjt@tls.msk.ru>
Wed, 3 Jan 2024 11:37:39 +0000 (14:37 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 8 Jan 2024 16:25:17 +0000 (19:25 +0300)
commit97d3be7bca49708a797b0a961b2a4dd99030910f
tree6581d93885d6cd7e9822bf5d5f4d5cab0f59ffb6
parent03382b91cb40ae02deeb711b6cd0f4c1a0830600
chardev/char.c: fix "abstract device type" error message

Current error message:

 qemu-system-x86_64: -chardev spice,id=foo: Parameter 'driver' expects an abstract device type

while in fact the meaning is in reverse, -chardev expects
a non-abstract device type.

Fixes: 777357d758d9 ("chardev: qom-ify" 2016-12-07)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
(cherry picked from commit 4ad87cd4b2254197b7ac12e3da824854e6a90f8f)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
chardev/char.c