For some qemu_chr_parse_* functions, we just check whether the parameter
is NULL or not, but do not check if it is empty.
For example:
qemu-system-x86_64 -chardev pipe,id=id,path=
It will pass the check of NULL but will not find the error until
trying to open it, while essentially missing and
zhanghailiang zhang.zhanghaili...@huawei.com writes:
For some qemu_chr_parse_* functions, we just check whether the parameter
is NULL or not, but do not check if it is empty.
For example:
qemu-system-x86_64 -chardev pipe,id=id,path=
It will pass the check of NULL but will not find the