Due to switching to the QemuFwCfgAcpiPlatformDxe driver earlier in this series, require QEMU version 1.7.1 in the "OvmfPkg/README" file, and require 1.7 or later machine types too.
Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org> Cc: Jordan Justen <jordan.l.jus...@intel.com> Cc: Philippe Mathieu-Daudé <phi...@redhat.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122 Signed-off-by: Laszlo Ersek <ler...@redhat.com> --- OvmfPkg/README | 43 ++++---------------- 1 file changed, 8 insertions(+), 35 deletions(-) diff --git a/OvmfPkg/README b/OvmfPkg/README index 70f0c4152686..815e66528cb4 100644 --- a/OvmfPkg/README +++ b/OvmfPkg/README @@ -8,16 +8,16 @@ code base. More information can be found at: http://www.tianocore.org/ovmf/ === STATUS === Current capabilities: * IA32 and X64 architectures -* QEMU (0.10.0 or later) +* QEMU (version 1.7.1 or later, with 1.7 or later machine types) - Video, keyboard, IDE, CD-ROM, serial - Runs UEFI shell - - Optional NIC support. Requires QEMU (0.12.2 or later) + - Optional NIC support. * UEFI Linux boots * UEFI Windows 8 boots * UEFI Windows 7 & Windows 2008 Server boot (see important notes below!) === FUTURE PLANS === @@ -56,17 +56,16 @@ these binary outputs: More information on building OVMF can be found at: https://github.com/tianocore/tianocore.github.io/wiki/How%20to%20build%20OVMF === RUNNING OVMF on QEMU === -* QEMU 0.12.2 or later is required. * Be sure to use qemu-system-x86_64, if you are using and X64 firmware. (qemu-system-x86_64 works for the IA32 firmware as well, of course.) * Use OVMF for QEMU firmware (3 options available) - - Option 1: QEMU 1.6 or newer; Use QEMU -pflash parameter + - Option 1: Use QEMU -pflash parameter * QEMU/OVMF will use emulated flash, and fully support UEFI variables * Run qemu with: -pflash path/to/OVMF.fd * Note that this option is required for running SecureBoot-enabled builds (-D SECURE_BOOT_ENABLE). - Option 2: Use QEMU -bios parameter * Note that UEFI variables will be partially emulated, and non-volatile @@ -181,47 +180,21 @@ when OVMF boots. (If a NIC is configured for the virtual machine, and -- dependent on boot order -- PXE booting is attempted, but no DHCP server responds to OVMF's DHCP DISCOVER message at startup, the boot process may take approx. 3 seconds longer.) * For each NIC emulated by qemu, a GPLv2 licensed UEFI driver is available from - the iPXE project. The qemu source distribution, starting with version 1.5, - contains prebuilt binaries of these drivers (and of course allows one to - rebuild them from source as well). This is the recommended set of drivers. + the iPXE project. The qemu source distribution contains prebuilt binaries of + these drivers (and of course allows one to rebuild them from source as well). + This is the recommended set of drivers. * Use the qemu -netdev and -device options, or the legacy -net option, to enable NIC support: <http://wiki.qemu.org/Documentation/Networking>. -* For a qemu >= 1.5 binary running *without* any "-M machine" option where - "machine" would identify a < qemu-1.5 configuration (for example: "-M - pc-i440fx-1.4" or "-M pc-0.13"), the iPXE drivers are automatically available - to and configured for OVMF in the default qemu installation. - -* For a qemu binary in [0.13, 1.5), or a qemu >= 1.5 binary with an "-M - machine" option where "machine" selects a < qemu-1.5 configuration: - - - download a >= 1.5.0-rc1 source tarball from <http://wiki.qemu.org/Download>, - - - extract the following iPXE driver files from the tarball and install them - in a location that is accessible to qemu processes (this may depend on your - SELinux configuration, for example): - - qemu-VERSION/pc-bios/efi-e1000.rom - qemu-VERSION/pc-bios/efi-ne2k_pci.rom - qemu-VERSION/pc-bios/efi-pcnet.rom - qemu-VERSION/pc-bios/efi-rtl8139.rom - qemu-VERSION/pc-bios/efi-virtio.rom - - - extend the NIC's -device option on the qemu command line with a matching - "romfile=" optarg: - - -device e1000,...,romfile=/full/path/to/efi-e1000.rom - -device ne2k_pci,...,romfile=/full/path/to/efi-ne2k_pci.rom - -device pcnet,...,romfile=/full/path/to/efi-pcnet.rom - -device rtl8139,...,romfile=/full/path/to/efi-rtl8139.rom - -device virtio-net-pci,...,romfile=/full/path/to/efi-virtio.rom +* The iPXE drivers are automatically available to and configured for OVMF in + the default qemu installation. * Independently of the iPXE NIC drivers, the default OVMF build provides a basic virtio-net driver, located in OvmfPkg/VirtioNetDxe. * Also independently of the iPXE NIC drivers, Intel's proprietary E1000 NIC driver (from the BootUtil distribution) can be embedded in the OVMF image at -- 2.19.1.3.g30247aa5d201 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#75674): https://edk2.groups.io/g/devel/message/75674 Mute This Topic: https://groups.io/mt/83110349/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-