diff options
author | Avi Kivity <avi@redhat.com> | 2011-12-18 16:40:50 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-12-20 14:14:08 +0200 |
commit | c65adf9bcdc9c3212d62696f1b52c8ce0f98dd7f (patch) | |
tree | a1ee6bc4ac3b3669a1d305536f3d6f1964f28135 /hw/xen.h | |
parent | 04097f7c5957273c578f72b9bd603ba6b1d69e33 (diff) | |
download | hqemu-c65adf9bcdc9c3212d62696f1b52c8ce0f98dd7f.zip hqemu-c65adf9bcdc9c3212d62696f1b52c8ce0f98dd7f.tar.gz |
xen, vga: add API for registering the framebuffer
Xen currently uses the name of a memory region to determine whether it
is the framebuffer. Replace with an explicit API.
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/xen.h')
-rw-r--r-- | hw/xen.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -49,6 +49,9 @@ void xen_ram_alloc(ram_addr_t ram_addr, ram_addr_t size, struct MemoryRegion *mr); #endif +struct MemoryRegion; +void xen_register_framebuffer(struct MemoryRegion *mr); + #if defined(CONFIG_XEN) && CONFIG_XEN_CTRL_INTERFACE_VERSION < 400 # define HVM_MAX_VCPUS 32 #endif |