2015-11-10 15:52:43 +03:00
|
|
|
/*
|
|
|
|
* QEMU KVM Hyper-V support
|
|
|
|
*
|
|
|
|
* Copyright (C) 2015 Andrey Smetanin <asmetanin@virtuozzo.com>
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Andrey Smetanin <asmetanin@virtuozzo.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.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2016-06-29 11:12:57 +03:00
|
|
|
#ifndef TARGET_I386_HYPERV_H
|
|
|
|
#define TARGET_I386_HYPERV_H
|
2015-11-10 15:52:43 +03:00
|
|
|
|
|
|
|
#include "cpu.h"
|
|
|
|
#include "sysemu/kvm.h"
|
2018-09-21 11:20:39 +03:00
|
|
|
#include "hw/hyperv/hyperv.h"
|
2015-11-10 15:52:43 +03:00
|
|
|
|
2018-09-21 11:20:41 +03:00
|
|
|
#ifdef CONFIG_KVM
|
2015-11-10 15:52:43 +03:00
|
|
|
int kvm_hv_handle_exit(X86CPU *cpu, struct kvm_hyperv_exit *exit);
|
2018-09-21 11:20:41 +03:00
|
|
|
#endif
|
2015-11-10 15:52:43 +03:00
|
|
|
|
2018-09-21 11:22:09 +03:00
|
|
|
int hyperv_x86_synic_add(X86CPU *cpu);
|
|
|
|
void hyperv_x86_synic_reset(X86CPU *cpu);
|
|
|
|
void hyperv_x86_synic_update(X86CPU *cpu);
|
|
|
|
|
2015-11-10 15:52:43 +03:00
|
|
|
#endif
|