Re: [Qemu-devel] [PATCH] 9pfs: fix crash when fsdev is missing

2016-12-19 Thread Li Qiang
On 2016-12-19 22:28 GMT+08:00 Greg Kurz wrote: > If the user passes -device virtio-9p without the corresponding -fsdev, QEMU > dereferences a NULL pointer and crashes. > > This is a 2.8 regression introduced by commit 702dbcc274e2c. > > Signed-off-by: Greg Kurz > Reviewed-by: Li Qiang > ---

[Qemu-devel] [PATCH] 9pfs: fix crash when fsdev is missing

2016-12-19 Thread Greg Kurz
If the user passes -device virtio-9p without the corresponding -fsdev, QEMU dereferences a NULL pointer and crashes. This is a 2.8 regression introduced by commit 702dbcc274e2c. Signed-off-by: Greg Kurz --- hw/9pfs/9p.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/9