Port-xen archive

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

Re: -current doesn't boot on xen

On Fri, Jan 29, 2021 at 01:59:53PM +0000, coypu%sdf.org@localhost wrote:
> [   1.0000000] hypervisor0 at mainbus0: Xen version
> [   1.0000000] panic: GNTTABOP_set_version 2 failed -38

To add to the above, linux seems to keep the v1 code and probe for it.

commit 8dca4d96c7d8058e7c97daad9ae0a76569ea31e6 ┃
Author: Juergen Gross <jgross%suse.com@localhost>
Date:   Thu Nov 2 10:19:21 2017 +0100

    xen: select grant interface version
    Grant v2 will be needed in cases where a frame number in the grant
    table can exceed 32 bits. For PV guests this is a host feature, while
    for HVM guests this is a guest feature.
    So select grant v2 in case frame numbers can be larger than 32 bits
    and grant v1 else.
    For testing purposes add a way to specify the grant interface version
    via a boot parameter.

Home | Main Index | Thread Index | Old Index