VirtualBox

Ignore:
Timestamp:
Dec 15, 2008 1:08:01 PM (16 years ago)
Author:
vboxsync
Message:

Don't trash the return value in case of failure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMGC/HWACCMGCA.asm

    r15441 r15500  
    317317    MYPOPSEGS rax
    318318
     319    mov     eax, VINF_SUCCESS
     320
    319321.vmstart64_end:
    320322%ifdef DEBUG
    321     mov     rax, [rsp]                             ; pVMCSPhys
    322     mov     [rdi + VMCSCACHE.TestOut.pVMCSPhys], rax
     323    mov     rdx, [rsp]                             ; pVMCSPhys
     324    mov     [rdi + VMCSCACHE.TestOut.pVMCSPhys], rdx
    323325%endif
    324326
     
    326328    vmclear qword [rsp]  ;Pushed pVMCS
    327329    add     rsp, 8
    328 
    329     mov     eax, VINF_SUCCESS
    330330
    331331.vmstart64_vmoff_end:
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