1. 14 3月, 2014 15 次提交
  2. 11 3月, 2014 2 次提交
  3. 04 2月, 2014 11 次提交
  4. 07 1月, 2014 1 次提交
  5. 24 12月, 2013 6 次提交
  6. 23 12月, 2013 1 次提交
  7. 12 12月, 2013 2 次提交
    • F
      target-i386: clear guest TSC on reset · 0522604b
      Fernando Luis Vázquez Cao 提交于
      VCPU TSC is not cleared by a warm reset (*), which leaves some types of Linux
       guests (non-pvops guests and those with the kernel parameter no-kvmclock set)
      vulnerable to the overflow in cyc2ns_offset fixed by upstream commit
      9993bc635d01a6ee7f6b833b4ee65ce7c06350b1 ("sched/x86: Fix overflow in
      cyc2ns_offset").
      
      To put it in a nutshell, if such a Linux guest without the patch above applied
      has been up more than 208 days and attempts a warm reset chances are that
      the newly booted kernel will panic or hang.
      
      (*) Intel Xeon E5 processors show the same broken behavior due to
          the errata "TSC is Not Affected by Warm Reset" (Intel® Xeon®
          Processor E5 Family Specification Update - August 2013): "The
          TSC (Time Stamp Counter MSR 10H) should be cleared on
          reset. Due to this erratum the TSC is not affected by warm
          reset."
      
      Cc: Will Auld <will.auld@intel.com>
      Cc: Marcelo Tosatti <mtosatti@redhat.com>
      Signed-off-by: NFernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NFernando Luis Vázquez Cao <fernando_b1@lab.ntt.co.jp>
      0522604b
    • L
      target-i386: Intel MPX · 79e9ebeb
      Liu Jinsong 提交于
      Add some MPX related definiation, and hardcode sizes and offsets
      of xsave features 3 and 4. It also add corresponding part to
      kvm_get/put_xsave, and vmstate.
      Signed-off-by: NLiu Jinsong <jinsong.liu@intel.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      79e9ebeb
  8. 06 12月, 2013 1 次提交
    • L
      target-i386: fix cpuid leaf 0x0d · 33f373d7
      Liu Jinsong 提交于
      Fix cpuid leaf 0x0d which incorrectly parsed eax and ebx.
      
      However, before this patch the CPUID worked fine -- the .offset
      field contained the size _and_ was stored in the register that
      is supposed to hold the size (eax), and likewise the .size field
      contained the offset _and_ was stored in the register trhat is
      supposed to hold the offset (ebx).
      Signed-off-by: NLiu Jinsong <jinsong.liu@intel.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      33f373d7
  9. 21 11月, 2013 1 次提交