Setting up VFIO on Bazzite

I have a Lenovo Legion 5 laptop with a Ryzen 4600h (with integrated graphics), GTX 1660 Ti and 16gb of ram. I want to setup a Windows vm for some Windows only things that aren't related to gaming, such as a Windows C++ development environment. I've enabled virtualization and enabled VFIO drivers, but I still got a few questions.
  1. Can I rollback stuff in case something breaks?
  2. Is it a good idea to use integrated graphics for the vm?
  3. Is there any way to make it so the system unbinds gpus from vfio when I don't want to use them? Like if I bind integrated or dedicated graphics to vfio when I want to use the vm, then I stop using the vm, can I unbind them for host use?
Was this page helpful?