Re: [Xen-devel] [PATCH] EFI: Fix getting EFI variable list on some systems

2015-03-10 Thread Jan Beulich
>>> On 09.03.15 at 17:47, wrote: > Copy the entire output buffer to the guest because it may contain data beyond > the output size that the firmware requires on a subsequent > GetNextVariableName() call (e.g. a NULL character). > > The spec requires that on each call, "the previous results" be pa

Re: [Xen-devel] [PATCH] EFI: Fix getting EFI variable list on some systems

2015-03-09 Thread Andrew Cooper
On 09/03/15 16:47, Ross Lagerwall wrote: > Copy the entire output buffer to the guest because it may contain data beyond > the output size that the firmware requires on a subsequent > GetNextVariableName() call (e.g. a NULL character). > > The spec requires that on each call, "the previous results"

[Xen-devel] [PATCH] EFI: Fix getting EFI variable list on some systems

2015-03-09 Thread Ross Lagerwall
Copy the entire output buffer to the guest because it may contain data beyond the output size that the firmware requires on a subsequent GetNextVariableName() call (e.g. a NULL character). The spec requires that on each call, "the previous results" be passed in. Without this change, the following