If you want raspbian to work with qemu 4.1.0 you'll need to edit the run script as follows:
change -redir tcp:5022::22 \ to -nic user,hostfwd=tcp::5022-:22 \ and once it's started type in the qemu shell sudo raspi-config (qwerty) and then go to interfacing options -> ssh -> yes
If you want raspbian to work with qemu 4.1.0 you'll need to edit the run script as follows: change
-redir tcp:5022::22 \
to-nic user,hostfwd=tcp::5022-:22 \
and once it's started type in the qemu shellsudo raspi-config
(qwerty) and then go to interfacing options -> ssh -> yes