On 07/26/19 18:06, Anthony PERARD wrote: > On Wed, Jul 10, 2019 at 04:05:02PM +0200, Laszlo Ersek wrote: >> On 07/04/19 16:42, Anthony PERARD wrote:
>>> + if (State == NULL) { >>> + Status = EFI_OUT_OF_RESOURCES; >>> + goto Error; >>> + } >>> + >>> + Allocation = AllocateReservedPages (XEN_GRANT_FRAMES); >> >> (5) So, again, please evaluate if this could simply be AllocatePages(). > > I would prefer to let know the operating system that those pages are > potentially used, unless I'm sure OVMF has let know Xen that those > pages don't contain the grant table anymore. > > I'll probably try to make some changes in OVMF to allow to give back > those pages, but for now I think keeping those pages as reserved will > be good enough. Fair enough! Thanks, Laszlo -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#44464): https://edk2.groups.io/g/devel/message/44464 Mute This Topic: https://groups.io/mt/32308734/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-