Displaying 2 results from an estimated 2 matches for "libxl__qmp_system_wakeup".
2013 Sep 09
1
[PATCH V3] xl: HVM domain S3 bugfix
...switch (libxl__device_model_version_running(gc, domid)) {
+ case LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN_TRADITIONAL:
+ rc = xc_set_hvm_param(CTX->xch, domid, HVM_PARAM_ACPI_S_STATE, 0);
+ break;
+ case LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN:
+ rc = libxl__qmp_system_wakeup(gc, domid);
+ break;
+ default:
+ rc = ERROR_INVAL;
+ break;
+ }
+ break;
+ default:
+ rc = ERROR_INVAL;
+ break;
+ }
+
+ return rc;
+}
+
int libxl_send_trigger(libxl_ctx *ctx, uint32_t domid,
libx...
2013 Oct 22
0
Re: [PATCH V3] xl: HVM domain S3 bugfix
...nning(gc, domid)) {
>> + case LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN_TRADITIONAL:
>> + rc = xc_set_hvm_param(CTX->xch, domid,
>> HVM_PARAM_ACPI_S_STATE, 0); + break; + case
>> LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN: + rc =
>> libxl__qmp_system_wakeup(gc, domid); + break; +
>> default: + rc = ERROR_INVAL;
>> + break;
>> + }
>> + break;
>> + default:
>> + rc = ERROR_INVAL;
>> + break;
>> + }
>> +
>> + return rc;...