From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyrill Gorcunov Subject: Re: [PATCH 1/2] kvm tools: set the HYPERVISOR flag in cpuid Date: Fri, 15 Jun 2012 15:38:46 +0400 Message-ID: <20120615113846.GB2464@moon> References: <1339760057-17969-1-git-send-email-levinsasha928@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: penberg@kernel.org, mingo@elte.hu, asias.hejun@gmail.com, kvm@vger.kernel.org To: Sasha Levin Return-path: Received: from mail-lpp01m010-f46.google.com ([209.85.215.46]:42965 "EHLO mail-lpp01m010-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755660Ab2FOLiv (ORCPT ); Fri, 15 Jun 2012 07:38:51 -0400 Received: by lahd3 with SMTP id d3so1990447lah.19 for ; Fri, 15 Jun 2012 04:38:49 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1339760057-17969-1-git-send-email-levinsasha928@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Jun 15, 2012 at 01:34:16PM +0200, Sasha Levin wrote: > We need to set the HYPERVISOR flag to let the kernel know we're running > under a hypervisor. > > This makes the kernel enable all sorts of para-virtualization options > such as kvm-clock. > > Signed-off-by: Sasha Levin OK, looks good, but please Sasha, add a comment into the code itself about the bitflag enabled (or maybe Pekka would add at merge time). Cyrill