All of lore.kernel.org
 help / color / mirror / Atom feed
From: "James Harper" <james.harper@bendigoit.com.au>
To: MaoXiaoyun <tinnycloud@hotmail.com>
Cc: xen devel <xen-devel@lists.xensource.com>
Subject: Re: Win2003R2 64 suspend failed in self live migration
Date: Wed, 15 Jun 2011 22:21:37 +1000	[thread overview]
Message-ID: <5EEB467B-04D0-44B8-8125-6E9930D567CA@bendigoit.com.au> (raw)
In-Reply-To: <BLU157-w269412E815CBCDF33B2A83DA6B0@phx.gbl>

4kb of stack space might be too much and could cause such a hang. Declare your buffer as a global, or a per-CPU array of buffers if required

Sent from my iPhone

On 15/06/2011, at 22:05, "MaoXiaoyun" <tinnycloud@hotmail.com> wrote:

> Hi James;
>  
>      I've been testing Windows HVM live migration for a while, OS type covers 2003, and 2008.
>      It works well most of time. I mean migration been two physical host.
>      But 2003R2 64 bit failed on self live migration. (VM migration on the same host)
>  
>      After instal debug version PV driver inside VM, not debug log show up.
>      Later I learnt that, in your code  you implied that the debug routine could not be hooked since
>      "// can't patch IDT on AMD64 "(in xenpci_dbprint.c XenPci_HookDbgPrint())
>  
>       I was able to get the log output simply by redefine the KdPrint macro like below. But unfortunately
> , VM is suffuring hang now and then. 
>  
>       So is it proper to do this, or how to obtain 64bit log properly?
>        As for self migration, I've noticed that VM is able to migrate once, but after migration, the network 
> is in trouble, VM can not access outside.  It looks like xennet is not function properly. Meanwhile, it looks
> like "a fake arp" is needed after migration, as linux pv.
>  
>         I shall dig more, but currently the hang in log brother me a lot.
>         Could you kindly offer me some help?
>         Thanks.
>  
> ----------debug log ----       
>  
> void xmaoDPrint(PCH Format, ...);
> #undef KdPrint
> #define KdPrint(A)  xmaoDPrint 
> void xmaoDPrint(PCHAR fmt, ...){
>  char buf[4096];
>   va_list argptr; 
>  memset(buf, 0, 4096);
>   va_start(argptr, fmt);
>   RtlStringCchVPrintfA(buf, 4095, fmt, argptr);
>   va_end(argptr);
>  XenDbgPrint(buf, (ULONG)strlen(buf));
>  return;
> 
>  

  reply	other threads:[~2011-06-15 12:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BAY0-MC4-F15zXiPuZe00229bef@bay0-mc4-f15.Bay0.hotmail.com>
2011-06-15 12:05 ` Win2003R2 64 suspend failed in self live migration MaoXiaoyun
2011-06-15 12:21   ` James Harper [this message]
2011-06-15 23:20   ` James Harper
2011-06-16 10:28     ` MaoXiaoyun
2011-06-16 14:24       ` PV resume failed after self migration failed MaoXiaoyun
2011-06-17  1:34         ` James Harper
2011-06-19 16:46           ` MaoXiaoyun
2011-06-19 23:11             ` James Harper
2011-06-21 12:13               ` MaoXiaoyun
2011-06-22  4:06                 ` James Harper
2011-06-22  5:21                   ` MaoXiaoyun
2011-06-22  5:58                     ` MaoXiaoyun
2011-06-24 10:32                       ` MaoXiaoyun

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=5EEB467B-04D0-44B8-8125-6E9930D567CA@bendigoit.com.au \
    --to=james.harper@bendigoit.com.au \
    --cc=tinnycloud@hotmail.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.