Received: from eggs.gnu.org ([208.118.235.92]:35280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sh8Qg-0005vz-Fz for qemu-devel@nongnu.org; Tue, 19 Jun 2012 20:05:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sh8Qe-0001sT-Qf for qemu-devel@nongnu.org; Tue, 19 Jun 2012 20:05:50 -0400 Received: from cantor2.suse.de ([195.135.220.15]:35464 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sh8Qe-0001s9-K0 for qemu-devel@nongnu.org; Tue, 19 Jun 2012 20:05:48 -0400 Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: <1340149958.28143.53.camel@pasglop> Date: Wed, 20 Jun 2012 02:05:42 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <33619F08-BA20-4A7B-B8C7-82CC0508AF0A@suse.de> References: <1339239192.24838.84.camel@pasglop> <1339241642.24838.92.camel@pasglop> <5DD2FF44-F27E-49C4-AF2C-2EF95341DF6E@suse.de> <87lijjjqk5.fsf@elfo.mitica> <1340137841.28143.34.camel@pasglop> <874nq6kj3m.fsf@elfo.mitica> <1340146833.28143.50.camel@pasglop> <87y5nij3r6.fsf@elfo.mitica> <1340148512.28143.52.camel@pasglop> <894DCBE1-CD2E-46DC-91FA-FD127C326004@suse.de> <1340149958.28143.53.camel@pasglop> Subject: Re: [Qemu-devel] vm state save/restore question List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Benjamin Herrenschmidt Cc: "qemu-devel@nongnu.org Developers" , quintela@redhat.com On 20.06.2012, at 01:52, Benjamin Herrenschmidt wrote: > On Wed, 2012-06-20 at 01:30 +0200, Alexander Graf wrote: >>> We support the paravirtualized -M pseries in full emu as well, in = which >>> case the hashed page table is handled by qemu itself who implements = the >>> H_ENTER & co hypercalls. So it's very similar, except that qemu = doesn't >>> have to ask the kernel to get a snapshot :-) >>>=20 >>> So I can flush out the storage format and two stage process inside = qemu, >>> and then bother with the kvm/kernel interface. >>>=20 >>> Normal "bare metal" operation in qemu (or even KVM "PR") doesn't = require >>> this as in that case the hash table is just a normal part of the = guest >>> memory, it's only an issue when doing paravirtualized guest such as >>> pseries (aka PAPR). >>=20 >> IIRC we still allocate it outside of normal guest memory, so you = don't get the migration for free :). >=20 > You haven't ready my post properly :-) Ugh. Right. I haven't :). For Non-pseries VMs, the HTAB is always in = guest RAM, so it's migrated automatically. Only pseries is special in = keeping it outside. Alex