Re: [Xen-devel] [PATCH] tools/hotplug: Add native systemd xendriverdomain.service

2016-07-07 Thread Rusty Bird
Wei Liu: > While I understand it might be necessary to have a dedicated service > file for xendriverdomain, I can't seem to be able to figure out the > rationale from the commit message. > > After thinking a bit harder, may I suggest commit message like this (and > please correct me if I'm wrong):

Re: [Xen-devel] [PATCH] tools/hotplug: Add native systemd xendriverdomain.service

2016-07-07 Thread Wei Liu
On Sun, Jul 03, 2016 at 03:33:01AM +, Rusty Bird wrote: > Uses ConditionVirtualization=xen, which evaluates to false in dom0 since > systemd 214 (released 2014-06-11). An alternative would be this line: > ExecStartPre=/bin/sh -c "! grep -q control_d /proc/xen/capabilities" > > (Please rerun au

[Xen-devel] [PATCH] tools/hotplug: Add native systemd xendriverdomain.service

2016-07-02 Thread Rusty Bird
Uses ConditionVirtualization=xen, which evaluates to false in dom0 since systemd 214 (released 2014-06-11). An alternative would be this line: ExecStartPre=/bin/sh -c "! grep -q control_d /proc/xen/capabilities" (Please rerun autogen.sh) Signed-off-by: Rusty Bird Cc: Ian Jackson Cc: Wei Liu --