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

Re: [Xen-devel] [PATCH v3] tools: set Dom0 UUID if requested



On Fri, Nov 23, 2018 at 03:28:49PM +0000, Anthony PERARD wrote:
> > diff --git a/tools/hotplug/Linux/systemd/xen-init-dom0.service.in 
> > b/tools/hotplug/Linux/systemd/xen-init-dom0.service.in
> > index 3befadcea3..beed3126c6 100644
> > --- a/tools/hotplug/Linux/systemd/xen-init-dom0.service.in
> > +++ b/tools/hotplug/Linux/systemd/xen-init-dom0.service.in
> > @@ -7,8 +7,9 @@ ConditionPathExists=/proc/xen/capabilities
> >  [Service]
> >  Type=oneshot
> >  RemainAfterExit=true
> > +EnvironmentFile=@CONFIG_DIR@/@CONFIG_LEAF_DIR@/xencommons
> >  ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities
> > -ExecStart=@LIBEXEC_BIN@/xen-init-dom0
> > +ExecStart=@LIBEXEC_BIN@/xen-init-dom0 $XEN_DOM0_UUID
> >  
> >  [Install]
> >  WantedBy=multi-user.target
> 
> Don't you need to modify FreeBSD/rc.d/xencommons.in and
> NetBSD/rc.d/xencommons.in as well?

I didn't want to modify them without having a test setup first.  The
xen-init-dom0 program already takes into consideration that they don't
provide UUID.

I can do it in the next version.

Wei.

> 
> -- 
> Anthony PERARD

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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