How would I setup a machine such that it can dual boot into Windows 10 and Linux (say Ubuntu), while being able to access the installations as virtual machines? E.G. Boot into Windows 10, and then run the Ubuntu installation as a VM. Doing this both ways would be nice (i.e. also being able to run Windows a VM from inside Ubuntu), but I would be happy simply being able to dual boot and run Ubuntu as a VM from inside Windows.
Some Googling seems to indicate that it may be possible with VMWare Player.
Edit: I found some very old documentation that seems to indicate that VMWorkstation can do this: https://www.vmware.com/support/ws55/doc/ws_disk_dualboot.html And I found someone who seems to have been able to do this with VirtualBox in one direction (dualbooting Windows/Linux, while running the Windows installation as a VM from inside Linux): http://greenash.net.au/thoughts/2016/02/running-a-real-windows-install-in-virtualbox-on-linux/
The closest analogue I can think of would be how you can setup a MacBook to boot OSX and Windows, yet use Parallels to run the Windows installation as a VM, unless I'm misunderstanding what's actually going on in that situation?
As a further bit of a clarification, this setup would be for a personal machine: I would be also be interested in gaming while booted into the Windows installation, so performance is also important.