From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) by mx.groups.io with SMTP id smtpd.web10.57302.1675699597127916887 for ; Mon, 06 Feb 2023 08:06:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hKkJ4gPi; spf=pass (domain: gmail.com, ip: 209.85.208.44, mailfrom: ritul.bits@gmail.com) Received: by mail-ed1-f44.google.com with SMTP id m8so12144419edd.10 for ; Mon, 06 Feb 2023 08:06:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=oIG5xsjBbOrstMf92i1PbGYyGHMpOqHP0GKPefSqBck=; b=hKkJ4gPi23towuKIOg5Bsx4jL3Dpr07JkgN0nS+yFIQFuhq62ZwV4Oj3VHpC4DnwhB BQt2oU8TKvzR/hjbloJ6U9bc0D4p6DS0IjvZk24ymtDPObtR3hphLswtxIJ43h1XSGtQ OPZqXyHZewk3sU56DOttX+w7p/wGrH98H+nWJAeJcXSFImqYnFQ1HAlKdjhVFEhIwLAG dJ4xyxxwb3UDaQPdvnNYWK6b5a8q1ELFw5zR5vIH9hahncxoMTMQItsPUlrEqxEZ+amW mv2vq41dfYgKD26uMckvJkj5Y/H2L0lMK2nFr/Y2m/yw0joqBVfRzSyLoY6h8XBnodC9 kWzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=oIG5xsjBbOrstMf92i1PbGYyGHMpOqHP0GKPefSqBck=; b=DK7RjMRMnhI2OEFt6qxiKESoejz1gRt31++Jw6T4FKiBiw3uvujWMoVSDejayGsjSS Kvm4QFdISVlDPWLw8DqHS/mijGDJ6YwvnM2qqP3p71UUEjRex8iaxbzOiwnDMvtcN7pl kPKt0TvfHfNHR/CRbG+oI0+/v+OcQ0NNy+qVQMnKYAGtEBZogatZw95VojOuor2ebfXc MIzcfa6tiVtwiCUAvM/DEiI3nlQWUcd+gzcHOR5KAotJBB2ETAhz/W76YfMtb7vuIyEk j0DmSugf5hwiT5sc6S8VckxJ+8eXQvG5OHjjnqdaDOCOcGxW4vWe5nUnSse9ckUy6pB+ Dwmg== X-Gm-Message-State: AO0yUKVlOX2FTkHuTCKNWQ/15cCtS5/5BQCZa7z40liSf5jTR+qWUefO U1elZD7qzsUpoAVAwKEnSWF1/xbIUw7Den0GstxsMR+pPMzXbA== X-Google-Smtp-Source: AK7set8G7iSNnnb+TweTHRnSQVdlGb0LqtTE/9xlm7Hmc32NS2Sgw/8ZBbtFv1k79rAr2zuWvS5e5BDeicBZh630yzk= X-Received: by 2002:a50:a455:0:b0:4aa:9903:ec5f with SMTP id v21-20020a50a455000000b004aa9903ec5fmr2811442edb.54.1675699595115; Mon, 06 Feb 2023 08:06:35 -0800 (PST) MIME-Version: 1.0 From: ritul guru Date: Mon, 6 Feb 2023 21:36:22 +0530 Message-ID: Subject: regarding calling UEFI runtime services (mainly SetVariable) from linux or android OS which is running on xen+tianocore UEFI To: devel@edk2.groups.io Content-Type: multipart/alternative; boundary="0000000000001e004c05f40a378e" --0000000000001e004c05f40a378e Content-Type: text/plain; charset="UTF-8" Hi, I have been using xen hypervisor and tianocore uefi BIOS on xen to boot to ubuntu OS on virtualized disk. and want to set a UEFI variable with UEFI runtime service SetVariable() to a value and the same wants to read from UEFI bootloader either grubx64.efi or botmgfw.efi, So, Is it possible to use runtime services to do such an operation for OS running on VM when booted with OVMF/tianocore BIOS on VM guest? If so, where does this variable gets stored? is it in some virtualized disk as there is no virtualized SPIROM available to VM. https://wiki.osdev.org/Using_UEFI_Runtime_Services_in_your_Kernel *Thanks & RegardsRitul Guru+91-9916513186* --0000000000001e004c05f40a378e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I have been using xen hypervisor and ti= anocore uefi BIOS on xen to boot to ubuntu OS on virtualized disk.
and want to set a UEFI variable with UEFI runtime ser= vice SetVariable() to a value and the same wants to read from UEFI bootload= er either grubx64.efi or botmgfw.efi,
So, Is = it possible to use runtime services to do such an operation for=C2=A0OS run= ning on VM when booted with OVMF/tianocore BIOS on VM guest?=C2=A0
If so, where does this variable gets stored? is it in= some virtualized disk as there is no virtualized SPIROM available to VM.

--0000000000001e004c05f40a378e--