From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: solarflare.com, ip: 148.163.129.52, mailfrom: tpilar@solarflare.com) Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) by groups.io with SMTP; Wed, 22 May 2019 04:19:34 -0700 X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (uk.solarflare.com [193.34.186.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us2.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 381971C005F; Wed, 22 May 2019 11:19:33 +0000 (UTC) Received: from ukex01.SolarFlarecom.com (10.17.10.4) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 22 May 2019 12:19:28 +0100 Received: from ukex01.SolarFlarecom.com ([fe80::3c10:6f38:9305:ac6d]) by ukex01.SolarFlarecom.com ([fe80::3c10:6f38:9305:ac6d%14]) with mapi id 15.00.1395.000; Wed, 22 May 2019 12:19:28 +0100 From: "Tomas Pilar (tpilar)" To: Devel EDK2 , "pavankumar_a@accelerite.com" Subject: Re: Help needed in building UEFI qcow2 images Thread-Topic: Help needed in building UEFI qcow2 images Thread-Index: AQHVEI2d6sg9e0VMoUu8XdKQDtgh1qZ2/eHA Date: Wed, 22 May 2019 11:19:27 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.17.25.143] x-tm-as-product-ver: SMEX-12.5.0.1300-8.5.1010-24630.003 x-tm-as-result: No-24.476500-8.000000-10 x-tmase-matchedrid: TxtdI7DxMqoxPNmD6wdjrkNkUF3WMuv+bb8TKn75HqDfVqwz+CynaRgO 7sCGTR0NXF/PXQ6xePmJmZ8FliAav78tQ+d++9tXYff3A5nWjkYzvWHRIxWXwncbVuybnN+MvGA x/1ATZ5v/RWw03+xdxabN5Xxnq7eXf9krIFPI8jVu7xCoxCPC8oDcpVWyPxAMqAn+yHbzwCcwMf xyID/dnTRGWZgDtiVIP/kUjUPSxl5Q0ON3ZFt2uSwwtxRkxyN3i+m1DDPm2yLySn2jEH/dZZIC4 CO/S0X+dbSyyb6FOuTx0jLr9FmWFYwNdEeUBMxAUkACTuP1b5deu6aRt5rYyWQBrQiRNt2IWcVk 1+PpebbvySqOt4tL1QN3Qrczx0MlsHCocrnuw8PpX/LdrjC4py+PrAd8gbHJs+SyIdviDnyzU0R +5DbDbELrrcXwOuf4NwWTCnMMD8eNNYLztGWGdi0NNROIHzZK9FQh3flUIh4Dt/wOShhz/xHfiu juTbedV0vshg+o1seS2+QnC6A1tnLHqPoioImUqKUnDHEkf/OrhCEFTnVAD/MMVfCUdzao1yGUy FK3oV6qHRfUGxLgbKV8n3qySpDoNO2Q/wbwuYhQR7NvK85/J02rn9j60W9boIcZ8kDSGx3XOhpW cZqVbX1UQ3TlwC6kT8c4NST1zozO5y2ZfITD1MhtxXV2QgqTaFAKyqG5M2Jo3Yq5PCwLAqQx27R NqoVZWzCC+JnFewnmVcCSa6zYOzxqSUzr1UZjBGjU6Ie7CGpZZYpuBxXlgNtDO17EwfCUydv0eC DlbzQK3lXnq1dqih4HCef3AbAvAEovyVfrTnVs1yhxEU7UTWvfiVSqJzu3MTg/Zv+vvh/WZE2ag TZEgY1bOIGbDotu6tGJOF/dxHxtWhx5m2SLQQO0N0EsS0ECjYdRLuaQbuNR/DUR4TVDxw== x-tm-as-user-approved-sender: Yes x-tm-as-user-blocked-sender: No x-tmase-result: 10--24.476500-8.000000 x-tmase-version: SMEX-12.5.0.1300-8.5.1010-24630.003 MIME-Version: 1.0 X-MDID: 1558523974-c0mFwZYGIqXp X-Groupsio-MsgNum: 41228 Content-Language: en-US Content-Type: multipart/mixed; boundary="_004_ed4cfca6710b43f78ea5d6d05a87b676ukex01SolarFlarecomcom_" --_004_ed4cfca6710b43f78ea5d6d05a87b676ukex01SolarFlarecomcom_ Content-Type: multipart/alternative; boundary="_000_ed4cfca6710b43f78ea5d6d05a87b676ukex01SolarFlarecomcom_" --_000_ed4cfca6710b43f78ea5d6d05a87b676ukex01SolarFlarecomcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Pavan, I am currently playing around with setting up a OVMF based test framework = myself. You likely need to tell qemu to use OVMF as it's firmware. I attach= my current working libvirt XML file for creating UEFI VMs (diskless) - not= e the and the elements within the element. You want to add a disk sourced from the qcow image and that should work. Cheers, Tom From: devel@edk2.groups.io On Behalf Of Pavan Kumar= Aravapalli Sent: 22 May 2019 12:02 To: Devel EDK2 Subject: [edk2-devel] Help needed in building UEFI qcow2 images Hi, [re-posting the question] I am looking for information/documentation which helps me in enabling UEFI= boot to the existing (KVM)VM template. I am trying for CentOS 6.5(64-bit) = no GUI 64-bit (KVM) template. I found some images available over https://www.kraxel.org/repos/images/ with fedo= ra os, but I am looking for uefi enabled Cent OS template. It would be help= full if any documentation or steps provided for the same. Regards, Pavan. DISCLAIMER =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This e-mail may contain privileged and confidential information which is t= he property of Accelerite, a Persistent Systems business. It is intended on= ly for the use of the individual or entity to which it is addressed. If you= are not the intended recipient, you are not authorized to read, retain, co= py, print, distribute or use this message. If you have received this commun= ication in error, please notify the sender and delete all copies of this me= ssage. Accelerite, a Persistent Systems business does not accept any liabil= ity for virus infected mails. --_000_ed4cfca6710b43f78ea5d6d05a87b676ukex01SolarFlarecomcom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Pavan= ,

&nb= sp;

I am cur= rently playing around with setting up a OVMF based test framework myself. Y= ou likely need to tell qemu to use OVMF as it’s firmware. I attach my= current working libvirt XML file for creating UEFI VMs (diskless) – note the <loader> and the <nvram>= elements within the <os> element.

&nb= sp;

You want= to add a disk sourced from the qcow image and that should work.=

&nb= sp;

Cheers,<= o:p>

Tom=

&nb= sp;

From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Pavan Kumar Aravapalli
Sent: 22 May 2019 12:02
To: Devel EDK2 <devel@edk2.groups.io>
Subject: [edk2-devel] Help needed in building UEFI qcow2 images

 

Hi, 

 

[re-posting the question]<= o:p>

 

I am looking for informati= on/documentation which helps me in enabling UEFI boot to&nbs= p;the existing (KVM)VM template. I am trying for CentOS 6.5(64-bi= t) no GUI 64-bit (KVM) template. 

 

 

I found some images availa= ble over https://www.kraxel.org/repos/images/ with fedora os, but I am looking for uefi enabled Cent OS template. It would b= e helpfull if any documentation or steps provided for the same.<= /span>

&= nbsp;

 

Regards, <= /span>

Pavan.

DISCLAIMER
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This e-mail may contain privileged and confidential information which is t= he property of Accelerite, a Persistent Systems business. It is intended on= ly for the use of the individual or entity to which it is addressed. If you= are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use th= is message. If you have received this communication in error, please notify= the sender and delete all copies of this message. Accelerite, a Persistent= Systems business does not accept any liability for virus infected mails.

--_000_ed4cfca6710b43f78ea5d6d05a87b676ukex01SolarFlarecomcom_-- --_004_ed4cfca6710b43f78ea5d6d05a87b676ukex01SolarFlarecomcom_ Content-Type: text/xml; name="kvm.xml" Content-Description: kvm.xml Content-Disposition: attachment; filename="kvm.xml"; size=2658; creation-date="Tue, 21 May 2019 11:55:04 GMT"; modification-date="Tue, 21 May 2019 15:55:57 GMT" Content-Transfer-Encoding: base64 PGRvbWFpbiB0eXBlPSdrdm0nIGlkPSc1Jz4KICA8bmFtZT5RZW11IFRlc3Q8L25hbWU+CiAgPHV1 aWQ+NmE5MmM4YzMtYzZiNC00YjU3LWExNjQtMGE5OTE3ZWVhZjE5PC91dWlkPgogIDxtZW1vcnkg dW5pdD0nS2lCJz4yMDk3MTUyPC9tZW1vcnk+CiAgPGN1cnJlbnRNZW1vcnkgdW5pdD0nS2lCJz4y MDk3MTUy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