xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Nested VMX: APIC-v related bug fixing
@ 2013-08-22  7:24 Yang Zhang
  2013-08-22  7:24 ` [PATCH v3 1/4] Nested VMX: Check whether interrupt is blocked by TPR Yang Zhang
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Yang Zhang @ 2013-08-22  7:24 UTC (permalink / raw)
  To: xen-devel; +Cc: Yang Zhang, Andrew.Cooper3, eddie.dong, jun.nakajima, JBeulich

From: Yang Zhang <yang.z.zhang@Intel.com>

The following patches fix the issue that fail to boot L2 guest on APIC-v
available machine. The main problem is that with APIC-v, virtual interrupt inject
L1 is totally through APIC-v. But if virtual interrupt is arrived when L2 is running,
L1 will detect interrupt through vmexit with reason external interrupt. If this happens,
we should update RVI/SVI to make APIC-v working accordingly.

Changes from V2:
*   Rebase on top of Xen upstream
*   Merge patch 1(Introduce interrupt source supporting) and patch 3(Add interface to update vPPR)
    into the place where there were used.
*   Reorder the patch set.

Yang Zhang (4):
  Nested VMX: Check whether interrupt is blocked by TPR
  Nested VMX: Force check ISR when L2 is running
  Nested VMX: Clear APIC-v control bit in vmcs02
  Nested VMX: Update APIC-v(RVI/SVI) when vmexit to L1

 xen/arch/x86/hvm/irq.c             |    2 +-
 xen/arch/x86/hvm/vlapic.c          |   24 +++++++++++++-----
 xen/arch/x86/hvm/vmx/intr.c        |    9 +++++-
 xen/arch/x86/hvm/vmx/vmx.c         |   14 ++++++----
 xen/arch/x86/hvm/vmx/vvmx.c        |   45 ++++++++++++++++++++++++++++++++++++
 xen/include/asm-x86/hvm/vlapic.h   |    3 +-
 xen/include/asm-x86/hvm/vmx/vmx.h  |    2 +-
 xen/include/asm-x86/hvm/vmx/vvmx.h |    1 +
 8 files changed, 82 insertions(+), 18 deletions(-)

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

end of thread, other threads:[~2013-08-23  7:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-22  7:24 [PATCH v3 0/4] Nested VMX: APIC-v related bug fixing Yang Zhang
2013-08-22  7:24 ` [PATCH v3 1/4] Nested VMX: Check whether interrupt is blocked by TPR Yang Zhang
2013-08-22  7:24 ` [PATCH v3 2/4] Nested VMX: Force check ISR when L2 is running Yang Zhang
2013-08-22  7:24 ` [PATCH v3 3/4] Nested VMX: Clear APIC-v control bit in vmcs02 Yang Zhang
2013-08-22  7:25 ` [PATCH v3 4/4] Nested VMX: Update APIC-v(RVI/SVI) when vmexit to L1 Yang Zhang
2013-08-22  7:35 ` [PATCH v3 0/4] Nested VMX: APIC-v related bug fixing Dong, Eddie
2013-08-23  7:12 ` Jan Beulich
2013-08-23  7:17   ` Zhang, Yang Z
2013-08-23  7:25     ` Jan Beulich
2013-08-23  7:38       ` Zhang, Yang Z

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).