Zend certified PHP/Magento developer

Windows VM on Linux with dedicated GPU and memory

I’m building a new PC. I want windows for gaming and some C++ work targeting the hololens. However, my primary development machine would be linux.

I have 32Gb ram, 2 x 1tb m.2 memory, one 3080 and no integrated graphics.

I would rather not dual boot as then I need to restart whenever I want to game and potentially get hit with lengthy windows updates. A VM is attractive as it would let me switch quickly between the 2 workflows.

I want the best performance I can get. Is a VM with GPU passthrough and a dedicated drive a good alternative to dual booting? If so, how do I set up the VM (specifically so it has sole access to the drive and GPU)?