]> git.proxmox.com Git - qemu.git/blame - target-i386/kvm_x86.h
kvm: x86: Catch and report failing IRQ and NMI injections
[qemu.git] / target-i386 / kvm_x86.h
CommitLineData
e7701825
MT
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
31ce5e0c
JD
18#define ABORT_ON_ERROR 0x01
19#define MCE_BROADCAST 0x02
20
e7701825 21void kvm_inject_x86_mce(CPUState *cenv, int bank, uint64_t status,
c0532a76 22 uint64_t mcg_status, uint64_t addr, uint64_t misc,
31ce5e0c 23 int flag);
e7701825
MT
24
25#endif