From: Christoph Hellwig Subject: Re: [PATCHv2 3/4] Add HYPER-V apic access MSRs. Date: Sun, 17 Jan 2010 07:44:57 -0500 Message-ID: <20100117124457.GA19553@infradead.org> References: <1263719028-24765-1-git-send-email-gleb@redhat.com> <1263719028-24765-4-git-send-email-gleb@redhat.com> <4B530090.50506@redhat.com> <20100117123232.GA10114@infradead.org> <20100117124142.GC31692@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , Avi Kivity , mtosatti@redhat.com, kvm@vger.kernel.org To: Gleb Natapov Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:57348 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751387Ab0AQMo6 (ORCPT ); Sun, 17 Jan 2010 07:44:58 -0500 Content-Disposition: inline In-Reply-To: <20100117124142.GC31692@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Jan 17, 2010 at 02:41:42PM +0200, Gleb Natapov wrote: > I copied code from the instead of using helper faction for > some unknown to me reason. Anyway if I can't get struct page from > user virtual address I can't use it. Actually I am not sure the page > should be zeroed at all. Spec only descries first dword of the page and > doesn't require zeroing the reset as far as I see. There's a clear_user() function that just takes a user virtual address and a size.