From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 4/4] kvm: Implement PEBS virtualization Date: Thu, 19 Jun 2014 16:33:45 -0400 (EDT) Message-ID: <378397117.29564840.1403210025829.JavaMail.zimbra@redhat.com> References: <1401412327-14810-1-git-send-email-andi@firstfloor.org> <1401412327-14810-5-git-send-email-andi@firstfloor.org> <20140610180448.GA9485@amt.cnet> <20140610192207.GC8178@tassilo.jf.intel.com> <20140610210654.GA16344@amt.cnet> <53A2F6E3.6020703@redhat.com> <20140619173326.GS8178@tassilo.jf.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , Andi Kleen , peterz@infradead.org, gleb@kernel.org, eranian@google.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: Andi Kleen Return-path: In-Reply-To: <20140619173326.GS8178@tassilo.jf.intel.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org > > Userspace then can read/write these MSRs, and add them to the migration > > stream. QEMU has code for that. > > Thanks. The PEBS setup always redoes its state, can be arbitarily often > redone. > > So the only change needed would be to add the MSRs to some list in qemu? Yes, and also adding them to the migration stream if the MSRs do not have the default (all-zero? need to look at the SDM) values. Paolo