From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: [PATCH 1/3] qemu-kvm: fix build with KVM_CAP_SET_GUEST_DEBUG Date: Wed, 7 Oct 2009 13:19:17 +0200 Message-ID: <20091007111917.GB20835@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: avi@redhat.com, kvm@vger.kernel.org Return-path: 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 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Fix build with KVM_CAP_SET_GUEST_DEBUG: use QLIST macro to declare list head. Signed-off-by: Michael S. Tsirkin --- qemu-kvm.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; -- 1.6.5.rc2