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

Re: [Xen-users] patch to fix xendomains non-fatal error (4.5-unstable)

On Mon, Oct 20, 2014 at 07:32:14AM -0700, Mark Pryor wrote:
> Wei,
> Running `xl list -l 0` I can see with strace that libxl trys to open (when 
> dom0 guid is null)
> /var/lib/xen/userdata-d.0.00000000-0000-0000-0000-000000000000.libxl-json
> When looking over the source
> xen-init-dom0.c
> I could not see where the metadata for dom0 was read from or written to. It 
> seems
> that no file is ever written by this App.

Yes, it's all internal to library.

>I can see that it is running in logs way before xendomains starts, in
>fact it runs concurrent with xenstored. It writes to log that `dom0 is
>already setup`

I think my patch almost works, it's just missing a few configs in
service file. Are you familiar with systemd stuffs? It will take me a
long time to setup a working environment. At the moment I don't have a
working Dom0 kernel for CentOS 7.

If you're familiar with SystemD stuffs and can tune that service to
work, post the new one here then I can use that directly in my patch.

Basically that service runs xen-init-dom0 once before running

From the log you posted I can see it gets invoked several times (the
"already setup" log). I think I'm missing RemainAfterExit=true in
xen-init-dom0.service, but I can't test it now.

> If you redo the patch, include the changes to ./tools/configure.ac



Xen-users mailing list



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