I've spent some time trying to update my Qemu commandline from '-M pc' to '-M q35' such that it will work with OVMF and give me access to a virtual disk (uefi.img) - and have so far failed.
Previously I had everything running such that from the UEFI Shell I could see an emulated IDE drive, but so far I've totally failed to get back to that using the q35 machine type. I'm specifying '-nodefaults' so I have control over the configuration, but no combination of '-device ide-hd', '-device ahci' etc. seem to cause OVMF to see anything other than two floppy drives. I've already found I need to specify '-usb' to get the keyboard working, but what combination do I need to specify to get a virtual disk visible again? At the moment I don't really care if it's IDE, AHCI or SCSI!