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

Re: [XENVIF PATCH 1/3] Avoid returning STATUS_PNP_REBOOT_REQUIRED


  • To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Paul Durrant <xadimgnik@xxxxxxxxx>
  • Date: Wed, 24 Jul 2024 09:08:21 +0100
  • Delivery-date: Wed, 24 Jul 2024 08:16:45 +0000
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

On 09/07/2024 11:44, Owen Smith wrote:
When emulated devices are present, returning STATUS_PNP_REBOOT_REQUIRED
will display the 'reboot required' toast popup, but will also count as
a failure when distributing XenNet via Windows Update, which will
result in Microsoft pulling the XenNet update.
Note: PnpUnplugRequest is called twice in this startup codepath, as
       the reference count is decreased by PdoStopDevice later and
       keeping the reference count above zero is needed to unplug
       the emulated device.

Signed-off-by: Owen Smith <owen.smith@xxxxxxxxx>
---
  src/xenvif/pdo.c | 13 +++----------
  1 file changed, 3 insertions(+), 10 deletions(-)


Acked-by: Paul Durrant <paul@xxxxxxx>




 


Rackspace

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