xl list shows dom0 name as (null) in Xen 4.2.3
Hello,
Fedora 19 running Xen 4.2.3 rpms, "xl list" after dom0 reboot:
[root@localhost ~]# xl list
Name ID Mem VCPUs State Time(s)
(null) 0 1024 8 r----- 16.3
Why is dom0's name "(null)" ?
It seems also xenstore is quite empty:
[root@localhost ~]# xenstore-ls
tool = ""
xenstored = ""
If i start xend, and then run "xl list" again the name is correct:
[root@localhost ~]# systemctl start xend.service
[root@localhost ~]# xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 1024 8 r----- 18.2
So xend seems to fix it.. someone else seeing the same behaviour? Also xenstore gets a lot of stuff after xend is started.
Am I missing some daemon/script that should be executed at boot time when using only xl?
[root@localhost ~]# xl info
host : localhost.localdomain
release : 3.11.1-200.fc19.x86_64
version : #1 SMP Sat Sep 14 15:04:51 UTC 2013
machine : x86_64nr_cpus : 8max_cpu_id : 7nr_nodes : 1cores_per_socket : 4threads_per_core : 2cpu_mhz : 3392hw_caps : bfebfbff:28100800:00000000:00007f40:77bae3ff:00000000:00000001:00000281virt_caps : hvm hvm_directiototal_memory : 16201free_memory : 14958sharing_freed_memory : 0sharing_used_memory : 0free_cpus : 0xen_major : 4xen_minor : 2xen_extra : .3xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64xen_scheduler : creditxen_pagesize : 4096platform_params : virt_start=0xffff800000000000xen_changeset : unavailablexen_commandline : placeholder dom0_mem=1024M,max:1024M loglvl=all guest_loglvl=allcc_compiler : gcc (GCC) 4.8.1 20130603 (Red Hat 4.8.1-1)cc_compile_by : mockbuildcc_compile_domain : phx2.fedoraproject.orgcc_compile_date : Mon Sep 9 19:18:40 UTC 2013xend_config_format : 4
-- Pasi
Quoted 18 lines · you
Hello,
Fedora 19 running Xen 4.2.3 rpms, "xl list" after dom0 reboot:
[root@localhost ~]# xl list
Name ID Mem VCPUs State Time(s)
(null) 0 1024 8 r----- 16.3Why is dom0's name "(null)" ?
It seems also xenstore is quite empty:[root@localhost ~]# xenstore-ls
tool = ""
xenstored = ""If i start xend, and then run "xl list" again the name is correct:
Quoted 7 lines
[root@localhost ~]# systemctl start xend.service
[root@localhost ~]# xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 1024 8 r----- 18.2So xend seems to fix it.. someone else seeing the same behaviour?
Not exactly the same, but sometimes guests end up stuck on shutdown in .. i thought -d---p- state and name (null). I haven't exactly spotted when and why (although it always seem to be with passthrough domains in my case)
Problem with a domain in the list with name "(null)" that is .. that the xendomains script bails out on shutdown before shutting down any guest (i seems to interpret it literally). So it would be quite preferable that domain names do not get reset to "(null)" in any case ..
--
Sander
Quoted 41 lines
Also xenstore gets a lot of stuff after xend is started.
Am I missing some daemon/script that should be executed at boot time when using only xl?
[root@localhost ~]# xl info
host : localhost.localdomain
release : 3.11.1-200.fc19.x86_64
version : #1 SMP Sat Sep 14 15:04:51 UTC 2013
machine :x86_64nr_cpus: 8max_cpu_id: 7nr_nodes: 1cores_per_socket: 4threads_per_core: 2cpu_mhz: 3392hw_caps: bfebfbff:28100800:00000000:00007f40:77bae3ff:00000000:00000001:00000281virt_caps: hvmhvm_directiototal_memory: 16201free_memory: 14958sharing_freed_memory: 0sharing_used_memory: 0free_cpus: 0xen_major: 4xen_minor: 2xen_extra: .3xen_caps: xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64xen_scheduler: creditxen_pagesize: 4096platform_params: virt_start=0xffff800000000000xen_changeset: unavailablexen_commandline: placeholder dom0_mem=1024M,max:1024M loglvl=all guest_loglvl=allcc_compiler: gcc (GCC) 4.8.1 20130603 (Red Hat 4.8.1-1)cc_compile_by: mockbuildcc_compile_domain: phx2.fedoraproject.orgcc_compile_date: Mon Sep 9 19:18:40 UTC 2013xend_config_format: 4-- Pasi
Quoted 3 lines · Pasi Kärkkäinen
Am I missing some daemon/script that should be executed at boot time when using only xl?
xencommons is supposed to start xenstored and initialise it which includes writing the dom0 name field, regardless of which toolstack you are using. This has been the case since around 4.1 I think.
Ian.
Quoted 8 lines · Ian Campbell
Quoted 3 lines · Pasi Kärkkäinen
Am I missing some daemon/script that should be executed at boot time when using only xl?
xencommons is supposed to start xenstored and initialise it which includes writing the dom0 name field, regardless of which toolstack you are using. This has been the case since around 4.1 I think.
That explains it. Fedora doesn't run xencommons - it had separate start scripts when I took over and now uses systemd. It sound like it is time for me to look through xencommons again and see what is missing from the systemd files.
Michael Young
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel