VirtualBox

Ignore:
Timestamp:
Oct 14, 2019 9:51:00 AM (5 years ago)
Author:
vboxsync
Message:

VMM/HM: Added missing SVM VMEXITs and to g_apszSvmExitReasons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/HMAll.cpp

    r81242 r81245  
    130130static const char * const g_apszSvmExitReasons[MAX_EXITREASON_STAT] =
    131131{
    132     EXIT_REASON(SVM_EXIT_READ_CR0     ,    0, "Read CR0."),
    133     EXIT_REASON(SVM_EXIT_READ_CR1     ,    1, "Read CR1."),
    134     EXIT_REASON(SVM_EXIT_READ_CR2     ,    2, "Read CR2."),
    135     EXIT_REASON(SVM_EXIT_READ_CR3     ,    3, "Read CR3."),
    136     EXIT_REASON(SVM_EXIT_READ_CR4     ,    4, "Read CR4."),
    137     EXIT_REASON(SVM_EXIT_READ_CR5     ,    5, "Read CR5."),
    138     EXIT_REASON(SVM_EXIT_READ_CR6     ,    6, "Read CR6."),
    139     EXIT_REASON(SVM_EXIT_READ_CR7     ,    7, "Read CR7."),
    140     EXIT_REASON(SVM_EXIT_READ_CR8     ,    8, "Read CR8."),
    141     EXIT_REASON(SVM_EXIT_READ_CR9     ,    9, "Read CR9."),
    142     EXIT_REASON(SVM_EXIT_READ_CR10    ,   10, "Read CR10."),
    143     EXIT_REASON(SVM_EXIT_READ_CR11    ,   11, "Read CR11."),
    144     EXIT_REASON(SVM_EXIT_READ_CR12    ,   12, "Read CR12."),
    145     EXIT_REASON(SVM_EXIT_READ_CR13    ,   13, "Read CR13."),
    146     EXIT_REASON(SVM_EXIT_READ_CR14    ,   14, "Read CR14."),
    147     EXIT_REASON(SVM_EXIT_READ_CR15    ,   15, "Read CR15."),
    148     EXIT_REASON(SVM_EXIT_WRITE_CR0    ,   16, "Write CR0."),
    149     EXIT_REASON(SVM_EXIT_WRITE_CR1    ,   17, "Write CR1."),
    150     EXIT_REASON(SVM_EXIT_WRITE_CR2    ,   18, "Write CR2."),
    151     EXIT_REASON(SVM_EXIT_WRITE_CR3    ,   19, "Write CR3."),
    152     EXIT_REASON(SVM_EXIT_WRITE_CR4    ,   20, "Write CR4."),
    153     EXIT_REASON(SVM_EXIT_WRITE_CR5    ,   21, "Write CR5."),
    154     EXIT_REASON(SVM_EXIT_WRITE_CR6    ,   22, "Write CR6."),
    155     EXIT_REASON(SVM_EXIT_WRITE_CR7    ,   23, "Write CR7."),
    156     EXIT_REASON(SVM_EXIT_WRITE_CR8    ,   24, "Write CR8."),
    157     EXIT_REASON(SVM_EXIT_WRITE_CR9    ,   25, "Write CR9."),
    158     EXIT_REASON(SVM_EXIT_WRITE_CR10   ,   26, "Write CR10."),
    159     EXIT_REASON(SVM_EXIT_WRITE_CR11   ,   27, "Write CR11."),
    160     EXIT_REASON(SVM_EXIT_WRITE_CR12   ,   28, "Write CR12."),
    161     EXIT_REASON(SVM_EXIT_WRITE_CR13   ,   29, "Write CR13."),
    162     EXIT_REASON(SVM_EXIT_WRITE_CR14   ,   30, "Write CR14."),
    163     EXIT_REASON(SVM_EXIT_WRITE_CR15   ,   31, "Write CR15."),
    164     EXIT_REASON(SVM_EXIT_READ_DR0     ,   32, "Read DR0."),
    165     EXIT_REASON(SVM_EXIT_READ_DR1     ,   33, "Read DR1."),
    166     EXIT_REASON(SVM_EXIT_READ_DR2     ,   34, "Read DR2."),
    167     EXIT_REASON(SVM_EXIT_READ_DR3     ,   35, "Read DR3."),
    168     EXIT_REASON(SVM_EXIT_READ_DR4     ,   36, "Read DR4."),
    169     EXIT_REASON(SVM_EXIT_READ_DR5     ,   37, "Read DR5."),
    170     EXIT_REASON(SVM_EXIT_READ_DR6     ,   38, "Read DR6."),
    171     EXIT_REASON(SVM_EXIT_READ_DR7     ,   39, "Read DR7."),
    172     EXIT_REASON(SVM_EXIT_READ_DR8     ,   40, "Read DR8."),
    173     EXIT_REASON(SVM_EXIT_READ_DR9     ,   41, "Read DR9."),
    174     EXIT_REASON(SVM_EXIT_READ_DR10    ,   42, "Read DR10."),
    175     EXIT_REASON(SVM_EXIT_READ_DR11    ,   43, "Read DR11"),
    176     EXIT_REASON(SVM_EXIT_READ_DR12    ,   44, "Read DR12."),
    177     EXIT_REASON(SVM_EXIT_READ_DR13    ,   45, "Read DR13."),
    178     EXIT_REASON(SVM_EXIT_READ_DR14    ,   46, "Read DR14."),
    179     EXIT_REASON(SVM_EXIT_READ_DR15    ,   47, "Read DR15."),
    180     EXIT_REASON(SVM_EXIT_WRITE_DR0    ,   48, "Write DR0."),
    181     EXIT_REASON(SVM_EXIT_WRITE_DR1    ,   49, "Write DR1."),
    182     EXIT_REASON(SVM_EXIT_WRITE_DR2    ,   50, "Write DR2."),
    183     EXIT_REASON(SVM_EXIT_WRITE_DR3    ,   51, "Write DR3."),
    184     EXIT_REASON(SVM_EXIT_WRITE_DR4    ,   52, "Write DR4."),
    185     EXIT_REASON(SVM_EXIT_WRITE_DR5    ,   53, "Write DR5."),
    186     EXIT_REASON(SVM_EXIT_WRITE_DR6    ,   54, "Write DR6."),
    187     EXIT_REASON(SVM_EXIT_WRITE_DR7    ,   55, "Write DR7."),
    188     EXIT_REASON(SVM_EXIT_WRITE_DR8    ,   56, "Write DR8."),
    189     EXIT_REASON(SVM_EXIT_WRITE_DR9    ,   57, "Write DR9."),
    190     EXIT_REASON(SVM_EXIT_WRITE_DR10   ,   58, "Write DR10."),
    191     EXIT_REASON(SVM_EXIT_WRITE_DR11   ,   59, "Write DR11."),
    192     EXIT_REASON(SVM_EXIT_WRITE_DR12   ,   60, "Write DR12."),
    193     EXIT_REASON(SVM_EXIT_WRITE_DR13   ,   61, "Write DR13."),
    194     EXIT_REASON(SVM_EXIT_WRITE_DR14   ,   62, "Write DR14."),
    195     EXIT_REASON(SVM_EXIT_WRITE_DR15   ,   63, "Write DR15."),
    196     EXIT_REASON(SVM_EXIT_XCPT_0       ,   64, "Exception 0  (#DE)."),
    197     EXIT_REASON(SVM_EXIT_XCPT_1       ,   65, "Exception 1  (#DB)."),
    198     EXIT_REASON(SVM_EXIT_XCPT_2       ,   66, "Exception 2  (#NMI)."),
    199     EXIT_REASON(SVM_EXIT_XCPT_3       ,   67, "Exception 3  (#BP)."),
    200     EXIT_REASON(SVM_EXIT_XCPT_4       ,   68, "Exception 4  (#OF)."),
    201     EXIT_REASON(SVM_EXIT_XCPT_5       ,   69, "Exception 5  (#BR)."),
    202     EXIT_REASON(SVM_EXIT_XCPT_6       ,   70, "Exception 6  (#UD)."),
    203     EXIT_REASON(SVM_EXIT_XCPT_7       ,   71, "Exception 7  (#NM)."),
    204     EXIT_REASON(SVM_EXIT_XCPT_8       ,   72, "Exception 8  (#DF)."),
    205     EXIT_REASON(SVM_EXIT_XCPT_9       ,   73, "Exception 9  (#CO_SEG_OVERRUN)."),
    206     EXIT_REASON(SVM_EXIT_XCPT_10      ,   74, "Exception 10 (#TS)."),
    207     EXIT_REASON(SVM_EXIT_XCPT_11      ,   75, "Exception 11 (#NP)."),
    208     EXIT_REASON(SVM_EXIT_XCPT_12      ,   76, "Exception 12 (#SS)."),
    209     EXIT_REASON(SVM_EXIT_XCPT_13      ,   77, "Exception 13 (#GP)."),
    210     EXIT_REASON(SVM_EXIT_XCPT_14      ,   78, "Exception 14 (#PF)."),
    211     EXIT_REASON(SVM_EXIT_XCPT_15      ,   79, "Exception 15 (0x0f)."),
    212     EXIT_REASON(SVM_EXIT_XCPT_16      ,   80, "Exception 16 (#MF)."),
    213     EXIT_REASON(SVM_EXIT_XCPT_17      ,   81, "Exception 17 (#AC)."),
    214     EXIT_REASON(SVM_EXIT_XCPT_18      ,   82, "Exception 18 (#MC)."),
    215     EXIT_REASON(SVM_EXIT_XCPT_19      ,   83, "Exception 19 (#XF)."),
    216     EXIT_REASON(SVM_EXIT_XCPT_20      ,   84, "Exception 20 (#VE)."),
    217     EXIT_REASON(SVM_EXIT_XCPT_21      ,   85, "Exception 22 (0x15)."),
    218     EXIT_REASON(SVM_EXIT_XCPT_22      ,   86, "Exception 22 (0x16)."),
    219     EXIT_REASON(SVM_EXIT_XCPT_23      ,   87, "Exception 23 (0x17)."),
    220     EXIT_REASON(SVM_EXIT_XCPT_24      ,   88, "Exception 24 (0x18)."),
    221     EXIT_REASON(SVM_EXIT_XCPT_25      ,   89, "Exception 25 (0x19)."),
    222     EXIT_REASON(SVM_EXIT_XCPT_26      ,   90, "Exception 26 (0x1a)."),
    223     EXIT_REASON(SVM_EXIT_XCPT_27      ,   91, "Exception 27 (0x1b)."),
    224     EXIT_REASON(SVM_EXIT_XCPT_28      ,   92, "Exception 28 (0x1c)."),
    225     EXIT_REASON(SVM_EXIT_XCPT_29      ,   93, "Exception 29 (0x1d)."),
    226     EXIT_REASON(SVM_EXIT_XCPT_30      ,   94, "Exception 30 (#SX)."),
    227     EXIT_REASON(SVM_EXIT_XCPT_31      ,   95, "Exception 31 (0x1F)."),
    228     EXIT_REASON(SVM_EXIT_INTR         ,   96, "Physical maskable interrupt (host)."),
    229     EXIT_REASON(SVM_EXIT_NMI          ,   97, "Physical non-maskable interrupt (host)."),
    230     EXIT_REASON(SVM_EXIT_SMI          ,   98, "System management interrupt (host)."),
    231     EXIT_REASON(SVM_EXIT_INIT         ,   99, "Physical INIT signal (host)."),
    232     EXIT_REASON(SVM_EXIT_VINTR        ,  100, "Virtual interrupt-window exit."),
    233     EXIT_REASON(SVM_EXIT_CR0_SEL_WRITE,  101, "Selective CR0 Write (to bits other than CR0.TS and CR0.MP)."),
    234     EXIT_REASON(SVM_EXIT_IDTR_READ    ,  102, "Read IDTR."),
    235     EXIT_REASON(SVM_EXIT_GDTR_READ    ,  103, "Read GDTR."),
    236     EXIT_REASON(SVM_EXIT_LDTR_READ    ,  104, "Read LDTR."),
    237     EXIT_REASON(SVM_EXIT_TR_READ      ,  105, "Read TR."),
    238     EXIT_REASON(SVM_EXIT_IDTR_WRITE   ,  106, "Write IDTR."),
    239     EXIT_REASON(SVM_EXIT_GDTR_WRITE   ,  107, "Write GDTR."),
    240     EXIT_REASON(SVM_EXIT_LDTR_WRITE   ,  108, "Write LDTR."),
    241     EXIT_REASON(SVM_EXIT_TR_WRITE     ,  109, "Write TR."),
    242     EXIT_REASON(SVM_EXIT_RDTSC        ,  110, "RDTSC instruction."),
    243     EXIT_REASON(SVM_EXIT_RDPMC        ,  111, "RDPMC instruction."),
    244     EXIT_REASON(SVM_EXIT_PUSHF        ,  112, "PUSHF instruction."),
    245     EXIT_REASON(SVM_EXIT_POPF         ,  113, "POPF instruction."),
    246     EXIT_REASON(SVM_EXIT_CPUID        ,  114, "CPUID instruction."),
    247     EXIT_REASON(SVM_EXIT_RSM          ,  115, "RSM instruction."),
    248     EXIT_REASON(SVM_EXIT_IRET         ,  116, "IRET instruction."),
    249     EXIT_REASON(SVM_EXIT_SWINT        ,  117, "Software interrupt (INTn instructions)."),
    250     EXIT_REASON(SVM_EXIT_INVD         ,  118, "INVD instruction."),
    251     EXIT_REASON(SVM_EXIT_PAUSE        ,  119, "PAUSE instruction."),
    252     EXIT_REASON(SVM_EXIT_HLT          ,  120, "HLT instruction."),
    253     EXIT_REASON(SVM_EXIT_INVLPG       ,  121, "INVLPG instruction."),
    254     EXIT_REASON(SVM_EXIT_INVLPGA      ,  122, "INVLPGA instruction."),
    255     EXIT_REASON(SVM_EXIT_IOIO         ,  123, "IN/OUT/INS/OUTS instruction."),
    256     EXIT_REASON(SVM_EXIT_MSR          ,  124, "RDMSR or WRMSR access to protected MSR."),
    257     EXIT_REASON(SVM_EXIT_TASK_SWITCH  ,  125, "Task switch."),
    258     EXIT_REASON(SVM_EXIT_FERR_FREEZE  ,  126, "FERR Freeze; CPU frozen in an x87/mmx instruction waiting for interrupt."),
    259     EXIT_REASON(SVM_EXIT_SHUTDOWN     ,  127, "Shutdown."),
    260     EXIT_REASON(SVM_EXIT_VMRUN        ,  128, "VMRUN instruction."),
    261     EXIT_REASON(SVM_EXIT_VMMCALL      ,  129, "VMCALL instruction."),
    262     EXIT_REASON(SVM_EXIT_VMLOAD       ,  130, "VMLOAD instruction."),
    263     EXIT_REASON(SVM_EXIT_VMSAVE       ,  131, "VMSAVE instruction."),
    264     EXIT_REASON(SVM_EXIT_STGI         ,  132, "STGI instruction."),
    265     EXIT_REASON(SVM_EXIT_CLGI         ,  133, "CLGI instruction."),
    266     EXIT_REASON(SVM_EXIT_SKINIT       ,  134, "SKINIT instruction."),
    267     EXIT_REASON(SVM_EXIT_RDTSCP       ,  135, "RDTSCP instruction."),
    268     EXIT_REASON(SVM_EXIT_ICEBP        ,  136, "ICEBP instruction."),
    269     EXIT_REASON(SVM_EXIT_WBINVD       ,  137, "WBINVD instruction."),
    270     EXIT_REASON(SVM_EXIT_MONITOR      ,  138, "MONITOR instruction."),
    271     EXIT_REASON(SVM_EXIT_MWAIT        ,  139, "MWAIT instruction."),
    272     EXIT_REASON(SVM_EXIT_MWAIT_ARMED  ,  140, "MWAIT instruction when armed."),
    273     EXIT_REASON(SVM_EXIT_XSETBV       ,  141, "XSETBV instruction."),
    274     EXIT_REASON(SVM_EXIT_RDPRU        ,  142, "RDPRU instruction."),
     132    EXIT_REASON(SVM_EXIT_READ_CR0       ,    0, "Read CR0."),
     133    EXIT_REASON(SVM_EXIT_READ_CR1       ,    1, "Read CR1."),
     134    EXIT_REASON(SVM_EXIT_READ_CR2       ,    2, "Read CR2."),
     135    EXIT_REASON(SVM_EXIT_READ_CR3       ,    3, "Read CR3."),
     136    EXIT_REASON(SVM_EXIT_READ_CR4       ,    4, "Read CR4."),
     137    EXIT_REASON(SVM_EXIT_READ_CR5       ,    5, "Read CR5."),
     138    EXIT_REASON(SVM_EXIT_READ_CR6       ,    6, "Read CR6."),
     139    EXIT_REASON(SVM_EXIT_READ_CR7       ,    7, "Read CR7."),
     140    EXIT_REASON(SVM_EXIT_READ_CR8       ,    8, "Read CR8."),
     141    EXIT_REASON(SVM_EXIT_READ_CR9       ,    9, "Read CR9."),
     142    EXIT_REASON(SVM_EXIT_READ_CR10      ,   10, "Read CR10."),
     143    EXIT_REASON(SVM_EXIT_READ_CR11      ,   11, "Read CR11."),
     144    EXIT_REASON(SVM_EXIT_READ_CR12      ,   12, "Read CR12."),
     145    EXIT_REASON(SVM_EXIT_READ_CR13      ,   13, "Read CR13."),
     146    EXIT_REASON(SVM_EXIT_READ_CR14      ,   14, "Read CR14."),
     147    EXIT_REASON(SVM_EXIT_READ_CR15      ,   15, "Read CR15."),
     148    EXIT_REASON(SVM_EXIT_WRITE_CR0      ,   16, "Write CR0."),
     149    EXIT_REASON(SVM_EXIT_WRITE_CR1      ,   17, "Write CR1."),
     150    EXIT_REASON(SVM_EXIT_WRITE_CR2      ,   18, "Write CR2."),
     151    EXIT_REASON(SVM_EXIT_WRITE_CR3      ,   19, "Write CR3."),
     152    EXIT_REASON(SVM_EXIT_WRITE_CR4      ,   20, "Write CR4."),
     153    EXIT_REASON(SVM_EXIT_WRITE_CR5      ,   21, "Write CR5."),
     154    EXIT_REASON(SVM_EXIT_WRITE_CR6      ,   22, "Write CR6."),
     155    EXIT_REASON(SVM_EXIT_WRITE_CR7      ,   23, "Write CR7."),
     156    EXIT_REASON(SVM_EXIT_WRITE_CR8      ,   24, "Write CR8."),
     157    EXIT_REASON(SVM_EXIT_WRITE_CR9      ,   25, "Write CR9."),
     158    EXIT_REASON(SVM_EXIT_WRITE_CR10     ,   26, "Write CR10."),
     159    EXIT_REASON(SVM_EXIT_WRITE_CR11     ,   27, "Write CR11."),
     160    EXIT_REASON(SVM_EXIT_WRITE_CR12     ,   28, "Write CR12."),
     161    EXIT_REASON(SVM_EXIT_WRITE_CR13     ,   29, "Write CR13."),
     162    EXIT_REASON(SVM_EXIT_WRITE_CR14     ,   30, "Write CR14."),
     163    EXIT_REASON(SVM_EXIT_WRITE_CR15     ,   31, "Write CR15."),
     164    EXIT_REASON(SVM_EXIT_READ_DR0       ,   32, "Read DR0."),
     165    EXIT_REASON(SVM_EXIT_READ_DR1       ,   33, "Read DR1."),
     166    EXIT_REASON(SVM_EXIT_READ_DR2       ,   34, "Read DR2."),
     167    EXIT_REASON(SVM_EXIT_READ_DR3       ,   35, "Read DR3."),
     168    EXIT_REASON(SVM_EXIT_READ_DR4       ,   36, "Read DR4."),
     169    EXIT_REASON(SVM_EXIT_READ_DR5       ,   37, "Read DR5."),
     170    EXIT_REASON(SVM_EXIT_READ_DR6       ,   38, "Read DR6."),
     171    EXIT_REASON(SVM_EXIT_READ_DR7       ,   39, "Read DR7."),
     172    EXIT_REASON(SVM_EXIT_READ_DR8       ,   40, "Read DR8."),
     173    EXIT_REASON(SVM_EXIT_READ_DR9       ,   41, "Read DR9."),
     174    EXIT_REASON(SVM_EXIT_READ_DR10      ,   42, "Read DR10."),
     175    EXIT_REASON(SVM_EXIT_READ_DR11      ,   43, "Read DR11"),
     176    EXIT_REASON(SVM_EXIT_READ_DR12      ,   44, "Read DR12."),
     177    EXIT_REASON(SVM_EXIT_READ_DR13      ,   45, "Read DR13."),
     178    EXIT_REASON(SVM_EXIT_READ_DR14      ,   46, "Read DR14."),
     179    EXIT_REASON(SVM_EXIT_READ_DR15      ,   47, "Read DR15."),
     180    EXIT_REASON(SVM_EXIT_WRITE_DR0      ,   48, "Write DR0."),
     181    EXIT_REASON(SVM_EXIT_WRITE_DR1      ,   49, "Write DR1."),
     182    EXIT_REASON(SVM_EXIT_WRITE_DR2      ,   50, "Write DR2."),
     183    EXIT_REASON(SVM_EXIT_WRITE_DR3      ,   51, "Write DR3."),
     184    EXIT_REASON(SVM_EXIT_WRITE_DR4      ,   52, "Write DR4."),
     185    EXIT_REASON(SVM_EXIT_WRITE_DR5      ,   53, "Write DR5."),
     186    EXIT_REASON(SVM_EXIT_WRITE_DR6      ,   54, "Write DR6."),
     187    EXIT_REASON(SVM_EXIT_WRITE_DR7      ,   55, "Write DR7."),
     188    EXIT_REASON(SVM_EXIT_WRITE_DR8      ,   56, "Write DR8."),
     189    EXIT_REASON(SVM_EXIT_WRITE_DR9      ,   57, "Write DR9."),
     190    EXIT_REASON(SVM_EXIT_WRITE_DR10     ,   58, "Write DR10."),
     191    EXIT_REASON(SVM_EXIT_WRITE_DR11     ,   59, "Write DR11."),
     192    EXIT_REASON(SVM_EXIT_WRITE_DR12     ,   60, "Write DR12."),
     193    EXIT_REASON(SVM_EXIT_WRITE_DR13     ,   61, "Write DR13."),
     194    EXIT_REASON(SVM_EXIT_WRITE_DR14     ,   62, "Write DR14."),
     195    EXIT_REASON(SVM_EXIT_WRITE_DR15     ,   63, "Write DR15."),
     196    EXIT_REASON(SVM_EXIT_XCPT_0         ,   64, "Exception 0  (#DE)."),
     197    EXIT_REASON(SVM_EXIT_XCPT_1         ,   65, "Exception 1  (#DB)."),
     198    EXIT_REASON(SVM_EXIT_XCPT_2         ,   66, "Exception 2  (#NMI)."),
     199    EXIT_REASON(SVM_EXIT_XCPT_3         ,   67, "Exception 3  (#BP)."),
     200    EXIT_REASON(SVM_EXIT_XCPT_4         ,   68, "Exception 4  (#OF)."),
     201    EXIT_REASON(SVM_EXIT_XCPT_5         ,   69, "Exception 5  (#BR)."),
     202    EXIT_REASON(SVM_EXIT_XCPT_6         ,   70, "Exception 6  (#UD)."),
     203    EXIT_REASON(SVM_EXIT_XCPT_7         ,   71, "Exception 7  (#NM)."),
     204    EXIT_REASON(SVM_EXIT_XCPT_8         ,   72, "Exception 8  (#DF)."),
     205    EXIT_REASON(SVM_EXIT_XCPT_9         ,   73, "Exception 9  (#CO_SEG_OVERRUN)."),
     206    EXIT_REASON(SVM_EXIT_XCPT_10        ,   74, "Exception 10 (#TS)."),
     207    EXIT_REASON(SVM_EXIT_XCPT_11        ,   75, "Exception 11 (#NP)."),
     208    EXIT_REASON(SVM_EXIT_XCPT_12        ,   76, "Exception 12 (#SS)."),
     209    EXIT_REASON(SVM_EXIT_XCPT_13        ,   77, "Exception 13 (#GP)."),
     210    EXIT_REASON(SVM_EXIT_XCPT_14        ,   78, "Exception 14 (#PF)."),
     211    EXIT_REASON(SVM_EXIT_XCPT_15        ,   79, "Exception 15 (0x0f)."),
     212    EXIT_REASON(SVM_EXIT_XCPT_16        ,   80, "Exception 16 (#MF)."),
     213    EXIT_REASON(SVM_EXIT_XCPT_17        ,   81, "Exception 17 (#AC)."),
     214    EXIT_REASON(SVM_EXIT_XCPT_18        ,   82, "Exception 18 (#MC)."),
     215    EXIT_REASON(SVM_EXIT_XCPT_19        ,   83, "Exception 19 (#XF)."),
     216    EXIT_REASON(SVM_EXIT_XCPT_20        ,   84, "Exception 20 (#VE)."),
     217    EXIT_REASON(SVM_EXIT_XCPT_21        ,   85, "Exception 22 (0x15)."),
     218    EXIT_REASON(SVM_EXIT_XCPT_22        ,   86, "Exception 22 (0x16)."),
     219    EXIT_REASON(SVM_EXIT_XCPT_23        ,   87, "Exception 23 (0x17)."),
     220    EXIT_REASON(SVM_EXIT_XCPT_24        ,   88, "Exception 24 (0x18)."),
     221    EXIT_REASON(SVM_EXIT_XCPT_25        ,   89, "Exception 25 (0x19)."),
     222    EXIT_REASON(SVM_EXIT_XCPT_26        ,   90, "Exception 26 (0x1a)."),
     223    EXIT_REASON(SVM_EXIT_XCPT_27        ,   91, "Exception 27 (0x1b)."),
     224    EXIT_REASON(SVM_EXIT_XCPT_28        ,   92, "Exception 28 (0x1c)."),
     225    EXIT_REASON(SVM_EXIT_XCPT_29        ,   93, "Exception 29 (0x1d)."),
     226    EXIT_REASON(SVM_EXIT_XCPT_30        ,   94, "Exception 30 (#SX)."),
     227    EXIT_REASON(SVM_EXIT_XCPT_31        ,   95, "Exception 31 (0x1F)."),
     228    EXIT_REASON(SVM_EXIT_INTR           ,   96, "Physical maskable interrupt (host)."),
     229    EXIT_REASON(SVM_EXIT_NMI            ,   97, "Physical non-maskable interrupt (host)."),
     230    EXIT_REASON(SVM_EXIT_SMI            ,   98, "System management interrupt (host)."),
     231    EXIT_REASON(SVM_EXIT_INIT           ,   99, "Physical INIT signal (host)."),
     232    EXIT_REASON(SVM_EXIT_VINTR          ,  100, "Virtual interrupt-window exit."),
     233    EXIT_REASON(SVM_EXIT_CR0_SEL_WRITE  ,  101, "Selective CR0 Write (to bits other than CR0.TS and CR0.MP)."),
     234    EXIT_REASON(SVM_EXIT_IDTR_READ      ,  102, "Read IDTR."),
     235    EXIT_REASON(SVM_EXIT_GDTR_READ      ,  103, "Read GDTR."),
     236    EXIT_REASON(SVM_EXIT_LDTR_READ      ,  104, "Read LDTR."),
     237    EXIT_REASON(SVM_EXIT_TR_READ        ,  105, "Read TR."),
     238    EXIT_REASON(SVM_EXIT_IDTR_WRITE     ,  106, "Write IDTR."),
     239    EXIT_REASON(SVM_EXIT_GDTR_WRITE     ,  107, "Write GDTR."),
     240    EXIT_REASON(SVM_EXIT_LDTR_WRITE     ,  108, "Write LDTR."),
     241    EXIT_REASON(SVM_EXIT_TR_WRITE       ,  109, "Write TR."),
     242    EXIT_REASON(SVM_EXIT_RDTSC          ,  110, "RDTSC instruction."),
     243    EXIT_REASON(SVM_EXIT_RDPMC          ,  111, "RDPMC instruction."),
     244    EXIT_REASON(SVM_EXIT_PUSHF          ,  112, "PUSHF instruction."),
     245    EXIT_REASON(SVM_EXIT_POPF           ,  113, "POPF instruction."),
     246    EXIT_REASON(SVM_EXIT_CPUID          ,  114, "CPUID instruction."),
     247    EXIT_REASON(SVM_EXIT_RSM            ,  115, "RSM instruction."),
     248    EXIT_REASON(SVM_EXIT_IRET           ,  116, "IRET instruction."),
     249    EXIT_REASON(SVM_EXIT_SWINT          ,  117, "Software interrupt (INTn instructions)."),
     250    EXIT_REASON(SVM_EXIT_INVD           ,  118, "INVD instruction."),
     251    EXIT_REASON(SVM_EXIT_PAUSE          ,  119, "PAUSE instruction."),
     252    EXIT_REASON(SVM_EXIT_HLT            ,  120, "HLT instruction."),
     253    EXIT_REASON(SVM_EXIT_INVLPG         ,  121, "INVLPG instruction."),
     254    EXIT_REASON(SVM_EXIT_INVLPGA        ,  122, "INVLPGA instruction."),
     255    EXIT_REASON(SVM_EXIT_IOIO           ,  123, "IN/OUT/INS/OUTS instruction."),
     256    EXIT_REASON(SVM_EXIT_MSR            ,  124, "RDMSR or WRMSR access to protected MSR."),
     257    EXIT_REASON(SVM_EXIT_TASK_SWITCH    ,  125, "Task switch."),
     258    EXIT_REASON(SVM_EXIT_FERR_FREEZE    ,  126, "FERR Freeze; CPU frozen in an x87/mmx instruction waiting for interrupt."),
     259    EXIT_REASON(SVM_EXIT_SHUTDOWN       ,  127, "Shutdown."),
     260    EXIT_REASON(SVM_EXIT_VMRUN          ,  128, "VMRUN instruction."),
     261    EXIT_REASON(SVM_EXIT_VMMCALL        ,  129, "VMCALL instruction."),
     262    EXIT_REASON(SVM_EXIT_VMLOAD         ,  130, "VMLOAD instruction."),
     263    EXIT_REASON(SVM_EXIT_VMSAVE         ,  131, "VMSAVE instruction."),
     264    EXIT_REASON(SVM_EXIT_STGI           ,  132, "STGI instruction."),
     265    EXIT_REASON(SVM_EXIT_CLGI           ,  133, "CLGI instruction."),
     266    EXIT_REASON(SVM_EXIT_SKINIT         ,  134, "SKINIT instruction."),
     267    EXIT_REASON(SVM_EXIT_RDTSCP         ,  135, "RDTSCP instruction."),
     268    EXIT_REASON(SVM_EXIT_ICEBP          ,  136, "ICEBP instruction."),
     269    EXIT_REASON(SVM_EXIT_WBINVD         ,  137, "WBINVD instruction."),
     270    EXIT_REASON(SVM_EXIT_MONITOR        ,  138, "MONITOR instruction."),
     271    EXIT_REASON(SVM_EXIT_MWAIT          ,  139, "MWAIT instruction."),
     272    EXIT_REASON(SVM_EXIT_MWAIT_ARMED    ,  140, "MWAIT instruction when armed."),
     273    EXIT_REASON(SVM_EXIT_XSETBV         ,  141, "XSETBV instruction."),
     274    EXIT_REASON(SVM_EXIT_RDPRU          ,  142, "RDPRU instruction."),
     275    EXIT_REASON(SVM_EXIT_WRITE_EFER_TRAP,  143, "Write EFER (trap-like)."),
     276    EXIT_REASON(SVM_EXIT_WRITE_CR0_TRAP ,  144, "Write CR0 (trap-like)."),
     277    EXIT_REASON(SVM_EXIT_WRITE_CR1_TRAP ,  145, "Write CR1 (trap-like)."),
     278    EXIT_REASON(SVM_EXIT_WRITE_CR2_TRAP ,  146, "Write CR2 (trap-like)."),
     279    EXIT_REASON(SVM_EXIT_WRITE_CR3_TRAP ,  147, "Write CR3 (trap-like)."),
     280    EXIT_REASON(SVM_EXIT_WRITE_CR4_TRAP ,  148, "Write CR4 (trap-like)."),
     281    EXIT_REASON(SVM_EXIT_WRITE_CR5_TRAP ,  149, "Write CR5 (trap-like)."),
     282    EXIT_REASON(SVM_EXIT_WRITE_CR6_TRAP ,  150, "Write CR6 (trap-like)."),
     283    EXIT_REASON(SVM_EXIT_WRITE_CR7_TRAP ,  151, "Write CR7 (trap-like)."),
     284    EXIT_REASON(SVM_EXIT_WRITE_CR8_TRAP ,  152, "Write CR8 (trap-like)."),
     285    EXIT_REASON(SVM_EXIT_WRITE_CR9_TRAP ,  153, "Write CR9 (trap-like)."),
     286    EXIT_REASON(SVM_EXIT_WRITE_CR10_TRAP,  154, "Write CR10 (trap-like)."),
     287    EXIT_REASON(SVM_EXIT_WRITE_CR11_TRAP,  155, "Write CR11 (trap-like)."),
     288    EXIT_REASON(SVM_EXIT_WRITE_CR12_TRAP,  156, "Write CR12 (trap-like)."),
     289    EXIT_REASON(SVM_EXIT_WRITE_CR13_TRAP,  157, "Write CR13 (trap-like)."),
     290    EXIT_REASON(SVM_EXIT_WRITE_CR14_TRAP,  158, "Write CR14 (trap-like)."),
     291    EXIT_REASON(SVM_EXIT_WRITE_CR15_TRAP,  159, "Write CR15 (trap-like)."),
     292    EXIT_REASON_NIL()                   ,
     293    EXIT_REASON_NIL()                   ,
     294    EXIT_REASON_NIL()                   ,
     295    EXIT_REASON(SVM_EXIT_MCOMMIT        ,  163, "MCOMMIT instruction."),
    275296};
    276297/** Array index of the last valid AMD-V exit reason. */
    277 #define MAX_EXITREASON_AMDV              142
     298#define MAX_EXITREASON_AMDV              163
    278299
    279300/** Special exit reasons not covered in the array above. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette