From: Zhigang Wang <zhigang.x.wang@oracle.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: [PATCH]libxl: enable remote shutdown for pure hvm domain.
Date: Mon, 31 May 2010 17:13:24 +0800 [thread overview]
Message-ID: <4C037DB4.1090907@oracle.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 69 bytes --]
Hi Stefano,
Is this a typo or intended to be so?
Thanks,
Zhigang
[-- Attachment #2: xen-libxl-fix-domain-shutdown-hvm.patch --]
[-- Type: text/plain, Size: 666 bytes --]
libxl: enable remote shutdown for pure hvm domain.
Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>
diff -r 96917cf25bf3 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c Fri May 28 10:54:07 2010 +0100
+++ b/tools/libxl/libxl.c Mon May 31 17:05:42 2010 +0800
@@ -550,7 +550,7 @@
shutdown_path = libxl_sprintf(ctx, "%s/control/shutdown", dom_path);
xs_write(ctx->xsh, XBT_NULL, shutdown_path, req_table[req], strlen(req_table[req]));
- if (/* hvm */ 0) {
+ if (is_hvm(ctx, domid)) {
unsigned long acpi_s_state = 0;
unsigned long pvdriver = 0;
xc_get_hvm_param(ctx->xch, domid, HVM_PARAM_ACPI_S_STATE, &acpi_s_state);
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2010-05-31 9:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-31 9:13 Zhigang Wang [this message]
2010-05-31 9:31 ` [PATCH]libxl: enable remote shutdown for pure hvm domain Yang Hongyang
2010-05-31 9:43 ` [PATCH]libxl: enable remote shutdown for pure hvm domain. - withdraw Zhigang Wang
2010-05-31 9:48 ` Stefano Stabellini
2010-05-31 9:45 ` [PATCH]libxl: enable remote shutdown for pure hvm domain Stefano Stabellini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C037DB4.1090907@oracle.com \
--to=zhigang.x.wang@oracle.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.