1. 5
  1.  

  2. 2

    I don’t see the need to use nbd here. Forwarding files to the geests as block devices should all already be possible with qemu’s -drive command switch.

    Additionally it might be fun/useful to use zram block devices from inside the guest. That way no forwarding from the host is required at all, and additionally, as zram compresses its storage (lzo and lz4 are supported in the kernel though iirc ubuntu only supports lzo), the resources it takes up in terms of ram and cpu are very low.