On 07/02/20 00:17, Alexey Kardashevskiy wrote: > This is a lot and what is exactly the benefit? My alternative does not > need drivers at all.
Anything you put in the host is potential attack surface. Plus, you're not doing a different thing than anyone else and as you've found out it may be easy for block device but not for everything else. Every platform that QEMU supports is just using a firmware to do firmware things; it can be U-Boot, EDK-2, SLOF, SeaBIOS, qboot, with varying level of complexity. Some are doing -kernel in QEMU rather than firmware, but that's where things end. Paolo