xen-troops / meta-xt-prod-devel

GNU General Public License v2.0
4 stars 13 forks source link

Guest domain creation is limited for 26 retries #286

Open arminn opened 4 years ago

arminn commented 4 years ago

To reproduce: 1) Make gues domain unbootable 2) Wait for 26 retries:

(XEN) Removed GSX d25 (OSID 1)
(XEN) Added GSX d26 (OSID 1)
(XEN) ipmmu: /soc/mmu@e67b0000: d26: Set IPMMU context 2 (pgd 0x759c46000)
(XEN) ipmmu: /soc/gsx_pv0_domu: Using IPMMU context 2
(XEN) ipmmu: /soc/gsx_pv1_domu: Using IPMMU context 2
(XEN) ipmmu: /soc/gsx_pv2_domu: Using IPMMU context 2
(XEN) ipmmu: /soc/gsx_pv3_domu: Using IPMMU context 2
(XEN) Removed GSX d26 (OSID 1)

root@generic-armv8-xt-dom0:~# xl list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0   256     4     r-----     117.6
DomD                                         1  1279     4     -b----      94.1

If you try to create d27 domain :

root@generic-armv8-xt-dom0:~# xl create /xt/dom.cfg/doma.cfg -c
Parsing config from /xt/dom.cfg/doma.cfg
libxl: warning: libxl_create.c:911:libxl__domain_config_setdefault: XSM Disabled: init_seclabel not supported
libxl: info: libxl_create.c:120:libxl__domain_build_info_setdefault: qemu-xen is unavailable, using qemu-xen-traditional instead: No such file or directory
(XEN) Added GSX d27 (OSID 1)
(XEN) ipmmu: /soc/mmu@e67b0000: d27: Set IPMMU context 2 (pgd 0x759ce6000)
(XEN) ipmmu: /soc/gsx_pv0_domu: Using IPMMU context 2
(XEN) ipmmu: /soc/gsx_pv1_domu: Using IPMMU context 2
(XEN) ipmmu: /soc/gsx_pv2_domu: Using IPMMU context 2
(XEN) ipmmu: /soc/gsx_pv3_domu: Using IPMMU context 2
libxl: error: libxl_device.c:1105:device_backend_callback: Domain 27:unable to add device with path /local/domain/1/backend/vcamera/27/0
libxl: error: libxl_create.c:1703:domcreate_attach_devices: Domain 27:unable to add vcamera devices
libxl: error: libxl_device.c:1105:device_backend_callback: Domain 27:unable to remove device with path /local/domain/1/backend/vinput/27/0
libxl: error: libxl_device.c:1105:device_backend_callback: Domain 27:unable to remove device with path /local/domain/1/backend/vcamera/27/0
libxl: error: libxl_domain.c:1290:devices_destroy_cb: Domain 27:libxl__devices_destroy failed
(XEN) Removed GSX d27 (OSID 1)
libxl: error: libxl_domain.c:1177:libxl__destroy_domid: Domain 27:Non-existant domain
libxl: error: libxl_domain.c:1131:domain_destroy_callback: Domain 27:Unable to destroy guest
libxl: error: libxl_domain.c:1058:domain_destroy_cb: Domain 27:Destruction of domain failed
otyshchenko1 commented 3 years ago

is not reproducible on new REL-v6.0 (Xen v4.15)