From patchwork Mon Nov 30 12:02:08 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 63687 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nAUC572J027593 for ; Mon, 30 Nov 2009 12:05:07 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753034AbZK3MEm (ORCPT ); Mon, 30 Nov 2009 07:04:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753027AbZK3MEm (ORCPT ); Mon, 30 Nov 2009 07:04:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:1025 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753012AbZK3MEl (ORCPT ); Mon, 30 Nov 2009 07:04:41 -0500 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nAUC4mRj014811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 30 Nov 2009 07:04:48 -0500 Received: from redhat.com (vpn-6-53.tlv.redhat.com [10.35.6.53]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id nAUC4jtB032132; Mon, 30 Nov 2009 07:04:46 -0500 Date: Mon, 30 Nov 2009 14:02:08 +0200 From: "Michael S. Tsirkin" To: kvm@vger.kernel.org, avi@redhat.com Subject: [PATCH] qemu-kvm: fix __user export Message-ID: <20091130120207.GA26942@redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/kvm/include/linux/kvm.h b/kvm/include/linux/kvm.h index 92045a9..db10887 100644 --- a/kvm/include/linux/kvm.h +++ b/kvm/include/linux/kvm.h @@ -309,7 +309,7 @@ struct kvm_dirty_log { __u32 slot; __u32 padding1; union { - void __user *dirty_bitmap; /* one bit per page */ + void *dirty_bitmap; /* one bit per page */ __u64 padding2; }; };