VirtualBox

Ignore:
Timestamp:
Oct 18, 2016 10:23:35 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
111366
Message:

VMM/GIM/KVM: Don't GP fault on invalid time-struct MSR write

File:
1 edited

Legend:

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

    r62653 r64310  
    275275
    276276            /* Is the system-time struct. already enabled? If so, get flags that need preserving. */
    277             /*uint8_t fFlags = 0; - unused */
    278277            GIMKVMSYSTEMTIME SystemTime;
    279278            RT_ZERO(SystemTime);
     
    294293            {
    295294                pKvmCpu->u64SystemTimeMsr = 0;
    296                 return VERR_CPUM_RAISE_GP_0;
     295                /* We shouldn't throw a #GP(0) here for buggy guests (neither does KVM apparently), see @bugref{8627}. */
    297296            }
    298297            return VINF_SUCCESS;
Note: See TracChangeset for help on using the changeset viewer.

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