Hi,
I have to run a KVM image that uses an OVMF firmware (OVMF_CODE.fd and OVMF_VARS.fd).
Could you please suggest how to configure EVE-NG to run it?
Thanks,
Andrea
How to run KVM image with OVMF
Moderator: mike
-
- Posts: 146
- Joined: Thu Mar 29, 2018 4:19 pm
Re: How to run KVM image with OVMF
you can run qcow2 type in Eve besides iol and dynamips. You would need to convert ovf to qcow2 and then try your image. You will also need to create a custom template assuming its some 3rd party image.
-
- Posts: 2
- Joined: Fri Feb 09, 2024 5:58 pm
Re: How to run KVM image with OVMF
Hi,
Thanks for your answer.
I have the qow2 image file but the problem is how can I configure QEMU command line to use specific OVMF_CODE.fd and OVMF_VARS.fd files?
For example, the following QEMU command line for launching the node does not work:
-machine type=pc,accel=kvm,pflash0=ovmfcode,pflash1=ovmfvars -nographic -rtc base=utc -cpu host -blockdev node-name=ovmfcode,driver=file,filename=/etc/qemu/OVMF_CODE.sw.fd,read-only=true -blockdev node-name=ovmfvars,driver=file,filename=/etc/qemu/OVMF_VARS.sw.fd
Thanks,
Andrea
Thanks for your answer.
I have the qow2 image file but the problem is how can I configure QEMU command line to use specific OVMF_CODE.fd and OVMF_VARS.fd files?
For example, the following QEMU command line for launching the node does not work:
-machine type=pc,accel=kvm,pflash0=ovmfcode,pflash1=ovmfvars -nographic -rtc base=utc -cpu host -blockdev node-name=ovmfcode,driver=file,filename=/etc/qemu/OVMF_CODE.sw.fd,read-only=true -blockdev node-name=ovmfvars,driver=file,filename=/etc/qemu/OVMF_VARS.sw.fd
Thanks,
Andrea