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

RE: [PATCH] Add log to Xenfilt DriverAddDevice


  • To: "paul@xxxxxxx" <paul@xxxxxxx>, "win-pv-devel@xxxxxxxxxxxxxxxxxxxx" <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Martin Harvey <martin.harvey@xxxxxxxxxx>
  • Date: Wed, 14 Jul 2021 12:31:51 +0000
  • Accept-language: en-US
  • 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-SenderADCheck; bh=eiASBGgUGS5yTL8THSMHIwjvdPOuybHg8mxJ8cDNLx0=; b=dhz0HlpnVjLngp1XyAVY13erTNTOx5izAur0Am15ZxMk2nQtrvTxmA7vFzMOnLF+BeHnZl8HyZwkZaK3DKrV1aaQHAbNsDKmeazwxPKDqqZ7UH2WsS6Q1Ps5oQhnPz7HM76+OakgEA6lp6Sv3Lmc24qAY+bJ/gDqam480svWdxKqXNGLXbdzOE3YgGDpkL0sJlvgh5pECJ+A8/KzwwkRYX1DmpAjCCMq2gDQGFdo965DopzMXJqO6qTlD+7tIDzaYxkrlwBYmceoPQmucj4VEWY3l9/M/CbG8kaSWi0nhDAJVEZCNkzwIJ1lljkgjBnbMBhuF2Eky4L4/kniRJ46KQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dwgB9l8GpEDTowJV/jY64rZbnoIBa/fFtNaC76+lLxJec+0zzQHO9kdtsxABwZXFd1tKD8cU7djqR+WanjS/iZ6UoFXhKYekHRfSTHX8TNCv/fGEfxHCZ1pL92MudJSfj4c8RB9knGF2Cqfi4g/RjKH9eG0N5YaTsOzc38sdy0AeaDp2IojGZYsW709J8pC7FRiLbUS8HTSrSfPeRq+r1TglyuIVgPMJMOltbkWZQP1fGX/WUcuiI6gvG6UoJ2jx+3WHRuQE4cV5I+iL0jXTpRAa8A3S1Efl9ZCyCwqyqd87h81o8qyKOK0B7YyOnc/BEXAujVsY1ADEb9reDQhjBQ==
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Delivery-date: Wed, 14 Jul 2021 12:31:57 +0000
  • Ironport-hdrordr: A9a23:/wb9p6ztI7EhDvhTM0EGKrPw2r1zdoMgy1knxilNoHxuH/BwWf rPoB17726TtN91YhsdcL+7V5VoLUmzyXcx2/hyAV7AZniAhILLFvAA0WKK+VSJdxEWtNQtsJ uIG5IUNDSaNykfsS+V2miF+9ZL+qj5zEir792usUuEm2tRGtBdBwQSMHfqLqVvLjM2fKbQjP Cnl7d6TzzLQwVuUu2LQkMrcsLkvNPxmJfvcXc9dmIaAFnnt0LS1FbieSLopCsjbw==
  • Ironport-sdr: +Y63e0c6TfAc5ZEQVwn+w1B+ge861C63jdMeiDNLdwmCsJku1G/f1nX9bw25uoTe5dC28bqvvS RF+1DY0kUHur8dXfchHVQuTMRtaFrkCe3dQ/2fixsbxJBlt0RHKvJZLkTNHvuOefphDLlBYByw uSSSWjQWUS0DmcIriEJv2vJU22jedvgTSehuv7An/9uQWKdBTVktj3Y+4e+vXZBDSdrkes3ux2 zqCT90kdo2QhtGFGU2abzq6iG1Z74eWGauZKd7vyRbG9BBimZjm/VC0af2DXAtJ4hbYu6ez0bN Urg=
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>
  • Thread-index: AQHXcw8lO0GbhNNyjkas71fAJtHqXKs/u8QAgADdFTCAAAoDgIABz24w
  • Thread-topic: [PATCH] Add log to Xenfilt DriverAddDevice

Very well, patch will be re-worked and resubmitted.

MH.

-----Original Message-----
From: Paul Durrant <xadimgnik@xxxxxxxxx> 
Sent: 13 July 2021 09:53
To: Martin Harvey <martin.harvey@xxxxxxxxxx>; win-pv-devel@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [PATCH] Add log to Xenfilt DriverAddDevice

[CAUTION - EXTERNAL EMAIL] DO NOT reply, click links, or open attachments 
unless you have verified the sender and know the content is safe.

On 13/07/2021 09:25, Martin Harvey wrote:
> Yes, we definitely need to log all filter AddDevice calls. Here's why:
> 
> Cut a long story short, the customer likes to do all the things to a VM which 
> they normally like to do to windows machines. This includes upgrading windows 
> editions via windows update on Win10, and also in some cases, mounting the 
> ISO for a newer windows server version, and upgrading the version of windows 
> server.
> 
> These upgrade cases do some driver migration steps, which often (but not 
> always) work perfectly. Unfortunately, we've seen cases where class 
> UpperFilter registry keys go missing / don't work, such that XenFilt no 
> longer binds to ACPI/PNP0A03 (PCIBus if memory serves).
> 
> If XenFilt can't filter the appropriate devices, **Everything** breaks - 
> particularly, Plug/Unplug doesn't work right, and the machine continually 
> prompts for reboot. I can go back thru case reports and give more details if 
> required.
> 
> Tracking this down as the newbie back in early 2020 took **weeks**, where it 
> could have taken a day or so. That debug print would make debugging similar 
> cases very much easier, and it's a problem we're likely to run into again.
> 
> Please include the debug print for developers sanity.
> 

That sounds like a justification :-) Care to send a v2 of the patch with (at 
least some of) this in the commit message?

   Cheers,

     Paul

> MH.
> 
> 
> -----Original Message-----
> From: win-pv-devel <win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx> On 
> Behalf Of Paul Durrant
> Sent: 12 July 2021 20:06
> To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
> Subject: Re: [PATCH] Add log to Xenfilt DriverAddDevice
> 
>> Log all calls to DriverAddDevice, and the type of the device if 
>> possible
> 
> Any particular reason existent logging is insufficient? I think we need more 
> justification here.
> 
> 


 


Rackspace

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