This fixes a bug when trying to start on qemu + kvm on an arm host. A few minor fixes as suggested by clang tidy.