diff options
author | Juergen Gross <jgross@suse.com> | 2017-07-28 12:23:14 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2017-08-11 15:50:26 +0200 |
commit | 4ca83dcf4e3bc0c98836dbb97553792ca7ea5429 (patch) | |
tree | 58e2838e4e443252dbc6ef5a2837559b4c65f667 /drivers/xen/xenbus | |
parent | 10231f69eb039550864ff3eb395da0c63c03ed5f (diff) |
xen: fix hvm guest with kaslr enabled
A Xen HVM guest running with KASLR enabled will die rather soon today
because the shared info page mapping is using va() too early. This was
introduced by commit a5d5f328b0e2baa5ee7c119fd66324eb79eeeb66 ("xen:
allocate page for shared info page from low memory").
In order to fix this use early_memremap() to get a temporary virtual
address for shared info until va() can be used safely.
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/xen/xenbus')
0 files changed, 0 insertions, 0 deletions