All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir@xensource.com>
To: "Yu, Ke" <ke.yu@intel.com>, xen-devel@lists.xensource.com
Subject: Re: [PATCH 0/4] HVM Virtual S3
Date: Thu, 17 May 2007 14:06:39 +0100	[thread overview]
Message-ID: <C27211EF.F1A5%keir@xensource.com> (raw)
In-Reply-To: <1104166E0B63A341805FDB977862AAD240834E@pdsmsx414.ccr.corp.intel.com>

On 17/5/07 13:39, "Yu, Ke" <ke.yu@intel.com> wrote:

> Virtual S3 is also an important part of host S3, when HVM domain is assigned
> with physical device, e.g. with VT-d introduced. When host S3 begins, HVM
> domain should suspend its physical device,  otherwise the physical device may
> not work after resume. This is the reason why we develop the vritaul S3
> feature: help VT-d HVM domain to do power management. In this case,
> integrating save/resotre with virtual S3 is not necessary,  and it actually
> brings extra overhead.
> 
> To summary, virtual S3 can have two functionality
> - assist HVM to do save/restore
> - assist HVM to do vt-d device power management
> The first item need to call save/restore while the second item do not.

Yes I absolutely agree with all the above. I don't think we want full
save/restore for host S3 at all. We just want to give the domains a little
kick so that they at least resync their clocks, maybe regain DHCP leases,
etc, when the system comes back up.

> So is it possible that we have two code path, and use flags to tell virtual S3
> which path it should go?

I think we'll end up with something like this in the tools, yes. But let's
get the save/restore one plumbed in first. The second case needs integration
with VT-d patches and host S3 patches, which aren't yet in the tree.

> BTW, I did not see current host S3 patches save/restore all domains. Could you
> please elabroate more?

They were posted by your Intel colleague Kevin Tian just a few days ago.

 -- Keir

  parent reply	other threads:[~2007-05-17 13:06 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-16 16:48 [PATCH 0/4] HVM Virtual S3 Yu, Ke
2007-05-16 21:59 ` Keir Fraser
2007-05-16 22:33   ` Keir Fraser
2007-05-17  2:28     ` Yu, Ke
2007-05-18  2:38     ` Tian, Kevin
2007-05-18  6:43       ` Keir Fraser
2007-05-16 22:29 ` Keir Fraser
2007-05-17  2:32   ` Yu, Ke
2007-05-17  7:41     ` Keir Fraser
2007-05-17 12:39       ` Yu, Ke
2007-05-17 12:50         ` Zhang, Jingke
2007-05-17 13:06         ` Keir Fraser [this message]
2007-05-17 13:16           ` Yu, Ke
2007-05-17 13:33             ` Keir Fraser
2007-05-18  2:07               ` Tian, Kevin
2007-05-21  3:10           ` Yu, Ke
2007-05-21  6:25             ` Keir Fraser
2007-05-17 20:24   ` Kaushik Barde
2007-05-18  2:05     ` Yu, Ke
2007-05-18  4:22       ` Kaushik Barde
2007-05-18  4:29         ` Yu, Ke
2007-05-17  3:14 ` Kaushik Barde
2007-05-17  4:20   ` Yu, Ke
2007-05-17  9:54     ` Ian Pratt
2007-05-17 14:08       ` Yu, Ke
2007-05-17 14:14         ` Ian Pratt
2007-05-17 14:17           ` Yu, Ke
2007-05-31 10:59             ` Tim Deegan
  -- strict thread matches above, loose matches on Subject: below --
2008-05-08  5:13 Ke, Liping
2008-05-08  7:02 ` James Harper
2008-05-08  7:10   ` Yu, Ke
2008-05-08  7:24   ` Ke, Liping
2008-05-08 12:25 ` Ian Pratt
2008-05-08 14:57   ` Ke, Liping
2008-05-08 15:03     ` Keir Fraser
2008-05-08 15:10     ` Yu, Ke
2008-05-09  9:58       ` Ke, Liping
2008-05-09 10:10         ` Keir Fraser
2008-05-09 11:59         ` Ian Pratt
2008-05-14  9:50           ` Ke, Liping
2008-05-14 12:17             ` Keir Fraser
2008-05-15  1:31               ` Ke, Liping
2008-05-15  7:33                 ` Keir Fraser
2008-05-15 11:45                   ` Ian Pratt
2008-05-15 11:51                     ` Keir Fraser
2008-05-15 12:42                       ` Ian Pratt
2008-05-15 12:58                         ` Keir Fraser
2008-05-16  1:46                           ` Ke, Liping
2008-05-08 15:11     ` Ian Pratt
2008-05-08 15:20       ` Keir Fraser
2008-05-08 15:28         ` Yu, Ke

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=C27211EF.F1A5%keir@xensource.com \
    --to=keir@xensource.com \
    --cc=ke.yu@intel.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.