Displaying 2 results from an estimated 2 matches for "libxl__domain_s3_resum".
Did you mean:
libxl__domain_s3_resume
2013 Sep 09
1
[PATCH V3] xl: HVM domain S3 bugfix
...ged, 36 insertions(+), 2 deletions(-)
diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c
index 81785df..267bc25 100644
--- a/tools/libxl/libxl.c
+++ b/tools/libxl/libxl.c
@@ -4641,10 +4641,37 @@ int libxl_domain_sched_params_get(libxl_ctx *ctx, uint32_t domid,
return ret;
}
+static int libxl__domain_s3_resume(libxl__gc *gc, int domid)
+{
+ int rc = 0;
+
+ switch (libxl__domain_type(gc, domid)) {
+ case LIBXL_DOMAIN_TYPE_HVM:
+ switch (libxl__device_model_version_running(gc, domid)) {
+ case LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN_TRADITIONAL:
+ rc = xc_set_hvm_param(CTX-&g...
2013 Oct 22
0
Re: [PATCH V3] xl: HVM domain S3 bugfix
...l/libxl.c b/tools/libxl/libxl.c
>> index 81785df..267bc25 100644
>> --- a/tools/libxl/libxl.c
>> +++ b/tools/libxl/libxl.c
>> @@ -4641,10 +4641,37 @@ int libxl_domain_sched_params_get(libxl_ctx
>> *ctx, uint32_t domid, return ret; }
>>
>> +static int libxl__domain_s3_resume(libxl__gc *gc, int domid) +{
>> + int rc = 0;
>> +
>> + switch (libxl__domain_type(gc, domid)) {
>> + case LIBXL_DOMAIN_TYPE_HVM:
>> + switch (libxl__device_model_version_running(gc, domid)) {
>> + case LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN_...