6 ms·
Using VFIO passthrough and qemu I have the opposite of this which is really convenient, a windows disk that can boot as a vm or normally.
by deft 5y ago
Using VFIO passthrough and qemu I have the opposite of this which is really convenient, a windows disk that can boot as a vm or normally.
- pitaj 5y agoWhat resources did you use to set this up? This is my dream setup.
- deft 5y agoreddit r/vfio and the arch wiki page here https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF there's also the level1tech forums which have a ton of information on it. The gist of it is this: Qemu with uefi boot, configured through virt-manager, passing in both the gpu and windows boot disk (nvme) as raw devices to the vm.
- rzzzt 5y agoMine would be booting into a minimal Linux installation/hypervisor that fires up a Linux and a Windows VM, both full-screen, between which you could swap with a pair of keyboard shortcuts.
- vadfa 5y agoI've done that. But it gets annoying too.
- tatref 5y agoDo you have any issue with drivers or license when switching between the VM and normal?
- marcan_42 5y agoYou can keep the licensing stuff happy by cloning the firmware GUID, MAC addresses, and disk serial numbers into the VM, in my experience.
- sudosysgen 5y agoI did the same and fixed the license issues by pirating windows. As for drivers, the idea is that you're passing through as much of the devices as possible so it works on that level. For those you cannot passthrough, Windows 10 was surprisingly accomodating.