(qemu) device_add ivshmem
Must specify 'chardev' or 'shm' to ivshmem
Segmentation fault (core dumped)
(qemu) device_add ivshmem,chardev=stdio
Must specify 'chardev' or 'shm' to ivshmem
Segmentation fault (core dumped)
because the chardev must really be a Unix socket.
Hi Paolo,
QE tried the bug according to the following scenario.
case1,it won't reproduce while chardev with socket backend with unix option.
{"execute":"chardev-add","arguments":{"id":"channel4","backend":{"type":"socket","data":{"addr": {"type":"unix", "data": {"path": "/tmp/mm4"}}}}}}
{"execute":"device_add","arguments":{"driver":"ivshmem","chardev":"channel4"}}
case2,
the issue will be reproduced while chardev with others backend,such as file,pty.
Thanks,any issue please let me know.
Best regards,
Min