Kernel KVM virtualization development
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Arthur Chunqi Li <yzt356@gmail.com>,
	kvm@vger.kernel.org, jan.kiszka@web.de
Subject: Re: [PATCH] KVM : Fix read/write to IA32_FEATURE_CONTROL MSR in nested virt
Date: Thu, 4 Jul 2013 14:31:25 +0300	[thread overview]
Message-ID: <20130704113125.GJ5113@redhat.com> (raw)
In-Reply-To: <51D55ACF.8070702@redhat.com>

On Thu, Jul 04, 2013 at 01:21:51PM +0200, Paolo Bonzini wrote:
> Il 04/07/2013 13:12, Gleb Natapov ha scritto:
> > > I don't like that it requires a firmware change in order to use nested
> > > VMX (at least for hypervisors that read the MSR).  "Worse emulation" and
> > > "better emulation + new firmware" are indistiguishable from the point of
> > > view of anyone except the firmware.
> > > 
> > > IMO there is no reason for a better emulation that no one would care
> > > about _and_ could look like a regression when updating to a newer kernel.
> >
> > That is why now is the good time to do that since nested vmx is not
> > widely used. When it will be widely used the change will be impossible
> > to do for reason you age giving. So it is now or never.
> 
> I think it is a can of worms.  For example, should this be
> conditionalized on running under QEMU?  Under UEFI, TianoCore should be
> doing it, not SeaBIOS.  And for CoreBoot, should it be done by CoreBoot
> or SeaBIOS?  (How do people use KVM together with CoreBoot?)
> 
This is not the first thing that firmware need to initialize. I let
firmware guys fight over who is doing it, we just model HW. FWIW for
Seabios patch would be trivial.

> So I still prefer never... :)
> 
This is a "can of worms" IMO. What we decide to init in KVM next to
relieve firmware from its duty? This is "other hypervisor" way, in KVM
we just model HW.

--
			Gleb.

  reply	other threads:[~2013-07-04 11:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-03 13:41 [PATCH] KVM : Fix read/write to IA32_FEATURE_CONTROL MSR in nested virt Arthur Chunqi Li
2013-07-04  7:00 ` Paolo Bonzini
2013-07-04  7:10   ` Gleb Natapov
2013-07-04  7:21     ` Arthur Chunqi Li
2013-07-04  7:24       ` Gleb Natapov
2013-07-04  8:16         ` Gmail
2013-07-04 10:43           ` Gleb Natapov
2013-07-04 11:01     ` Paolo Bonzini
2013-07-04 11:12       ` Gleb Natapov
2013-07-04 11:21         ` Paolo Bonzini
2013-07-04 11:31           ` Gleb Natapov [this message]
2013-07-04 12:34             ` Paolo Bonzini
2013-07-04 12:43               ` Gleb Natapov
2013-07-05  3:26                 ` Arthur Chunqi Li

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=20130704113125.GJ5113@redhat.com \
    --to=gleb@redhat.com \
    --cc=jan.kiszka@web.de \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=yzt356@gmail.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