From: Ian Campbell <Ian.Campbell@citrix.com>
To: Sheng Yang <sheng@linux.intel.com>
Cc: Tim Deegan <Tim.Deegan@eu.citrix.com>,
Ian Pratt <Ian.Pratt@eu.citrix.com>,
xen-devel <xen-devel@lists.xensource.com>,
Keir Fraser <Keir.Fraser@eu.citrix.com>
Subject: Re: [PATCH][v6] PV extension of HVM(hybrid) support in Xen
Date: Fri, 5 Mar 2010 10:39:34 +0000 [thread overview]
Message-ID: <1267785574.11737.37101.camel@zakaz.uk.xensource.com> (raw)
In-Reply-To: <201003051412.18555.sheng@linux.intel.com>
On Fri, 2010-03-05 at 06:12 +0000, Sheng Yang wrote:
> diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c
> --- a/xen/arch/x86/hvm/hvm.c
> +++ b/xen/arch/x86/hvm/hvm.c
> @@ -2240,6 +2240,13 @@
> {
> case VCPUOP_register_runstate_memory_area:
> case VCPUOP_get_runstate_info:
> + /* For evtchn on HVM */
> + case VCPUOP_initialise:
> + case VCPUOP_up:
> + case VCPUOP_set_periodic_timer:
> + case VCPUOP_stop_periodic_timer:
> + case VCPUOP_set_singleshot_timer:
> + case VCPUOP_stop_singleshot_timer:
Can we drop that comment? It doesn't really say anything and I'm not
100% sure it is accurate...
> + case HVMOP_enable_pv: {
> [...]
> + /* This would be called by BSP, other vcpus are adjusted
> during the
> + * start-up */
> + if (a.flags & HVM_PV_CLOCK) {
> + d->hvm_pv_enabled |= XEN_HVM_PV_CLOCK_ENABLED;
> + update_domain_wallclock_time(d);
> + hvm_funcs.set_tsc_offset(current, 0);
> + }
I think you've been asked to get rid of this construct in every posting
so far. That code belongs in the hypercall which the guest uses to
actually attach to the pv clock. I think Stefano's patchset shows that
this hypercall isn't necessary.
Ian.
next prev parent reply other threads:[~2010-03-05 10:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-05 6:12 [PATCH][v6] PV extension of HVM(hybrid) support in Xen Sheng Yang
2010-03-05 10:39 ` Ian Campbell [this message]
2010-03-06 3:17 ` Sheng Yang
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=1267785574.11737.37101.camel@zakaz.uk.xensource.com \
--to=ian.campbell@citrix.com \
--cc=Ian.Pratt@eu.citrix.com \
--cc=Keir.Fraser@eu.citrix.com \
--cc=Tim.Deegan@eu.citrix.com \
--cc=sheng@linux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).