From: "Zhai, Edwin" <edwin.zhai@intel.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: "Tian, Kevin" <kevin.tian@intel.com>,
xen-devel <xen-devel@lists.xensource.com>,
Stefan Berger <stefanb@us.ibm.com>,
xen-devel-bounces@lists.xensource.com
Subject: Re: Re: Getting rid of xenbus_suspend(): tpmfrontdriver impacted?
Date: Mon, 06 Nov 2006 17:38:42 +0800 [thread overview]
Message-ID: <454F02A2.7060309@intel.com> (raw)
In-Reply-To: <C174A828.407C%Keir.Fraser@cl.cam.ac.uk>
[-- Attachment #1.1: Type: text/plain, Size: 1096 bytes --]
Keir Fraser wrote:
>
> On 6/11/06 08:09, "Tian, Kevin" <kevin.tian@intel.com> wrote:
>
>
>> When you said "xenbus_resume" will not be executed, could I suppose that only
>> per-PV drivers' resume handler won't be invoked, while instead xb_init_comms
>> and
>> xs_resume are still invoked just after resuming point? In any case, we still
>> need
>> rebuild xenbus channel first, and then to let PV drivers detecting re-connect,
>> am I
>> right?
>>
>
> No, there would still be a connection through to the xenstored. I guess we
> do take a few mutexes and so on, so we would need a bit of undo code. So
> xenbus_suspend_cancel() is probably the way to go. But full re-connection is
> not required.
>
if no full re-connection, how does everything across different layer
work together?
look at PV driver in HVM domain for example.
xen-platform-pci, xenbus and xen-vbd enable pseudo device,
shared_info/evtchn/xenbus and vbd respectively. when vbd driver found a
broken state when restore, it should reconnect the lower layers first,
since everything is lost.
> -- Keir
>
>
[-- Attachment #1.2: Type: text/html, Size: 1712 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2006-11-06 9:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-06 8:09 Re: Getting rid of xenbus_suspend(): tpmfrontdriver impacted? Tian, Kevin
2006-11-06 8:51 ` Re: Getting rid of xenbus_suspend(): tpmfrontdriverimpacted? Ian Pratt
2006-11-06 8:51 ` Re: Getting rid of xenbus_suspend(): tpmfrontdriver impacted? Keir Fraser
2006-11-06 9:38 ` Zhai, Edwin [this message]
2006-11-06 10:15 ` Keir Fraser
-- strict thread matches above, loose matches on Subject: below --
2006-11-06 13:15 Tian, Kevin
2006-11-06 13:39 ` Keir Fraser
2006-11-06 13:43 Tian, Kevin
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=454F02A2.7060309@intel.com \
--to=edwin.zhai@intel.com \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=kevin.tian@intel.com \
--cc=stefanb@us.ibm.com \
--cc=xen-devel-bounces@lists.xensource.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.