On 2014/11/2 13:18, Michael Tokarev wrote:
01.11.2014 04:50, zhanghailiang wrote:
The filename parameter never to be NULL, because in qemu_chr_parse_pipe
it is return value of g_strdup(device), where device will not be
NULL.
We should check its length.
After this patch, when run command:
qemu
01.11.2014 04:50, zhanghailiang wrote:
> The filename parameter never to be NULL, because in qemu_chr_parse_pipe
> it is return value of g_strdup(device), where device will not be
> NULL.
>
> We should check its length.
> After this patch, when run command:
> qemu-system-x86_64 -chardev pipe,id=p