[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)



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. 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`

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



On Monday, October 20, 2014 2:59 AM, Wei Liu <wei.liu2@xxxxxxxxxx> wrote:
On Sun, Oct 19, 2014 at 09:29:28PM -0700, Mark Pryor wrote:
> Its solved, sort of. Your patch works if I do this:
> http://pastebin.com/f8b0qW9X
> 
> So I fake a json config in /var/lib/xen for dom0, set it to
> chmod 600 userdata-d.0*.libxl-json
> 
> reboot and all the warnings go away and 
> 

The core idea is to invoke xen-init-dom0 before starting xendomains.

I will post a patch series to fix this properly.




Wei.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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