mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
hw/xen: Add xen_gnttab device for grant table emulation
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Paul Durrant <paul@xen.org>
This commit is contained in:
parent
6f43f2ee49
commit
a28b0fc034
5 changed files with 135 additions and 0 deletions
18
hw/i386/kvm/xen_gnttab.h
Normal file
18
hw/i386/kvm/xen_gnttab.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* QEMU Xen emulation: Grant table support
|
||||
*
|
||||
* Copyright © 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* Authors: David Woodhouse <dwmw2@infradead.org>
|
||||
*
|
||||
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
||||
* See the COPYING file in the top-level directory.
|
||||
*/
|
||||
|
||||
#ifndef QEMU_XEN_GNTTAB_H
|
||||
#define QEMU_XEN_GNTTAB_H
|
||||
|
||||
void xen_gnttab_create(void);
|
||||
int xen_gnttab_map_page(uint64_t idx, uint64_t gfn);
|
||||
|
||||
#endif /* QEMU_XEN_GNTTAB_H */
|
Loading…
Add table
Add a link
Reference in a new issue