OSDN Git Service

i386/xen: Reserve Xen special pages for console, xenstore rings
authorDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 27 Dec 2022 19:02:23 +0000 (19:02 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 1 Mar 2023 09:07:52 +0000 (09:07 +0000)
commit8b57d5c523f8f1a650188ffa58939e1c5aaa6254
tree00c5cdd5530178e06f8f99df7c4a6c8e052797b9
parentb746a77926f6e84bdb35a38a9ee956ac12693757
i386/xen: Reserve Xen special pages for console, xenstore rings

Xen has eight frames at 0xfeff8000 for this; we only really need two for
now and KVM puts the identity map at 0xfeffc000, so limit ourselves to
four.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
include/sysemu/kvm_xen.h
target/i386/kvm/xen-emu.c