All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Kashyap Chamarthy <kchamart@redhat.com>
Cc: David Hildenbrand <david@redhat.com>,
	libvirt-users@redhat.com, kvm@vger.kernel.org
Subject: Re: [libvirt-users] Nested KVM: L0 guest produces kernel BUG on wakeup from managed save (while a nested VM is running)
Date: Thu, 8 Feb 2018 11:40:48 +0000	[thread overview]
Message-ID: <20180208114048.GA20703@redhat.com> (raw)
In-Reply-To: <20180208113422.gq7k5h3yez6lsqr4@eukaryote>

On Thu, Feb 08, 2018 at 12:34:24PM +0100, Kashyap Chamarthy wrote:
> On Thu, Feb 08, 2018 at 11:46:24AM +0100, Kashyap Chamarthy wrote:
> > On Wed, Feb 07, 2018 at 11:26:14PM +0100, David Hildenbrand wrote:
> > > On 07.02.2018 16:31, Kashyap Chamarthy wrote:
> > 
> > [...]
> > 
> > > Sounds like a similar problem as in
> > > https://bugzilla.kernel.org/show_bug.cgi?id=198621
> > > 
> > > In short: there is no (live) migration support for nested VMX yet. So as
> > > soon as your guest is using VMX itself ("nVMX"), this is not expected to
> > > work.
> > 
> > Actually, live migration with nVMX _does_ work insofar as you have
> > _identical_ CPUs on both source and destination — i.e. use the QEMU
> > '-cpu host' for the L1 guests.  At least that's been the case in my
> > experience.  FWIW, I frequently use that setup in my test environments.
> 
> Correcting my erroneous statement above: For live migration to work in a
> nested KVM setup, it is _not_ mandatory to use "-cpu host".

Yes, assuming the L1 guests both get given the same CPU model, then you
can use any CPU model at all for the L2 guests and still be migrate safe,
since your L1 guests provide homogeneous hardware to host L2, regardless
of whether the L0 host is homogeneous.


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

  reply	other threads:[~2018-02-08 11:40 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAPUexz9mg8wtAkWKfQLqoFgTQ6i+2pC4bGSkTwCEq-nQZin1hg@mail.gmail.com>
2018-02-07 15:31 ` [libvirt-users] Nested KVM: L0 guest produces kernel BUG on wakeup from managed save (while a nested VM is running) Kashyap Chamarthy
2018-02-07 22:26   ` David Hildenbrand
2018-02-08  8:19     ` Florian Haas
2018-02-08 12:07       ` David Hildenbrand
2018-02-08 13:29         ` Florian Haas
2018-02-08 13:47           ` David Hildenbrand
2018-02-08 13:57             ` Florian Haas
2018-02-08 14:51               ` Paolo Bonzini
2018-02-08 14:51                 ` [Qemu-devel] " Paolo Bonzini
2018-02-08 14:55               ` David Hildenbrand
2018-02-08 14:59             ` Daniel P. Berrangé
2018-02-08 14:45         ` Kashyap Chamarthy
2018-02-08 17:44         ` Florian Haas
2018-02-09 10:48           ` Kashyap Chamarthy
2018-02-09 11:02             ` Florian Haas
2018-02-12  9:27               ` Kashyap Chamarthy
2018-02-12 14:07                 ` Florian Haas
2018-02-08 10:46     ` Kashyap Chamarthy
2018-02-08 11:34       ` Kashyap Chamarthy
2018-02-08 11:40         ` Daniel P. Berrangé [this message]
2018-02-08 11:48       ` David Hildenbrand
2018-02-08 15:23         ` Kashyap Chamarthy

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=20180208114048.GA20703@redhat.com \
    --to=berrange@redhat.com \
    --cc=david@redhat.com \
    --cc=kchamart@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=libvirt-users@redhat.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.