Configure VirtIO Drives
This is required to boot OpenCore and recoveryOS.
Adding OpenCore Drive
Select the “Add Hardware” button to bring up the Storage prompt. Select the OpenCore image via the “Manage…” button. The Bus type:
should be set to VirtIO. Cache mode set to none, and Discard mode is set to unmap.
Don’t forget to set it as your boot drive.
Creating a Virtual SSD for installation
If you’re looking to passthrough a physical drive on your system to act as the main storage for the Virtual Machine, substitute this section. Requires macOS compatible SSD/NVMe Hardware.
To create a virtual SSD, when selecting the “Add Hardware” button to bring up the Storage prompt, there is a + button in the current libvirt images directory. You can choose any size you’d like but I suggest the standard 128G, 256GB, 512GB, 1024GB.
Here you can see me creating the disk image I’ll be installing macOS on.