Re: [PATCH 1/2] vhost-vdpa: define and use default value for vhostdev

2020-09-08 Thread Jason Wang
On 2020/9/4 上午2:53, Laurent Vivier wrote: vhostdev is defined as optional in net.json, and if not set /dev/vhost-vdpa-0 should be used. The default value is not set and if vhostdev is not provided QEMU crashes with a SIGSEGV exception. Fixes: 1e0a84ea49b6 ("vhost-vdpa: introduce vhost-vdpa ne

[PATCH 1/2] vhost-vdpa: define and use default value for vhostdev

2020-09-03 Thread Laurent Vivier
vhostdev is defined as optional in net.json, and if not set /dev/vhost-vdpa-0 should be used. The default value is not set and if vhostdev is not provided QEMU crashes with a SIGSEGV exception. Fixes: 1e0a84ea49b6 ("vhost-vdpa: introduce vhost-vdpa net client") Cc: l...@redhat.com Signed-off-by: