xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Malcolm Crossley <malcolm.crossley@citrix.com>
To: xen-devel@lists.xen.org
Subject: Re: [PATCH] x86/hvm: implement save/restore for posted interrupts
Date: Wed, 24 Sep 2014 17:26:25 +0100	[thread overview]
Message-ID: <5422F0B1.20207@citrix.com> (raw)
In-Reply-To: <AADFC41AFE54684AB9EE6CBC0274A5D12608DA5B@SHSMSX101.ccr.corp.intel.com>

On 22/09/14 23:43, Tian, Kevin wrote:
>> From: Andrew Cooper
>> Sent: Friday, September 19, 2014 10:52 AM
>>
>> On 19/09/2014 14:39, Jan Beulich wrote:
>>>>>> On 19.09.14 at 15:32, <olaf@aepfle.de> wrote:
>>>> On Thu, Sep 18, Zhang, Yang Z wrote:
>>>>
>>>>> Zhang, Yang Z wrote on 2014-09-01:
>>>>>> Zhang, Yang Z wrote on 2014-08-08:
>>>>>>> Can you tell how you reproduce it? I am following the steps you told
>>>>>>> me previously, but I cannot reproduce it with this fixing.
>>>>>> Any update on this?
>>>>> Ping again.
>>>> I will have a look at this issue next week.
>>> Btw., Andrew Cooper hinted at the possibility of this series
>>>
>>> http://lists.xenproject.org/archives/html/xen-devel/2014-09/msg02753.html
>>>
>>> (particularly patch 2) having an effect on migration problems
>>> between APICV-capable and -incapable systems, i.e. perhaps
>>> worth a try in this context too.
>>>
>>> Jan
>>
>> The issue XenServer observes is that problems occur even when migrating
>> between two identical machines, one with APICV enabled, and one disabled.
>>
>> Given the now-discovered issues with Xen's x2apic handling, it is
>> entirely possible that the differences between the emulated and real
>> APICs was enough to cause issues.   And yet, it could be a mixture of
>> all of the issues identified so far.
>>
> 
> Have to say I didn't see any explicit message that this issue is related to 
> two machines with different capabilities (one with APICv enabled, and
> one disabled).
> 
> by reading original commit message:
> ----
> Saving and restoring a PVonHVM guest on a host which has the VMX
> "Posted Interrupt Processing" feature enabled will fail because the
> xen-platform-pci device does not receive interrupts anymore after
> restore. The reason is that the IRQs are not maintained in APIC_IRR,
> but in a separate PIR array. This info is lost during the save
> operation.
> ----
> 
> I really thought it's related to migration between two machines which
> both have APICv enabled. Not sure whether Yang realized this point.
> 

We have done some internal XenServer testing on this issue:

We install Citrix Windows PV drivers into a Windows Server 2008 32bit
VM, this is effectively a PVHVM guest.

After migrating the VM between two Haswell-EP servers, the Windows PV
drivers stop working and we are unable to access storage or network.

When we apply Olaf original patch then we don't lose storage or network
accesss via the PV drivers.

We are continuing to test but I thought we'd share that Olaf's original
patch resolves the PVHVM APIC-v issue for Xenserver.

Malcolm


> Thanks
> Kevin
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
> 

  reply	other threads:[~2014-09-24 16:26 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-03 15:09 [PATCH] x86/hvm: implement save/restore for posted interrupts Olaf Hering
2014-07-03 15:27 ` Jan Beulich
2014-07-09 11:24 ` Zhang, Yang Z
2014-07-09 21:14   ` Tian, Kevin
2014-07-16 14:28     ` Olaf Hering
2014-07-16 16:11       ` Tian, Kevin
2014-07-17  7:11         ` Olaf Hering
2014-07-17  9:29           ` Zhang, Yang Z
2014-07-18 13:58             ` Olaf Hering
2014-07-22 23:06               ` Zhang, Yang Z
2014-07-23  8:03                 ` Olaf Hering
2014-07-25 21:38             ` Tian, Kevin
2014-07-28  6:52               ` Olaf Hering
2014-07-29  7:48                 ` Zhang, Yang Z
2014-07-29  8:27                   ` Jan Beulich
2014-08-02 10:59                   ` Olaf Hering
2014-08-04  1:08                     ` Zhang, Yang Z
2014-08-04  7:50                       ` Olaf Hering
2014-08-04  7:57                         ` Zhang, Yang Z
2014-08-05 10:32                           ` Olaf Hering
2014-08-08  0:18                             ` Zhang, Yang Z
2014-09-01  6:44                             ` Zhang, Yang Z
2014-09-18  3:29                             ` Zhang, Yang Z
2014-09-19 13:32                               ` Olaf Hering
2014-09-19 13:39                                 ` Jan Beulich
2014-09-19 17:51                                   ` Andrew Cooper
2014-09-22 22:43                                     ` Tian, Kevin
2014-09-24 16:26                                       ` Malcolm Crossley [this message]
2014-09-30 16:19                                 ` Jan Beulich
2014-10-01  8:07                                   ` Olaf Hering
2014-10-01  8:29                                     ` Jan Beulich
2014-10-01 20:13                                       ` Olaf Hering
2014-10-02  6:51                                         ` Jan Beulich
2014-10-02  8:10                                           ` Andrew Cooper
2014-10-02  8:20                                             ` Olaf Hering
2014-10-08  7:37                                         ` Zhang, Yang Z
2014-10-08  7:40                                           ` Olaf Hering
2014-10-08  7:55                                             ` Zhang, Yang Z
2014-10-08  8:28                                           ` Olaf Hering
2014-10-08  8:35                                             ` Zhang, Yang Z
2014-10-08  8:54                                               ` Olaf Hering
2014-10-09  7:24                                                 ` Zhang, Yang Z
2014-10-09  8:41                                                   ` Fabio Fantoni
2014-10-09  8:43                                                     ` Zhang, Yang Z
2014-10-09 12:49                                                       ` Fabio Fantoni
2014-10-09 11:35                                                   ` Malcolm Crossley
2014-10-09 13:19                                                   ` Andrew Cooper
2014-10-10  0:48                                                     ` Zhang, Yang Z
2014-10-09 13:31                                                   ` Olaf Hering
2014-10-09 14:11                                                     ` Olaf Hering
2014-10-10  0:52                                                       ` Zhang, Yang Z
2014-07-25  9:40 ` Jan Beulich
2014-07-25 12:49   ` Tian, Kevin
2014-07-25 13:59     ` Jan Beulich
2014-07-25 21:31       ` Tian, Kevin
2014-07-28  6:46         ` Jan Beulich
2014-07-28  7:52           ` Wu, Feng
2014-07-28  8:17           ` Zhang, Yang Z
2014-07-28  9:02             ` Jan Beulich
2014-07-28  9:50               ` Liuqiming (John)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5422F0B1.20207@citrix.com \
    --to=malcolm.crossley@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).