|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH net-next] xen-netback: get rid of old udev related code
On 16.12.19 09:18, Durrant, Paul wrote: -----Original Message----- From: Jürgen Groß <jgross@xxxxxxxx> Sent: 16 December 2019 08:10 To: Durrant, Paul <pdurrant@xxxxxxxxxx>; David Miller <davem@xxxxxxxxxxxxx> Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx; wei.liu@xxxxxxxxxx; linux- kernel@xxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx Subject: Re: [Xen-devel] [PATCH net-next] xen-netback: get rid of old udev related code On 13.12.19 11:12, Durrant, Paul wrote:-----Original Message----- From: Jürgen Groß <jgross@xxxxxxxx> Sent: 13 December 2019 10:02 To: Durrant, Paul <pdurrant@xxxxxxxxxx>; David Miller <davem@xxxxxxxxxxxxx> Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx; wei.liu@xxxxxxxxxx; linux- kernel@xxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx Subject: Re: [Xen-devel] [PATCH net-next] xen-netback: get rid of oldudevrelated code On 13.12.19 10:24, Durrant, Paul wrote:-----Original Message----- From: Jürgen Groß <jgross@xxxxxxxx> Sent: 13 December 2019 05:41 To: David Miller <davem@xxxxxxxxxxxxx>; Durrant, Paul <pdurrant@xxxxxxxxxx> Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx; wei.liu@xxxxxxxxxx; linux- kernel@xxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx Subject: Re: [Xen-devel] [PATCH net-next] xen-netback: get rid of oldudevrelated code On 12.12.19 20:05, David Miller wrote:From: Paul Durrant <pdurrant@xxxxxxxxxx> Date: Thu, 12 Dec 2019 13:54:06 +0000In the past it used to be the case that the Xen toolstack relieduponudev to execute backend hotplug scripts. However this has not beenthecase for many releases now and removal of the associated code in xen-netback shortens the source by more than 100 lines, and removesmuchcomplexity in the interaction with the xenstore backend state. NOTE: xen-netback is the only xenbus driver to have a functionaluevent() The Linux kernel policy regarding user interfaces and existing use cases is rather clear and we should not deviate without very strong reasons. Another question coming up would be: how is this handled in a driver domain running netback? Which component is starting the hotplug script there? I don't think we can assume a standard Xen toolset in this case. So I'd rather leave this code as it is instead of breaking some rare but valid use cases.I am not sure there is a standard. Do we 'support' driver domains with any sort of tools API or do they really just have to notice things via xenstore? I agree Linux running as a driver domain could indeed use udev. I intend in no way to break projects like Qubes. Disaggregation is one of the very big advantages of Xen over KVM, Hyper-V and VMWare. We should not give that up "just to get rid of some code". Period. Aside from the udev kicks though, I still think the hotplug-status/ringstate interaction is just bogus anyway. As I said in a previous thread, the hotplug-status ought to be indicated as carrier status, if at all, so I still think all that code ought to go. I agree regarding the future interface, but with the carrier state just being in the plans to be added now, it is clearly too early to remove the code with that reasoning.I don't think so. Like I said, I think the hotplug status has nothing to do with the state of the shared ring. Even with the code as-is, nothing informs the frontend if the netif is subsequently closed or re-plumbed, so why must we continue to maintain this code? AFAICT it is just not fit for purpose. If it is being used that way we need to continue supporting it. Juergen _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |