From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH uq/master] kvm: always update the MPX model specific register Date: Wed, 22 Jan 2014 17:35:31 +0100 Message-ID: <52DFF353.1060307@redhat.com> References: <1390224336-27009-1-git-send-email-pbonzini@redhat.com> <20140122152917.GA22855@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, Liu Jinsong To: Marcelo Tosatti Return-path: Received: from mx1.redhat.com ([209.132.183.28]:7266 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752449AbaAVQf6 (ORCPT ); Wed, 22 Jan 2014 11:35:58 -0500 In-Reply-To: <20140122152917.GA22855@amt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: Il 22/01/2014 16:29, Marcelo Tosatti ha scritto: > > The original patch from Liu Jinsong restricted them to reset or full > > state updates, but that's unnecessary (and wrong) since the BNDCFGS > > MSR has no side effects. > > Why is it necessary to save/restore BNDCFGS MSR on states other > than FULL and RESET? Yes, nothing in QEMU except reset will touch the MSR, but this applies also to all the other MSRs that are saved unconditionally. It's nice to be able to poke them with gdb, and saving/restoring the MSR provides that. Paolo