Skip to content
  1. Jul 21, 2014
    • Nadav Amit's avatar
      KVM: x86: popf emulation should not change RF · 163b135e
      Nadav Amit authored
      
      
      RFLAGS.RF is always zero after popf. Therefore, popf should not updated RF, as
      anyhow emulating popf, just as any other instruction should clear RFLAGS.RF.
      
      Signed-off-by: default avatarNadav Amit <namit@cs.technion.ac.il>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      163b135e
    • Nadav Amit's avatar
      KVM: x86: Clearing rflags.rf upon skipped emulated instruction · bb663c7a
      Nadav Amit authored
      
      
      When skipping an emulated instruction, rflags.rf should be cleared as it would
      be on real x86 CPU.
      
      Signed-off-by: default avatarNadav Amit <namit@cs.technion.ac.il>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      bb663c7a
    • Paolo Bonzini's avatar
      Merge tag 'kvm-s390-20140715' of... · ec10b727
      Paolo Bonzini authored
      Merge tag 'kvm-s390-20140715' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into kvm-next
      
      This series enables the "KVM_(S|G)ET_MP_STATE" ioctls on s390 to make
      the cpu state settable by user space.
      
      This is necessary to avoid races in s390 SIGP/reset handling which
      happen because some SIGPs are handled in QEMU, while others are
      handled in the kernel. Together with the busy conditions as return
      value of SIGP races happen especially in areas like starting and
      stopping of CPUs. (For example, there is a program 'cpuplugd', that
      runs on several s390 distros which does automatic onlining and
      offlining on cpus.)
      
      As soon as the MPSTATE interface is used, user space takes complete
      control of the cpu states. Otherwise the kernel will use the old way.
      
      Therefore, the new kernel continues to work fine with old QEMUs.
      ec10b727
  2. Jul 17, 2014
    • Wanpeng Li's avatar
      KVM: nVMX: Fix virtual interrupt delivery injection · 963fee16
      Wanpeng Li authored
      
      
      This patch fix bug reported in https://bugzilla.kernel.org/show_bug.cgi?id=73331,
      after the patch http://www.spinics.net/lists/kvm/msg105230.html applied, there is
      some progress and the L2 can boot up, however, slowly. The original idea of this
      fix vid injection patch is from "Zhang, Yang Z" <yang.z.zhang@intel.com>.
      
      Interrupt which delivered by vid should be injected to L1 by L0 if current is in
      L1, or should be injected to L2 by L0 through the old injection way if L1 doesn't
      have set External-interrupt exiting bit. The current logic doen't consider these
      cases. This patch fix it by vid intr to L1 if current is L1 or L2 through old
      injection way if L1 doen't have External-interrupt exiting bit set.
      
      Signed-off-by: default avatarWanpeng Li <wanpeng.li@linux.intel.com>
      Signed-off-by: default avatar"Zhang, Yang Z" <yang.z.zhang@intel.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      963fee16
  3. Jul 11, 2014
  4. Jul 10, 2014