| * QEMU Hypervisor.framework (HVF) support |
| * Copyright 2017 Google Inc |
| * Adapted from target-i386/hax-i386.h: |
| * Copyright (c) 2011 Intel Corporation |
| * Jiang Yunhong<yunhong.jiang@intel.com> |
| * This work is licensed under the terms of the GNU GPL, version 2 or later. |
| * See the COPYING file in the top-level directory. |
| #define HVF_MAX_VCPU 0x10 |
| extern struct hvf_state hvf_global; |
| struct hvf_vcpu_state *vcpus[HVF_MAX_VCPU]; |
| /* Functions exported to host specific mode */ |
| /* Host specific functions */ |
| int hvf_inject_interrupt(CPUArchState *env, int vector); |
| int hvf_vcpu_run(struct hvf_vcpu_state *vcpu); |