From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH kvm-unittest] x86/svm: run cr3 read intercept emulate only on SMP Date: Tue, 16 Apr 2013 18:15:21 +0200 Message-ID: <516D7919.5040607@redhat.com> References: <1366088896-1868-1-git-send-email-prasadjoshi.linux@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: prasadjoshi.linux@gmail.com Return-path: Received: from mail-bk0-f42.google.com ([209.85.214.42]:34133 "EHLO mail-bk0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754565Ab3DPQPc (ORCPT ); Tue, 16 Apr 2013 12:15:32 -0400 Received: by mail-bk0-f42.google.com with SMTP id jc3so349971bkc.29 for ; Tue, 16 Apr 2013 09:15:30 -0700 (PDT) In-Reply-To: <1366088896-1868-1-git-send-email-prasadjoshi.linux@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: Il 16/04/2013 07:08, prasadjoshi.linux@gmail.com ha scritto: > From: Prasad Joshi > > The SVM test 'cr3 read intercept emulate' when ran on uniprocessor > system does not finish and blocks all the tests scheduled to be ran > afterwords. Add check so that the test is only ran on the SMP VM. test->scratch = 1; while (test->scratch != 2) barrier(); Indeed. Reviewed-by: Paolo Bonzini