public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: TJ <linux@tjworld.net>
To: Louis-David Mitterrand <vindex+lists-kvm@apartia.org>
Cc: kvm@vger.kernel.org
Subject: Re: Running KVM on a Laptop
Date: Thu, 19 Feb 2009 01:17:15 +0000	[thread overview]
Message-ID: <1235006235.11080.98.camel@hephaestion> (raw)
In-Reply-To: <20090218074541.GA7538@apartia.fr>

On Wed, 2009-02-18 at 08:45 +0100, Louis-David Mitterrand wrote:
> > Is it not as simple as checking for the svm or vt flags?
> 
> No, one must also check that the bios allows enabling virtualization
> support. My sony laptop has the right processor but no bios option.
> Check that first!

Louis-David, I just noticed your comment in passing and thought I'd let
you (and others with a Sony Vaio) know that it is possible to enable the
VT option in NVRAM even though the BIOS set-up menu doesn't support it.

I did it with this Vaio VGN-FE41Z with T7200 CPU back in mid 2007 and
not had to redo it since. I sometimes run several instances of KVM on
it.

The Phoenix BIOS does support storing in NVRAM and setting the VT-enable
bits using MSR 0x3A at boot time.

I was hoping to create a Linux tool to make the NVRAM change but due to:

 * each BIOS version uses a different token number to store the
VT-enable BIOS setting
 * to identify the token number you have to examine the BIOS executable
code
* currently the only 'safe' way to set the token in NVRAM is to use the
DOS symcmos.exe utility (from Phoenix)

A one-shot solution proved impractical so it is a case of doing it on a
per-BIOS-version basis.

If you want to email me off-list with the precise Sony model-number and
BIOS revision I should be able to help you enable the VT bit.

For some highly technical background see:

http://tjworld.net/wiki/Sony/Vaio/FE41Z/HackingBiosNvram


      reply	other threads:[~2009-02-19  1:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-13  1:29 Running KVM on a Laptop dnjap
2009-02-13  1:56 ` Ross McKay
2009-02-13 16:09   ` Jorge Lucángeli Obes
2009-02-16  0:56     ` David Ahern
2009-02-16 14:09   ` Andre Przywara
2009-02-16 15:16   ` Bryon Roche
2009-02-16 22:43     ` Ross McKay
2009-02-17  7:05     ` Ross McKay
2009-02-18  7:45   ` Louis-David Mitterrand
2009-02-19  1:17     ` TJ [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=1235006235.11080.98.camel@hephaestion \
    --to=linux@tjworld.net \
    --cc=kvm@vger.kernel.org \
    --cc=vindex+lists-kvm@apartia.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