migration/rdma: Silence qemu_rdma_register_and_get_keys()
[qemu/armbru.git] / include / exec / target_page.h
blob98ffbb5c2396f97d2d3cc06c915f6daa170a75ed
1 /*
2 * Target page sizes and friends for non target files
4 * Copyright (c) 2017 Red Hat Inc
6 * Authors:
7 * David Alan Gilbert <dgilbert@redhat.com>
8 * Juan Quintela <quintela@redhat.com>
10 * This work is licensed under the terms of the GNU GPL, version 2 or later.
11 * See the COPYING file in the top-level directory.
14 #ifndef EXEC_TARGET_PAGE_H
15 #define EXEC_TARGET_PAGE_H
17 size_t qemu_target_page_size(void);
18 int qemu_target_page_mask(void);
19 int qemu_target_page_bits(void);
20 int qemu_target_page_bits_min(void);
22 size_t qemu_target_pages_to_MiB(size_t pages);
23 #endif