/** @文件
* VirtualBox 状态码。
*/
/*
* 版权所有 (C) 2006-2022 甲骨文公司
*
* 此文件是 VirtualBox 开源版 (OSE) 的一部分,如
* 可从 http://www.virtualbox.org 获得。该文件是免费软件;
* 您可以根据 GNU 的条款重新分发和/或修改它
* 由自由软件发布的通用公共许可证 (GPL)
* Foundation,在版本 2 中,因为它包含在
* VirtualBox OSE 分发。VirtualBox OSE 分布在
* 希望它有用,但不提供任何形式的保证。
*
* 此文件的内容可根据条款替代使用
* 通用开发和分发许可证版本 1.0
* (CDDL) 仅限,因为它包含在“COPYING.CDDL”文件中
* VirtualBox OSE 分发,在这种情况下的规定
* CDDL 代替 GPL 适用。
*
* 您可以选择根据
* GPL 或 CDDL 或两者的条款和条件。
*/
#ifndef VBOX_INCLUDED_err_h
#define VBOX_INCLUDED_err_h
#ifndef RT_WITHOUT_PRAGMA_ONCE
# 编译指示一次
#万一
#include <VBox/cdefs.h>
#include <iprt/err.h>
/** @defgroup grp_err VBox 错误代码
* @{
*/
/* SED 启动 */
/** @name 杂项。状态码
* @{
*/
/** 分配虚拟机内存失败。*/
#define VERR_NO_VM_MEMORY (-1000)
/** RC 被烘烤,VMM 应该立即终止,但不需要
*对此感到恐慌:-) */
#define VERR_DONT_PANIC (-1001)
/** 不支持的 CPU。*/
#define VERR_UNSUPPORTED_CPU (-1002)
/** 不支持的 CPU 模式。*/
#define VERR_UNSUPPORTED_CPU_MODE (-1003)
/** 页面不存在。*/
#define VERR_PAGE_NOT_PRESENT (-1004)
/** 无效/损坏的配置文件。*/
#define VERR_CFG_INVALID_FORMAT (-1005)
/** 不存在配置值。*/
#define VERR_CFG_NO_VALUE (-1006)
/** 选择器不存在。*/
#define VERR_SELECTOR_NOT_PRESENT (-1007)
/** 不是代码选择器。*/
#define VERR_NOT_CODE_SELECTOR (-1008)
/** 不是数据选择器。*/
#define VERR_NOT_DATA_SELECTOR (-1009)
/** 超出选择器范围。*/
#define VERR_OUT_OF_SELECTOR_BOUNDS (-1010)
/** 无效的选择器。通常超出餐桌限制。*/
#define VERR_INVALID_SELECTOR (-1011)
/** 请求的特权级别无效。*/
#define VERR_INVALID_RPL (-1012)
/** PML4 条目不存在。*/
#define VERR_PAGE_MAP_LEVEL4_NOT_PRESENT (-1013)
/** 页面目录指针不存在。*/
#define VERR_PAGE_DIRECTORY_PTR_NOT_PRESENT (-1014)
/** 原始模式不支持 SMP。*/
#define VERR_RAW_MODE_INVALID_SMP (-1015)
/** 无效的虚拟机句柄。*/
#define VERR_INVALID_VM_HANDLE (-1016)
/** 无效的虚拟机句柄。*/
#define VERR_INVALID_VMCPU_HANDLE (-1017)
/** 无效的虚拟 CPU ID。*/
#define VERR_INVALID_CPU_ID (-1018)
/** VCPU 太多。*/
#define VERR_TOO_MANY_CPUS (-1019)
/** 该服务在主机上被禁用。
* 由 VBoxService 中的 pfnInit 返回以指示一个非致命错误
* 应该导致特定服务被禁用。*/
#define VERR_SERVICE_DISABLED (-1020)
/** 原始模式不支持请求的功能。*/
#define VERR_NOT_SUP_IN_RAW_MODE (-1021)
/** 无效的 CPU 索引。*/
#define VERR_INVALID_CPU_INDEX (-1022)
/** 此 VirtualBox 版本不支持原始模式。*/
#define VERR_RAW_MODE_NOT_SUPPORTED (-1023)
/** 共享 VM 结构中的基本字段与全局字段不匹配。*/
#define VERR_INCONSISTENT_VM_HANDLE (-1024)
/** 虚拟机已恢复。*/
#define VERR_VM_RESTORED (-1025)
/** NEM 不支持请求的功能。*/
#define VERR_NOT_SUP_BY_NEM (-1026)
/** @} */
/** @name 执行监视器/管理器 (EM) 状态代码
*
* VINF_EM_FIRST 和 VINF_EM_LAST 之间的状态码顺序
* 至关重要。数字越小重要性越高
* 作为调度指令。
* @{
*/
/** 首先调度相关的状态码。*/
#define VINF_EM_FIRST 1100
/** 表示 VM 正在被终止并且正在执行
* 应停止。*/
#define VINF_EM_TERMINATE 1100
/** 管理程序代码已步进。
* EM 将首先将其发送到调试器,如果问题不是
* 在那里解决它将进入大师冥想。*/
#define VINF_EM_DBG_HYPER_STEPPED 1101
/** 在管理程序代码中命中断点,
* EM 将首先将其发送到调试器,如果问题不是
* 在那里解决它将进入大师冥想。*/
#define VINF_EM_DBG_HYPER_BREAKPOINT 1102
/** 在管理程序代码中命中一个可能的断言,
* EM 将首先将其发送到调试器,如果问题不是
* 在那里解决它将进入大师冥想。*/
#define VINF_EM_DBG_HYPER_ASSERTION 1103
/** 通用调试事件,挂起虚拟机进行调试。*/
#define VINF_EM_DBG_EVENT 1104
/** 表示应该暂停 VM 进行调试,因为
* 开发者想要检查虚拟机状态。*/
#define VINF_EM_DBG_STOP 1105
/** 表示单步成功并且 EM 应该报告
* 调试器的事件。*/
#define VINF_EM_DBG_STEPPED 1106
/** 表明一个断点被命中并且 EM 应该通知调试器
* 并且如果没有调试器致命地失败。*/
#define VINF_EM_DBG_BREAKPOINT 1107
/** 表示 EM 应该单步执行一条指令。
* 指令在当前执行模式(RAW/REM)下单步执行。*/
#define VINF_EM_DBG_STEP 1108
/** 表示 VM 正在关闭并且 EM 应该
* 退出等待销毁请求的虚拟机。*/
#define VINF_EM_OFF 1109
/** 表示VM已经挂起,线程
* 应该等待请求告诉它下一步做什么。*/
#define VINF_EM_SUSPEND 1110
/** 表示虚拟机已经被重置并且调度进行了
* 回到启动默认值。*/
#define VINF_EM_RESET 1111
/** 表示虚拟机已经执行了一个暂停指令,并且
* 仿真线程在恢复之前应该等待中断
* 执行。*/
#define VINF_EM_HALT 1112
/** 表示VM已经恢复,线程应该
* 开始执行。*/
#define VINF_EM_RESUME 1113
/** 表示我们遇到了内存不足的情况并且我们需要
* 采取适当的行动来处理这个问题。
* @remarks 乍一看这似乎很奇怪,它的优先级低于 VINF_EM_HALT,
* VINF_EM_SUSPEND 和 VINF_EM_RESUME。原因是这些事件是
* 对正确操作 VM 至关重要。此外,它们通常不能同时出现
* 出现内存不足的情况,即使发生这种情况
* 将在执行更多代码之前重新发现。*/
#define VINF_EM_NO_MEMORY 1114
/** VINF_EM_NO_MEMORY 的致命变体。*/
#define VERR_EM_NO_MEMORY (-1114)
/** 表示重新调度到重新编译的执行。
* 通常是由原始模式执行的代码造成的,这很困难/很慢
* 原始虚拟化。
* @remarks 重要的是具有比其他重新安排状态代码更高的优先级(较低的数字)。*/
#define VINF_EM_RESCHEDULE_REM 1115
/** 表示重新调度到 vmx 模式执行 (HM/NEM)。
* 通常由 REM 检测到硬件加速的原始模式执行是可能的。*/
#define VINF_EM_RESCHEDULE_HM 1116
/** 表示重新安排到原始模式执行。
* 通常由 REM 检测到可以执行原始模式导致。
* @remarks 具有比 VINF_EM_RESCHEDULE 更高的优先级(更低的数字)很重要。*/
#define VINF_EM_RESCHEDULE_RAW 1117
/** 表示现在需要重新调度。通常由以下原因引起
* 更改 EIP 的中断。*/
#define VINF_EM_RESCHEDULE 1118
/** PARAV 调用 */
#define VINF_EM_RESCHEDULE_PARAV 1119
/** 回到等待 SIPI 模式 */
#define VINF_EM_WAIT_SIPI 1120
/** 上次调度相关的状态码。(包括的) */
#define VINF_EM_LAST 1120
/** 离开 RC 的原因:无法在 RC 中处理的访客陷阱。
* 陷阱通常被转发到 REM 并在那里执行。*/
#define VINF_EM_RAW_GUEST_TRAP 1121
/** 离开 RC 的原因:被外部中断中断。
* 主机操作系统需要处理的中断。*/
#define VINF_EM_RAW_INTERRUPT 1122
/** 离开 RC 的原因:在管理程序中被外部中断中断
* 代码。需要由主机操作系统和管理程序处理的中断
* 必须恢复执行。此时 VM 状态尚未完成。*/
#define VINF_EM_RAW_INTERRUPT_HYPER 1123
/** 离开 RC 的原因:尝试了 Ring 切换。
* 正常的行动原因是在 REM 中执行此操作。*/
#define VINF_EM_RAW_RING_SWITCH 1124
/** 离开 RC 的原因:尝试使用软件中断进行 Ring 切换。
* 正常的行动原因是在 REM 中执行此操作。*/
#define VINF_EM_RAW_RING_SWITCH_INT 1125
/** 离开 RC 的原因:试图执行特权指令。
* 正常的行动原因是在 REM 中执行此操作。*/
#define VINF_EM_RAW_EXCEPTION_PRIVILEGED 1126
/** 离开 RZ 的原因:模拟指令。*/
#define VINF_EM_RAW_EMULATE_INSTR 1127
/** 离开 RC 的原因:未处理的 TSS 写入。
* 重新编译器获得控制权。*/
#define VINF_EM_RAW_EMULATE_INSTR_TSS_FAULT 1128
/** 离开 RC 的原因:未处理的 LDT 写入。
* 重新编译器获得控制权。*/
#define VINF_EM_RAW_EMULATE_INSTR_LDT_FAULT 1129
/** 离开 RC 的原因:未处理的 IDT 写入。
* 重新编译器获得控制权。*/
#define VINF_EM_RAW_EMULATE_INSTR_IDT_FAULT 1130
/** 离开 RC 的原因:部分处理 GDT 写入。
* 重新编译器获得控制权。*/
#define VINF_EM_RAW_EMULATE_INSTR_GDT_FAULT 1131
/** 离开 RC 的原因:在生成的补丁中跳转。
* 致命错误。*/
#define VERR_EM_RAW_PATCH_CONFLICT (-1133)
/** 离开 RZ 的原因:Ring-3 操作挂起。*/
#define VINF_EM_RAW_TO_R3 1135
/** 离开 RZ 的原因:计时器挂起。*/
#define VINF_EM_RAW_TIMER_PENDING 1136
/** 离开 RC 的原因:中断挂起(访客)。*/
#define VINF_EM_RAW_INTERRUPT_PENDING 1137
/** 离开 RC 的原因:遇到过时的选择器。*/
#define VINF_EM_RAW_STALE_SELECTOR 1138
/** 离开 RC 的原因:IRET 恢复访客代码被困。*/
#define VINF_EM_RAW_IRET_TRAP 1139
/** 解释器无法处理手头的指令。*/
#define VERR_EM_INTERPRETER (-1148)
/** 由未知警告或信息状态代码引起的内部 EM 错误。*/
#define VERR_EM_INTERNAL_ERROR (-1149)
/** 待处理的虚拟机请求包。*/
#define VINF_EM_PENDING_REQUEST 1150
/** 开始指令步进(仅调试)。*/
#define VINF_EM_RAW_EMULATE_DBG_STEP 1151
/** 修补 TPR 访问指令。*/
#define VINF_EM_HM_PATCH_TPR_INSTR 1152
/** 检测到意外的来宾映射冲突。*/
#define VERR_EM_UNEXPECTED_MAPPING_CONFLICT (-1154)
/** 离开 RC 的原因:三重故障条件。目前,原因
*大师冥想。*/
#define VINF_EM_TRIPLE_FAULT 1155
/** 指定的执行引擎不能在当前执行guest code
* 状态。*/
#define VERR_EM_CANNOT_EXEC_GUEST (-1156)
/** 离开 RC 的原因:注入一个 TRPM 事件。*/
#define VINF_EM_RAW_INJECT_TRPM_EVENT 1157
/** 来宾试图触发 CPU 挂起。客人大概是没有好。*/
#define VERR_EM_GUEST_CPU_HANG (-1158)
/** 离开 RZ 的原因:等待 ring-3 IN 指令。*/
#define VINF_EM_PENDING_R3_IOPORT_READ 1159
/** 离开 RZ 的原因:等待 ring-3 OUT 指令。*/
#define VINF_EM_PENDING_R3_IOPORT_WRITE 1160
/** 在处理 VMCPU_FF_IOM 后恢复 EMHistoryExec 的技巧。*/
#define VINF_EM_RESUME_R3_HISTORY_EXEC 1161
/** 模拟 SMP 上的拆分锁访问。*/
#define VINF_EM_EMULATE_SPLIT_LOCK 1162
/** @} */
/** @name 调试工具 (DBGF) DBGF 状态码
* @{
*/
/** 调用的函数要求调用者附加为
*调试器到VM。*/
#define VERR_DBGF_NOT_ATTACHED (-1200)
/** 某人(包括调用者)已经被附加为
*调试器到VM。*/
#define VERR_DBGF_ALREADY_ATTACHED (-1201)
/** 试图停止已经停止的 VM 或 CPU。*/
#define VWRN_DBGF_ALREADY_HALTED 1202
/** DBGF 没有更多的空闲断点槽。*/
#define VERR_DBGF_NO_MORE_BP_SLOTS (-1203)
/** DBGF 找不到指定的断点。*/
#define VERR_DBGF_BP_NOT_FOUND (-1204)
/** 试图启用一个已经启用的断点。*/
#define VINF_DBGF_BP_ALREADY_ENABLED 1205
/** 试图禁用已经禁用的断点。*/
#define VINF_DBGF_BP_ALREADY_DISABLED 1206
/** 断点已经存在。*/
#define VINF_DBGF_BP_ALREADY_EXIST 1207
/** 未找到字节串。*/
#define VERR_DBGF_MEM_NOT_FOUND (-1208)
/** 未检测到操作系统。*/
#define VERR_DBGF_OS_NOT_DETCTED (-1209)
/** 未检测到操作系统。*/
#define VINF_DBGF_OS_NOT_DETCTED 1209
/** 没有找到指定的寄存器。*/
#define VERR_DBGF_REGISTER_NOT_FOUND (-1210)
/** 该值被截断以适应。
* 对于查询,这意味着寄存器比查询值宽。
* 对于 setter,这意味着该值比寄存器宽。*/
#define VINF_DBGF_TRUNCATED_REGISTER 1211
/** 该值是零扩展以适应。
* 对于查询,这意味着寄存器比查询值窄。
* 对于 setter,这意味着该值比寄存器窄。*/
#define VINF_DBGF_ZERO_EXTENDED_REGISTER 1212
/** 不支持请求的类型转换。*/
#define VERR_DBGF_UNSUPPORTED_CAST (-1213)
/** 该寄存器是只读的,不能修改。*/
#define VERR_DBGF_READ_ONLY_REGISTER (-1214)
/** DBGF 寄存器代码中的内部处理错误 \#1。*/
#define VERR_DBGF_REG_IPE_1 (-1215)
/** DBGF 寄存器代码中的内部处理错误 \#2。*/
#define VERR_DBGF_REG_IPE_2 (-1216)
/** 管理程序代码中未处理的 \#DB。*/
#define VERR_DBGF_HYPER_DB_XCPT (-1217)
/** DBGF 堆栈代码中的内部处理错误 \#1。*/
#define VERR_DBGF_STACK_IPE_1 (-1218)
/** DBGF 堆栈代码中的内部处理错误 \#2。*/
#define VERR_DBGF_STACK_IPE_2 (-1219)
/** 没有可用的跟踪缓冲区,请更改 VM 配置。*/
#define VERR_DBGF_NO_TRACE_BUFFER (-1220)
/** DBGF 事件跟踪代码中的内部处理错误 \#1。*/
#define VERR_DBGF_TRACER_IPE_1 (-1221)
/** 试图恢复已经完全运行的 VM 或 CPU。*/
#define VWRN_DBGF_ALREADY_RUNNING (-1222)
/** DBGF 核心代码中的内部处理错误 \#1。*/
#define VERR_DBGF_IPE_1 (-1223)
/** 当应暂停来宾执行时由断点回调返回
* 并且 VM 应该被放入调试器中。*/
#define VINF_DBGF_BP_HALT (1224)
/** 断点所有者句柄仍被一个或多个断点使用。*/
#define VERR_DBGF_OWNER_BUSY (-1225)
/** 尝试将 int3 断点表添加到已达到的查找表的次数。*/
#define VERR_DBGF_BP_INT3_ADD_TRIES_REACHED (-1226)
/** DBGF 断点管理器代码中的内部处理错误 \#1。*/
#define VERR_DBGF_BP_IPE_1 (-1227)
/** DBGF 断点管理器代码中的内部处理错误 \#2。*/
#define VERR_DBGF_BP_IPE_2 (-1228)
/** DBGF 断点管理器代码中的内部处理错误 \#3。*/
#define VERR_DBGF_BP_IPE_3 (-1229)
/** DBGF 断点管理器代码中的内部处理错误 \#4。*/
#define VERR_DBGF_BP_IPE_4 (-1230)
/** DBGF 断点管理器代码中的内部处理错误 \#5。*/
#define VERR_DBGF_BP_IPE_5 (-1231)
/** DBGF 断点管理器代码中的内部处理错误 \#6。*/
#define VERR_DBGF_BP_IPE_6 (-1232)
/** DBGF 断点管理器代码中的内部处理错误 \#7。*/
#define VERR_DBGF_BP_IPE_7 (-1233)
/** DBGF 断点管理器代码中的内部处理错误 \#8。*/
#define VERR_DBGF_BP_IPE_8 (-1234)
/** DBGF 断点管理器代码中的内部处理错误 \#9。*/
#define VERR_DBGF_BP_IPE_9 (-1235)
/** 2 级查找失败,因为 L1 查找表已损坏。*/
#define VERR_DBGF_BP_L1_LOOKUP_FAILED (-1236)
/** 2 级查找失败,因为 L2 查找表已损坏。*/
#define VERR_DBGF_BP_L2_LOOKUP_FAILED (-1237)
/** DBGF 没有更多的免费断点所有者句柄。*/
#define VERR_DBGF_BP_OWNER_NO_MORE_HANDLES (-1238)
/** 离开 RZ 的原因:将所有者回调调用推迟到 Ring-3。*/
#define VINF_DBGF_R3_BP_OWNER_DEFER 1239
/** 断点所有者回调返回一个无效的状态码。*/
#define VERR_DBGF_BP_OWNER_CALLBACK_WRONG_STATUS (-1240)
/** 操作被取消。*/
#define VERR_DBGF_CANCELLED (-1241)
/** @} */
/** @name 补丁管理器 (PATM) 状态码
* @{
*/
/** 非致命补丁管理器分析阶段警告 */
#define VWRN_CONTINUE_ANALYSIS 1400
/** 非致命补丁管理器重新编译阶段警告(映射到 VWRN_CONTINUE_ANALYSIS)。*/
#define VWRN_CONTINUE_RECOMPILE VWRN_CONTINUE_ANALYSIS
/** 继续搜索(映射到 VWRN_CONTINUE_ANALYSIS)。*/
#define VWRN_PATM_CONTINUE_SEARCH VWRN_CONTINUE_ANALYSIS
/** 补丁安装被拒绝(补丁太复杂或不支持指令) */
#define VERR_PATCHING_REFUSED (-1401)
/** 找不到补丁 */
#define VERR_PATCH_NOT_FOUND (-1402)
/** 补丁禁用 */
#define VERR_PATCH_DISABLED (-1403)
/** 启用补丁 */
#define VWRN_PATCH_ENABLED 1404
/** 补丁已经被禁用 */
#define VERR_PATCH_ALREADY_DISABLED (-1405)
/** 补丁已经启用 */
#define VERR_PATCH_ALREADY_ENABLED (-1406)
/** 补丁被移除。*/
#define VWRN_PATCH_REMOVED 1407
/** 离开 RC 的原因:\#GP 与 EIP 指向补丁代码。*/
#define VINF_PATM_PATCH_TRAP_GP 1408
/** 首先留下 RC 代码。*/
#define VINF_PATM_LEAVE_RC_FIRST VINF_PATM_PATCH_TRAP_GP
/** 离开 RC 的原因:\#PF 与 EIP 指向补丁代码。*/
#define VINF_PATM_PATCH_TRAP_PF 1409
/** 离开 RC 的原因:int3 与 EIP 指向补丁代码。*/
#define VINF_PATM_PATCH_INT3 1410
/** 离开 RC 的原因:\#PF 用于监控补丁页面。*/
#define VINF_PATM_CHECK_PATCH_PAGE 1411
/** 离开 RC 的原因:在当前 eip 调用重复指令。*/
#define VINF_PATM_DUPLICATE_FUNCTION 1412
/** 使用重新编译器执行一条指令 */
#define VINF_PATCH_EMULATE_INSTR 1413
/** 离开 RC 的原因:尝试修补 MMIO 写入。*/
#define VINF_PATM_HC_MMIO_PATCH_WRITE 1414
/** 离开 RC 的原因:尝试修补 MMIO 读取。*/
#define VINF_PATM_HC_MMIO_PATCH_READ 1415
/** 离开 RC 的原因:在设置 IF 的 iret 之后挂起 irq。*/
#define VINF_PATM_PENDING_IRQ_AFTER_IRET 1416
/** 最后离开 RC 代码。*/
#define VINF_PATM_LEAVE_RC_LAST VINF_PATM_PENDING_IRQ_AFTER_IRET
/** 没有要解决的冲突 */
#define VERR_PATCH_NO_CONFLICT (-1425)
/** 检测到不安全的补丁代码 */
#define VERR_PATM_UNSAFE_CODE (-1426)
/** 终止搜索分支 */
#define VWRN_PATCH_END_BRANCH 1427
/** 已经打补丁 */
#define VERR_PATM_ALREADY_PATCHED (-1428)
/** 自旋锁检测失败。*/
#define VINF_PATM_SPINLOCK_FAILED (1429)
/** 补丁陷阱后继续执行。*/
#define VINF_PATCH_CONTINUE (1430)
/** 没有使用补丁管理器,因为我们使用的是 HM 和 VT-x/AMD-V。*/
#define VERR_PATM_HM_IPE (-1431)
/** 补丁代码中的意外陷阱。*/
#define VERR_PATM_IPE_TRAP_IN_PATCH_CODE (-1432)
/** @} */
/** @name 代码扫描和分析管理器 (CSAM) 状态代码
* @{
*/
/** 陷阱未处理 */
#define VWRN_CSAM_TRAP_NOT_HANDLED 1500
/** 已安装补丁 */
#define VWRN_CSAM_INSTRUCTION_PATCHED 1501
/** 没有找到页面记录 */
#define VWRN_CSAM_PAGE_NOT_FOUND 1502
/** 离开 RC 的原因:CSAM 想要在 ring-3 中执行任务。*/
#define VINF_CSAM_PENDING_ACTION 1503
/** 没有使用 CSAM,因为我们使用的是 HM 和 VT-x/AMD-V。*/
#define VERR_CSAM_HM_IPE (-1504)
/** @} */
/** @name 页面监视器/管理器 (PGM) 状态代码
* @{
*/
/** 尝试创建与现有映射冲突的 GC 映射。*/
#define VERR_PGM_MAPPING_CONFLICT (-1600)
/** 物理处理程序范围没有对应的 RAM 范围。
* 如果这是 MMIO,请参见返回上面的 todo。如果不是MMIO,那就是
* 别人的错... */
#define VERR_PGM_HANDLER_PHYSICAL_NO_RAM_RANGE (-1601)
/** 尝试为其中一部分的虚拟范围注册访问处理程序
* 已处理。*/
#define VERR_PGM_HANDLER_VIRTUAL_CONFLICT (-1602)
/** 尝试为一个物理范围注册一个访问处理程序,其中的一部分
* 已处理。*/
#define VERR_PGM_HANDLER_PHYSICAL_CONFLICT (-1603)
/** 指定给 PGM 的页面目录无效。*/
#define VERR_PGM_INVALID_PAGE_DIRECTORY (-1604)
/** 无效的 GC 物理地址。*/
#define VERR_PGM_INVALID_GC_PHYSICAL_ADDRESS (-1605)
/** 无效的 GC 物理范围。通常在指定范围交叉时使用
* RAM 区域边界。*/
#define VERR_PGM_INVALID_GC_PHYSICAL_RANGE (-1606)
/** 未找到指定的访问处理程序。*/
#define VERR_PGM_HANDLER_NOT_FOUND (-1607)
/** 尝试注册一个 RAM 范围,哪些部分已经存在
* 由现有 RAM 范围覆盖。*/
#define VERR_PGM_RAM_CONFLICT (-1608)
/** 添加新映射失败,因为当前映射已修复
* 在客户操作系统内存中。*/
#define VERR_PGM_MAPPINGS_FIXED (-1609)
/** 由于与中间代码冲突,无法修复映射。*/
#define VERR_PGM_MAPPINGS_FIX_CONFLICT (-1610)
/** 无法修复映射,因为映射拒绝了地址。*/
#define VERR_PGM_MAPPINGS_FIX_REJECTED (-1611)
/** 由于建议的内存区域太小,无法修复映射。*/
#define VERR_PGM_MAPPINGS_FIX_TOO_SMALL (-1612)
/** 离开 RZ 的原因:同步 CR3 的冲动。*/
#define VINF_PGM_SYNC_CR3 1613
/** 页面未标记为脏位跟踪 */
#define VINF_PGM_NO_DIRTY_BIT_TRACKING 1614
/** 脏位跟踪导致的页面错误;更正 */
#define VINF_PGM_HANDLED_DIRTY_BIT_FAULT 1615
/** 继续默认的读/写操作。
* 这是由 R3 物理或虚拟处理程序在需要时返回的
* PGMPhys[Read|Write] 例程进行读/写。*/
#define VINF_PGM_HANDLER_DO_DEFAULT 1616
/** 暂不支持主机的分页方式。*/
#define VERR_PGM_UNSUPPORTED_HOST_PAGING_MODE (-1617)
/** 物理guest page是reserved/MMIO page,没有任何HC
* 地址。*/
#define VERR_PGM_PHYS_PAGE_RESERVED (-1618)
/** 没有可用于管理程序的页面目录。*/
#define VERR_PGM_NO_HYPERVISOR_ADDRESS (-1619)
/** 返回的影子页面被缓存。*/
#define VINF_PGM_CACHED_PAGE 1622
/** 由处理程序注册、修改和注销返回
* 当影子 PT 可以因为访客页面而更新时
* 被多个 PT 别名或/和映射。*/
#define VINF_PGM_GCPHYS_ALIASED 1623
/** SyncPage 修改了 PDE。
* 这是一个内部状态代码,用于与 \#PF 处理程序进行通信
* PDE (可能)被标记为不存在,它应该重新启动指令。*/
#define VINF_PGM_SYNCPAGE_MODIFIED_PDE 1625
/** 物理范围跨越动态内存块边界;翻译成 HC ptr 不安全。*/
#define VERR_PGM_GCPHYS_RANGE_CROSSES_BOUNDARY (-1626)
/** 核心内存和中间分页上下文冲突,重试。
* 有一些非常特殊的条件适用于中间分页上下文
*(在世界切换期间使用),有时我们会不断遇到这些
* 在 VM 初始化期间向主机内核询问内存时。让我们知道您是否遇到
* 这个,我们将调整代码,使其更加努力地避免它。
*/
#define VERR_PGM_INTERMEDIATE_PAGING_CONFLICT (-1627)
/** 暂不支持影子分页模式。*/
#define VERR_PGM_UNSUPPORTED_SHADOW_PAGING_MODE (-1628)
/** 物理内存的动态映射缓存失败。*/
#define VERR_PGM_DYNMAP_FAILED (-1629)
/** 动态映射集的自动使用缓存已满。*/
#define VERR_PGM_DYNMAP_FULL_SET (-1630)
/** 动态映射缓存初始化失败。*/
#define VERR_PGM_DYNMAP_SETUP_ERROR (-1631)
/** 动态映射缓存扩展失败。*/
#define VERR_PGM_DYNMAP_EXPAND_ERROR (-1632)
/** 页面未分配(类似于 VERR_PGM_INVALID_GC_PHYSICAL_ADDRESS)。*/
#define VERR_PGM_PHYS_TLB_UNASSIGNED (-1633)
/** 捕获任何访问并通过 PGM 路由它。*/
#define VERR_PGM_PHYS_TLB_CATCH_ALL (-1634)
/** 捕获写访问并通过 PGM 路由它。*/
#define VINF_PGM_PHYS_TLB_CATCH_WRITE 1635
/** 捕获写访问并通过 PGM 路由它。*/
#define VERR_PGM_PHYS_TLB_CATCH_WRITE (-1635)
/** 没有 CR3 根影子页表。*/
#define VERR_PGM_NO_CR3_SHADOW_ROOT (-1636)
/** 试图释放页面 ID 无效的页面。*/
#define VERR_PGM_PHYS_INVALID_PAGE_ID (-1637)
/** PGMPhysWrite/Read 在 Ring-0 或原始模式上下文中命中处理程序。*/
#define VERR_PGM_PHYS_WR_HIT_HANDLER (-1638)
/** 试图释放一个不是 RAM 的页面。*/
#define VERR_PGM_PHYS_NOT_RAM (-1639)
/** 不是 ROM 页面。*/
#define VERR_PGM_PHYS_NOT_ROM (-1640)
/** 不是 MMIO 页面。*/
#define VERR_PGM_PHYS_NOT_MMIO (-1641)
/** 不是 MMIO2 页面。*/
#define VERR_PGM_PHYS_NOT_MMIO2 (-1642)
/** 已经别名到不同的页面。*/
#define VERR_PGM_HANDLER_ALREADY_ALIASED (-1643)
/** 已经别名到同一页面。*/
#define VINF_PGM_HANDLER_ALREADY_ALIASED (1643)
/** PGM 池刷新挂起 - 返回到 ring 3. */
#define VINF_PGM_POOL_FLUSH_PENDING (1644)
/** 无法将范围用于大页面。*/
#define VERR_PGM_INVALID_LARGE_PAGE_RANGE (-1645)
/** 不要乱用气球页面。*/
#define VERR_PGM_PHYS_PAGE_BALLOONED (-1646)
/** 页面访问处理程序代码中的内部处理错误 \#1。*/
#define VERR_PGM_HANDLER_IPE_1 (-1647)
/** pgmPhysPageMapCommon 遇到 PGMPAGETYPE_MMIO2_ALIAS_MMIO。*/
#define VERR_PGM_MAP_MMIO2_ALIAS_MMIO (-1651)
/** 访客映射被禁用。*/
#define VERR_PGM_MAPPINGS_DISABLED (-1652)
/** 启用 SMP 时无访客映射。*/
#define VERR_PGM_MAPPINGS_SMP (-1653)
/** 无效的保存页面状态。*/
#define VERR_PGM_INVALID_SAVED_PAGE_STATE (-1654)
/** 在保存状态下遇到了意外的页面类型。*/
#define VERR_PGM_LOAD_UNEXPECTED_PAGE_TYPE (-1655)
/** 在保存状态下遇到了意外的页面状态。*/
#define VERR_PGM_UNEXPECTED_PAGE_STATE (-1656)
/** 找不到保存状态的 MMIO2 范围。*/
#define VERR_PGM_SAVED_MMIO2_RANGE_NOT_FOUND (-1657)
/** 无法从保存状态找到 MMIO2 页面。*/
#define VERR_PGM_SAVED_MMIO2_PAGE_NOT_FOUND (-1658)
/** 无法从保存状态找到 ROM 范围。*/
#define VERR_PGM_SAVED_ROM_RANGE_NOT_FOUND (-1659)
/** 无法从保存状态找到 ROM 页面。*/
#define VERR_PGM_SAVED_ROM_PAGE_NOT_FOUND (-1660)
/** 保存状态和虚拟机之间的 ROM 页面不匹配。*/
#define VERR_PGM_SAVED_ROM_PAGE_PROT (-1661)
/** 未知的保存状态记录。*/
#define VERR_PGM_SAVED_REC_TYPE (-1662)
/** PGM 动态映射 (r0/rc) 中的内部处理错误。*/
#define VERR_PGM_DYNMAP_IPE (-1663)
/** PGM 便捷页面分配器中的内部处理错误。*/
#define VERR_PGM_HANDY_PAGE_IPE (-1664)
/** 无法映射来宾 PML4。*/
#define VERR_PGM_PML4_MAPPING (-1665)
/** 获取池页失败。*/
#define VERR_PGM_POOL_GET_PAGE_FAILED (-1666)
/** 在不应该使用它的模式下调用了 PGM 函数。*/
#define VERR_PGM_NOT_USED_IN_MODE (-1667)
/** CR3 地址指定了我们不知道的内存。*/
#define VERR_PGM_INVALID_CR3_ADDR (-1668)
/** 一个或多个 PDPE 指定了我们不知道的内存。*/
#define VERR_PGM_INVALID_PDPE_ADDR (-1669)
/** PGM 物理处理程序代码中的内部处理错误。*/
#define VERR_PGM_PHYS_HANDLER_IPE (-1670)
/** PGM 物理页面映射代码中的内部处理错误 \#1。*/
#define VERR_PGM_PHYS_PAGE_MAP_IPE_1 (-1671)
/** PGM 物理页面映射代码中的内部处理错误 \#2。*/
#define VERR_PGM_PHYS_PAGE_MAP_IPE_2 (-1672)
/** PGM 物理页面映射代码中的内部处理错误 \#3。*/
#define VERR_PGM_PHYS_PAGE_MAP_IPE_3 (-1673)
/** PGM 物理页面映射代码中的内部处理错误 \#4。*/
#define VERR_PGM_PHYS_PAGE_MAP_IPE_4 (-1674)
/** 寻找要重用的页面的循环太多。*/
#define VERR_PGM_POOL_TOO_MANY_LOOPS (-1675)
/** 与来宾映射相关的内部处理错误。*/
#define VERR_PGM_MAPPING_IPE (-1676)
/** 试图增加一个已经最大化的页面池。*/
#define VERR_PGM_POOL_MAXED_OUT_ALREADY (-1677)
/** 页池代码中的内部处理错误。*/
#define VERR_PGM_POOL_IPE (-1678)
/** 写监视器已经使用。*/
#define VERR_PGM_WRITE_MONITOR_ENGAGED (-1679)
/** 未能获得预期存在的访客页面。*/
#define VERR_PGM_PHYS_PAGE_GET_IPE (-1680)
/** 我们得到了一个 NULL pPage 参数。*/
#define VERR_PGM_PHYS_NULL_PAGE_PARAM (-1681)
/** 此版本不支持 PCI 直通。*/
#define VERR_PGM_PCI_PASSTHRU_MISCONFIG (-1682)
/** MMIO2 范围太多。*/
#define VERR_PGM_TOO_MANY_MMIO2_RANGES (-1683)
/** PGM物理页映射代码处理中的内部处理错误
* 带有 MMIO2 页面。*/
#define VERR_PGM_PHYS_PAGE_MAP_MMIO2_IPE (-1684)
/** 与 PGM 物理页面处理代码相关的内部处理错误
* MMIO/MMIO2。*/
#define VERR_PGM_PHYS_MMIO_EX_IPE (-1685)
/** 模式表内部错误。*/
#define VERR_PGM_MODE_IPE (-1686)
/** 影子模式“无”内部错误。*/
#define VERR_PGM_SHW_NONE_IPE (-1687)
/** 由于设置了保留位,一个或多个 PAE PDPE 无效。*/
#define VERR_PGM_PAE_PDPE_RSVD (-1688)
/** 在简化内存管理模式下尝试非法操作。*/
#define VERR_PGM_NOT_SUPPORTED_FOR_NEM_MODE (-1689)
/** @} */
/** @name 内存监视器 (MM) 状态码
* @{
*/
/** 尝试注册一个 RAM 范围,哪些部分已经存在
* 由现有 RAM 范围覆盖。*/
#define VERR_MM_RAM_CONFLICT (-1700)
/** 管理程序内存分配失败。*/
#define VERR_MM_HYPER_NO_MEMORY (-1701)
/** mmGCramTrap0eHandler 中出现了错误的陷阱类型。*/
#define VERR_MM_BAD_TRAP_TYPE_IPE (-1702)
/** @} */
/** @name CPU 监视器 (CPUM) 状态码
* @{
*/
/** 调用者应引发 \#GP(0) 异常。*/
#define VERR_CPUM_RAISE_GP_0 (-1750)
/** 不兼容的 CPUM 配置。*/
#define VERR_CPUM_INCOMPATIBLE_CONFIG (-1751)
/** CPUMR3DisasmInstrCPU 无法确定隐藏
* CS 寄存器的一部分。*/
#define VERR_CPUM_HIDDEN_CS_LOAD_ERROR (-1752)
/** 找不到 CPUID 子叶的结尾。*/
#define VERR_CPUM_TOO_MANY_CPUID_SUBLEAVES (-1753)
/** CPUM 内部处理错误\#1。*/
#define VERR_CPUM_IPE_1 (-1754)
/** CPUM 内部处理错误 \#2. */
#define VERR_CPUM_IPE_2 (-1755)
/** 在 CPU 数据库中找不到指定的 CPU。*/
#define VERR_CPUM_DB_CPU_NOT_FOUND (-1756)
/** MSR 范围内的无效 CPUMCPU 偏移量。*/
#define VERR_CPUM_MSR_BAD_CPUMCPU_OFFSET (-1757)
/** 返回 ring-3 读取那里的 MSR。*/
#define VINF_CPUM_R3_MSR_READ (1758)
/** 返回 ring-3 在那里写入 MSR。*/
#define VINF_CPUM_R3_MSR_WRITE (1759)
/** 过多的 CPUID 离开。*/
#define VERR_TOO_MANY_CPUID_LEAVES (-1760)
/** 无效的配置值。*/
#define VERR_CPUM_INVALID_CONFIG_VALUE (-1761)
/** 加载的 XSAVE 组件掩码与主机 CPU 不兼容
* 或/和虚拟机配置。*/
#define VERR_CPUM_INCOMPATIBLE_XSAVE_COMP_MASK (-1762)
/** 加载的 XSAVE 组件掩码无效。*/
#define VERR_CPUM_INVALID_XSAVE_COMP_MASK (-1763)
/** 加载的 XSAVE 标头无效。*/
#define VERR_CPUM_INVALID_XSAVE_HDR (-1764)
/** 加载的 XCR0 寄存器值无效。*/
#define VERR_CPUM_INVALID_XCR0 (-1765)
/** 表示我们修改了主机CR0(FPU相关)。*/
#define VINF_CPUM_HOST_CR0_MODIFIED (1766)
/** 无效/不支持的嵌套硬件虚拟化配置。*/
#define VERR_CPUM_INVALID_HWVIRT_CONFIG (-1767)
/** 无效的嵌套硬件虚拟化功能组合。*/
#define VERR_CPUM_INVALID_HWVIRT_FEAT_COMBO (-1768)
/** @} */
/** @name 保存状态管理器 (SSM) 状态代码
* @{
*/
/** 指定的数据单元已经存在。*/
#define VERR_SSM_UNIT_EXISTS (-1800)
/** 没有找到指定的数据单元。*/
#define VERR_SSM_UNIT_NOT_FOUND (-1801)
/** 指定的数据单元不属于调用者。*/
#define VERR_SSM_UNIT_NOT_OWNER (-1802)
/** 一般保存状态文件完整性错误。*/
#define VERR_SSM_INTEGRITY (-1810)
/** 保存的状态文件魔法未被识别。*/
#define VERR_SSM_INTEGRITY_MAGIC (-1811)
/** 不支持保存的状态文件版本。*/
#define VERR_SSM_INTEGRITY_VERSION (-1812)
/** 保存的状态文件大小与标题中的不匹配。*/
#define VERR_SSM_INTEGRITY_SIZE (-1813)
/** 保存状态文件的 CRC 不匹配。*/
#define VERR_SSM_INTEGRITY_CRC (-1814)
/** 机器 uuid 字段不为空。*/
#define VERR_SMM_INTEGRITY_MACHINE (-1815)
/** 保存状态标头完整性错误。*/
#define VERR_SSM_INTEGRITY_HEADER (-1816)
/** 单元头完整性错误。*/
#define VERR_SSM_INTEGRITY_UNIT (-1817)
/** 无效的单位魔法(内部数据标签)。*/
#define VERR_SSM_INTEGRITY_UNIT_MAGIC (-1818)
/** 该文件包含一个没有人想要的数据单元。*/
#define VERR_SSM_INTEGRITY_UNIT_NOT_FOUND (-1819)
/** 标头中的版本号不正确。*/
#define VERR_SSM_INTEGRITY_VBOX_VERSION (-1820)
/** 页脚完整性错误。*/
#define VERR_SSM_INTEGRITY_FOOTER (-1821)
/** 记录头完整性错误。*/
#define VERR_SSM_INTEGRITY_REC_HDR (-1822)
/** 终止记录完整性错误。*/
#define VERR_SSM_INTEGRITY_REC_TERM (-1823)
/** 终止记录 CRC 不匹配。*/
#define VERR_SSM_INTEGRITY_REC_TERM_CRC (-1824)
/** 解压完整性错误。*/
#define VERR_SSM_INTEGRITY_DECOMPRESSION (-1825)
/** 保存状态目录 Wintertides 错误。*/
#define VERR_SSM_INTEGRITY_DIR (-1826)
/** 保存状态目录魔法错误。*/
#define VERR_SSM_INTEGRITY_DIR_MAGIC (-1827)
/** 已保存状态文件中的数据单元已定义但未定义
* 处理它的例程。*/
#define VERR_SSM_NO_LOAD_EXEC (-1830)
/** 一个恢复例程试图加载比包含的单元更多的数据。*/
#define VERR_SSM_LOADED_TOO_MUCH (-1831)
/** 未处于尝试操作的正确状态。*/
#define VERR_SSM_INVALID_STATE (-1832)
/** 未处于尝试操作的正确状态。*/
#define VERR_SSM_LOADED_TOO_LITTLE (-1833)
/** 不支持的数据单元版本。
* 如果 SSM 用户不知道 u32Version,则返回此信息。*/
#define VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION (-1840)
/** 数据单元的格式已更改。
* 如果 SSM 用户无法读取
* u32Version 以外的其他原因。*/
#define VERR_SSM_DATA_UNIT_FORMAT_CHANGED (-1841)
/** CPUID 指令在加载时返回的信息与保存时不同。
* 通常由主机上的硬件更改引起,但也可能由以下原因引起
* BIOS 设置中的更改。*/
#define VERR_SSM_LOAD_CPUID_MISMATCH (-1842)
/** RAM 大小在保存状态和 VM 配置之间有所不同。*/
#define VERR_SSM_LOAD_MEMORY_SIZE_MISMATCH (-1843)
/** 状态与 VM 配置以一种或另一种方式不匹配。
*(操作系统可能会进行某些 PCI 重新配置
* 这样做会导致这个问题。当它发生时检查一下。)*/
#define VERR_SSM_LOAD_CONFIG_MISMATCH (-1844)
/** 虚拟时钟频率相差太大。
* 虚拟时间的时钟源不可靠或代码已更改。*/
#define VERR_SSM_VIRTUAL_CLOCK_HZ (-1845)
/** 等待异步 IDE 操作完成时发生超时。*/
#define VERR_SSM_IDE_ASYNC_TIMEOUT (-1846)
/** 其中一个结构魔法是错误的。*/
#define VERR_SSM_STRUCTURE_MAGIC (-1847)
/** 保存状态的数据不符合预期。*/
#define VERR_SSM_UNEXPECTED_DATA (-1848)
/** 尝试将 64 位客户物理地址读入 32 位变量。*/
#define VERR_SSM_GCPHYS_OVERFLOW (-1849)
/** 试图将一个 64 位的客户虚拟地址读入一个 32 位的变量。*/
#define VERR_SSM_GCPTR_OVERFLOW (-1850)
/** 为另一张票投票。*/
#define VINF_SSM_VOTE_FOR_ANOTHER_PASS 1851
/** 投票完成告诉 SSM 在最后一次通过之前不要再次调用。*/
#define VINF_SSM_VOTE_DONE_DONT_CALL_AGAIN 1852
/** 投票放弃。*/
#define VERR_SSM_VOTE_FOR_GIVING_UP (-1853)
/** 在最后一次通过之前不要再次调用。*/
#define VINF_SSM_DONT_CALL_AGAIN 1854
/** 因为太多而放弃实时快照/传送尝试
* 通过。*/
#define VERR_SSM_TOO_MANY_PASSES (-1855)
/** 放弃实时快照/传送尝试,因为状态增长到
* 大的。*/
#define VERR_SSM_STATE_GREW_TOO_BIG (-1856)
/** 因为磁盘空间不足而放弃实时快照尝试。*/
#define VERR_SSM_LOW_ON_DISK_SPACE (-1857)
/** 操作被取消。*/
#define VERR_SSM_CANCELLED (-1858)
/** 没有什么可以取消的。*/
#define VERR_SSM_NO_PENDING_OPERATION (-1859)
/** 操作已经被取消。*/
#define VERR_SSM_ALREADY_CANCELLED (-1860)
/** 保存时机器关机。*/
#define VERR_SSM_LIVE_POWERED_OFF (-1861)
/** 实时快照/传送操作因大师而中止
* 冥想。*/
#define VERR_SSM_LIVE_GURU_MEDITATION (-1862)
/** 实时快照/传送操作因致命事件而中止
* 运行时错误。*/
#define VERR_SSM_LIVE_FATAL_ERROR (-1863)
/** 虚拟机在保存之前或保存时被挂起,不要恢复执行。*/
#define VINF_SSM_LIVE_SUSPENDED 1864
/** 提供给 SSMR3PutStruct 或 SSMR3GetStruct 的复杂 SSM 字段。使用
* 扩展 API。*/
#define VERR_SSM_FIELD_COMPLEX (-1864)
/** 具有指定转换的 SSM 字段的大小无效。*/
#define VERR_SSM_FIELD_INVALID_SIZE (-1865)
/** 指定的字段在结构之外。*/
#define VERR_SSM_FIELD_OUT_OF_BOUNDS (-1866)
/** 该字段不会紧跟前一个字段。*/
#define VERR_SSM_FIELD_NOT_CONSECUTIVE (-1867)
/** 该字段包含无效的回调或转换索引。*/
#define VERR_SSM_FIELD_INVALID_CALLBACK (-1868)
/** 该字段包含无效的填充大小。*/
#define VERR_SSM_FIELD_INVALID_PADDING_SIZE (-1869)
/** 该字段包含一个超出范围的值。*/
#define VERR_SSM_FIELD_INVALID_VALUE (-1870)
/** 通用流错误。*/
#define VERR_SSM_STREAM_ERROR (-1871)
/** SSM 为我们未预料到的通过进行了回调。*/
#define VERR_SSM_UNEXPECTED_PASS (-1872)
/** 有人试图在流中向后跳过... */
#define VERR_SSM_SKIP_BACKWARDS (-1873)
/** 有人试图编写一个太大而无法编码的内存块。*/
#define VERR_SSM_MEM_TOO_BIG (-1874)
/** 遇到错误(/未知)记录类型。*/
#define VERR_SSM_BAD_REC_TYPE (-1875)
/** SSM 代码中的内部处理错误 \#1。*/
#define VERR_SSM_IPE_1 (-1876)
/** SSM 代码中的内部处理错误 \#2。*/
#define VERR_SSM_IPE_2 (-1877)
/** SSM 代码中的内部处理错误 \#3。*/
#define VERR_SSM_IPE_3 (-1878)
/** 一个字段包含一个只能在加载时使用的转换
*旧州。*/
#define VERR_SSM_FIELD_LOAD_ONLY_TRANSFORMATION (-1879)
/** @} */
/** @name 虚拟机 (VM) 状态码
* @{
*/
/** 未找到指定的 at reset 处理程序。*/
#define VERR_VM_ATRESET_NOT_FOUND (-1900)
/** 无效的虚拟机请求类型。
* 对于 VMR3ReqAlloc() 的情况,调用者只是指定了一个非法的 enmType。为了
* 它意味着的所有其他事件都表示腐败、逻辑错误或愚蠢
* 界面用户。*/
#define VERR_VM_REQUEST_INVALID_TYPE (-1901)
/** 无效的虚拟机请求状态。
* 请求数据包的状态不是预期和接受的。任何一个
* 界面用户搞砸了,或者我们有损坏/损坏的逻辑。*/
#define VERR_VM_REQUEST_STATE (-1902)
/** 无效的虚拟机请求包。
* 一个或多个 VM 控制的数据包成员不包含正确的
* 值。有些东西坏了。*/
#define VERR_VM_REQUEST_INVALID_PACKAGE (-1903)
/** 状态字段尚未更新,因为请求仍在
* 待完成。有人在请求前查询了 iStatus 字段
* 已完全处理。*/
#define VERR_VM_REQUEST_STATUS_STILL_PENDING (-1904)
/** 请求已被释放,现在不要读取状态。
* 有人正在读取已释放请求数据包的 iStatus 字段。*/
#define VERR_VM_REQUEST_STATUS_FREED (-1905)
/** 从另一个线程调用了需要 EMT 的 VM api。
* 使用 VMR3ReqCall() api 调用它!*/
#define VERR_VM_THREAD_NOT_EMT (-1906)
/** VM 状态对于请求的操作无效。
* 去检查'VM Statechart Diagram.gif'。*/
#define VERR_VM_INVALID_VM_STATE (-1907)
/** 未安装支持驱动程序。
* 在 linux 上,打开返回 ENOENT。*/
#define VERR_VM_DRIVER_NOT_INSTALLED (-1908)
/** 支持驱动程序不可访问。
* 在 linux 上,打开返回的 EPERM。*/
#define VERR_VM_DRIVER_NOT_ACCESSIBLE (-1909)
/** 无法加载支持驱动程序。
* 在 linux 上,打开返回的 ENODEV。*/
#define VERR_VM_DRIVER_LOAD_ERROR (-1910)
/** 无法打开支持驱动程序。
* 当其他错误都不适合时使用的通用打开错误。*/
#define VERR_VM_DRIVER_OPEN_ERROR (-1911)
/** 安装的支持驱动与用户的版本不匹配。*/
#define VERR_VM_DRIVER_VERSION_MISMATCH (-1912)
/** 暂时不允许保存虚拟机状态。稍后再试。*/
#define VERR_VM_SAVE_STATE_NOT_ALLOWED (-1913)
/** 一个 EMT 调用的 API 不能在这样的线程上调用。*/
#define VERR_VM_THREAD_IS_EMT (-1914)
/** 遇到意外的 VM 状态。*/
#define VERR_VM_UNEXPECTED_VM_STATE (-1915)
/** 意外的不稳定 VM 状态。*/
#define VERR_VM_UNEXPECTED_UNSTABLE_STATE (-1916)
/** 传递给 VM 请求/请求损坏的参数过多。*/
#define VERR_VM_REQUEST_TOO_MANY_ARGS_IPE (-1917)
/** 致命的 EMT 等待错误。*/
#define VERR_VM_FATAL_WAIT_ERROR (-1918)
/** VM 请求在 VM 终止时被终止。*/
#define VERR_VM_REQUEST_KILLED (-1919)
/** @} */
/** @name VBox 远程桌面协议 (VRDP) 状态码
* @{
*/
/** 操作成功完成(映射到通用 iprt 状态码)。*/
#define VINF_VRDP_SUCCESS VINF_SUCCESS
/** VRDP 传输操作超时(映射到通用 iprt 状态码)。*/
#define VERR_VRDP_TIMEOUT VERR_TIMEOUT
/** 不支持的 ISO 协议功能 */
#define VERR_VRDP_ISO_UNSUPPORTED (-2000)
/** 安全(加密/解密)引擎错误 */
#define VERR_VRDP_SEC_ENGINE_FAIL (-2001)
/** VRDP协议违反*/
#define VERR_VRDP_PROTOCOL_ERROR (-2002)
/** 不支持的 VRDP 协议功能 */
#define VERR_VRDP_NOT_SUPPORTED (-2003)
/** VRDP 协议违反,客户端发送的数据少于预期 */
#define VERR_VRDP_INSUFFICIENT_DATA (-2004)
/** 内部错误,VRDP 数据包处于错误的操作模式 */
#define VERR_VRDP_INVALID_MODE (-2005)
/** 内存分配失败 */
#define VERR_VRDP_NO_MEMORY (-2006)
/** 客户端被拒绝 */
#define VERR_VRDP_ACCESS_DENIED (-2007)
/** VRPD 收到不支持的数据包 */
#define VWRN_VRDP_PDU_NOT_SUPPORTED 2008
/** VRDP 脚本允许进一步处理数据包 */
#define VINF_VRDP_PROCESS_PDU 2009
/** VRDP 脚本已完成其任务 */
#define VINF_VRDP_OPERATION_COMPLETED 2010
/** VRDP 线程已启动正常并将运行 */
#define VINF_VRDP_THREAD_STARTED 2011
/** 调整帧缓冲区大小,终止发送位图程序 */
#define VINF_VRDP_RESIZE_REQUESTED 2012
/** 可以为客户端启用输出。*/
#define VINF_VRDP_OUTPUT_ENABLE 2013
/** @} */
/** @name 配置管理器 (CFGM) 状态码
* @{
*/
/** 整数值对于请求的表示来说太大了。*/
#define VERR_CFGM_INTEGER_TOO_BIG (-2100)
/** 未找到子节点。*/
#define VERR_CFGM_CHILD_NOT_FOUND (-2101)
/** 子节点的路径无效(即为空)。*/
#define VERR_CFGM_INVALID_CHILD_PATH (-2102)
/** 未找到值。*/
#define VERR_CFGM_VALUE_NOT_FOUND (-2103)
/** 没有指定父节点。*/
#define VERR_CFGM_NO_PARENT (-2104)
/** 没有指定节点。*/
#define VERR_CFGM_NO_NODE (-2105)
/** 该值不是整数。*/
#define VERR_CFGM_NOT_INTEGER (-2106)
/** 该值不是以零结尾的字符串。*/
#define VERR_CFGM_NOT_STRING (-2107)
/** 该值不是字节字符串。*/
#define VERR_CFGM_NOT_BYTES (-2108)
/** 指定的字符串/字节缓冲区太小。指定一个更大的并重试。*/
#define VERR_CFGM_NOT_ENOUGH_SPACE (-2109)
/** 该值不是以零结尾的密码字符串。*/
#define VERR_CFGM_NOT_PASSWORD (-2110)
/** 新节点的路径包含斜杠或为空。*/
#define VERR_CFGM_INVALID_NODE_PATH (-2160)
/** 无法插入新节点,因为存在同名节点。*/
#define VERR_CFGM_NODE_EXISTS (-2161)
/** 无法插入新叶子,因为存在同名叶子。*/
#define VERR_CFGM_LEAF_EXISTS (-2162)
/** 遇到未知的配置值。*/
#define VERR_CFGM_CONFIG_UNKNOWN_VALUE (-2163)
/** 遇到未知的配置节点(键)。*/
#define VERR_CFGM_CONFIG_UNKNOWN_NODE (-2164)
/** CFGM 中的内部处理错误 \#1。*/
#define VERR_CFGM_IPE_1 (-2165)
/** @} */
/** @name 时间管理器 (TM) 状态码
* @{
*/
/** 加载的定时器状态不正确。*/
#define VERR_TM_LOAD_STATE (-2200)
/** 定时器未处于请求操作的正确状态。*/
#define VERR_TM_INVALID_STATE (-2201)
/** 计时器处于未知状态。腐败或愚蠢的编码错误。*/
#define VERR_TM_UNKNOWN_STATE (-2202)
/** 计时器一直处于不稳定状态,直到我们变得不耐烦并返回。*/
#define VERR_TM_UNSTABLE_STATE (-2203)
/** TM 需要 GIP。*/
#define VERR_TM_GIP_REQUIRED (-2204)
/** TM 不支持 GIP 版本。*/
#define VERR_TM_GIP_VERSION (-2205)
/** GIP 更新间隔过大。*/
#define VERR_TM_GIP_UPDATE_INTERVAL_TOO_BIG (-2206)
/** 计时器的时钟枚举值错误,可能是损坏。*/
#define VERR_TM_TIMER_BAD_CLOCK (-2207)
/** 定时器未能达到稳定状态。*/
#define VERR_TM_TIMER_UNSTABLE_STATE (-2208)
/** 尝试恢复正在运行的 TSC。*/
#define VERR_TM_TSC_ALREADY_TICKING (-2209)
/** 尝试暂停一个暂停的 TSC。*/
#define VERR_TM_TSC_ALREADY_PAUSED (-2210)
/** cVirtualTicking 的值无效。*/
#define VERR_TM_VIRTUAL_TICKING_IPE (-2211)
/** 达到最大计时器限制。*/
#define VERR_TM_TOO_MANY_TIMERS (-2212)
/** 无效的定时器队列号。*/
#define VERR_TM_INVALID_TIMER_QUEUE (-2213)
/** 定时器队列不再允许增长。*/
#define VERR_TM_TIMER_QUEUE_CANNOT_GROW (-2214)
/** TM 内部处理错误\#1。*/
#define VERR_TM_IPE_1 (-2291)
/** TM 内部处理错误 \#2. */
#define VERR_TM_IPE_2 (-2292)
/** TM 内部处理错误 \#3. */
#define VERR_TM_IPE_3 (-2293)
/** TM 内部处理错误 \#4. */
#define VERR_TM_IPE_4 (-2294)
/** TM 内部处理错误 \#5. */
#define VERR_TM_IPE_5 (-2295)
/** TM 内部处理错误 \#6. */
#define VERR_TM_IPE_6 (-2296)
/** TM 内部处理错误 \#7. */
#define VERR_TM_IPE_7 (-2297)
/** TM 内部处理错误 \#8. */
#define VERR_TM_IPE_8 (-2298)
/** TM 内部处理错误 \#9. */
#define VERR_TM_IPE_9 (-2299)
/** @} */
/** @name 重新编译的执行管理器 (REM) 状态码
* @{
*/
/** 虚拟硬件中的致命错误。*/
#define VERR_REM_VIRTUAL_HARDWARE_ERROR (-2300)
/** 重新编译器 cpu 中的致命错误。*/
#define VERR_REM_VIRTUAL_CPU_ERROR (-2301)
/** 重新编译器的执行被强制操作中断。*/
#define VINF_REM_INTERRUPED_FF 2302
/** 太多类似的陷阱。这只是一个非常有用的调试
* 检查(我们不在 REM 中做双重/三重错误)。*/
#define VERR_REM_TOO_MANY_TRAPS (-2304)
/** REM 超出断点槽。*/
#define VERR_REM_NO_MORE_BP_SLOTS (-2305)
/** REM 在指定地址找不到任何断点。*/
#define VERR_REM_BP_NOT_FOUND (-2306)
/** @} */
/** @name 陷阱管理器/监视器 (TRPM) 状态代码
* @{
*/
/** 没有主动陷阱。无法查询或重置不存在的陷阱。*/
#define VERR_TRPM_NO_ACTIVE_TRAP (-2400)
/** 主动陷阱。当一个已经处于活动状态时,不能断言一个新的陷阱。*/
#define VERR_TRPM_ACTIVE_TRAP (-2401)
/** 离开 RC 的原因:客人试图写信给我们的 IDT - 致命的。
* VM 将在最坏的情况下终止,即
* guest 已读取 idtr 寄存器。*/
#define VERR_TRPM_SHADOW_IDT_WRITE (-2402)
/** 离开 RC 的原因:管理程序中的致命陷阱。*/
#define VERR_TRPM_DONT_PANIC (-2403)
/** 离开 RC 的原因:双重错误。*/
#define VERR_TRPM_PANIC (-2404)
/** 错误的 TRPM_TRAP_IN_OP。*/
#define VERR_TRPM_BAD_TRAP_IN_OP (-2405)
/** TRPM 中的内部处理错误 \#1。*/
#define VERR_TRPM_IPE_1 (-2406)
/** TRPM 中的内部处理错误 \#2。*/
#define VERR_TRPM_IPE_2 (-2407)
/** TRPM 中的内部处理错误 \#3。*/
#define VERR_TRPM_IPE_3 (-2408)
/** 进入启用 HM (VT-x/AMD-V) 时未使用的 TRPM 部分。*/
#define VERR_TRPM_HM_IPE (-2409)
/** @} */
/** @name 选择器管理器/监视器(SELM)状态码
* @{
*/
/** 离开 RC 的原因:客人试图写信给我们的 GDT - 致命的。
* VM 将在最坏的情况下终止,即
* guest 已读取 gdtr 寄存器。*/
#define VERR_SELM_SHADOW_GDT_WRITE (-2500)
/** 离开 RC 的原因:客人试图写信给我们的 LDT - 致命的。
* VM 将在最坏的情况下终止,即
* guest 已读取 ldtr 寄存器。*/
#define VERR_SELM_SHADOW_LDT_WRITE (-2501)
/** 离开 RC 的原因:客人试图写信给我们的 TSS - 致命的。
* VM 将在最坏的情况下终止,即
* guest 已读取 ltr 寄存器。*/
#define VERR_SELM_SHADOW_TSS_WRITE (-2502)
/** 离开 RC 的原因:同步 GDT 表以解决冲突。*/
#define VINF_SELM_SYNC_GDT 2503
/** 不存在有效的 TSS。*/
#define VERR_SELM_NO_TSS (-2504)
/** 无效的来宾 LDT 选择器。*/
#define VERR_SELM_INVALID_LDT (-2505)
/** 来宾 LDT 选择器超出范围。*/
#define VERR_SELM_LDT_OUT_OF_BOUNDS (-2506)
/** 在影子表更新期间读取来宾 GDT 时出现未知错误。*/
#define VERR_SELM_GDT_READ_ERROR (-2507)
/** 来宾 GDT 太满了,我们找不到自己的空闲空间
* 选择器。*/
#define VERR_SELM_GDT_TOO_FULL (-2508)
/** 在启用 HM (VT-x/AMD-V) 时进入 SELM 的一部分。*/
#define VERR_SELM_HM_IPE (-2509)
/** @} */
/** @name I/O 管理器/监视器 (IOM) 状态码
* @{
*/
/** 指定的 I/O 端口范围无效。
* 它要么是空的,要么是超出范围的。*/
#define VERR_IOM_INVALID_IOPORT_RANGE (-2600)
/** 指定的 R0 或 RC I/O 端口范围没有对应的 R3 范围。
* 必须先调用 IOMR3IOPortRegisterR3()。*/
#define VERR_IOM_NO_R3_IOPORT_RANGE (-2601)
/** 指定的 I/O 端口范围侵入了现有范围。有
* 两个设备之间的 I/O 端口冲突,或者一个设备试图注册
* 相同的范围两次。*/
#define VERR_IOM_IOPORT_RANGE_CONFLICT (-2602)
/** 为删除指定的 I/O 端口范围未找到或不连续。*/
#define VERR_IOM_IOPORT_RANGE_NOT_FOUND (-2603)
/** 指定的 I/O 端口范围由其他一些设备拥有。两者都注册
* 和注销,但在第一种情况下只有 RC 和 R0 范围。*/
#define VERR_IOM_NOT_IOPORT_RANGE_OWNER (-2604)
/** 指定的 MMIO 范围无效。
* 它要么是空的,要么是超出范围的。*/
#define VERR_IOM_INVALID_MMIO_RANGE (-2605)
/** 指定的 R0 或 RC MMIO 范围没有对应的 R3 范围。
* 必须先调用 IOMR3MMIORegisterR3()。*/
#define VERR_IOM_NO_R3_MMIO_RANGE (-2606)
/** 指定的 MMIO 范围由其他一些设备拥有。两者都注册
* 和注销,但在第一种情况下只有 RC 和 R0 范围。*/
#define VERR_IOM_NOT_MMIO_RANGE_OWNER (-2607)
/** 指定的 MMIO 范围侵入了现有范围。有
* 两个设备之间的 MMIO 冲突,或者一个设备试图注册
* 相同的范围两次。*/
#define VERR_IOM_MMIO_RANGE_CONFLICT (-2608)
/** 未找到指定要删除的 MMIO 范围。*/
#define VERR_IOM_MMIO_RANGE_NOT_FOUND (-2609)
/** 为删除指定的 MMIO 范围无效。范围不匹配
* 完全匹配一组现有范围。无法删除部分
* 一个 MMIO 范围,只有一个或多个完整范围。*/
#define VERR_IOM_INCOMPLETE_MMIO_RANGE (-2610)
/** 为读取或写入操作指定了无效的 I/O 端口大小。*/
#define VERR_IOM_INVALID_IOPORT_SIZE (-2611)
/** MMIO 处理程序被调用以获取虚假地址!内部错误!*/
#define VERR_IOM_MMIO_HANDLER_BOGUS_CALL (-2612)
/** MMIO 处理程序遇到反汇编程序问题。*/
#define VERR_IOM_MMIO_HANDLER_DISASM_ERROR (-2613)
/** 正在读取的端口不存在(/未使用)并且 IOM 将根据大小返回 ~0。*/
#define VERR_IOM_IOPORT_UNUSED (-2614)
/** 未使用的 MMIO 寄存器读取,用 00 填充。 */
#define VINF_IOM_MMIO_UNUSED_00 2615
/** 未使用的 MMIO 寄存器读取,用 FF 填充。*/
#define VINF_IOM_MMIO_UNUSED_FF 2616
/** 离开 RZ 的原因:I/O 端口已读取。*/
#define VINF_IOM_R3_IOPORT_READ 2620
/** 离开 RZ 的原因:I/O 端口写入。*/
#define VINF_IOM_R3_IOPORT_WRITE 2621
/** 离开 RZ 的原因:等待 I/O 端口写入。由于还有
* VMCPU_FF_IOM 对于这种情况,可以删除此状态码
* 其他一些 VINF_EM_XXX 状态。*/
#define VINF_IOM_R3_IOPORT_COMMIT_WRITE 2622
/** 离开 RZ 的原因:MMIO 读取。*/
#define VINF_IOM_R3_MMIO_READ 2623
/** 离开 RZ 的原因:MMIO 写入。*/
#define VINF_IOM_R3_MMIO_WRITE 2624
/** 离开 RZ 的原因:MMIO 读/写。*/
#define VINF_IOM_R3_MMIO_READ_WRITE 2625
/** 离开 RZ 的原因:等待 MMIO 写入。由于还有
* VMCPU_FF_IOM 对于这种情况,可以删除此状态码
* 其他一些 VINF_EM_XXX 状态。*/
#define VINF_IOM_R3_MMIO_COMMIT_WRITE 2626
/** IOMGCIOPortHandler 获得了意外的操作码。*/
#define VERR_IOM_IOPORT_UNKNOWN_OPCODE (-2630)
/** I/O 端口代码中的内部处理错误 \#1。*/
#define VERR_IOM_IOPORT_IPE_1 (-2631)
/** I/O 端口代码中的内部处理错误 \#2。*/
#define VERR_IOM_IOPORT_IPE_2 (-2632)
/** I/O 端口代码中的内部处理错误 \#3。*/
#define VERR_IOM_IOPORT_IPE_3 (-2633)
/** MMIO 代码中的内部处理错误 \#1。*/
#define VERR_IOM_MMIO_IPE_1 (-2634)
/** MMIO 代码中的内部处理错误 \#2。*/
#define VERR_IOM_MMIO_IPE_2 (-2635)
/** MMIO 代码中的内部处理错误 \#3。*/
#define VERR_IOM_MMIO_IPE_3 (-2636)
/** 进入了启用 HM (VT-x/AMD-V) 时未使用的 IOM 部分。*/
#define VERR_IOM_HM_IPE (-2637)
/** 合并状态码时发生内部处理错误。*/
#define VERR_IOM_FF_STATUS_IPE (-2638)
/** 太多的 I/O 端口注册。*/
#define VERR_IOM_TOO_MANY_IOPORT_REGISTRATIONS (-2650)
/** 无效的 I/O 端口句柄。*/
#define VERR_IOM_INVALID_IOPORT_HANDLE (-2651)
/** I/O 端口已经映射。*/
#define VERR_IOM_IOPORTS_ALREADY_MAPPED (-2652)
/** I/O 端口未映射。*/
#define VERR_IOM_IOPORTS_NOT_MAPPED (-2653)
/** MMIO 注册过多。*/
#define VERR_IOM_TOO_MANY_MMIO_REGISTRATIONS (-2660)
/** 无效的 MMIO 句柄。*/
#define VERR_IOM_INVALID_MMIO_HANDLE (-2661)
/** MMIO 区域已经被映射。*/
#define VERR_IOM_MMIO_REGION_ALREADY_MAPPED (-2662)
/** MMIO 区域未映射。*/
#define VERR_IOM_MMIO_REGION_NOT_MAPPED (-2663)
/** @} */
/** @name 虚拟机监视器 (VMM) 状态代码
* @{
*/
/** 离开 R0 的原因:在 EMT 上遇到 ring-0 断言。*/
#define VERR_VMM_RING0_ASSERTION (-2701)
/** 超级 CR3 在 PGM 和 CPUM 之间有所不同。*/
#define VERR_VMM_HYPER_CR3_MISMATCH (-2702)
/** 离开 RZ 的原因:非法呼叫 ring-3。*/
#define VERR_VMM_RING3_CALL_DISABLED (-2703)
/** VMMR0.r0 模块版本与 VBoxVMM.dll/so/dylib 不匹配。
* 如果您刚刚升级了 VirtualBox,请终止所有虚拟机并确保
* VBoxNetDHCP 和 VBoxNetNAT 都没有运行。然后再试一次。
* 如果此错误仍然存在,请尝试重新安装 VirtualBox。*/
#define VERR_VMM_R0_VERSION_MISMATCH (-2704)
/** VMMRC.rc 模块版本与 VBoxVMM.dll/so/dylib 不匹配。
* 如果您是用户,请重新安装。开发人员应确保构建是
*完成或尝试干净的构建。*/
#define VERR_VMM_RC_VERSION_MISMATCH (-2705)
/** VMM 长跳错误。*/
#define VERR_VMM_LONG_JMP_ERROR (-2709)
/** 离开 RC 的原因:调用 ring-0 中的跟踪器。*/
#define VINF_VMM_CALL_TRACER (2712)
/** 切换器代码中的内部处理错误 \#1。*/
#define VERR_VMM_SWITCHER_IPE_1 (-2713)
/** 离开 RZ 的原因:未知呼叫 ring-3。*/
#define VINF_VMM_UNKNOWN_RING3_CALL (2714)
/** 尝试使用存根切换器。*/
#define VERR_VMM_SWITCHER_STUB (-2715)
/** HM 以错误的状态返回。*/
#define VERR_VMM_WRONG_HM_VMCPU_STATE (-2716)
/** 启用 SMAP,但发现 AC 标志已清除 - 检查内核
* 登录以获取详细信息。*/
#define VERR_VMM_SMAP_BUT_AC_CLEAR (-2717)
/** NEM 以错误的状态返回。*/
#define VERR_VMM_WRONG_NEM_VMCPU_STATE (-2718)
/** 从 vmmR0CallRing3SetJmp 返回,上下文挂钩仍然启用。*/
#define VERR_VMM_CONTEXT_HOOK_STILL_ENABLED (-2719)
/** 不能在 ring-0 中阻塞。*/
#define VERR_VMM_CANNOT_BLOCK (-2720)
/** @} */
/** @name 可插拔设备和驱动程序管理器 (PDM) 状态代码
* @{
*/
/** 给出了无效的 LUN 规范。*/
#define VERR_PDM_NO_SUCH_LUN (-2800)
/** 设备遇到未知的配置值。
* 这意味着设备可能配置错误并且设备
* 施工或单元附件因此而失败。*/
#define VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES (-2801)
/** 上面的驱动没有导出一个驱动需要的接口
* 附在上面。典型的错误配置问题。*/
#define VERR_PDM_MISSING_INTERFACE_ABOVE (-2802)
/** 下面的驱动没有导出驱动需要的接口
*附上它。典型的错误配置问题。*/
#define VERR_PDM_MISSING_INTERFACE_BELOW (-2803)
/** 设备没有找到带有附加驱动程序的所需接口。
* 典型的错误配置问题。*/
#define VERR_PDM_MISSING_INTERFACE (-2804)
/** 驱动程序遇到未知的配置值。
* 这意味着驱动程序可能配置错误并且驱动程序
* 因此建设失败。*/
#define VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES (-2805)
/** 分配给设备的 PCI 总线没有空间给它。
* 在同一条 PCI 总线上配置了太多设备,或者有太多设备
* 拔出设备时 PDM/PCI 无法释放插槽的一些内部问题。*/
#define VERR_PDM_TOO_PCI_MANY_DEVICES (-2806)
/** A queue is out of free items,排队操作失败。*/
#define VERR_PDM_NO_QUEUE_ITEMS (-2807)
/** 无法将更多驱动程序附加到驱动程序。
* 不支持附件的驱动程序(当然如下)将
* 如果发现配置了更多驱动程序,则返回此状态码
* 附在上面。*/
#define VERR_PDM_DRVINS_NO_ATTACH (-2808)
/** 无法将驱动程序附加到设备。
* 不支持附件(当然如下)的设备将
* 如果发现驱动程序已配置,则返回此状态码
* 附在上面。*/
#define VERR_PDM_DEVINS_NO_ATTACH (-2809)
/** 没有附加的驱动程序。
* PDMDRVHLP::pfnAttach 和 PDMDEVHLP::pfnDriverAttach 将返回
* 未配置要附加的驱动程序时出现此错误。*/
#define VERR_PDM_NO_ATTACHED_DRIVER (-2810)
/** 媒体几何体尚未设置,因此无法获取。
* 然后调用者应根据介质大小计算几何形状。*/
#define VERR_PDM_GEOMETRY_NOT_SET (-2811)
/** 媒体翻译尚未设置,因此无法获取。
* 然后调用者应该猜出翻译。*/
#define VERR_PDM_TRANSLATION_NOT_SET (-2812)
/** 媒体未挂载,操作需要已挂载的媒体。*/
#define VERR_PDM_MEDIA_NOT_MOUNTED (-2813)
/** 挂载失败,因为媒体已经挂载。卸载媒体
* 并重试挂载。*/
#define VERR_PDM_MEDIA_MOUNTED (-2814)
/** 媒体被锁定,无法卸载。*/
#define VERR_PDM_MEDIA_LOCKED (-2815)
/** DrvBlock 配置中没有“类型”属性。
* 配置错误。*/
#define VERR_PDM_BLOCK_NO_TYPE (-2816)
/** DrvBlock 配置中的“类型”属性具有未知值。
* 配置错误。*/
#define VERR_PDM_BLOCK_UNKNOWN_TYPE (-2817)
/** DrvBlock 配置中的 'Translation' 属性具有未知值。
* 配置错误。*/
#define VERR_PDM_BLOCK_UNKNOWN_TRANSLATION (-2818)
/** 不支持块驱动类型。
* 将软盘连接到 IDE 控制器时出现的配置错误。*/
#define VERR_PDM_UNSUPPORTED_BLOCK_TYPE (-2819)
/** 附加或准备挂载调用失败,因为驱动程序已经
* 附有驱动程序。*/
#define VERR_PDM_DRIVER_ALREADY_ATTACHED (-2820)
/** 尝试在没有实际连接任何人的情况下分离驱动程序,或
* 在附加的驱动程序上执行任何其他操作。*/
#define VERR_PDM_NO_DRIVER_ATTACHED (-2821)
/** 附加的驱动程序配置缺少“驱动程序”属性。*/
#define VERR_PDM_CFG_MISSING_DRIVER_NAME (-2822)
/** 未找到配置的驱动程序。
* 要么没有加载必要的驱动模块,名字是
* 拼写错误,或者是配置错误。*/
#define VERR_PDM_DRIVER_NOT_FOUND (-2823)
/** Ring-3 模块已经加载。*/
#define VINF_PDM_ALREADY_LOADED (2824)
/** 模块名称与现有模块冲突。*/
#define VERR_PDM_MODULE_NAME_CLASH (-2825)
/** 找不到任何用于注册驱动程序/设备的导出。*/
#define VERR_PDM_NO_REGISTRATION_EXPORT (-2826)
/** 模块名称太长。*/
#define VERR_PDM_MODULE_NAME_TOO_LONG (-2827)
/** 驱动程序名称冲突。另一位与该司机同名的司机
* 一个正在注册的存在。*/
#define VERR_PDM_DRIVER_NAME_CLASH (-2828)
/** 驱动注册结构的版本未知
* 到这个 VBox 版本。混合不兼容的版本或
* 结构未正确初始化。*/
#define VERR_PDM_UNKNOWN_DRVREG_VERSION (-2829)
/** 驱动注册结构中的无效条目。*/
#define VERR_PDM_INVALID_DRIVER_REGISTRATION (-2830)
/** 无效的主机位掩码。*/
#define VERR_PDM_INVALID_DRIVER_HOST_BITS (-2831)
/** 无法分离驱动程序,因为上述驱动程序/设备
* 不支持。上述实体没有实现 pfnDetach 调用。*/
#define VERR_PDM_DRIVER_DETACH_NOT_POSSIBLE (-2832)
/** 没有可用于注册设备的 PCI 总线。这通常是一个
* 配置错误或在极少数情况下是错误的 pci 设备。*/
#define VERR_PDM_NO_PCI_BUS (-2833)
/** 该设备不是注册的 PCI 设备,因此不能
* 执行任何 PCI 操作。设备忘记自行注册。*/
#define VERR_PDM_NOT_PCI_DEVICE (-2834)
/** 设备注册结构的版本未知
* 到这个 VBox 版本。混合不兼容的版本或
* 结构未正确初始化。*/
#define VERR_PDM_UNKNOWN_DEVREG_VERSION (-2835)
/** 设备注册结构中的无效条目。*/
#define VERR_PDM_INVALID_DEVICE_REGISTRATION (-2836)
/** 无效的主机位掩码。*/
#define VERR_PDM_INVALID_DEVICE_GUEST_BITS (-2837)
/** 来宾位掩码与正在加载的来宾不匹配。*/
#define VERR_PDM_INVALID_DEVICE_HOST_BITS (-2838)
/** 设备名称冲突。另一个同名的设备
* 一个正在注册的存在。*/
#define VERR_PDM_DEVICE_NAME_CLASH (-2839)
/** 未找到设备。没有注册的设备
* 用那个名字。*/
#define VERR_PDM_DEVICE_NOT_FOUND (-2840)
/** 未找到设备实例。*/
#define VERR_PDM_DEVICE_INSTANCE_NOT_FOUND (-2841)
/** 设备实例没有基本接口。*/
#define VERR_PDM_DEVICE_INSTANCE_NO_IBASE (-2842)
/** 设备实例没有这样的逻辑单元。*/
#define VERR_PDM_DEVICE_INSTANCE_LUN_NOT_FOUND (-2843)
/** 找不到驱动程序实例。*/
#define VERR_PDM_DRIVER_INSTANCE_NOT_FOUND (-2844)
/** 未找到逻辑单元。*/
#define VERR_PDM_LUN_NOT_FOUND (-2845)
/** 找到了逻辑单元,但它没有附加驱动程序。*/
#define VERR_PDM_NO_DRIVER_ATTACHED_TO_LUN (-2846)
/** 找到了逻辑单元,但它没有附加驱动程序。*/
#define VINF_PDM_NO_DRIVER_ATTACHED_TO_LUN 2846
/** 没有 PIC 设备实例注册到当前虚拟机,因此
* 无法执行 PIC 操作。*/
#define VERR_PDM_NO_PIC_INSTANCE (-2847)
/** 没有向当前 VM 注册 APIC 设备实例,因此
* 无法执行 APIC 操作。*/
#define VERR_PDM_NO_APIC_INSTANCE (-2848)
/** 没有向当前虚拟机注册 DMAC 设备实例,因此
* 无法执行 DMA 操作。*/
#define VERR_PDM_NO_DMAC_INSTANCE (-2849)
/** 没有 RTC 设备实例注册到当前虚拟机,因此
* 无法执行 RTC 或 CMOS 操作。*/
#define VERR_PDM_NO_RTC_INSTANCE (-2850)
/** 由于共享冲突,无法打开主机界面。*/
#define VERR_PDM_HIF_SHARING_VIOLATION (-2851)
/** 无法打开主机界面。*/
#define VERR_PDM_HIF_OPEN_FAILED (-2852)
/** 该设备不支持附加运行时驱动程序。
* PDMDEVREG::pfnAttach 回调函数为 NULL。*/
#define VERR_PDM_DEVICE_NO_RT_ATTACH (-2853)
/** 该驱动程序不支持运行时驱动程序附加。
* The PDMDRVREG::pfnAttach callback function is NULL. */
#define VERR_PDM_DRIVER_NO_RT_ATTACH (-2854)
/** Invalid host interface version. */
#define VERR_PDM_HIF_INVALID_VERSION (-2855)
/** The version of the USB device registration structure is unknown
* to this VBox version. Either mixing incompatible versions or
* the structure isn't correctly initialized. */
#define VERR_PDM_UNKNOWN_USBREG_VERSION (-2856)
/** Invalid entry in the device registration structure. */
#define VERR_PDM_INVALID_USB_REGISTRATION (-2857)
/** Driver name clash. Another driver with the same name as the
* one being registered exists. */
#define VERR_PDM_USB_NAME_CLASH (-2858)
/** The USB hub is already registered. */
#define VERR_PDM_USB_HUB_EXISTS (-2859)
/** 找不到任何 USB 集线器来连接设备。*/
#define VERR_PDM_NO_USB_HUBS (-2860)
/** 找不到任何可用的 USB 端口来连接设备。*/
#define VERR_PDM_NO_USB_PORTS (-2861)
/** 找不到 USB 代理设备。使用 OSE?*/
#define VERR_PDM_NO_USBPROXY (-2862)
/** 仍然使用异步完成模板。*/
#define VERR_PDM_ASYNC_TEMPLATE_BUSY (-2863)
/** 异步完成任务已经挂起。*/
#define VERR_PDM_ASYNC_COMPLETION_ALREADY_SUSPENDED (-2864)
/** 异步完成任务没有挂起。*/
#define VERR_PDM_ASYNC_COMPLETION_NOT_SUSPENDED (-2865)
/** 驱动程序属性无效,因此构造
* 失败的。导致我无法使用的媒体或类似问题。*/
#define VERR_PDM_DRIVER_INVALID_PROPERTIES (-2866)
/** 设备实例过多。*/
#define VERR_PDM_TOO_MANY_DEVICE_INSTANCES (-2867)
/** 驱动程序的实例过多。*/
#define VERR_PDM_TOO_MANY_DRIVER_INSTANCES (-2868)
/** USB 设备的实例太多。*/
#define VERR_PDM_TOO_MANY_USB_DEVICE_INSTANCES (-2869)
/** 设备实例结构版本已更改。
*
* 如果您最近升级了 VirtualBox,请确保您有
* 终止所有虚拟机并升级所有扩展包。如果这个错误
* 仍然存在,请尝试重新安装 VirtualBox。*/
#define VERR_PDM_DEVINS_VERSION_MISMATCH (-2870)
/** 设备助手结构版本已更改。
*
* 如果您最近升级了 VirtualBox,请确保您有
* 终止所有虚拟机并升级所有扩展包。如果这个错误
* 仍然存在,请尝试重新安装 VirtualBox。*/
#define VERR_PDM_DEVHLP_VERSION_MISMATCH (-2871)
/** USB 设备实例结构版本已更改。
*
* 如果您最近升级了 VirtualBox,请确保您有
* 终止所有虚拟机并升级所有扩展包。如果这个错误
* 仍然存在,请尝试重新安装 VirtualBox。*/
#define VERR_PDM_USBINS_VERSION_MISMATCH (-2872)
/** The USB device helper structure version has changed.
*
* If you have upgraded VirtualBox recently, please make sure you have
* terminated all VMs and upgraded any extension packs. If this error
* persists, try re-installing VirtualBox. */
#define VERR_PDM_USBHLPR3_VERSION_MISMATCH (-2873)
/** The driver instance structure version has changed.
*
* If you have upgraded VirtualBox recently, please make sure you have
* terminated all VMs and upgraded any extension packs. If this error
* persists, try re-installing VirtualBox. */
#define VERR_PDM_DRVINS_VERSION_MISMATCH (-2874)
/** The driver helper structure version has changed.
*
* If you have upgraded VirtualBox recently, please make sure you have
* terminated all VMs and upgraded any extension packs. If this error
* persists, try re-installing VirtualBox. */
#define VERR_PDM_DRVHLPR3_VERSION_MISMATCH (-2875)
/** Generic device structure version mismatch.
*
* If you have upgraded VirtualBox recently, please make sure you have
* terminated all VMs and upgraded any extension packs. If this error
* persists, try re-installing VirtualBox. */
#define VERR_PDM_DEVICE_VERSION_MISMATCH (-2876)
/** Generic USB device structure version mismatch.
*
* If you have upgraded VirtualBox recently, please make sure you have
* terminated all VMs and upgraded any extension packs. If this error
* persists, try re-installing VirtualBox. */
#define VERR_PDM_USBDEV_VERSION_MISMATCH (-2877)
/** Generic driver structure version mismatch.
*
* If you have upgraded VirtualBox recently, please make sure you have
* terminated all VMs and upgraded any extension packs. If this error
* persists, try re-installing VirtualBox. */
#define VERR_PDM_DRIVER_VERSION_MISMATCH (-2878)
/** PDMVMMDevHeapR3ToGCPhys failure. */
#define VERR_PDM_DEV_HEAP_R3_TO_GCPHYS (-2879)
/** A legacy device isn't implementing the HPET notification interface. */
#define VERR_PDM_HPET_LEGACY_NOTIFY_MISSING (-2880)
/** Internal processing error in the critical section code. */
#define VERR_PDM_CRITSECT_IPE (-2881)
/** The critical section being deleted was not found. */
#define VERR_PDM_CRITSECT_NOT_FOUND (-2882)
/** A PDMThread API was called by the wrong thread. */
#define VERR_PDM_THREAD_INVALID_CALLER (-2883)
/** PDM 线程代码中的内部处理错误 \#1。*/
#define VERR_PDM_THREAD_IPE_1 (-2884)
/** PDM 线程代码中的内部处理错误 \#2。*/
#define VERR_PDM_THREAD_IPE_2 (-2885)
/** 每个 PDM 设备仅支持一个 PCI 功能。*/
#define VERR_PDM_ONE_PCI_FUNCTION_PER_DEVICE (-2886)
/** 错误的 PCI 配置。*/
#define VERR_PDM_BAD_PCI_CONFIG (-2887)
/** PDM 设备代码中的内部处理错误 #。*/
#define VERR_PDM_DEV_IPE_1 (-2888)
/** 错误配置的驱动链转换。*/
#define VERR_PDM_MISCONFIGURED_DRV_TRANSFORMATION (-2889)
/** 驱动程序已被删除,无法进行更多转换(在
* 当下)。*/
#define VERR_PDM_CANNOT_TRANSFORM_REMOVED_DRIVER (-2890)
/** The PCI device isn't configured as a busmaster, physical memory access
* rejected. */
#define VERR_PDM_NOT_PCI_BUS_MASTER (-2891)
/** Got into a part of PDM that is not used when HM (VT-x/AMD-V) is enabled. */
#define VERR_PDM_HM_IPE (-2892)
/** The I/O request was canceled. */
#define VERR_PDM_MEDIAEX_IOREQ_CANCELED (-2893)
/** There is not enough room to store the data. */
#define VERR_PDM_MEDIAEX_IOBUF_OVERFLOW (-2894)
/** There is not enough data to satisfy the request. */
#define VERR_PDM_MEDIAEX_IOBUF_UNDERRUN (-2895)
/** The I/O request ID is already existing. */
#define VERR_PDM_MEDIAEX_IOREQID_CONFLICT (-2896)
/** The I/O request ID was not found. */
#define VERR_PDM_MEDIAEX_IOREQID_NOT_FOUND (-2897)
/** The I/O request is in progress. */
#define VINF_PDM_MEDIAEX_IOREQ_IN_PROGRESS 2898
/** The I/O request is in an invalid state for this operation. */
#define VERR_PDM_MEDIAEX_IOREQ_INVALID_STATE (-2899)
/** Returned by PCI config space callbacks to indicate taking default action. */
#define VINF_PDM_PCI_DO_DEFAULT (7200)
/** Failed to abort entering a critical section in ring-0. */
#define VERR_PDM_CRITSECT_ABORT_FAILED (-7201)
/** Too many readers on read/write critical section. */
#define VERR_PDM_CRITSECTRW_TOO_MANY_READERS (-7202)
/** Too many writes on read/write critical section. */
#define VERR_PDM_CRITSECTRW_TOO_MANY_WRITERS (-7203)
/** Too many write or write/read recursions on read/write critical section. */
#define VERR_PDM_CRITSECTRW_TOO_MANY_RECURSIONS (-7204)
/** 读写临界区内部错误。*/
#define VERR_PDM_CRITSECTRW_IPE (-7205)
/** 未对齐的读/写临界区。*/
#define VERR_PDM_CRITSECTRW_MISALIGNED (-7206)
/** @} */
/** @name Host-Guest Communication Manager (HGCM) 状态码
* @{
*/
/** 请求的服务不存在。*/
#define VERR_HGCM_SERVICE_NOT_FOUND (-2900)
/** 服务拒绝客户端连接 */
#define VINF_HGCM_CLIENT_REJECTED 2901
/** 命令地址无效。*/
#define VERR_HGCM_INVALID_CMD_ADDRESS (-2902)
/** 服务将在后台执行命令。*/
#define VINF_HGCM_ASYNC_EXECUTE 2903
/** 由于内部错误,HGCM 无法执行请求的操作。*/
#define VERR_HGCM_INTERNAL (-2904)
/** Invalid HGCM client id. */
#define VERR_HGCM_INVALID_CLIENT_ID (-2905)
/** The HGCM is saving state. */
#define VINF_HGCM_SAVE_STATE (2906)
/** Requested service already exists. */
#define VERR_HGCM_SERVICE_EXISTS (-2907)
/** Too many clients for the service. */
#define VERR_HGCM_TOO_MANY_CLIENTS (-2908)
/** Too many calls to the service from a client. */
#define VERR_HGCM_TOO_MANY_CLIENT_CALLS (-2909)
/** @} */
/** @name Network Address Translation Driver (DrvNAT) Status Codes
* @{
*/
/** Failed to convert the specified Guest IP to a binary IP address.
* Malformed input. */
#define VERR_NAT_REDIR_GUEST_IP (-3001)
/** Failed while setting up a redirector rule.
* There probably is a conflict between the rule and some existing
* service on the computer. */
#define VERR_NAT_REDIR_SETUP (-3002)
/** @} */
/** @name HostIF Driver (DrvTUN) Status Codes
* @{
*/
/** The Host Interface Networking init program failed. */
#define VERR_HOSTIF_INIT_FAILED (-3100)
/** The Host Interface Networking device name is too long. */
#define VERR_HOSTIF_DEVICE_NAME_TOO_LONG (-3101)
/** The Host Interface Networking name config IOCTL call failed. */
#define VERR_HOSTIF_IOCTL (-3102)
/** Failed to make the Host Interface Networking handle non-blocking. */
#define VERR_HOSTIF_BLOCKING (-3103)
/** If a Host Interface Networking filehandle was specified it's not allowed to
* have any init or term programs. */
#define VERR_HOSTIF_FD_AND_INIT_TERM (-3104)
/** The Host Interface Networking terminate program failed. */
#define VERR_HOSTIF_TERM_FAILED (-3105)
/** @} */
/** @name VBox HDD Container (VD) Status Codes
* @{
*/
/** Invalid image type. */
#define VERR_VD_INVALID_TYPE (-3200)
/** Operation can't be done in current HDD container state. */
#define VERR_VD_INVALID_STATE (-3201)
/** Configuration value not found. */
#define VERR_VD_VALUE_NOT_FOUND (-3202)
/** Virtual HDD is not opened. */
#define VERR_VD_NOT_OPENED (-3203)
/** Requested image is not opened. */
#define VERR_VD_IMAGE_NOT_FOUND (-3204)
/** Image is read-only. */
#define VERR_VD_IMAGE_READ_ONLY (-3205)
/** 几何体尚未设置。*/
#define VERR_VD_GEOMETRY_NOT_SET (-3206)
/** 图像中没有此块的数据。*/
#define VERR_VD_BLOCK_FREE (-3207)
/** 由于 UUID,差异和父图像不能一起使用。*/
#define VERR_VD_UUID_MISMATCH (-3208)
/** 异步 I/O 请求完成。*/
#define VINF_VD_ASYNC_IO_FINISHED 3209
/** 异步 I/O 尚未完成。*/
#define VERR_VD_ASYNC_IO_IN_PROGRESS (-3210)
/** 对于这种格式,图像太小或太大。*/
#define VERR_VD_INVALID_SIZE (-3211)
/** 配置值未知。这表明配置错误。*/
#define VERR_VD_UNKNOWN_CFG_VALUES (-3212)
/** 接口未知。这表明配置错误。*/
#define VERR_VD_UNKNOWN_INTERFACE (-3213)
/** The DEK for disk encryption is missing. */
#define VERR_VD_DEK_MISSING (-3214)
/** The provided password to decrypt the DEK was incorrect. */
#define VERR_VD_PASSWORD_INCORRECT (-3215)
/** Generic: Invalid image file header. Use this for plugins. */
#define VERR_VD_GEN_INVALID_HEADER (-3220)
/** VDI: Invalid image file header. */
#define VERR_VD_VDI_INVALID_HEADER (-3230)
/** VDI: Invalid image file header: invalid signature. */
#define VERR_VD_VDI_INVALID_SIGNATURE (-3231)
/** VDI: Invalid image file header: invalid version. */
#define VERR_VD_VDI_UNSUPPORTED_VERSION (-3232)
/** Comment string is too long. */
#define VERR_VD_VDI_COMMENT_TOO_LONG (-3233)
/** VMDK: Invalid image file header. */
#define VERR_VD_VMDK_INVALID_HEADER (-3240)
/** VMDK: Invalid image file header: invalid version. */
#define VERR_VD_VMDK_UNSUPPORTED_VERSION (-3241)
/** VMDK: Image property not found. */
#define VERR_VD_VMDK_VALUE_NOT_FOUND (-3242)
/** VMDK: Operation can't be done in current image state. */
#define VERR_VD_VMDK_INVALID_STATE (-3243)
/** VMDK: Format is invalid/inconsistent. */
#define VERR_VD_VMDK_INVALID_FORMAT (-3244)
/** VMDK: Invalid write position. */
#define VERR_VD_VMDK_INVALID_WRITE (-3245)
/** iSCSI: Invalid header, i.e. dummy for validity check. */
#define VERR_VD_ISCSI_INVALID_HEADER (-3250)
/** iSCSI: Operation can't be done in current image state. */
#define VERR_VD_ISCSI_INVALID_STATE (-3251)
/** iSCSI: Invalid device type (not a disk). */
#define VERR_VD_ISCSI_INVALID_TYPE (-3252)
/** iSCSI: Initiator secret not decrypted */
#define VERR_VD_ISCSI_SECRET_ENCRYPTED (-3253)
/** VHD: Invalid image file header. */
#define VERR_VD_VHD_INVALID_HEADER (-3260)
/** Parallels HDD: Invalid image file header. */
#define VERR_VD_PARALLELS_INVALID_HEADER (-3265)
/** DMG: Invalid image file header. */
#define VERR_VD_DMG_INVALID_HEADER (-3267)
/** Raw: Invalid image file header. */
#define VERR_VD_RAW_INVALID_HEADER (-3270)
/** Raw: Invalid image file type. */
#define VERR_VD_RAW_INVALID_TYPE (-3271)
/** The backend needs more metadata before it can continue. */
#define VERR_VD_NOT_ENOUGH_METADATA (-3272)
/** Halt the current I/O context until further notification from the backend. */
#define VERR_VD_IOCTX_HALT (-3273)
/** The disk has a cache attached already. */
#define VERR_VD_CACHE_ALREADY_EXISTS (-3274)
/** There is no cache attached to the disk. */
#define VERR_VD_CACHE_NOT_FOUND (-3275)
/** The cache is not up to date with the image. */
#define VERR_VD_CACHE_NOT_UP_TO_DATE (-3276)
/** The given range does not meet the required alignment. */
#define VERR_VD_DISCARD_ALIGNMENT_NOT_MET (-3277)
/** The discard operation is not supported for this image. */
#define VERR_VD_DISCARD_NOT_SUPPORTED (-3278)
/** The image is the correct format but is corrupted. */
#define VERR_VD_IMAGE_CORRUPTED (-3279)
/** Repairing the image is not supported. */
#define VERR_VD_IMAGE_REPAIR_NOT_SUPPORTED (-3280)
/** Repairing the image is not possible because the corruption is to severe. */
#define VERR_VD_IMAGE_REPAIR_IMPOSSIBLE (-3281)
/** Reading from the image was not possible because the offset is out of the image range.
* This usually indicates that there is a minor corruption in the image meta data. */
#define VERR_VD_READ_OUT_OF_RANGE (-3282)
/** Block read was marked as free in the image and returned as a zero block. */
#define VINF_VD_NEW_ZEROED_BLOCK 3283
/** Unable to parse the XML in DMG file. */
#define VERR_VD_DMG_XML_PARSE_ERROR (-3284)
/** Unable to locate a usable DMG file within the XAR archive. */
#define VERR_VD_DMG_NOT_FOUND_INSIDE_XAR (-3285)
/** The size of the raw image is not dividable by 512 */
#define VERR_VD_RAW_SIZE_MODULO_512 (-3286)
/** The size of the raw image is not dividable by 2048 */
#define VERR_VD_RAW_SIZE_MODULO_2048 (-3287)
/** The size of the raw optical image is too small (<= 32K) */
#define VERR_VD_RAW_SIZE_OPTICAL_TOO_SMALL (-3288)
/** The size of the raw floppy image is too big (>2.88MB) */
#define VERR_VD_RAW_SIZE_FLOPPY_TOO_BIG (-3289)
/** Reducing the size is not supported */
#define VERR_VD_SHRINK_NOT_SUPPORTED (-3290)
/** @} */
/** @name VBox Guest Library (VBGL) Status Codes
* @{
*/
/** Library was not initialized. */
#define VERR_VBGL_NOT_INITIALIZED (-3300)
/** Virtual address was not allocated by the library. */
#define VERR_VBGL_INVALID_ADDR (-3301)
/** IOCtl to VBoxGuest driver failed. */
#define VERR_VBGL_IOCTL_FAILED (-3302)
/** @} */
/** @name VBox USB (VUSB) Status Codes
* @{
*/
/** No available ports on the hub.
* This error is returned when a device is attempted created and/or attached
* to a hub which is out of ports. */
#define VERR_VUSB_NO_PORTS (-3400)
/** The requested operation cannot be performed on a detached USB device. */
#define VERR_VUSB_DEVICE_NOT_ATTACHED (-3401)
/** Failed to allocate memory for a URB. */
#define VERR_VUSB_NO_URB_MEMORY (-3402)
/** General failure during URB queuing.
* This will go away when the queueing gets proper status code handling. */
#define VERR_VUSB_FAILED_TO_QUEUE_URB (-3403)
/** Device creation failed because the USB device name was not found. */
#define VERR_VUSB_DEVICE_NAME_NOT_FOUND (-3404)
/** Not permitted to open the USB device.
* The user doesn't have access to the device in the usbfs, check the mount options. */
#define VERR_VUSB_USBFS_PERMISSION (-3405)
/** The requested operation cannot be performed because the device
* is currently being reset. */
#define VERR_VUSB_DEVICE_IS_RESETTING (-3406)
/** The requested operation cannot be performed because the device
* is currently suspended. */
#define VERR_VUSB_DEVICE_IS_SUSPENDED (-3407)
/** Not permitted to open the USB device.
* The user doesn't have access to the device node, check group memberships. */
#define VERR_VUSB_USB_DEVICE_PERMISSION (-3408)
/** @} */
/** @name VBox VGA Status Codes
* @{
*/
/** One of the custom modes was incorrect.
* The format or bit count of the custom mode value is invalid. */
#define VERR_VGA_INVALID_CUSTOM_MODE (-3500)
/** The display connector is resizing. */
#define VINF_VGA_RESIZE_IN_PROGRESS (3501)
/** Unexpected PCI region change during VGA saved state loading. */
#define VERR_VGA_UNEXPECTED_PCI_REGION_LOAD_CHANGE (-3502)
/** Unabled to locate or load the OpenGL library. */
#define VERR_VGA_GL_LOAD_FAILURE (-3503)
/** Unabled to locate an OpenGL symbol. */
#define VERR_VGA_GL_SYMBOL_NOT_FOUND (-3504)
/** @} */
/** @name Internal Networking Status Codes
* @{
*/
/** The networking interface to filter was not found. */
#define VERR_INTNET_FLT_IF_NOT_FOUND (-3600)
/** The networking interface to filter was busy (used by someone). */
#define VERR_INTNET_FLT_IF_BUSY (-3601)
/** Failed to create or connect to a networking interface filter. */
#define VERR_INTNET_FLT_IF_FAILED (-3602)
/** The network already exists with a different trunk configuration. */
#define VERR_INTNET_INCOMPATIBLE_TRUNK (-3603)
/** The network already exists with a different security profile (restricted / public). */
#define VERR_INTNET_INCOMPATIBLE_FLAGS (-3604)
/** Failed to create a virtual network interface instance. */
#define VERR_INTNET_FLT_VNIC_CREATE_FAILED (-3605)
/** Failed to retrieve a virtual network interface link ID. */
#define VERR_INTNET_FLT_VNIC_LINK_ID_NOT_FOUND (-3606)
/** Failed to initialize a virtual network interface instance. */
#define VERR_INTNET_FLT_VNIC_INIT_FAILED (-3607)
/** Failed to open a virtual network interface instance. */
#define VERR_INTNET_FLT_VNIC_OPEN_FAILED (-3608)
/** Failed to retrieve underlying (lower mac) link. */
#define VERR_INTNET_FLT_LOWER_LINK_INFO_NOT_FOUND (-3609)
/** Failed to open underlying link instance. */
#define VERR_INTNET_FLT_LOWER_LINK_OPEN_FAILED (-3610)
/** Failed to get underlying link ID. */
#define VERR_INTNET_FLT_LOWER_LINK_ID_NOT_FOUND (-3611)
/** @} */
/** @name Support Driver Status Codes
* @{
*/
/** The component factory was not found. */
#define VERR_SUPDRV_COMPONENT_NOT_FOUND (-3700)
/** The component factories do not support the requested interface. */
#define VERR_SUPDRV_INTERFACE_NOT_SUPPORTED (-3701)
/** The service module was not found. */
#define VERR_SUPDRV_SERVICE_NOT_FOUND (-3702)
/** The host kernel is too old. */
#define VERR_SUPDRV_KERNEL_TOO_OLD_FOR_VTX (-3703)
/** Bad VTG magic value. */
#define VERR_SUPDRV_VTG_MAGIC (-3704)
/** Bad VTG bit count value. */
#define VERR_SUPDRV_VTG_BITS (-3705)
/** Bad VTG header - misc. */
#define VERR_SUPDRV_VTG_BAD_HDR_MISC (-3706)
/** Bad VTG header - offset. */
#define VERR_SUPDRV_VTG_BAD_HDR_OFF (-3707)
/** Bad VTG header - offset. */
#define VERR_SUPDRV_VTG_BAD_HDR_PTR (-3708)
/** Bad VTG header - to low value. */
#define VERR_SUPDRV_VTG_BAD_HDR_TOO_FEW (-3709)
/** Bad VTG header - to high value. */
#define VERR_SUPDRV_VTG_BAD_HDR_TOO_MUCH (-3710)
/** Bad VTG header - size value is not a multiple of the structure size. */
#define VERR_SUPDRV_VTG_BAD_HDR_NOT_MULTIPLE (-3711)
/** Bad VTG string table offset. */
#define VERR_SUPDRV_VTG_STRTAB_OFF (-3712)
/** Bad VTG string. */
#define VERR_SUPDRV_VTG_BAD_STRING (-3713)
/** VTG string is too long. */
#define VERR_SUPDRV_VTG_STRING_TOO_LONG (-3714)
/** Bad VTG attribute value. */
#define VERR_SUPDRV_VTG_BAD_ATTR (-3715)
/** Bad VTG provider descriptor. */
#define VERR_SUPDRV_VTG_BAD_PROVIDER (-3716)
/** Bad VTG probe descriptor. */
#define VERR_SUPDRV_VTG_BAD_PROBE (-3717)
/** Bad VTG argument list descriptor. */
#define VERR_SUPDRV_VTG_BAD_ARGLIST (-3718)
/** Bad VTG probe enabled data. */
#define VERR_SUPDRV_VTG_BAD_PROBE_ENABLED (-3719)
/** Bad VTG probe location record. */
#define VERR_SUPDRV_VTG_BAD_PROBE_LOC (-3720)
/** The VTG object for the session or image has already been registered. */
#define VERR_SUPDRV_VTG_ALREADY_REGISTERED (-3721)
/** A driver may only register one VTG object per session. */
#define VERR_SUPDRV_VTG_ONLY_ONCE_PER_SESSION (-3722)
/** A tracer has already been registered. */
#define VERR_SUPDRV_TRACER_ALREADY_REGISTERED (-3723)
/** The session has no tracer associated with it. */
#define VERR_SUPDRV_TRACER_NOT_REGISTERED (-3724)
/** The tracer has already been opened in this sesssion. */
#define VERR_SUPDRV_TRACER_ALREADY_OPENED (-3725)
/** The tracer has not been opened. */
#define VERR_SUPDRV_TRACER_NOT_OPENED (-3726)
/** There is no tracer present. */
#define VERR_SUPDRV_TRACER_NOT_PRESENT (-3727)
/** The tracer is unloading. */
#define VERR_SUPDRV_TRACER_UNLOADING (-3728)
/** Another thread in the session is talking to the tracer. */
#define VERR_SUPDRV_TRACER_SESSION_BUSY (-3729)
/** The tracer cannot open it self in the same session. */
#define VERR_SUPDRV_TRACER_CANNOT_OPEN_SELF (-3730)
/** Bad argument flags. */
#define VERR_SUPDRV_TRACER_BAD_ARG_FLAGS (-3731)
/** The session has reached the max number of (user mode) providers. */
#define VERR_SUPDRV_TRACER_TOO_MANY_PROVIDERS (-3732)
/** The tracepoint provider object is too large. */
#define VERR_SUPDRV_TRACER_TOO_LARGE (-3733)
/** The probe location array isn't adjacent to the probe enable array. */
#define VERR_SUPDRV_TRACER_UMOD_NOT_ADJACENT (-3734)
/** The user mode tracepoint provider has too many probe locations and
* probes. */
#define VERR_SUPDRV_TRACER_UMOD_TOO_MANY_PROBES (-3735)
/** The user mode tracepoint provider string table is too large. */
#define VERR_SUPDRV_TRACER_UMOD_STRTAB_TOO_BIG (-3736)
/** The user mode tracepoint provider string table offset is bad. */
#define VERR_SUPDRV_TRACER_UMOD_STRTAB_OFF_BAD (-3737)
/** The VM process was denied access to vboxdrv because someone have managed to
* open the process or its main thread with too broad access rights. */
#define VERR_SUPDRV_HARDENING_EVIL_HANDLE (-3738)
/** Error opening the ApiPort LPC object. */
#define VERR_SUPDRV_APIPORT_OPEN_ERROR (-3739)
/** Error enumerating all processes in the session. */
#define VERR_SUPDRV_SESSION_PROCESS_ENUM_ERROR (-3740)
/** The CSRSS instance associated with the client process could not be
* located. */
#define VERR_SUPDRV_CSRSS_NOT_FOUND (-3741)
/** Type error opening the ApiPort LPC object. */
#define VERR_SUPDRV_APIPORT_OPEN_ERROR_TYPE (-3742)
/** Failed to measure the TSC delta between two CPUs. */
#define VERR_SUPDRV_TSC_DELTA_MEASUREMENT_FAILED (-3743)
/** Failed to calculate the TSC frequency. */
#define VERR_SUPDRV_TSC_FREQ_MEASUREMENT_FAILED (-3744)
/** Failed to get the delta-adjusted TSC value. */
#define VERR_SUPDRV_TSC_READ_FAILED (-3745)
/** Failed to measure the TSC delta between two CPUs, continue without any
* TSC-delta. */
#define VWRN_SUPDRV_TSC_DELTA_MEASUREMENT_FAILED 3746
/** A TSC-delta measurement request is currently being serviced. */
#define VERR_SUPDRV_TSC_DELTA_MEASUREMENT_BUSY (-3747)
/** The process trying to open VBoxDrv is not a budding VM process (1). */
#define VERR_SUPDRV_NOT_BUDDING_VM_PROCESS_1 (-3748)
/** The process trying to open VBoxDrv is not a budding VM process (2). */
#define VERR_SUPDRV_NOT_BUDDING_VM_PROCESS_2 (-3749)
/** Raw-mode is unavailable courtesy of Hyper-V. */
#define VERR_SUPDRV_NO_RAW_MODE_HYPER_V_ROOT (-7000)
/** @} */
/** @name Support Library Status Codes
* @{
*/
/** The specified path was not absolute (hardening). */
#define VERR_SUPLIB_PATH_NOT_ABSOLUTE (-3750)
/** The specified path was not clean (hardening). */
#define VERR_SUPLIB_PATH_NOT_CLEAN (-3751)
/** The specified path is too long (hardening). */
#define VERR_SUPLIB_PATH_TOO_LONG (-3752)
/** The specified path is too short (hardening). */
#define VERR_SUPLIB_PATH_TOO_SHORT (-3753)
/** The specified path has too many components (hardening). */
#define VERR_SUPLIB_PATH_TOO_MANY_COMPONENTS (-3754)
/** The specified path is a root path (hardening). */
#define VERR_SUPLIB_PATH_IS_ROOT (-3755)
/** Failed to enumerate directory (hardening). */
#define VERR_SUPLIB_DIR_ENUM_FAILED (-3756)
/** Failed to stat a file/dir during enumeration (hardening). */
#define VERR_SUPLIB_STAT_ENUM_FAILED (-3757)
/** Failed to stat a file/dir (hardening). */
#define VERR_SUPLIB_STAT_FAILED (-3758)
/** Failed to fstat a native handle (hardening). */
#define VERR_SUPLIB_FSTAT_FAILED (-3759)
/** Found an illegal symbolic link (hardening). */
#define VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED (-3760)
/** Found something which isn't a file nor a directory (hardening). */
#define VERR_SUPLIB_NOT_DIR_NOT_FILE (-3761)
/** The specified path is a directory and not a file (hardening). */
#define VERR_SUPLIB_IS_DIRECTORY (-3762)
/** The specified path is a file and not a directory (hardening). */
#define VERR_SUPLIB_IS_FILE (-3763)
/** The path is not the same object as the native handle (hardening). */
#define VERR_SUPLIB_NOT_SAME_OBJECT (-3764)
/** The owner is not root (hardening). */
#define VERR_SUPLIB_OWNER_NOT_ROOT (-3765)
/** The group is a non-system group and it has write access (hardening). */
#define VERR_SUPLIB_WRITE_NON_SYS_GROUP (-3766)
/** The file or directory is world writable (hardening). */
#define VERR_SUPLIB_WORLD_WRITABLE (-3767)
/** The argv[0] of an internal application does not match the executable image
* path (hardening). */
#define VERR_SUPLIB_INVALID_ARGV0_INTERNAL (-3768)
/** The internal application does not reside in the correct place (hardening). */
#define VERR_SUPLIB_INVALID_INTERNAL_APP_DIR (-3769)
/** Unable to establish trusted of VM process (0). */
#define VERR_SUPLIB_NT_PROCESS_UNTRUSTED_0 (-3770)
/** Unable to establish trusted of VM process (1). */
#define VERR_SUPLIB_NT_PROCESS_UNTRUSTED_1 (-3771)
/** Unable to establish trusted of VM process (2). */
#define VERR_SUPLIB_NT_PROCESS_UNTRUSTED_2 (-3772)
/** Unable to establish trusted of VM process (3). */
#define VERR_SUPLIB_NT_PROCESS_UNTRUSTED_3 (-3773)
/** Unable to establish trusted of VM process (4). */
#define VERR_SUPLIB_NT_PROCESS_UNTRUSTED_4 (-3774)
/** Unable to establish trusted of VM process (5). */
#define VERR_SUPLIB_NT_PROCESS_UNTRUSTED_5 (-3775)
/** Unable to make text memory writeable (hardening). */
#define VERR_SUPLIB_TEXT_NOT_WRITEABLE (-3776)
/** Unable to seal text memory again to protect against write access (hardening). */
#define VERR_SUPLIB_TEXT_NOT_SEALED (-3777)
/** Unexpected instruction encountered for which there is no patch strategy
* implemented (hardening). */
#define VERR_SUPLIB_UNEXPECTED_INSTRUCTION (-3778)
/** @} */
/** @name VBox GMM Status Codes
* @{
*/
/** Unable to allocate more pages from the host system. */
#define VERR_GMM_OUT_OF_MEMORY (-3801)
/** Hit the global allocation limit.
* If you know there is still sufficient memory available, try raising the limit. */
#define VERR_GMM_HIT_GLOBAL_LIMIT (-3802)
/** Hit the a VM account limit. */
#define VERR_GMM_HIT_VM_ACCOUNT_LIMIT (-3803)
/** Attempt to free more memory than what was previously allocated. */
#define VERR_GMM_ATTEMPT_TO_FREE_TOO_MUCH (-3804)
/** Attempted to report too many pages as deflated. */
#define VERR_GMM_ATTEMPT_TO_DEFLATE_TOO_MUCH (-3805)
/** The page to be freed or updated was not found. */
#define VERR_GMM_PAGE_NOT_FOUND (-3806)
/** The specified shared page was not actually private. */
#define VERR_GMM_PAGE_NOT_PRIVATE (-3807)
/** The specified shared page was not actually shared. */
#define VERR_GMM_PAGE_NOT_SHARED (-3808)
/** The page to be freed was already freed. */
#define VERR_GMM_PAGE_ALREADY_FREE (-3809)
/** The page to be updated or freed was noted owned by the caller. */
#define VERR_GMM_NOT_PAGE_OWNER (-3810)
/** The specified chunk was not found. */
#define VERR_GMM_CHUNK_NOT_FOUND (-3811)
/** The chunk has already been mapped into the process. */
#define VERR_GMM_CHUNK_ALREADY_MAPPED (-3812)
/** The chunk to be unmapped isn't actually mapped into the process. */
#define VERR_GMM_CHUNK_NOT_MAPPED (-3813)
/** The chunk has been mapped too many times already (impossible). */
#define VERR_GMM_TOO_MANY_CHUNK_MAPPINGS (-3814)
/** The reservation or reservation update was declined - too many VMs, too
* little memory, and/or too low GMM configuration. */
#define VERR_GMM_MEMORY_RESERVATION_DECLINED (-3815)
/** A GMM sanity check failed. */
#define VERR_GMM_IS_NOT_SANE (-3816)
/** Inserting a new chunk failed. */
#define VERR_GMM_CHUNK_INSERT (-3817)
/** Failed to obtain the GMM instance. */
#define VERR_GMM_INSTANCE (-3818)
/** Bad mutex semaphore flags. */
#define VERR_GMM_MTX_FLAGS (-3819)
/** Internal processing error in the page allocator. */
#define VERR_GMM_ALLOC_PAGES_IPE (-3820)
/** Invalid page count given to GMMR3FreePagesPerform. */
#define VERR_GMM_ACTUAL_PAGES_IPE (-3821)
/** The shared module name is too long. */
#define VERR_GMM_MODULE_NAME_TOO_LONG (-3822)
/** The shared module version string is too long. */
#define VERR_GMM_MODULE_VERSION_TOO_LONG (-3823)
/** The shared module has too many regions. */
#define VERR_GMM_TOO_MANY_REGIONS (-3824)
/** The guest has reported too many modules. */
#define VERR_GMM_TOO_MANY_PER_VM_MODULES (-3825)
/** The guest has reported too many modules. */
#define VERR_GMM_TOO_MANY_GLOBAL_MODULES (-3826)
/** The shared module is already registered. */
#define VINF_GMM_SHARED_MODULE_ALREADY_REGISTERED (3827)
/** The shared module clashed address wise with a previously registered
* module. */
#define VERR_GMM_SHARED_MODULE_ADDRESS_CLASH (-3828)
/** The shared module was not found. */
#define VERR_GMM_SHARED_MODULE_NOT_FOUND (-3829)
/** The size of the shared module was out of range. */
#define VERR_GMM_BAD_SHARED_MODULE_SIZE (-3830)
/** The size of the one or more regions in the shared module was out of
* range. */
#define VERR_GMM_SHARED_MODULE_BAD_REGIONS_SIZE (-3831)
/** @} */
/** @name VBox GVM Status Codes
* @{
*/
/** The GVM is out of VM handle space. */
#define VERR_GVM_TOO_MANY_VMS (-3900)
/** The EMT was not blocked at the time of the call. */
#define VINF_GVM_NOT_BLOCKED 3901
/** The EMT was not busy running guest code at the time of the call. */
#define VINF_GVM_NOT_BUSY_IN_GC 3902
/** RTThreadYield was called during a GVMMR0SchedPoll call. */
#define VINF_GVM_YIELDED 3903
/** @} */
/** @name VBox VMX Status Codes
* @{
*/
/** VMXON failed; possibly because it was already run before. */
#define VERR_VMX_VMXON_FAILED (-4000)
/** Invalid VMCS pointer.
* (Can be OR'ed with VERR_VMX_INVALID_VMCS_FIELD.) */
#define VERR_VMX_INVALID_VMCS_PTR (-4001)
/** Invalid VMCS index or write to read-only element. */
#define VERR_VMX_INVALID_VMCS_FIELD (-4002)
/** Reserved for future status code that we wish to OR with
* VERR_VMX_INVALID_VMCS_PTR and VERR_VMX_INVALID_VMCS_FIELD. */
#define VERR_VMX_RESERVED (-4003)
/** Invalid VMXON pointer. */
#define VERR_VMX_INVALID_VMXON_PTR (-4004)
/** Unable to start VM execution. */
#define VERR_VMX_UNABLE_TO_START_VM (-4005)
/** Unable to switch due to invalid host state. */
#define VERR_VMX_INVALID_HOST_STATE (-4006)
/** VMX CPU extension not available in hardware. */
#define VERR_VMX_NO_VMX (-4009)
/** CPU was incorrectly left in VMX root mode; incompatible with VirtualBox */
#define VERR_VMX_IN_VMX_ROOT_MODE (-4011)
/** Somebody cleared X86_CR4_VMXE in the CR4 register. */
#define VERR_VMX_X86_CR4_VMXE_CLEARED (-4012)
/** Failed to enable and lock VT-x features. */
#define VERR_VMX_MSR_LOCKING_FAILED (-4013)
/** Unable to switch due to invalid guest state. */
#define VERR_VMX_INVALID_GUEST_STATE (-4014)
/** Unexpected VM exit. */
#define VERR_VMX_UNEXPECTED_EXIT (-4015)
/** Unexpected VM exception. */
#define VERR_VMX_UNEXPECTED_EXCEPTION (-4016)
/** Unexpected interruption exit type. */
#define VERR_VMX_UNEXPECTED_INTERRUPTION_EXIT_TYPE (-4017)
/** CPU is not in VMX root mode; unexpected when leaving VMX root mode. */
#define VERR_VMX_NOT_IN_VMX_ROOT_MODE (-4018)
/** Undefined VM exit code. */
#define VERR_VMX_UNDEFINED_EXIT_CODE (-4019)
/** VMPTRLD failed; possibly because of invalid VMCS launch-state. */
#define VERR_VMX_VMPTRLD_FAILED (-4021)
/** Invalid VMCS pointer passed to VMLAUNCH/VMRESUME. */
#define VERR_VMX_INVALID_VMCS_PTR_TO_START_VM (-4022)
/** Internal VMX processing error no 1. */
#define VERR_VMX_IPE_1 (-4023)
/** Internal VMX processing error no 2. */
#define VERR_VMX_IPE_2 (-4024)
/** Internal VMX processing error no 3. */
#define VERR_VMX_IPE_3 (-4025)
/** Internal VMX processing error no 4. */
#define VERR_VMX_IPE_4 (-4026)
/** Internal VMX processing error no 5. */
#define VERR_VMX_IPE_5 (-4027)
/** VT-x features for all modes (SMX and non-SMX) disabled by the BIOS. */
#define VERR_VMX_MSR_ALL_VMX_DISABLED (-4028)
/** VT-x features disabled by the BIOS. */
#define VERR_VMX_MSR_VMX_DISABLED (-4029)
/** VT-x VMCS field cache invalid. */
#define VERR_VMX_VMCS_FIELD_CACHE_INVALID (-4030)
/** Failed to set VMXON enable bit while enabling VT-x through the MSR. */
#define VERR_VMX_MSR_VMX_ENABLE_FAILED (-4031)
/** Failed to enable VMXON-in-SMX bit while enabling VT-x through the MSR. */
#define VERR_VMX_MSR_SMX_VMX_ENABLE_FAILED (-4032)
/** An operation caused a nested-guest VM-exit. */
#define VINF_VMX_VMEXIT 4033
/** Generic VM-entry failure. */
#define VERR_VMX_VMENTRY_FAILED (-4033)
/** Generic VM-exit failure. */
#define VERR_VMX_VMEXIT_FAILED (-4034)
/** The requested nested-guest VMX intercept is not active or not in
* nested-guest execution mode. */
#define VINF_VMX_INTERCEPT_NOT_ACTIVE 4035
/** The behavior of the instruction/operation is modified/needs modification
* in VMX non-root mode. */
#define VINF_VMX_MODIFIES_BEHAVIOR 4036
/** VMLAUNCH/VMRESUME succeeded, can enter nested-guest execution. */
#define VINF_VMX_VMLAUNCH_VMRESUME 4037
/** VT-x VMCS launch state invalid. */
#define VERR_VMX_INVALID_VMCS_LAUNCH_STATE (-4038)
/** Precodition no 0 in hmR0VMXStartVm failed. */
#define VERR_VMX_STARTVM_PRECOND_0 (-4039)
/** Precodition no 1 in hmR0VMXStartVm failed. */
#define VERR_VMX_STARTVM_PRECOND_1 (-4040)
/** Precodition no 2 in hmR0VMXStartVm failed. */
#define VERR_VMX_STARTVM_PRECOND_2 (-4041)
/** Precodition no 3 in hmR0VMXStartVm failed. */
#define VERR_VMX_STARTVM_PRECOND_3 (-4042)
/** @} */
/** @name VBox SVM Status Codes
* @{
*/
/** Unable to start VM execution. */
#define VERR_SVM_UNABLE_TO_START_VM (-4050)
/** AMD-V bit not set in K6_EFER MSR */
#define VERR_SVM_ILLEGAL_EFER_MSR (-4051)
/** AMD-V CPU extension not available. */
#define VERR_SVM_NO_SVM (-4052)
/** AMD-V CPU extension disabled (by BIOS). */
#define VERR_SVM_DISABLED (-4053)
/** AMD-V CPU extension in-use. */
#define VERR_SVM_IN_USE (-4054)
/** Invalid pVMCB. */
#define VERR_SVM_INVALID_PVMCB (-4055)
/** Unexpected SVM exit. */
#define VERR_SVM_UNEXPECTED_EXIT (-4056)
/** Unexpected SVM exception exit. */
#define VERR_SVM_UNEXPECTED_XCPT_EXIT (-4057)
/** Unexpected SVM patch type. */
#define VERR_SVM_UNEXPECTED_PATCH_TYPE (-4058)
/** Unable to start VM execution due to an invalid guest state. */
#define VERR_SVM_INVALID_GUEST_STATE (-4059)
/** Unknown or unrecognized SVM exit. */
#define VERR_SVM_UNKNOWN_EXIT (-4060)
/** Internal SVM processing error no 1. */
#define VERR_SVM_IPE_1 (-4061)
/** Internal SVM processing error no 2. */
#define VERR_SVM_IPE_2 (-4062)
/** Internal SVM processing error no 3. */
#define VERR_SVM_IPE_3 (-4063)
/** Internal SVM processing error no 4. */
#define VERR_SVM_IPE_4 (-4064)
/** Internal SVM processing error no 5. */
#define VERR_SVM_IPE_5 (-4065)
/** The nested-guest \#VMEXIT processing failed, initiate shutdown. */
#define VERR_SVM_VMEXIT_FAILED (-4066)
/** An operation caused a nested-guest SVM \#VMEXIT. */
#define VINF_SVM_VMEXIT 4067
/** VMRUN emulation succeeded, ready to immediately enter the nested-guest. */
#define VINF_SVM_VMRUN 4068
/** The requested nested-guest SVM intercept is not active or not in
* nested-guest execution mode. */
#define VINF_SVM_INTERCEPT_NOT_ACTIVE 4069
/** Precodition no 0 in hmR0SvmVmRun failed. */
#define VERR_SVM_VMRUN_PRECOND_0 (-4070)
/** Precodition no 1 in hmR0SvmVmRun failed. */
#define VERR_SVM_VMRUN_PRECOND_1 (-4071)
/** Precodition no 2 in hmR0SvmVmRun failed. */
#define VERR_SVM_VMRUN_PRECOND_2 (-4072)
/** Precodition no 3 in hmR0SvmVmRun failed. */
#define VERR_SVM_VMRUN_PRECOND_3 (-4073)
/** @} */
/** @name VBox HM Status Codes
* @{
*/
/** Host is about to go into suspend mode. */
#define VERR_HM_SUSPEND_PENDING (-4100)
/** Conflicting CFGM values. */
#define VERR_HM_CONFIG_MISMATCH (-4103)
/** Internal processing error in the HM init code. */
#define VERR_HM_ALREADY_ENABLED_IPE (-4104)
/** Unexpected MSR in the auto-load/store area. */
#define VERR_HM_UNEXPECTED_LD_ST_MSR (-4105)
/** No 32-bit to 64-bit switcher in place. */
#define VERR_HM_NO_32_TO_64_SWITCHER (-4106)
/** HMR0Leave was called on the wrong CPU. */
#define VERR_HM_WRONG_CPU (-4107)
/** Internal processing error \#1 in the HM code. */
#define VERR_HM_IPE_1 (-4108)
/** Internal processing error \#2 in the HM code. */
#define VERR_HM_IPE_2 (-4109)
/** Wrong 32/64-bit switcher. */
#define VERR_HM_WRONG_SWITCHER (-4110)
/** Unknown I/O instruction. */
#define VERR_HM_UNKNOWN_IO_INSTRUCTION (-4111)
/** Unsupported CPU feature combination. */
#define VERR_HM_UNSUPPORTED_CPU_FEATURE_COMBO (-4112)
/** Internal processing error \#3 in the HM code. */
#define VERR_HM_IPE_3 (-4113)
/** Internal processing error \#4 in the HM code. */
#define VERR_HM_IPE_4 (-4114)
/** Internal processing error \#5 in the HM code. */
#define VERR_HM_IPE_5 (-4115)
/** Invalid HM64ON32OP value. */
#define VERR_HM_INVALID_HM64ON32OP (-4116)
/** Resume guest execution after injecting a double-fault. */
#define VINF_HM_DOUBLE_FAULT 4117
/** Pending exception; continue guest execution. */
#define VINF_HM_PENDING_XCPT 4118
/** @} */
/** @name VBox Disassembler Status Codes
* @{
*/
/** Invalid opcode byte(s) */
#define VERR_DIS_INVALID_OPCODE (-4200)
/** Generic failure during disassembly. */
#define VERR_DIS_GEN_FAILURE (-4201)
/** No read callback. */
#define VERR_DIS_NO_READ_CALLBACK (-4202)
/** Invalid Mod/RM. */
#define VERR_DIS_INVALID_MODRM (-4203)
/** Invalid parameter index. */
#define VERR_DIS_INVALID_PARAMETER (-4204)
/** The instruction is too long. */
#define VERR_DIS_TOO_LONG_INSTR (-4206)
/** @} */
/** @name VBox Webservice Status Codes
* @{
*/
/** Authentication failed (ISessionManager::logon()) */
#define VERR_WEB_NOT_AUTHENTICATED (-4300)
/** Invalid format of managed object reference */
#define VERR_WEB_INVALID_MANAGED_OBJECT_REFERENCE (-4301)
/** Invalid session ID in managed object reference */
#define VERR_WEB_INVALID_SESSION_ID (-4302)
/** Invalid object ID in managed object reference */
#define VERR_WEB_INVALID_OBJECT_ID (-4303)
/** Unsupported interface for managed object reference */
#define VERR_WEB_UNSUPPORTED_INTERFACE (-4304)
/** @} */
/** @name VBox PARAV Status Codes
* @{
*/
/** Switch back to host */
#define VINF_PARAV_SWITCH_TO_HOST 4400
/** @} */
/** @name VBox Video HW Acceleration command status
* @{
*/
/** command processing is pending, a completion handler will be called */
#define VINF_VHWA_CMD_PENDING 4500
/** @} */
/** @name VBox COM error codes
*
* @remarks Global::vboxStatusCodeToCOM and Global::vboxStatusCodeFromCOM uses
* these for conversion that is lossless with respect to important COM
* status codes. These methods should be moved to the glue library.
* @{ */
/** Unexpected turn of events. */
#define VERR_COM_UNEXPECTED (-4600)
/** The base of the VirtualBox COM status codes (the lower value)
* corresponding 1:1 to VBOX_E_XXX. This is the lowest value. */
#define VERR_COM_VBOX_LOWEST (-4699)
/** Object corresponding to the supplied arguments does not exist. */
#define VERR_COM_OBJECT_NOT_FOUND (VERR_COM_VBOX_LOWEST + 1)
/** Current virtual machine state prevents the operation. */
#define VERR_COM_INVALID_VM_STATE (VERR_COM_VBOX_LOWEST + 2)
/** Virtual machine error occurred attempting the operation. */
#define VERR_COM_VM_ERROR (VERR_COM_VBOX_LOWEST + 3)
/** File not accessible or erroneous file contents. */
#define VERR_COM_FILE_ERROR (VERR_COM_VBOX_LOWEST + 4)
/** IPRT error. */
#define VERR_COM_IPRT_ERROR (VERR_COM_VBOX_LOWEST + 5)
/** Pluggable Device Manager error. */
#define VERR_COM_PDM_ERROR (VERR_COM_VBOX_LOWEST + 6)
/** Current object state prohibits operation. */
#define VERR_COM_INVALID_OBJECT_STATE (VERR_COM_VBOX_LOWEST + 7)
/** Host operating system related error. */
#define VERR_COM_HOST_ERROR (VERR_COM_VBOX_LOWEST + 8)
/** Requested operation is not supported. */
#define VERR_COM_NOT_SUPPORTED (VERR_COM_VBOX_LOWEST + 9)
/** Invalid XML found. */
#define VERR_COM_XML_ERROR (VERR_COM_VBOX_LOWEST + 10)
/** Current session state prohibits operation. */
#define VERR_COM_INVALID_SESSION_STATE (VERR_COM_VBOX_LOWEST + 11)
/** Object being in use prohibits operation. */
#define VERR_COM_OBJECT_IN_USE (VERR_COM_VBOX_LOWEST + 12)
/** Returned by callback methods which does not need to be called
* again because the client does not actually make use of them. */
#define VERR_COM_DONT_CALL_AGAIN (VERR_COM_VBOX_LOWEST + 13)
/** @} */
/** @name VBox VMMDev Status codes
* @{
*/
/** CPU hotplug events from VMMDev are not monitored by the guest. */
#define VERR_VMMDEV_CPU_HOTPLUG_NOT_MONITORED_BY_GUEST (-4700)
/** @} */
/** @name VBox async I/O manager Status Codes
* @{
*/
/** Async I/O task is pending, a completion handler will be called. */
#define VINF_AIO_TASK_PENDING 4800
/** @} */
/** @name VBox Virtual SCSI Status Codes
* @{
*/
/** LUN type is not supported. */
#define VERR_VSCSI_LUN_TYPE_NOT_SUPPORTED (-4900)
/** LUN is already/still attached to a device. */
#define VERR_VSCSI_LUN_ATTACHED_TO_DEVICE (-4901)
/** The specified LUN is invalid. */
#define VERR_VSCSI_LUN_INVALID (-4902)
/** The LUN is not attached to the device. */
#define VERR_VSCSI_LUN_NOT_ATTACHED (-4903)
/** The LUN is still busy. */
#define VERR_VSCSI_LUN_BUSY (-4904)
/** @} */
/** @name VBox FAM Status Codes
* @{
*/
/** FAM failed to open a connection. */
#define VERR_FAM_OPEN_FAILED (-5000)
/** FAM failed to add a file to the list to be monitored. */
#define VERR_FAM_MONITOR_FILE_FAILED (-5001)
/** FAM failed to add a directory to the list to be monitored. */
#define VERR_FAM_MONITOR_DIRECTORY_FAILED (-5002)
/** The connection to the FAM daemon was lost. */
#define VERR_FAM_CONNECTION_LOST (-5003)
/** @} */
/** @name PCI Bus & Passthrough Status Codes
* @{
*/
/** RamPreAlloc not set.
* RAM pre-allocation is currently a requirement for PCI passthrough. */
#define VERR_PCI_PASSTHROUGH_NO_RAM_PREALLOC (-5100)
/** VT-x/AMD-V not active.
* PCI passthrough currently works only if VT-x/AMD-V is active. */
#define VERR_PCI_PASSTHROUGH_NO_HM (-5101)
/** Nested paging not active.
* PCI passthrough currently works only if nested paging is active. */
#define VERR_PCI_PASSTHROUGH_NO_NESTED_PAGING (-5102)
/** Special return code from a PCI I/O region mapping handler that tells the BUS
* that it has done the mapping already. */
#define VINF_PCI_MAPPING_DONE 5150
/** @} */
/** @name GVMM Status Codes
* @{
*/
/** Internal error obtaining the GVMM instance. */
#define VERR_GVMM_INSTANCE (-5200)
/** GVMM does not support the range of CPUs present/possible on the host. */
#define VERR_GVMM_HOST_CPU_RANGE (-5201)
/** GVMM ran into some broken IPRT code. */
#define VERR_GVMM_BROKEN_IPRT (-5202)
/** Internal processing error \#1 in the GVMM code. */
#define VERR_GVMM_IPE_1 (-5203)
/** Internal processing error \#2 in the GVMM code. */
#define VERR_GVMM_IPE_2 (-5204)
/** Cannot destroy VM because not all other EMTs have deregistered. */
#define VERR_GVMM_NOT_ALL_EMTS_DEREGISTERED (-5205)
/** @} */
/** @name IEM Status Codes
* @{ */
/** The instruction is not yet implemented by IEM. */
#define VERR_IEM_INSTR_NOT_IMPLEMENTED (-5300)
/** Invalid operand size passed to an IEM function. */
#define VERR_IEM_INVALID_OPERAND_SIZE (-5301)
/** Invalid address mode passed to an IEM function. */
#define VERR_IEM_INVALID_ADDRESS_MODE (-5302)
/** Invalid effective segment register number passed to an IEM function. */
#define VERR_IEM_INVALID_EFF_SEG (-5303)
/** Invalid instruction length passed to an IEM function. */
#define VERR_IEM_INVALID_INSTR_LENGTH (-5304)
/** Internal status code for indicating that a selector isn't valid (LAR, LSL,
* VERR, VERW). This is not used outside the instruction implementations. */
#define VINF_IEM_SELECTOR_NOT_OK (5305)
/** Restart the current instruction. For testing only. */
#define VERR_IEM_RESTART_INSTRUCTION (-5389)
/** This particular aspect of the instruction is not yet implemented by IEM. */
#define VERR_IEM_ASPECT_NOT_IMPLEMENTED (-5390)
/** Internal processing error \#1 in the IEM code. */
#define VERR_IEM_IPE_1 (-5391)
/** Internal processing error \#2 in the IEM code. */
#define VERR_IEM_IPE_2 (-5392)
/** Internal processing error \#3 in the IEM code. */
#define VERR_IEM_IPE_3 (-5393)
/** Internal processing error \#4 in the IEM code. */
#define VERR_IEM_IPE_4 (-5394)
/** Internal processing error \#5 in the IEM code. */
#define VERR_IEM_IPE_5 (-5395)
/** Internal processing error \#6 in the IEM code. */
#define VERR_IEM_IPE_6 (-5396)
/** Internal processing error \#7 in the IEM code. */
#define VERR_IEM_IPE_7 (-5397)
/** Internal processing error \#8 in the IEM code. */
#define VERR_IEM_IPE_8 (-5398)
/** Internal processing error \#9 in the IEM code. */
#define VERR_IEM_IPE_9 (-5399)
/** @} */
/** @name DBGC Status Codes
* @{ */
/** Status that causes DBGC to quit. */
#define VERR_DBGC_QUIT (-5400)
/** Async command pending. */
#define VWRN_DBGC_CMD_PENDING 5401
/** The command has already been registered. */
#define VWRN_DBGC_ALREADY_REGISTERED 5402
/** The command cannot be deregistered because has not been registered. */
#define VERR_DBGC_COMMANDS_NOT_REGISTERED (-5403)
/** Unknown breakpoint. */
#define VERR_DBGC_BP_NOT_FOUND (-5404)
/** The breakpoint already exists. */
#define VERR_DBGC_BP_EXISTS (-5405)
/** The breakpoint has no command. */
#define VINF_DBGC_BP_NO_COMMAND 5406
/** Generic debugger command failure. */
#define VERR_DBGC_COMMAND_FAILED (-5407)
/** Logic bug in the DBGC code. */
#define VERR_DBGC_IPE (-5408)
/** The lowest parse status code. */
#define VERR_DBGC_PARSE_LOWEST (-5499)
/** Syntax error - too few arguments. */
#define VERR_DBGC_PARSE_TOO_FEW_ARGUMENTS (VERR_DBGC_PARSE_LOWEST + 0)
/** Syntax error - too many arguments. */
#define VERR_DBGC_PARSE_TOO_MANY_ARGUMENTS (VERR_DBGC_PARSE_LOWEST + 1)
/** Syntax error - too many arguments for static storage. */
#define VERR_DBGC_PARSE_ARGUMENT_OVERFLOW (VERR_DBGC_PARSE_LOWEST + 2)
/** Syntax error - expected binary operator. */
#define VERR_DBGC_PARSE_EXPECTED_BINARY_OP (VERR_DBGC_PARSE_LOWEST + 3)
/** Syntax error - the argument does not allow a range to be specified. */
#define VERR_DBGC_PARSE_NO_RANGE_ALLOWED (VERR_DBGC_PARSE_LOWEST + 5)
/** Syntax error - unbalanced quotes. */
#define VERR_DBGC_PARSE_UNBALANCED_QUOTE (VERR_DBGC_PARSE_LOWEST + 6)
/** Syntax error - unbalanced parenthesis. */
#define VERR_DBGC_PARSE_UNBALANCED_PARENTHESIS (VERR_DBGC_PARSE_LOWEST + 7)
/** Syntax error - an argument or subargument contains nothing useful. */
#define VERR_DBGC_PARSE_EMPTY_ARGUMENT (VERR_DBGC_PARSE_LOWEST + 8)
/** Syntax error - invalid operator usage. */
#define VERR_DBGC_PARSE_UNEXPECTED_OPERATOR (VERR_DBGC_PARSE_LOWEST + 9)
/** Syntax error - invalid numeric value. */
#define VERR_DBGC_PARSE_INVALID_NUMBER (VERR_DBGC_PARSE_LOWEST + 10)
/** Syntax error - numeric overflow. */
#define VERR_DBGC_PARSE_NUMBER_TOO_BIG (VERR_DBGC_PARSE_LOWEST + 11)
/** Syntax error - invalid operation attempted. */
#define VERR_DBGC_PARSE_INVALID_OPERATION (VERR_DBGC_PARSE_LOWEST + 12)
/** Syntax error - function not found. */
#define VERR_DBGC_PARSE_FUNCTION_NOT_FOUND (VERR_DBGC_PARSE_LOWEST + 13)
/** Syntax error - the specified function is not a function. */
#define VERR_DBGC_PARSE_NOT_A_FUNCTION (VERR_DBGC_PARSE_LOWEST + 14)
/** Syntax error - out of scratch memory. */
#define VERR_DBGC_PARSE_NO_SCRATCH (VERR_DBGC_PARSE_LOWEST + 15)
/** Syntax error - out of regular heap memory. */
#define VERR_DBGC_PARSE_NO_MEMORY (VERR_DBGC_PARSE_LOWEST + 16)
/** Syntax error - incorrect argument type. */
#define VERR_DBGC_PARSE_INCORRECT_ARG_TYPE (VERR_DBGC_PARSE_LOWEST + 17)
/** Syntax error - an undefined variable was referenced. */
#define VERR_DBGC_PARSE_VARIABLE_NOT_FOUND (VERR_DBGC_PARSE_LOWEST + 18)
/** Syntax error - a type conversion failed. */
#define VERR_DBGC_PARSE_CONVERSION_FAILED (VERR_DBGC_PARSE_LOWEST + 19)
/** Syntax error - you hit a debugger feature which isn't implemented yet.
* (Feel free to help implement it.) */
#define VERR_DBGC_PARSE_NOT_IMPLEMENTED (VERR_DBGC_PARSE_LOWEST + 20)
/** Syntax error - Couldn't satisfy a request for a specific result type. */
#define VERR_DBGC_PARSE_BAD_RESULT_TYPE (VERR_DBGC_PARSE_LOWEST + 21)
/** Syntax error - Cannot read symbol value, it is a set-only symbol. */
#define VERR_DBGC_PARSE_WRITEONLY_SYMBOL (VERR_DBGC_PARSE_LOWEST + 22)
/** Syntax error - Invalid command name. */
#define VERR_DBGC_PARSE_INVALD_COMMAND_NAME (VERR_DBGC_PARSE_LOWEST + 23)
/** Syntax error - Command not found. */
#define VERR_DBGC_PARSE_COMMAND_NOT_FOUND (VERR_DBGC_PARSE_LOWEST + 24)
/** Syntax error - buggy parser. */
#define VERR_DBGC_PARSE_BUG (VERR_DBGC_PARSE_LOWEST + 25)
/** @} */
/** @name Support driver/library shared verification status codes.
* @{ */
/** Process Verification Failure: The memory content does not match the image
* file. */
#define VERR_SUP_VP_MEMORY_VS_FILE_MISMATCH (-5600)
/** Process Verification Failure: The memory protection of a image file section
* does not match what the section header prescribes. */
#define VERR_SUP_VP_SECTION_PROTECTION_MISMATCH (-5601)
/** Process Verification Failure: One of the section in the image file is not
* mapped into memory. */
#define VERR_SUP_VP_SECTION_NOT_MAPPED (-5602)
/** Process Verification Failure: One of the section in the image file is not
* fully mapped into memory. */
#define VERR_SUP_VP_SECTION_NOT_FULLY_MAPPED (-5603)
/** Process Verification Failure: Bad file alignment value in image header. */
#define VERR_SUP_VP_BAD_FILE_ALIGNMENT_VALUE (-5604)
/** Process Verification Failure: Bad image base in header. */
#define VERR_SUP_VP_BAD_IMAGE_BASE (-5605)
/** Process Verification Failure: Bad image signature. */
#define VERR_SUP_VP_BAD_IMAGE_SIGNATURE (-5606)
/** Process Verification Failure: Bad image size. */
#define VERR_SUP_VP_BAD_IMAGE_SIZE (-5607)
/** Process Verification Failure: Bad new-header offset in the MZ header. */
#define VERR_SUP_VP_BAD_MZ_OFFSET (-5608)
/** Process Verification Failure: Bad optional header field. */
#define VERR_SUP_VP_BAD_OPTIONAL_HEADER (-5609)
/** Process Verification Failure: Bad section alignment value in image
* header. */
#define VERR_SUP_VP_BAD_SECTION_ALIGNMENT_VALUE (-5610)
/** Process Verification Failure: Bad section raw data size. */
#define VERR_SUP_VP_BAD_SECTION_FILE_SIZE (-5611)
/** Process Verification Failure: Bad virtual section address. */
#define VERR_SUP_VP_BAD_SECTION_RVA (-5612)
/** Process Verification Failure: Bad virtual section size. */
#define VERR_SUP_VP_BAD_SECTION_VIRTUAL_SIZE (-5613)
/** Process Verification Failure: Bad size of image header. */
#define VERR_SUP_VP_BAD_SIZE_OF_HEADERS (-5614)
/** Process Verification Failure: The process is being debugged. */
#define VERR_SUP_VP_DEBUGGED (-5615)
/** Process Verification Failure: A DLL was found more than once. */
#define VERR_SUP_VP_DUPLICATE_DLL_MAPPING (-5616)
/** Process Verification Failure: Image section region is too large. */
#define VERR_SUP_VP_EMPTY_REGION_TOO_LARGE (-5617)
/** Process Verification Failure: Executable file name and process image name
* does not match up. */
#define VERR_SUP_VP_EXE_VS_PROC_NAME_MISMATCH (-5618)
/** Process Verification Failure: Found executable memory allocated in the
* process. There is only supposed be executable memory associated with
* image file mappings (DLLs & EXE). */
#define VERR_SUP_VP_FOUND_EXEC_MEMORY (-5619)
/** Process Verification Failure: There is more than one known executable mapped
* into the process. */
#define VERR_SUP_VP_FOUND_MORE_THAN_ONE_EXE_MAPPING (-5620)
/** Process Verification Failure: Error closing image file handle. */
#define VERR_SUP_VP_IMAGE_FILE_CLOSE_ERROR (-5621)
/** Process Verification Failure: Error opening image file. */
#define VERR_SUP_VP_IMAGE_FILE_OPEN_ERROR (-5622)
/** Process Verification Failure: Error reading image file header. */
#define VERR_SUP_VP_IMAGE_HDR_READ_ERROR (-5623)
/** Process Verification Failure: Image mapping is bogus as the first region
* has different AllocationBase and BaseAddress values, indicating that a
* section was unmapped or otherwise tampered with. */
#define VERR_SUP_VP_IMAGE_MAPPING_BASE_ERROR (-5624)
/** Process Verification Failure: Error reading process memory for comparing
* with disk data. */
#define VERR_SUP_VP_MEMORY_READ_ERROR (-5625)
/** Process Verification Failure: Found no executable mapped into the process
* address space. */
#define VERR_SUP_VP_NO_FOUND_NO_EXE_MAPPING (-5626)
/** Process Verification Failure: An image mapping failed to report a name. */
#define VERR_SUP_VP_NO_IMAGE_MAPPING_NAME (-5627)
/** Process Verification Failure: No KERNE32.DLL mapping found. This is
* impossible. */
#define VERR_SUP_VP_NO_KERNEL32_MAPPING (-5628)
/** Process Verification Failure: Error allocating memory. */
#define VERR_SUP_VP_NO_MEMORY (-5629)
/** Process Verification Failure: Error allocating state memory or querying
* the system32 path. */
#define VERR_SUP_VP_NO_MEMORY_STATE (-5630)
/** Process Verification Failure: No NTDLL.DLL mapping found. This is
* impossible. */
#define VERR_SUP_VP_NO_NTDLL_MAPPING (-5631)
/** Process Verification Failure: A DLL residing outside System32 was found
* in the process. */
#define VERR_SUP_VP_NON_SYSTEM32_DLL (-5632)
/** Process Verification Failure: An unknown and unwanted DLL was found loaded
* into the process. */
#define VERR_SUP_VP_NOT_KNOWN_DLL_OR_EXE (-5633)
/** Process Verification Failure: The name of an image file changes between
* mapping regions. */
#define VERR_SUP_VP_NT_MAPPING_NAME_CHANGED (-5634)
/** Process Verification Failure: Error querying process name. */
#define VERR_SUP_VP_NT_QI_PROCESS_NM_ERROR (-5635)
/** Process Verification Failure: Error querying thread information. */
#define VERR_SUP_VP_NT_QI_THREAD_ERROR (-5636)
/** Process Verification Failure: Error query virtual memory information. */
#define VERR_SUP_VP_NT_QI_VIRTUAL_MEMORY_ERROR (-5637)
/** Process Verification Failure: Error query virtual memory mapping name. */
#define VERR_SUP_VP_NT_QI_VIRTUAL_MEMORY_NM_ERROR (-5638)
/** Process Verification Failure: Error determining the full path of
* System32. */
#define VERR_SUP_VP_SYSTEM32_PATH (-5639)
/** Process Verification Failure: The process has more than one thread. */
#define VERR_SUP_VP_THREAD_NOT_ALONE (-5640)
/** Process Verification Failure: The image mapping is too large (>= 2GB). */
#define VERR_SUP_VP_TOO_HIGH_REGION_RVA (-5641)
/** Process Verification Failure: The memory region is too large (>= 2GB). */
#define VERR_SUP_VP_TOO_LARGE_REGION (-5642)
/** Process Verification Failure: There are too many DLLs loaded. */
#define VERR_SUP_VP_TOO_MANY_DLLS_LOADED (-5643)
/** Process Verification Failure: An image has too many regions. */
#define VERR_SUP_VP_TOO_MANY_IMAGE_REGIONS (-5644)
/** Process Verification Failure: The process has too many virtual memory
* regions. */
#define VERR_SUP_VP_TOO_MANY_MEMORY_REGIONS (-5645)
/** Process Verification Failure: An image has too many sections. */
#define VERR_SUP_VP_TOO_MANY_SECTIONS (-5646)
/** Process Verification Failure: An image is targeting an unexpected
* machine/CPU. */
#define VERR_SUP_VP_UNEXPECTED_IMAGE_MACHINE (-5647)
/** Process Verification Failure: Unexpected section protection flag
* combination. */
#define VERR_SUP_VP_UNEXPECTED_SECTION_FLAGS (-5648)
/** Process Verification Failure: Expected the process and exe to have forced
* integrity checking enabled (verifying signatures). */
#define VERR_SUP_VP_EXE_MISSING_FORCE_INTEGRITY (-5649)
/** Process Verification Failure: Expected the process and exe to have dynamic
* base enabled. */
#define VERR_SUP_VP_EXE_MISSING_DYNAMIC_BASE (-5650)
/** Process Verification Failure: Expected the process and exe to advertise
* NX compatibility. */
#define VERR_SUP_VP_EXE_MISSING_NX_COMPAT (-5651)
/** Process Verification Failure: The DllCharacteristics of the process
* does not match the value in the optional header in the exe file. */
#define VERR_SUP_VP_DLL_CHARECTERISTICS_MISMATCH (-5652)
/** Process Verification Failure: The ImageCharacteristics of the process
* does not match the value in the file header in the exe file. */
#define VERR_SUP_VP_IMAGE_CHARECTERISTICS_MISMATCH (-5653)
/** Process Verification Failure: Error querying image information. */
#define VERR_SUP_VP_NT_QI_PROCESS_IMG_INFO_ERROR (-5654)
/** Process Verification Failure: Error querying debug port. */
#define VERR_SUP_VP_NT_QI_PROCESS_DBG_PORT_ERROR (-5655)
/** WinVerifyTrust failed with an unexpected status code when using the
* catalog-file approach. */
#define VERR_SUP_VP_WINTRUST_CAT_FAILURE (-5656)
/** The image is required to be signed with the same certificate as the rest
* of VirtualBox. */
#define VERR_SUP_VP_NOT_SIGNED_WITH_BUILD_CERT (-5657)
/** Internal processing error: Not build certificate. */
#define VERR_SUP_VP_NOT_BUILD_CERT_IPE (-5658)
/** The image requires to be signed using the kernel-code signing process. */
#define VERR_SUP_VP_NOT_VALID_KERNEL_CODE_SIGNATURE (-5659)
/** Unexpected number of valid paths. */
#define VERR_SUP_VP_UNEXPECTED_VALID_PATH_COUNT (-5660)
/** The image is required to force integrity checks. */
#define VERR_SUP_VP_SIGNATURE_CHECKS_NOT_ENFORCED (-5661)
/** Process Verification Failure: Symantec Endpoint Protection must be
* disabled for the VirtualBox VM processes.
* http://www.symantec.com/connect/articles/creating-application-control-exclusions-symantec-endpoint-protection-121 */
#define VERR_SUP_VP_SYSFER_DLL (-5662)
/** Process Purification Failure: KERNE32.DLL already mapped into the initial
* process (suspended). */
#define VERR_SUP_VP_KERNEL32_ALREADY_MAPPED (-5663)
/** Process Purification Failure: NtFreeVirtualMemory failed on a chunk of
* executable memory which shouldn't be present in the process. */
#define VERR_SUP_VP_FREE_VIRTUAL_MEMORY_FAILED (-5664)
/** Process Purification Failure: Both NtUnmapViewOfSetion and
* NtProtectVirtualMemory failed to get rid of or passify an non-image
* executable mapping. */
#define VERR_SUP_VP_UNMAP_AND_PROTECT_FAILED (-5665)
/** Process Purification Failure: Unknown memory type of executable memory. */
#define VERR_SUP_VP_UNKOWN_MEM_TYPE (-5666)
/** The image file is not owned by TrustedInstaller is it should be. */
#define VERR_SUP_VP_NOT_OWNED_BY_TRUSTED_INSTALLER (-5667)
/** The image is outside the expected range. */
#define VERR_SUP_VP_IMAGE_TOO_BIG (-5668)
/** Stub process not found so it cannot be revalidated when vboxdrv is opened
* by the VM process. */
#define VERR_SUP_VP_STUB_NOT_FOUND (-5669)
/** Error opening the stub process for revalidation when vboxdrv is opened by
* the VM process. */
#define VERR_SUP_VP_STUB_OPEN_ERROR (-5670)
/** Stub process thread not found during revalidation upon vboxdrv opening by
* the VM process. */
#define VERR_SUP_VP_STUB_THREAD_NOT_FOUND (-5671)
/** Error opening the stub process thread for revalidation when vboxdrv is
* opened by the VM process. */
#define VERR_SUP_VP_STUB_THREAD_OPEN_ERROR (-5672)
/** Process Purification Failure: NtAllocateVirtualMemory failed to get us
* suitable replacement memory for a chunk of executable memory that
* shouldn't be present in our process. (You will only see this message if you
* got potentially fatally buggy anti-virus software installed.) */
#define VERR_SUP_VP_REPLACE_VIRTUAL_MEMORY_FAILED (-5673)
/** Error getting the file mode. */
#define VERR_SUP_VP_FILE_MODE_ERROR (-5674)
/** Error creating an event semaphore for used with asynchronous reads. */
#define VERR_SUP_VP_CREATE_READ_EVT_SEM_FAILED (-5675)
/** Undesirable module. */
#define VERR_SUP_VP_UNDESIRABLE_MODULE (-5676)
/** We are in driverless mode. */
#define VERR_SUP_DRIVERLESS (-5699)
/** We are in driverless mode. */
#define VINF_SUP_DRIVERLESS 5699
/** @} */
/** @name VBox Extension Pack Status Codes
* @{
*/
/** The host is not supported. Uninstall the extension pack.
* Returned by the VBOXEXTPACKREG::pfnInstalled. */
#define VERR_EXTPACK_UNSUPPORTED_HOST_UNINSTALL (-6000)
/** The VirtualBox version is not supported by one of the extension packs.
*
* You have probably upgraded VirtualBox recently. Please upgrade the
* extension packs to versions compatible with this VirtualBox release.
*/
#define VERR_EXTPACK_VBOX_VERSION_MISMATCH (-6001)
/** @} */
/** @name VBox Guest Control Status Codes
* @{
*/
/** Guest side reported an error. */
#define VERR_GSTCTL_GUEST_ERROR (-6200)
/** A guest control object has changed its overall status. */
#define VWRN_GSTCTL_OBJECTSTATE_CHANGED 6220
/** Guest process is in a wrong state. */
#define VERR_GSTCTL_PROCESS_WRONG_STATE (-6221)
/** Maximum (context ID) sessions have been reached. */
#define VERR_GSTCTL_MAX_CID_SESSIONS_REACHED (-6222)
/** Maximum (context ID) objects have been reached. */
#define VERR_GSTCTL_MAX_CID_OBJECTS_REACHED (-6223)
/** Maximum (context ID object) count has been reached. */
#define VERR_GSTCTL_MAX_CID_COUNT_REACHED (-6224)
/** Started guest process terminated with an exit code <> 0. */
#define VERR_GSTCTL_PROCESS_EXIT_CODE (-6225)
/** @} */
/** @name GIM Status Codes
* @{
*/
/** No GIM provider is configured for this VM. */
#define VERR_GIM_NOT_ENABLED (-6300)
/** GIM internal processing error \#1. */
#define VERR_GIM_IPE_1 (-6301)
/** GIM internal processing error \#2. */
#define VERR_GIM_IPE_2 (-6302)
/** GIM internal processing error \#3. */
#define VERR_GIM_IPE_3 (-6303)
/** The GIM provider does not support any paravirtualized TSC. */
#define VERR_GIM_PVTSC_NOT_AVAILABLE (-6304)
/** The guest has not setup use of the paravirtualized TSC. */
#define VERR_GIM_PVTSC_NOT_ENABLED (-6305)
/** Unknown or invalid GIM provider. */
#define VERR_GIM_INVALID_PROVIDER (-6306)
/** GIM generic operation failed. */
#define VERR_GIM_OPERATION_FAILED (-6307)
/** The GIM provider does not support any hypercalls. */
#define VERR_GIM_HYPERCALLS_NOT_AVAILABLE (-6308)
/** The guest has not setup use of the hypercalls. */
#define VERR_GIM_HYPERCALLS_NOT_ENABLED (-6309)
/** The GIM device is not registered with GIM when it ought to be. */
#define VERR_GIM_DEVICE_NOT_REGISTERED (-6310)
/** Hypercall cannot be enabled/performed due to access/permissions/CPL. */
#define VERR_GIM_HYPERCALL_ACCESS_DENIED (-6311)
/** Failed to read to a memory region while performing a hypercall. */
#define VERR_GIM_HYPERCALL_MEMORY_READ_FAILED (-6312)
/** Failed to write to a memory region while performing a hypercall. */
#define VERR_GIM_HYPERCALL_MEMORY_WRITE_FAILED (-6313)
/** Generic hypercall operation failure. */
#define VERR_GIM_HYPERCALL_FAILED (-6314)
/** No debug connection configured. */
#define VERR_GIM_NO_DEBUG_CONNECTION (-6315)
/** Return to ring-3 to perform the hypercall there. */
#define VINF_GIM_R3_HYPERCALL 6316
/** Continuing hypercall at the same RIP, continue guest execution. */
#define VINF_GIM_HYPERCALL_CONTINUING 6317
/** Instruction that triggers the hypercall is invalid/unrecognized. */
#define VERR_GIM_INVALID_HYPERCALL_INSTR (-6318)
/** @} */
/** @name Main API Status Codes
* @{
*/
/** The configuration constructor in main failed due to a COM error. Check
* the release log of the VM for further details. */
#define VERR_MAIN_CONFIG_CONSTRUCTOR_COM_ERROR (-6400)
/** The configuration constructor in main failed due to an internal consistency
* error. Consult the release log of the VM for further details. */
#define VERR_MAIN_CONFIG_CONSTRUCTOR_IPE (-6401)
/** @} */
/** @name VBox Drag and Drop Status Codes
* @{
*/
/** Guest side reported an error. */
#define VERR_GSTDND_GUEST_ERROR (-6500)
/** @} */
/** @name Audio Status Codes
* @{
*/
/** Host backend couldn't be initialized. Happen if the audio server is not
* reachable, audio hardware is not available or similar. We should use the
* NULL audio driver. */
#define VERR_AUDIO_BACKEND_INIT_FAILED (-6600)
/** No host backend attached / available. */
#define VERR_AUDIO_BACKEND_NOT_ATTACHED (-6601)
/** No free input streams. */
#define VERR_AUDIO_NO_FREE_INPUT_STREAMS (-6602)
/** No free output streams. */
#define VERR_AUDIO_NO_FREE_OUTPUT_STREAMS (-6603)
/** Pending stream disable operation in progress. */
#define VERR_AUDIO_STREAM_PENDING_DISABLE (-6604)
/** There is more data available.
* This can happen due to a buffer wraparound of a buffer read/write operation. */
#define VINF_AUDIO_MORE_DATA_AVAILABLE (6605)
/** Stream is not ready for requested operation. */
#define VERR_AUDIO_STREAM_NOT_READY (-6605)
/** Stream could not be created.
* This might due to missing host (backend) drivers or a host not having the
* required hardware, or that the requested stream configuration
* is not supported by the host backend. */
#define VERR_AUDIO_STREAM_COULD_NOT_CREATE (-6606)
/** Generic audio device enumeration error. */
#define VERR_AUDIO_ENUMERATION_FAILED (-6607)
/** Asynchronous stream initialization still on-going. */
#define VERR_AUDIO_STREAM_INIT_IN_PROGRESS (-6608)
/** Special PDMIHOSTAUDIO::pfnStreamCreate return value for triggering
* calling of PDMIHOSTAUDIO::pfnStreamInitAsync on a worker thread. */
#define VINF_AUDIO_STREAM_ASYNC_INIT_NEEDED (6609)
/** @} */
/** @name APIC Status Codes
* @{
*/
/** No pending interrupt. */
#define VERR_APIC_INTR_NOT_PENDING (-6700)
/** Pending interrupt is masked by TPR. */
#define VERR_APIC_INTR_MASKED_BY_TPR (-6701)
/** APIC did not accept the interrupt. */
#define VERR_APIC_INTR_DISCARDED (-6702)
/** @} */
/** @name NEM Status Codes
* @{
*/
/** NEM is not enabled. */
#define VERR_NEM_NOT_ENABLED (-6800)
/** NEM is not available. */
#define VERR_NEM_NOT_AVAILABLE (-6801)
/** NEM init failed. */
#define VERR_NEM_INIT_FAILED (-6802)
/** NEM init failed because of missing kernel API (\#1). */
#define VERR_NEM_MISSING_KERNEL_API_1 (-6803)
/** NEM can only operate from ring-3. */
#define VERR_NEM_RING3_ONLY (-6804)
/** NEM failed to create a native VM instance. */
#define VERR_NEM_VM_CREATE_FAILED (-6805)
/** NEM failed to map page(s) into the VM. */
#define VERR_NEM_MAP_PAGES_FAILED (-6806)
/** NEM failed to unmap page(s) into the VM. */
#define VERR_NEM_UNMAP_PAGES_FAILED (-6807)
/** NEM failed to get registers. */
#define VERR_NEM_GET_REGISTERS_FAILED (-6808)
/** NEM failed to set registers. */
#define VERR_NEM_SET_REGISTERS_FAILED (-6809)
/** Get register caller must flush the TLB (not an error). */
#define VERR_NEM_FLUSH_TLB (-6810)
/** Get register caller must flush the TLB. */
#define VINF_NEM_FLUSH_TLB (6810)
/** NEM failed to set TSC. */
#define VERR_NEM_SET_TSC (-6811)
/** NEM init failed because of missing kernel API (\#2). */
#define VERR_NEM_MISSING_KERNEL_API_2 (-6812)
/** NEM init failed because of missing kernel API (\#3). */
#define VERR_NEM_MISSING_KERNEL_API_3 (-6813)
/** NEM init failed because of missing kernel API (\#4). */
#define VERR_NEM_MISSING_KERNEL_API_4 (-6814)
/** NEM init failed because of missing kernel API (\#5). */
#define VERR_NEM_MISSING_KERNEL_API_5 (-6815)
/** NEM failed to query dirty page bitmap. */
#define VERR_NEM_QUERY_DIRTY_BITMAP_FAILED (-6816)
/** NEM is missing a require feature in the host API. */
#define VERR_NEM_MISSING_FEATURE (-6817)
/** NEM internal processing error \#0. */
#define VERR_NEM_IPE_0 (-6890)
/** NEM internal processing error \#1. */
#define VERR_NEM_IPE_1 (-6891)
/** NEM internal processing error \#2. */
#define VERR_NEM_IPE_2 (-6892)
/** NEM internal processing error \#3. */
#define VERR_NEM_IPE_3 (-6893)
/** NEM internal processing error \#4. */
#define VERR_NEM_IPE_4 (-6894)
/** NEM internal processing error \#5. */
#define VERR_NEM_IPE_5 (-6895)
/** NEM internal processing error \#6. */
#define VERR_NEM_IPE_6 (-6896)
/** NEM internal processing error \#7. */
#define VERR_NEM_IPE_7 (-6897)
/** NEM internal processing error \#8. */
#define VERR_NEM_IPE_8 (-6898)
/** NEM internal processing error \#9. */
#define VERR_NEM_IPE_9 (-6899)
/** @} */
/** @name Recording Status Codes
* @{
*/
/** Codec was not found. */
#define VERR_RECORDING_CODEC_NOT_FOUND (-6900)
/** Codec initialization failed. */
#define VERR_RECORDING_CODEC_INIT_FAILED (-6902)
/** Codec is not supported. */
#define VERR_RECORDING_CODEC_NOT_SUPPORTED (-6903)
/** Format not supported by the codec. */
#define VERR_RECORDING_FORMAT_NOT_SUPPORTED (-6904)
/** Recording is not possible due to a set restriction. */
#define VERR_RECORDING_RESTRICTED (-6905)
/** Recording limit (time, size, ...) has been reached. */
#define VINF_RECORDING_LIMIT_REACHED (6906)
/** Recording limit (time, size, ...) has been reached. */
#define VERR_RECORDING_LIMIT_REACHED (-6906)
/** Recording has been throttled due to current settings.
* This e.g. can happen when submitting more video frames than
* the current FPS setting allows. */
#define VINF_RECORDING_THROTTLED (6907)
/** Recording has been throttled due to current settings.
* This e.g. can happen when submitting more video frames than
* the current FPS setting allows. */
#define VERR_RECORDING_THROTTLED (-6907)
/** @} */
/** @name Shared Clipboard Status Codes
* @{
*/
/** Maximum of concurrent clipboard transfers has been reached. */
#define VERR_SHCLPB_MAX_TRANSFERS_REACHED (-7100)
/** Maximum number of Shared Clipboard objects has been reached. */
#define VERR_SHCLPB_MAX_OBJECTS_REACHED (-7101)
/** Maximum number of Shared Clipboard lists has been reached. */
#define VERR_SHCLPB_MAX_LISTS_REACHED (-7102)
/** A Shared Clipboard list handle is invalid. */
#define VERR_SHCLPB_LIST_HANDLE_INVALID (-7103)
/** A Shared Clipboard objects handle is invalid. */
#define VERR_SHCLPB_OBJ_HANDLE_INVALID (-7104)
/** Shared Clipboard event ID not found. */
#define VERR_SHCLPB_EVENT_ID_NOT_FOUND (-7105)
/** Maximum number of Shared Clipboard events for an event source has been reached. */
#define VERR_SHCLPB_MAX_EVENTS_REACHED (-7106)
/** Shared Clipboard transfer ID not found. */
#define VERR_SHCLPB_TRANSFER_ID_NOT_FOUND (-7150)
/** @} */
/** @name Virtual IOMMU Status Codes
* @{
*/
/** Failed to read the device table entry from guest memory. */
#define VERR_IOMMU_DTE_READ_FAILED (-7300)
/** Failed to read the device table entry due to an invalid offset. */
#define VERR_IOMMU_DTE_BAD_OFFSET (-7301)
/** Address translation failed. */
#define VERR_IOMMU_ADDR_TRANSLATION_FAILED (-7302)
/** Access denied for the address. */
#define VERR_IOMMU_ADDR_ACCESS_DENIED (-7303)
/** Remapping failed for the interrupt. */
#define VERR_IOMMU_INTR_REMAP_FAILED (-7304)
/** Remapping denied for the interrupt (might have caused a PCI target abort). */
#define VERR_IOMMU_INTR_REMAP_DENIED (-7305)
/** Command not supported. */
#define VERR_IOMMU_CMD_NOT_SUPPORTED (-7306)
/** Command format (or reserved bits) invalid. */
#define VERR_IOMMU_CMD_INVALID_FORMAT (-7307)
/** Command hardware failure. */
#define VERR_IOMMU_CMD_HW_ERROR (-7308)
/** IOMMU device is not present. */
#define VERR_IOMMU_NOT_PRESENT (-7309)
/** IOMMU instance cannot call itself (for remapping interrupts or translating
* addresses). */
#define VERR_IOMMU_CANNOT_CALL_SELF (-7310)
/** Address translation disabled (but permission bits apply). */
#define VINF_IOMMU_ADDR_TRANSLATION_DISABLED 7311
/** IOMMU Internal processing error \#0. */
#define VERR_IOMMU_IPE_0 (-7390)
/** IOMMU Internal processing error \#1. */
#define VERR_IOMMU_IPE_1 (-7391)
/** IOMMU Internal processing error \#2. */
#define VERR_IOMMU_IPE_2 (-7392)
/** IOMMU Internal processing error \#3. */
#define VERR_IOMMU_IPE_3 (-7393)
/** IOMMU Internal processing error \#4. */
#define VERR_IOMMU_IPE_4 (-7394)
/** IOMMU Internal processing error \#5. */
#define VERR_IOMMU_IPE_5 (-7395)
/** IOMMU Internal processing error \#6. */
#define VERR_IOMMU_IPE_6 (-7396)
/** IOMMU Internal processing error \#7. */
#define VERR_IOMMU_IPE_7 (-7397)
/** IOMMU Internal processing error \#8. */
#define VERR_IOMMU_IPE_8 (-7398)
/** IOMMU Internal processing error \#9. */
#define VERR_IOMMU_IPE_9 (-7399)
/** @} */
/* SED-END */
/** @} */
#endif /* !VBOX_INCLUDED_err_h */
文章声明:以上内容(如有图片或视频亦包括在内)除非注明,否则均为Net3C原创文章,转载或复制请以超链接形式并注明出处。定制服务:需要定制服务请加V:Net3c_2022
还没有评论,来说两句吧...