hw/i386/xen/: move xen-mapcache.c to hw/xen/

xen-mapcache.c contains common functions which can be used for enabling Xen on
aarch64 with IOREQ handling. Moving it out from hw/i386/xen to hw/xen to make it
accessible for both aarch64 and x86.

Signed-off-by: Vikram Garhwal <vikram.garhwal@amd.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
Reviewed-by: Paul Durrant <paul@xen.org>
This commit is contained in:
Vikram Garhwal 2023-06-14 17:03:29 -07:00 committed by Stefano Stabellini
parent 7efd65423a
commit e7218dd57c
6 changed files with 10 additions and 6 deletions

View file

@ -33,5 +33,6 @@ subdir('kvm')
subdir('xen')
i386_ss.add_all(xenpv_ss)
i386_ss.add_all(xen_ss)
hw_arch += {'i386': i386_ss}