diff options
| author | Alexey Kardashevskiy | 2014-01-17 19:12:07 +0100 |
|---|---|---|
| committer | Alex Williamson | 2014-01-17 19:12:07 +0100 |
| commit | 47c16ed56aa6bc4037bdb7b61f049097993cd244 (patch) | |
| tree | 4e4825efa59941220ebbf91785064a5ec973aae9 /include/exec/memory.h | |
| parent | vfio-pci: Fail initfn on DMA mapping errors (diff) | |
| download | qemu-47c16ed56aa6bc4037bdb7b61f049097993cd244.tar.gz qemu-47c16ed56aa6bc4037bdb7b61f049097993cd244.tar.xz qemu-47c16ed56aa6bc4037bdb7b61f049097993cd244.zip | |
kvm: initialize qemu_host_page_size
There is a HOST_PAGE_ALIGN macro which makes sense for KVM accelerator
but it uses qemu_host_page_size/qemu_host_page_mask which initialized
for TCG only.
This moves qemu_host_page_size/qemu_host_page_mask initialization from
TCG's page_init() and adds a call for it from kvm_init().
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/exec/memory.h')
0 files changed, 0 insertions, 0 deletions
