virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: Matt Mackall <mpm@selenic.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	virtualization <virtualization@lists.linux-foundation.org>
Subject: Re: [PATCH 1/2] lguest: handle dodgy/non-existent TSC.  Host code.
Date: Thu, 5 Jul 2007 01:41:15 -0500	[thread overview]
Message-ID: <20070705064115.GE11115@waste.org> (raw)
In-Reply-To: <1183599525.6005.55.camel@localhost.localdomain>

On Thu, Jul 05, 2007 at 11:38:45AM +1000, Rusty Russell wrote:
> On Wed, 2007-07-04 at 08:20 -0500, Matt Mackall wrote:
> > On Wed, Jul 04, 2007 at 04:19:32PM +1000, Rusty Russell wrote:
> > > Lguest currently requires a TSC, which breaks older machines and Matt
> > > Mackall who boots the host with "notsc".
> > 
> > I do? I temporarily had a "notsc" arg in my lguest launcher script,
> > but removing it made no difference. I do* boot the host with NO_HZ though.
> 
> NO_HZ should be OK, but last we spoke, "notsc" in the host caused
> lguest_data.tsc_khz to be zero => divide by zero errors (the previous
> fixes should sort out the other TSC issues).

I did indeed have a zero tsc_khz, and my system does mark TSC unstable
(falling back to acpi-pm). But I've never once booted the host kernel
on this laptop with "notsc". I've experimented with booting a guest
with notsc to see if it would help.

As a further datapoint, rc6-mm1 host and guest works. 

> Anyway, if the host decides not to use the TSC, the guest shouldn't use
> it, which is the basis of this patch...

Sure.

-- 
Mathematics is the supreme nostalgia of our time.

      reply	other threads:[~2007-07-05  6:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-04  6:19 [PATCH 1/2] lguest: handle dodgy/non-existent TSC. Host code Rusty Russell
2007-07-04  6:20 ` [PATCH 2/2] lguest: handle dodgy/non-existent TSC. Guest code Rusty Russell
2007-07-04  6:44   ` Tony Breeds
2007-07-04  8:10     ` Rusty Russell
2007-07-05 15:37       ` john stultz
2007-07-05 17:56       ` Jeremy Fitzhardinge
2007-07-04 13:20 ` [PATCH 1/2] lguest: handle dodgy/non-existent TSC. Host code Matt Mackall
2007-07-05  1:38   ` Rusty Russell
2007-07-05  6:41     ` Matt Mackall [this message]

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=20070705064115.GE11115@waste.org \
    --to=mpm@selenic.com \
    --cc=akpm@linux-foundation.org \
    --cc=rusty@rustcorp.com.au \
    --cc=virtualization@lists.linux-foundation.org \
    /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).