2010-10-11 22:31:18 +04:00
|
|
|
/*
|
|
|
|
* QEMU KVM support
|
|
|
|
*
|
|
|
|
* Copyright (C) 2009 Red Hat Inc.
|
|
|
|
* Copyright IBM, Corp. 2008
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Anthony Liguori <aliguori@us.ibm.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.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __KVM_X86_H__
|
|
|
|
#define __KVM_X86_H__
|
|
|
|
|
2010-12-10 11:21:02 +03:00
|
|
|
#define ABORT_ON_ERROR 0x01
|
|
|
|
#define MCE_BROADCAST 0x02
|
|
|
|
|
2010-10-11 22:31:18 +04:00
|
|
|
void kvm_inject_x86_mce(CPUState *cenv, int bank, uint64_t status,
|
2010-10-11 22:31:21 +04:00
|
|
|
uint64_t mcg_status, uint64_t addr, uint64_t misc,
|
2010-12-10 11:21:02 +03:00
|
|
|
int flag);
|
2010-10-11 22:31:18 +04:00
|
|
|
|
|
|
|
#endif
|