* Software: Xen 4.13 RC2
* Hardware: Dell IoT Gateway 3000 series
* Software: Project EVE
* Guest operating systems: Alpine Linux
* Functionality tested: compiling, installing, Booting with dom0=pv
* Comments: All works, aside from xl create often timing out

The timeout happens when either doing xl create or
xl creating in a paused state (with -p) and later resuming.
The error message is below:
   libxl: error: libxl_dom_suspend.c:609:dm_resume_done: Domain
3:Failed to resume device model: rc=-9

We've actually tracked this issue down to this piece of code:
    
http://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=tools/libxl/libxl_dom_suspend.c;h=248dbc33e384ae008e4ab9ce8fb573be06dddd72;hb=HEAD#l515

Curiously enough it seems to be the only place (aside from
libxl__wait_for_device_model_deprecated) that uses the
timeout value that low. Everywhere else it seems to be
    LIBXL_DEVICE_MODEL_START_TIMEOUT * 1000


./libxl/libxl_dom_suspend.c:
LIBXL_DEVICE_MODEL_START_TIMEOUT);
./libxl/libxl_dm.c:    spawn->timeout_ms =
LIBXL_DEVICE_MODEL_START_TIMEOUT * 1000;
./libxl/libxl_dm.c:    dmss->spawn.timeout_ms =
LIBXL_DEVICE_MODEL_START_TIMEOUT * 1000;
./libxl/libxl_pci.c:                pas->xswait.timeout_ms =
LIBXL_DEVICE_MODEL_START_TIMEOUT * 1000;
./libxl/libxl_pci.c:            LIBXL_DEVICE_MODEL_START_TIMEOUT * 1000);
./libxl/libxl_pci.c:            prs->xswait.timeout_ms =
LIBXL_DEVICE_MODEL_START_TIMEOUT * 1000;
./libxl/libxl_device.c:
LIBXL_DEVICE_MODEL_START_TIMEOUT,
./libxl/libxl_internal.h:#define LIBXL_DEVICE_MODEL_START_TIMEOUT 60
./libxl/libxenlight_test.so:LIBXL_DEVICE_MODEL_START_TIMEOUT 60
./libxl/libxenlight.so.4.13:LIBXL_DEVICE_MODEL_START_TIMEOUT 60
./libxl/libxenlight.so:LIBXL_DEVICE_MODEL_START_TIMEOUT 60
./libxl/libxenlight.so.4.13.0:LIBXL_DEVICE_MODEL_START_TIMEOUT 60

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

Reply via email to