qdev: add creation function that may fail
[qemu/mdroth.git] / target-i386 / kvm_x86.h
blob9d7b584267651a4d466012622f201074d31ea0e1
1 /*
2 * QEMU KVM support
4 * Copyright (C) 2009 Red Hat Inc.
5 * Copyright IBM, Corp. 2008
7 * Authors:
8 * Anthony Liguori <aliguori@us.ibm.com>
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.
15 #ifndef __KVM_X86_H__
16 #define __KVM_X86_H__
18 #define ABORT_ON_ERROR 0x01
19 #define MCE_BROADCAST 0x02
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);
25 #endif