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

Re: [XENVIF PATCH] Opt into forced unplug



On 10/07/2025 10:04, Owen Smith wrote:
> Should this be in xennet's inf?
> It would be possible to install xenbus and xenvif, then reboot and have
> force-unplugged the emulated network without completing the install of
> xennet which may now be inaccessible
>
> Owen

I did some tests and it does make more sense that way. I'll prepare an
opt-in for xennet instead.

>
> On Wed, Jul 9, 2025 at 4:47 PM Tu Dinh <ngoc-tu.dinh@xxxxxxxxxx> wrote:
>
>     Signed-off-by: Tu Dinh <ngoc-tu.dinh@xxxxxxxxxx>
>     ---
>       src/xenvif.inf | 2 ++
>       1 file changed, 2 insertions(+)
>
>     diff --git a/src/xenvif.inf b/src/xenvif.inf
>     index 0430f04..0cc9b06 100644
>     --- a/src/xenvif.inf
>     +++ b/src/xenvif.inf
>     @@ -87,6 +87,7 @@
>     HKR,"Parameters","FrontendMaxQueues",0x00010001,0x00000008
>
>       [XenVif_Unplug]
>       HKLM,%UnplugKey%,"NICS",0x00010001,0
>     +HKLM,%ForceUnplugKey%,"NICS",0x00010001,1
>
>       [Strings]
>
>     @@ -94,6 +95,7 @@ Vendor="@VENDOR_NAME@"
>       DiskDesc="@PRODUCT_NAME@ PV Network Class Package"
>       XenVifName="@PRODUCT_NAME@ PV Network Class"
>       UnplugKey="SYSTEM\CurrentControlSet\Services\XEN\Unplug"
>     +ForceUnplugKey="SYSTEM\CurrentControlSet\Services\XEN\ForceUnplug"
>
>       SERVICE_BOOT_START=0x0
>       SERVICE_SYSTEM_START=0x1
>     --
>     2.50.1.windows.1
>
>
>
>     Ngoc Tu Dinh | Vates XCP-ng Developer
>
>     XCP-ng & Xen Orchestra - Vates solutions
>
>     web: https://vates.tech <https://vates.tech>
>



Ngoc Tu Dinh | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech





 


Rackspace

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