Skip to content
Commit da95bfe0 authored by Greg Kurz's avatar Greg Kurz Committed by Michael Roth
Browse files

9pfs: fix crash when fsdev is missing



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 702dbcc2.

Signed-off-by: default avatarGreg Kurz <groug@kaod.org>
Reviewed-by: default avatarLi Qiang <liq3ea@gmail.com>
(cherry picked from commit f2b58c43)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 7830be74
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment