From patchwork Wed Oct 7 11:19:17 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: 52249 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 n97BUXoL030759 for ; Wed, 7 Oct 2009 11:30:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758991AbZJGLVp (ORCPT ); Wed, 7 Oct 2009 07:21:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758965AbZJGLVp (ORCPT ); Wed, 7 Oct 2009 07:21:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:19227 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758928AbZJGLVo (ORCPT ); Wed, 7 Oct 2009 07:21:44 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n97BLIwH011248 for ; Wed, 7 Oct 2009 07:21:18 -0400 Received: from redhat.com (vpn-10-3.str.redhat.com [10.32.10.3]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id n97BLGtG017285; Wed, 7 Oct 2009 07:21:17 -0400 Date: Wed, 7 Oct 2009 13:19:17 +0200 From: "Michael S. Tsirkin" To: avi@redhat.com, kvm@vger.kernel.org Subject: [PATCH 1/3] qemu-kvm: fix build with KVM_CAP_SET_GUEST_DEBUG Message-ID: <20091007111917.GB20835@redhat.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/qemu-kvm.h b/qemu-kvm.h index 4523e25..d6748c7 100644 --- a/qemu-kvm.h +++ b/qemu-kvm.h @@ -1229,7 +1229,7 @@ typedef struct KVMState { int broken_set_mem_region; int migration_log; #ifdef KVM_CAP_SET_GUEST_DEBUG - struct kvm_sw_breakpoint_head kvm_sw_breakpoints; + QTAILQ_HEAD(, kvm_sw_breakpoint) kvm_sw_breakpoints; #endif struct kvm_context kvm_context; } KVMState;