[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ping: [PATCH] x86/altp2m: don't consider "active" when enabling failed


  • To: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Tue, 19 Oct 2021 09:45:30 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Sz4VozwYbHuZn93oK1so7+q4bf1ox0W13ZwCcLXmpao=; b=Hzj8Km7bL1IeS7JhFs4dZO9G/2sfMfkL6KBTnHGBaAD5+df2CmdYsPqblWVscDzVtblz1MXF9AWGQ0RALtjQRkQ83Ch10u8s3sYLei2P98bGN1pRudjXOVwKHp9+N4zlcSnt0Omkc0/PQOmbnB7cpmwxMZOR6g08g8eD2zS5pV6OhCzrm56HeNVW7/hQCQgFSPChx0IS/4kIOUowfUM2gvaa49Mfbu4xU44YKB3rDaAtdmJI/nxNzXPBNg4K8KRVqtrMqnl4HJ2HjarJ46l+AHNlMiPADHJC3E9mFTCo1+h54scdWJSaNWThcG0nlVAGOKWjlXXlWZmsse34BxORsw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ayZblKb7YRgsl3YwDd5uWX9AwayQSGWzewf51pqNCX3zP2+19lejeu1Z065B917JLl7LY6C05/Vl4Lg3telpDBbXJvzKRvnZybje14PMUPnJckPLRLCg1qKO09knX1Vr2KnRLrMQUQeYGzz0JlR5q/gB/iEDUe5FMOnT9jcNQZSnCA2teLr8yKUwTHy5FuilfK8Ah0XWciKieWqVKKt5HO4QD/ERj+OEVGqFrvRfwjmkwMLEmDYjZf7Vz1fwM6PFvA5GXJXwOL7//HabkIOORTlpVvQJiy8B9JMWI0InLFJw1HUxXeMVLUJ6udJLJW5CNbGLxq7WVEZ526oSMpfGeg==
  • Authentication-results: esa4.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "Ian Jackson" <iwj@xxxxxxxxxxxxxx>, Petre Pircalabu <ppircalabu@xxxxxxxxxxxxxxx>, Alexandru Isaila <aisaila@xxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 19 Oct 2021 07:46:10 +0000
  • Ironport-data: A9a23:3Thg3K6J9LcLWJfgmmIPLwxRtJLAchMFZxGqfqrLsTDasY5as4F+v jQXCGyEM/+CZmbwc952bITl/U8O78TXmtdhSwRo+XsxHi5G8cbLO4+Ufxz6V8+wwmwvb67FA +E2MISowBUcFyeEzvuV3zyIQUBUjclkfJKlYAL/En03FVIMpBsJ00o5wrdh298w2LBVPivW0 T/Mi5yHULOa82Yc3lI8s8pvfzs24ZweEBtB1rAPTagjUG32zhH5P7pGTU2FFFPqQ5E8IwKPb 72rIIdVXI/u10xF5tuNyt4Xe6CRK1LYFVDmZnF+A8BOjvXez8CbP2lS2Pc0MC9qZzu1c99Zk dZB64fvQAUQPrDrwdo0TDAEAnF5BPgTkFPHCSDXXc27ykTHdz3nwul0DVFwNoodkgp1KTgQr 7pCcmlLN03dwbLtqF64YrAEasALNs7kMZlZonh95TrYEewnUdbIRKCiCdpwgWhs3pwfQKm2i 8wxSmVLMBjlZj1zJl4OErkXnsHzuEKgWmgNwL6SjfVuuDWCpOBr65DsL9j9atGMXd9SnEuTu iTB5WuRKgkCNc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  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Mon, Oct 18, 2021 at 09:16:30AM -0400, Tamas K Lengyel wrote:
> On Mon, Oct 18, 2021 at 4:26 AM Jan Beulich <jbeulich@xxxxxxxx> wrote:
> 
> > On 25.08.2021 11:31, Jan Beulich wrote:
> > > We should not rely on guests to not use altp2m after reporting failure
> > > of HVMOP_altp2m_set_domain_state to them. Set "active" back to false in
> > > this case.
> > >
> > > Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> >
> > Because of their relationship, I'm also Cc-ing the vm-event maintainers /
> > reviewers: Maybe one of you would care to review this one?
> >
> > Jan
> >
> > > --- a/xen/arch/x86/hvm/hvm.c
> > > +++ b/xen/arch/x86/hvm/hvm.c
> > > @@ -4609,6 +4609,8 @@ static int do_altp2m_op(
> > >              if ( ostate )
> > >                  p2m_flush_altp2m(d);
> > >          }
> > > +        else if ( rc )
> > > +            d->arch.altp2m_active = false;
> > >
> > >          domain_unpause_except_self(d);
> > >          break;
> 
> 
> Reviewed-by: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>

Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Thanks, Roger.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.