All of lore.kernel.org
 help / color / mirror / Atom feed
From: MaoXiaoyun <tinnycloud@hotmail.com>
To: james.harper@bendigoit.com.au, xen devel <xen-devel@lists.xensource.com>
Subject: RE: PV resume failed after self migration failed
Date: Mon, 20 Jun 2011 00:46:53 +0800	[thread overview]
Message-ID: <BLU157-w4794936CB633D64890AC8ADA6F0@phx.gbl> (raw)
In-Reply-To: <AEC6C66638C05B468B556EA548C1A77D01D57AF2@trantor>


[-- Attachment #1.1: Type: text/plain, Size: 2074 bytes --]


 

> Subject: RE: PV resume failed after self migration failed
> Date: Fri, 17 Jun 2011 11:34:09 +1000
> From: james.harper@bendigoit.com.au
> To: tinnycloud@hotmail.com; xen-devel@lists.xensource.com
> 
> > Hi James:
> > 
> > I found another issue during test.
> > When migrating VM from host A to B, it contains following process.
> > 1) memory copy
> > 2) suspend VM on A
> > 3) transfer some other thing to B such as tsc state.
> > 
> > If step (3) failed, VM will be resumed on host A.
> > Well, from the test of view, the resume cannot be completed
> successfully.
> > 
> > Out test is migrating 12VMs between twn host over again and again.
> > The attached log doing exactly below things
> > 1) Migrate from Host B, so fisrt resuming (line 25 to 474)
> > 2) Later want to migrating to B again, so suspending (line 474 to
> line
> > 1116)
> > 3) Migrating failed and enter into resuming again (line 1118 to
> line
> > 1399).
> > 
> > line 1383 is waiting vbd state to be changed but can not get the
> > response.
> > And 1392 show a "Unacknowledged event word ". From the log, it looks
> like
> > this is due to XenVbd_HwScsiResetBus in line 1397.
> > 
> > Question is what trigger the XenVbd_HwScsiResetBus during
> resuming?
> > 
> 
> Windows will invoke a scsi reset if a request takes too long to complete
> (5 seconds I think). It will also issue a reset when a crash dump
> starts, just to make sure all previous requests are flushed etc.
> 

Thanks for the help, sorry for the late response, I've been leaving a while lase weekend.
 
If VBD is already suspended, all further IO try to issue will find vbd states is not SR_STATE_RUNNING,
thus calls ScsiPortNotification to notify RequestComplete, right?
 
If so, I have an assumption.
at time t, VBD is suspend, an IO is try to issue, but before it calls ScsiPortNotificaiton, the whole 
VM paused(VCPU paused, last step of step),  10 or more seconds later, if VM resumes,  will the driver
found the IO mentioned before has already timed out and trigger XenVbd_HwScsiResetBus?
 
 
 
thanks.
> James
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 2770 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

  reply	other threads:[~2011-06-19 16:46 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
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 [this message]
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=BLU157-w4794936CB633D64890AC8ADA6F0@phx.gbl \
    --to=tinnycloud@hotmail.com \
    --cc=james.harper@bendigoit.com.au \
    --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.