summaryrefslogtreecommitdiff
path: root/xen/arch/x86/include/asm/hvm/svm/svmdebug.h
blob: f1cde676dca190af33d30a87567f9ba9f58642c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * svmdebug.h: SVM related debug defintions
 * Copyright (c) 2011, AMD Corporation.
 *
 */

#ifndef __ASM_X86_HVM_SVM_SVMDEBUG_H__
#define __ASM_X86_HVM_SVM_SVMDEBUG_H__

#include <asm/types.h>
#include <asm/hvm/svm/vmcb.h>

void svm_sync_vmcb(struct vcpu *v, enum vmcb_sync_state new_state);
void svm_vmcb_dump(const char *from, const struct vmcb_struct *vmcb);
bool svm_vmcb_isvalid(const char *from, const struct vmcb_struct *vmcb,
                      const struct vcpu *v, bool verbose);

#endif /* __ASM_X86_HVM_SVM_SVMDEBUG_H__ */