All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]libxl: enable remote shutdown for pure hvm domain.
@ 2010-05-31  9:13 Zhigang Wang
  2010-05-31  9:31 ` Yang Hongyang
  2010-05-31  9:45 ` [PATCH]libxl: enable remote shutdown for pure hvm domain Stefano Stabellini
  0 siblings, 2 replies; 5+ messages in thread
From: Zhigang Wang @ 2010-05-31  9:13 UTC (permalink / raw)
  To: Stefano Stabellini; +Cc: xen-devel

[-- 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-31  9:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-31  9:13 [PATCH]libxl: enable remote shutdown for pure hvm domain Zhigang Wang
2010-05-31  9:31 ` 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

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.