From: Jan Kiszka <jan.kiszka@siemens.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: "avi@redhat.com" <avi@redhat.com>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: [PATCH 1/3] qemu-kvm: fix build with KVM_CAP_SET_GUEST_DEBUG
Date: Wed, 07 Oct 2009 14:23:28 +0200 [thread overview]
Message-ID: <4ACC8840.1060806@siemens.com> (raw)
In-Reply-To: <20091007121831.GB31484@redhat.com>
Michael S. Tsirkin wrote:
> On Wed, Oct 07, 2009 at 02:16:32PM +0200, Jan Kiszka wrote:
>> Michael S. Tsirkin wrote:
>>> Fix build with KVM_CAP_SET_GUEST_DEBUG: use QLIST macro
>>> to declare list head.
>>>
>>> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
>>> ---
>>> 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;
>> If it's required here I bet we need this upstream too, right?
>
> No, upstream does not have qemu-kvm.h
> All these files are qemu-kvm only.
> upstream builds fine as is.
Upstream has KVMState, too, but it also has a cleaner header structuring
than qemu-kvm (as the latter is morphing towards to former). So yes,
this is a qemu-kvm-only workaround.
Jan
--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2009-10-07 12:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1254914295.git.mst@redhat.com>
2009-10-07 11:19 ` [PATCH 1/3] qemu-kvm: fix build with KVM_CAP_SET_GUEST_DEBUG Michael S. Tsirkin
2009-10-07 12:16 ` Jan Kiszka
2009-10-07 12:18 ` Michael S. Tsirkin
2009-10-07 12:23 ` Jan Kiszka [this message]
2009-10-07 11:19 ` [PATCH 2/3] qemu-kvm: fix build on 32 bit Michael S. Tsirkin
2009-10-07 11:19 ` [PATCH 3/3] qemu-kvm: convert kvm_types to ISO Michael S. Tsirkin
2009-10-08 13:18 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4ACC8840.1060806@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mst@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.