mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* KVM: Late fixes for the 2.6.23 merge window
@ 2007-07-17 13:22 Avi Kivity
  2007-07-17 13:22 ` [PATCH 1/3] KVM: MMU: Store nx bit for large page shadows Avi Kivity
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Avi Kivity @ 2007-07-17 13:22 UTC (permalink / raw)
  To: kvm-devel; +Cc: linux-kernel

A trio of issues were discovered and fixed while bringing up smp guests:

- An nx huge page table shadow could alias a real mode shadow page table,
  causing the real mode page to be treated as not executable.  For certain
  newer Linux kernels, this caused kvm to spin on the smp trampoline.

  This is not an smp issue per se, but only triggered in that scenario.

- The memory slot and memory alias manipulation functions were not handled
  properly in guest smp.  This causes hangs starting X.  With the patch
  applied, Linux can boot into graphical mode.

- Windows apparently uses rdmsr and wrmsr on its trampoline, so we need to
  add these instructions to the x86 emulator.

With these three patches atop the previously submitted patchset, guest smp
is fully operational.  Kernel build on 2-way smp is 40% faster than on a up
guest.  Expect significant performance improvements from in-kernel apic and
from further tuning.

Please review -- comments welcome.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-07-17 13:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-17 13:22 KVM: Late fixes for the 2.6.23 merge window Avi Kivity
2007-07-17 13:22 ` [PATCH 1/3] KVM: MMU: Store nx bit for large page shadows Avi Kivity
2007-07-17 13:22 ` [PATCH 2/3] KVM: Fix memory slot management functions for guest smp Avi Kivity
2007-07-17 13:22 ` [PATCH 3/3] KVM: x86 emulator: implement rdmsr and wrmsr Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®