diff options
author | Reinoud Zandijk <reinoud@NetBSD.org> | 2021-04-02 22:25:33 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-05-04 14:15:34 +0200 |
commit | fdc8635e870b7396a8e2fe4fadfdbec0060d5ef4 (patch) | |
tree | bf481b4f93debc99f89f539f54459745e573f999 /target/i386/nvmm/nvmm-accel-ops.h | |
parent | 74a414a1dfdd7a9aa2d716f991c8a5c0853250ad (diff) | |
download | qemu-fdc8635e870b7396a8e2fe4fadfdbec0060d5ef4.zip qemu-fdc8635e870b7396a8e2fe4fadfdbec0060d5ef4.tar.gz qemu-fdc8635e870b7396a8e2fe4fadfdbec0060d5ef4.tar.bz2 |
Add NVMM accelerator: x86 CPU support
Signed-off-by: Kamil Rytarowski <kamil@NetBSD.org>
Signed-off-by: Reinoud Zandijk <reinoud@NetBSD.org>
Message-Id: <20210402202535.11550-3-reinoud@NetBSD.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/nvmm/nvmm-accel-ops.h')
-rw-r--r-- | target/i386/nvmm/nvmm-accel-ops.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target/i386/nvmm/nvmm-accel-ops.h b/target/i386/nvmm/nvmm-accel-ops.h new file mode 100644 index 0000000..43e24ad --- /dev/null +++ b/target/i386/nvmm/nvmm-accel-ops.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2018-2019 Maxime Villard, All rights reserved. + * + * NetBSD Virtual Machine Monitor (NVMM) accelerator for QEMU. + * + * This work is licensed under the terms of the GNU GPL, version 2 or later. + * See the COPYING file in the top-level directory. + */ + +#ifndef NVMM_CPUS_H +#define NVMM_CPUS_H + +#include "sysemu/cpus.h" + +int nvmm_init_vcpu(CPUState *cpu); +int nvmm_vcpu_exec(CPUState *cpu); +void nvmm_destroy_vcpu(CPUState *cpu); + +void nvmm_cpu_synchronize_state(CPUState *cpu); +void nvmm_cpu_synchronize_post_reset(CPUState *cpu); +void nvmm_cpu_synchronize_post_init(CPUState *cpu); +void nvmm_cpu_synchronize_pre_loadvm(CPUState *cpu); + +#endif /* NVMM_CPUS_H */ |