]> git.proxmox.com Git - qemu.git/blob - target-i386/kvm_x86.h
x86: Run qemu_inject_x86_mce on target VCPU
[qemu.git] / target-i386 / kvm_x86.h
1 /*
2 * QEMU KVM support
3 *
4 * Copyright (C) 2009 Red Hat Inc.
5 * Copyright IBM, Corp. 2008
6 *
7 * Authors:
8 * Anthony Liguori <aliguori@us.ibm.com>
9 *
10 * This work is licensed under the terms of the GNU GPL, version 2 or later.
11 * See the COPYING file in the top-level directory.
12 *
13 */
14
15 #ifndef __KVM_X86_H__
16 #define __KVM_X86_H__
17
18 #define ABORT_ON_ERROR 0x01
19 #define MCE_BROADCAST 0x02
20
21 void kvm_inject_x86_mce(CPUState *cenv, int bank, uint64_t status,
22 uint64_t mcg_status, uint64_t addr, uint64_t misc,
23 int flag);
24
25 #endif