[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Is there any limitation on the firmware size in Xen?



On 12/05/17 10:32, Jan Beulich wrote:
>>>> On 11.05.17 at 11:02, <GLin@xxxxxxxx> wrote:
>> On Thu, May 11, 2017 at 06:14:42PM +1000, Jan Beulich wrote:
>>> Note that hvmloader's main() has
>>>
>>>     BUG_ON(hvm_start_info->magic != XEN_HVM_START_MAGIC_VALUE);
>>>
>>> very early, so you having got past this means the corruption
>>> occurred inside hvmloader (or at least while it was already
>>> running). Could you comment out the call to perform_tests()
>>> and try again?
>>>
>> You got it. After commenting out perform_tests(), the grub2 menu showed
>> and the system booted.
>>
>> It seems that perform_tests() cleared 0x400000~0x800000, and that's why 
>> the members of hvm_start_info became 0 in my test.
> So could you give the below/attached patch a try?
>
> Jan
>
> --- a/tools/firmware/hvmloader/tests.c
> +++ b/tools/firmware/hvmloader/tests.c

In the presence of XTF regression tests being run in OSSTest, this
entire mechanism in HVMLoader ought to be dropped.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.