Put all VM stuff around ifdef VM tags so that we can build fs without vm