lkml.org 
[lkml]   [2021]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] pciehp: fast unplug for virtual machines
  Hi,

> Same for the 1 second delay in remove_board(). That's mandated by
> PCIe r5.0, sec. 6.7.1.8, but it's only observed if a Power Controller
> is present. So just clear the Power Controller Present bit in the
> Slot Capabilities register and the delay is gone.

Well, the power control bit is a useful data channel. qemu can use that
to figure whenever the guest uses the device (power is on) or not (power
is off). And in case power is off anyway we can simply remove the
device without the attention button dance.

take care,
Gerd

\
 
 \ /
  Last update: 2021-11-15 11:11    [W:0.125 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site