* [PATCH 2/2] systemd: drop dependency on proc-xen.mount in xendriverdomain.service [not found] <1469388272-22789-1-git-send-email-marmarek@invisiblethingslab.com> @ 2016-07-24 19:27 ` Marek Marczykowski-Górecki 2016-07-25 9:27 ` Wei Liu 0 siblings, 1 reply; 7+ messages in thread From: Marek Marczykowski-Górecki @ 2016-07-24 19:27 UTC (permalink / raw) To: xen-devel; +Cc: Wei Liu, Ian Jackson, Marek Marczykowski-Górecki [-- Attachment #1.1: Type: text/plain, Size: 787 bytes --] It is no longer required since xl devd use /dev/xen interface. Cc: Ian Jackson <ian.jackson@eu.citrix.com> Cc: Wei Liu <wei.liu2@citrix.com> Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> --- tools/hotplug/Linux/systemd/xendriverdomain.service.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/hotplug/Linux/systemd/xendriverdomain.service.in b/tools/hotplug/Linux/systemd/xendriverdomain.service.in index 0afb54d..a100309 100644 --- a/tools/hotplug/Linux/systemd/xendriverdomain.service.in +++ b/tools/hotplug/Linux/systemd/xendriverdomain.service.in @@ -1,7 +1,5 @@ [Unit] Description=Xen driver domain device daemon -Requires=proc-xen.mount -After=proc-xen.mount ConditionVirtualization=xen [Service] -- 2.5.5 [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 473 bytes --] [-- Attachment #2: Type: text/plain, Size: 127 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] systemd: drop dependency on proc-xen.mount in xendriverdomain.service 2016-07-24 19:27 ` [PATCH 2/2] systemd: drop dependency on proc-xen.mount in xendriverdomain.service Marek Marczykowski-Górecki @ 2016-07-25 9:27 ` Wei Liu 2016-07-25 9:30 ` Marek Marczykowski-Górecki 0 siblings, 1 reply; 7+ messages in thread From: Wei Liu @ 2016-07-25 9:27 UTC (permalink / raw) To: Marek Marczykowski-Górecki; +Cc: Wei Liu, Ian Jackson, xen-devel On Sun, Jul 24, 2016 at 09:27:13PM +0200, Marek Marczykowski-Górecki wrote: > It is no longer required since xl devd use /dev/xen interface. > How would this unit work when there is no /dev/xen interface? To be precise, we prefer /dev/xen interfaces whenever possible but there is a fallback to /proc/xen. Note that a lot of other unit files have this dependency on proc-xen.mount. I'm inclined to say we should keep this dependency but I'm not sure if I missed some obvious things. > Cc: Ian Jackson <ian.jackson@eu.citrix.com> > Cc: Wei Liu <wei.liu2@citrix.com> > Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> > --- > tools/hotplug/Linux/systemd/xendriverdomain.service.in | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/tools/hotplug/Linux/systemd/xendriverdomain.service.in b/tools/hotplug/Linux/systemd/xendriverdomain.service.in > index 0afb54d..a100309 100644 > --- a/tools/hotplug/Linux/systemd/xendriverdomain.service.in > +++ b/tools/hotplug/Linux/systemd/xendriverdomain.service.in > @@ -1,7 +1,5 @@ > [Unit] > Description=Xen driver domain device daemon > -Requires=proc-xen.mount > -After=proc-xen.mount > ConditionVirtualization=xen > > [Service] > -- > 2.5.5 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] systemd: drop dependency on proc-xen.mount in xendriverdomain.service 2016-07-25 9:27 ` Wei Liu @ 2016-07-25 9:30 ` Marek Marczykowski-Górecki 2016-07-25 9:34 ` Wei Liu 0 siblings, 1 reply; 7+ messages in thread From: Marek Marczykowski-Górecki @ 2016-07-25 9:30 UTC (permalink / raw) To: Wei Liu; +Cc: Ian Jackson, xen-devel [-- Attachment #1.1: Type: text/plain, Size: 1666 bytes --] On Mon, Jul 25, 2016 at 10:27:47AM +0100, Wei Liu wrote: > On Sun, Jul 24, 2016 at 09:27:13PM +0200, Marek Marczykowski-Górecki wrote: > > It is no longer required since xl devd use /dev/xen interface. > > > > How would this unit work when there is no /dev/xen interface? Does it happen in reality? I thought /proc/xen is deprecated for a long time... > To be precise, we prefer /dev/xen interfaces whenever possible but there > is a fallback to /proc/xen. Note that a lot of other unit files have > this dependency on proc-xen.mount. > > I'm inclined to say we should keep this dependency but I'm not sure if I > missed some obvious things. > > > Cc: Ian Jackson <ian.jackson@eu.citrix.com> > > Cc: Wei Liu <wei.liu2@citrix.com> > > Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> > > --- > > tools/hotplug/Linux/systemd/xendriverdomain.service.in | 2 -- > > 1 file changed, 2 deletions(-) > > > > diff --git a/tools/hotplug/Linux/systemd/xendriverdomain.service.in b/tools/hotplug/Linux/systemd/xendriverdomain.service.in > > index 0afb54d..a100309 100644 > > --- a/tools/hotplug/Linux/systemd/xendriverdomain.service.in > > +++ b/tools/hotplug/Linux/systemd/xendriverdomain.service.in > > @@ -1,7 +1,5 @@ > > [Unit] > > Description=Xen driver domain device daemon > > -Requires=proc-xen.mount > > -After=proc-xen.mount > > ConditionVirtualization=xen > > > > [Service] > > -- > > 2.5.5 > > -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 473 bytes --] [-- Attachment #2: Type: text/plain, Size: 127 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] systemd: drop dependency on proc-xen.mount in xendriverdomain.service 2016-07-25 9:30 ` Marek Marczykowski-Górecki @ 2016-07-25 9:34 ` Wei Liu 2016-07-25 9:40 ` Marek Marczykowski-Górecki 2016-07-25 9:45 ` Andrew Cooper 0 siblings, 2 replies; 7+ messages in thread From: Wei Liu @ 2016-07-25 9:34 UTC (permalink / raw) To: Marek Marczykowski-Górecki; +Cc: Ian Jackson, Wei Liu, xen-devel On Mon, Jul 25, 2016 at 11:30:32AM +0200, Marek Marczykowski-Górecki wrote: > On Mon, Jul 25, 2016 at 10:27:47AM +0100, Wei Liu wrote: > > On Sun, Jul 24, 2016 at 09:27:13PM +0200, Marek Marczykowski-Górecki wrote: > > > It is no longer required since xl devd use /dev/xen interface. > > > > > > > How would this unit work when there is no /dev/xen interface? > > Does it happen in reality? I thought /proc/xen is deprecated for a long > time... > I can't tell whether it happens in reality or not. I also hope to get rid of deprecated interface but they are here to stay for as long as it takes. I guess the question is, do you have a compelling reason against keeping this dependency? Wei. > > To be precise, we prefer /dev/xen interfaces whenever possible but there > > is a fallback to /proc/xen. Note that a lot of other unit files have > > this dependency on proc-xen.mount. > > > > I'm inclined to say we should keep this dependency but I'm not sure if I > > missed some obvious things. > > > > > Cc: Ian Jackson <ian.jackson@eu.citrix.com> > > > Cc: Wei Liu <wei.liu2@citrix.com> > > > Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> > > > --- > > > tools/hotplug/Linux/systemd/xendriverdomain.service.in | 2 -- > > > 1 file changed, 2 deletions(-) > > > > > > diff --git a/tools/hotplug/Linux/systemd/xendriverdomain.service.in b/tools/hotplug/Linux/systemd/xendriverdomain.service.in > > > index 0afb54d..a100309 100644 > > > --- a/tools/hotplug/Linux/systemd/xendriverdomain.service.in > > > +++ b/tools/hotplug/Linux/systemd/xendriverdomain.service.in > > > @@ -1,7 +1,5 @@ > > > [Unit] > > > Description=Xen driver domain device daemon > > > -Requires=proc-xen.mount > > > -After=proc-xen.mount > > > ConditionVirtualization=xen > > > > > > [Service] > > > -- > > > 2.5.5 > > > > > > -- > Best Regards, > Marek Marczykowski-Górecki > Invisible Things Lab > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] systemd: drop dependency on proc-xen.mount in xendriverdomain.service 2016-07-25 9:34 ` Wei Liu @ 2016-07-25 9:40 ` Marek Marczykowski-Górecki 2016-07-25 9:45 ` Andrew Cooper 1 sibling, 0 replies; 7+ messages in thread From: Marek Marczykowski-Górecki @ 2016-07-25 9:40 UTC (permalink / raw) To: Wei Liu; +Cc: Ian Jackson, xen-devel [-- Attachment #1.1: Type: text/plain, Size: 1032 bytes --] On Mon, Jul 25, 2016 at 10:34:21AM +0100, Wei Liu wrote: > On Mon, Jul 25, 2016 at 11:30:32AM +0200, Marek Marczykowski-Górecki wrote: > > On Mon, Jul 25, 2016 at 10:27:47AM +0100, Wei Liu wrote: > > > On Sun, Jul 24, 2016 at 09:27:13PM +0200, Marek Marczykowski-Górecki wrote: > > > > It is no longer required since xl devd use /dev/xen interface. > > > > > > > > > > How would this unit work when there is no /dev/xen interface? > > > > Does it happen in reality? I thought /proc/xen is deprecated for a long > > time... > > > > I can't tell whether it happens in reality or not. I also hope to get > rid of deprecated interface but they are here to stay for as long as it > takes. > > I guess the question is, do you have a compelling reason against keeping > this dependency? Just cleaning up old stuff, so - no. -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 473 bytes --] [-- Attachment #2: Type: text/plain, Size: 127 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] systemd: drop dependency on proc-xen.mount in xendriverdomain.service 2016-07-25 9:34 ` Wei Liu 2016-07-25 9:40 ` Marek Marczykowski-Górecki @ 2016-07-25 9:45 ` Andrew Cooper 2016-07-25 9:49 ` Wei Liu 1 sibling, 1 reply; 7+ messages in thread From: Andrew Cooper @ 2016-07-25 9:45 UTC (permalink / raw) To: Wei Liu, Marek Marczykowski-Górecki; +Cc: Ian Jackson, xen-devel On 25/07/16 10:34, Wei Liu wrote: > On Mon, Jul 25, 2016 at 11:30:32AM +0200, Marek Marczykowski-Górecki wrote: >> On Mon, Jul 25, 2016 at 10:27:47AM +0100, Wei Liu wrote: >>> On Sun, Jul 24, 2016 at 09:27:13PM +0200, Marek Marczykowski-Górecki wrote: >>>> It is no longer required since xl devd use /dev/xen interface. >>>> >>> How would this unit work when there is no /dev/xen interface? >> Does it happen in reality? I thought /proc/xen is deprecated for a long >> time... It really should be, but isn't. /proc/xen/capabilities and /proc/xen/allsyms (?) don't have any equivalent in /dev/ >> > I can't tell whether it happens in reality or not. I also hope to get > rid of deprecated interface but they are here to stay for as long as it > takes. > > I guess the question is, do you have a compelling reason against keeping > this dependency? We really should be making xenfs deprecated and able to be compiled out of Linux. It is a hangover of the early classic kernels which isn't necessary, and causes subtle/weird failures if it isn't mounted. ~Andrew _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] systemd: drop dependency on proc-xen.mount in xendriverdomain.service 2016-07-25 9:45 ` Andrew Cooper @ 2016-07-25 9:49 ` Wei Liu 0 siblings, 0 replies; 7+ messages in thread From: Wei Liu @ 2016-07-25 9:49 UTC (permalink / raw) To: Andrew Cooper Cc: Ian Jackson, Wei Liu, Marek Marczykowski-Górecki, xen-devel On Mon, Jul 25, 2016 at 10:45:54AM +0100, Andrew Cooper wrote: > On 25/07/16 10:34, Wei Liu wrote: > > On Mon, Jul 25, 2016 at 11:30:32AM +0200, Marek Marczykowski-Górecki wrote: > >> On Mon, Jul 25, 2016 at 10:27:47AM +0100, Wei Liu wrote: > >>> On Sun, Jul 24, 2016 at 09:27:13PM +0200, Marek Marczykowski-Górecki wrote: > >>>> It is no longer required since xl devd use /dev/xen interface. > >>>> > >>> How would this unit work when there is no /dev/xen interface? > >> Does it happen in reality? I thought /proc/xen is deprecated for a long > >> time... > > It really should be, but isn't. > > /proc/xen/capabilities and /proc/xen/allsyms (?) don't have any > equivalent in /dev/ > > >> > > I can't tell whether it happens in reality or not. I also hope to get > > rid of deprecated interface but they are here to stay for as long as it > > takes. > > > > I guess the question is, do you have a compelling reason against keeping > > this dependency? > > We really should be making xenfs deprecated and able to be compiled out > of Linux. It is a hangover of the early classic kernels which isn't > necessary, and causes subtle/weird failures if it isn't mounted. > +1 from me of course! When the kernel is ready, I shall remove the fallback in libraries and then we can remove all references to proc-xen.mount and even proc-xen.mount itself. Wei. > ~Andrew _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-07-25 9:49 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1469388272-22789-1-git-send-email-marmarek@invisiblethingslab.com>
2016-07-24 19:27 ` [PATCH 2/2] systemd: drop dependency on proc-xen.mount in xendriverdomain.service Marek Marczykowski-Górecki
2016-07-25 9:27 ` Wei Liu
2016-07-25 9:30 ` Marek Marczykowski-Górecki
2016-07-25 9:34 ` Wei Liu
2016-07-25 9:40 ` Marek Marczykowski-Górecki
2016-07-25 9:45 ` Andrew Cooper
2016-07-25 9:49 ` Wei Liu
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).