blob: 8ea46ed2488c0d6f026006c4d123ecc8b8fcdd2a [file] [log] [blame]
/*
* QEMU HVF support
*
* Copyright (c) 2017, Google
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* See the COPYING file in the top-level directory.
*
*/
#include "qemu/osdep.h"
#include "sysemu/hvf.h"
int hvf_enabled(void)
{
return 0;
}
void* hvf_gpa2hva(uint64_t gpa, bool* found) {
*found = false;
return 0;
}
int hvf_hva2gpa(void* hva, uint64_t length, int max,
uint64_t* gpa, uint64_t* size) {
return 0;
}
int hvf_map_safe(void* hva, uint64_t gpa, uint64_t size, uint64_t flags) {
return -1;
}
int hvf_unmap_safe(uint64_t gpa, uint64_t size) {
return -1;
}
int hvf_protect_safe(uint64_t gpa, uint64_t size, uint64_t flags) {
return -1;
}
int hvf_remap_safe(void* hva, uint64_t gpa, uint64_t size, uint64_t flags) {
return -1;
}