From: Avi Kivity <avi@redhat.com>
To: kvm-ia64@vger.kernel.org
Subject: Re: [patch] fix qemu-kvm to build when gdbstub is disabled
Date: Thu, 07 May 2009 09:59:49 +0000 [thread overview]
Message-ID: <4A02B115.6010005@redhat.com> (raw)
In-Reply-To: <4A01AFE8.3020008@sgi.com>
Zhang, Xiantao wrote:
> Avi Kivity wrote:
>
>> Zhang, Xiantao wrote:
>>
>>> Jes Sorensen wrote:
>>>
>>>
>>>> Hi,
>>>>
>>>> The latest changes to qemu-kvm breaks miserably if one tries to
>>>> build without CONFIG_GDBSTUB.
>>>>
>>>> Jes
>>>>
>>>>
>>> --- qemu-kvm.orig/vl.c
>>> +++ qemu-kvm/vl.c
>>> @@ -4417,13 +4417,11 @@
>>> }
>>> if (cpu_can_run(env))
>>> ret = qemu_cpu_exec(env);
>>> -#ifndef CONFIG_GDBSTUB
>>> ^^^^^^^^^^^
>>> Don't know why change #ifdef to #ifndef in upstream, and I remember
>>> it should be ifdef before. I believe this stuff should be compiled
>>> only if CONFIG_GDBSTUB is defined.
>>>
>>>
>> This was introduced by
>>
>> commit 704aec581c1683750e313832ba3aa4813d59cbd0
>> Author: Xiantao Zhang <xiantao.zhang@intel.com>
>> Date: Thu Nov 27 17:23:27 2008 +0800
>>
>> Build fix for !CONFIG_GDBSTUB case
>>
>> Once CONFIG_GDBSTUB not configured, compile will generate error
>>
>> In upstream. Please fix it in upstream and qemu-kvm.git will get the
>> fix from there.
>>
>
> The original patch is 8c4379cc made by me in kvm-userspace.git and I used #ifdef, but accidently changed to #ifndef in qemu-kvm.git. So maybe this typo is introduced by Anthony Liguori when rewrote this patch for qemu-kvm.git ?
> Xiantao
>
That commit got translated to fe538e6f in qemu-kvm.git.
Anthony, what's the reason for the difference between fe538e6f and 704aec58?
--
error compiling committee.c: too many arguments to function
WARNING: multiple messages have this Message-ID (diff)
From: Avi Kivity <avi@redhat.com>
To: "Zhang, Xiantao" <xiantao.zhang@intel.com>
Cc: Jes Sorensen <jes@sgi.com>,
"kvm-ia64@vger.kernel.org" <kvm-ia64@vger.kernel.org>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
Anthony Liguori <anthony@codemonkey.ws>
Subject: Re: [patch] fix qemu-kvm to build when gdbstub is disabled
Date: Thu, 07 May 2009 12:59:49 +0300 [thread overview]
Message-ID: <4A02B115.6010005@redhat.com> (raw)
In-Reply-To: <706158FABBBA044BAD4FE898A02E4BC236B1884D@pdsmsx503.ccr.corp.intel.com>
Zhang, Xiantao wrote:
> Avi Kivity wrote:
>
>> Zhang, Xiantao wrote:
>>
>>> Jes Sorensen wrote:
>>>
>>>
>>>> Hi,
>>>>
>>>> The latest changes to qemu-kvm breaks miserably if one tries to
>>>> build without CONFIG_GDBSTUB.
>>>>
>>>> Jes
>>>>
>>>>
>>> --- qemu-kvm.orig/vl.c
>>> +++ qemu-kvm/vl.c
>>> @@ -4417,13 +4417,11 @@
>>> }
>>> if (cpu_can_run(env))
>>> ret = qemu_cpu_exec(env);
>>> -#ifndef CONFIG_GDBSTUB
>>> ^^^^^^^^^^^
>>> Don't know why change #ifdef to #ifndef in upstream, and I remember
>>> it should be ifdef before. I believe this stuff should be compiled
>>> only if CONFIG_GDBSTUB is defined.
>>>
>>>
>> This was introduced by
>>
>> commit 704aec581c1683750e313832ba3aa4813d59cbd0
>> Author: Xiantao Zhang <xiantao.zhang@intel.com>
>> Date: Thu Nov 27 17:23:27 2008 +0800
>>
>> Build fix for !CONFIG_GDBSTUB case
>>
>> Once CONFIG_GDBSTUB not configured, compile will generate error
>>
>> In upstream. Please fix it in upstream and qemu-kvm.git will get the
>> fix from there.
>>
>
> The original patch is 8c4379cc made by me in kvm-userspace.git and I used #ifdef, but accidently changed to #ifndef in qemu-kvm.git. So maybe this typo is introduced by Anthony Liguori when rewrote this patch for qemu-kvm.git ?
> Xiantao
>
That commit got translated to fe538e6f in qemu-kvm.git.
Anthony, what's the reason for the difference between fe538e6f and 704aec58?
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2009-05-07 9:59 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-06 15:42 [patch] fix qemu-kvm to build when gdbstub is disabled Jes Sorensen
2009-05-06 15:42 ` Jes Sorensen
2009-05-07 1:24 ` Zhang, Xiantao
2009-05-07 1:24 ` Zhang, Xiantao
2009-05-07 8:14 ` Jes Sorensen
2009-05-07 8:14 ` Jes Sorensen
2009-05-07 9:31 ` Avi Kivity
2009-05-07 9:31 ` Avi Kivity
2009-05-07 9:50 ` Zhang, Xiantao
2009-05-07 9:50 ` Zhang, Xiantao
2009-05-07 9:59 ` Avi Kivity [this message]
2009-05-07 9:59 ` Avi Kivity
2009-05-07 10:51 ` Jan Kiszka
2009-05-07 10:51 ` [Qemu-devel] " Jan Kiszka
2009-05-07 10:51 ` Jan Kiszka
2009-05-07 11:00 ` Avi Kivity
2009-05-07 11:00 ` [Qemu-devel] " Avi Kivity
2009-05-07 11:00 ` Avi Kivity
2009-05-07 11:13 ` Jan Kiszka
2009-05-07 11:13 ` [Qemu-devel] " Jan Kiszka
2009-05-07 11:13 ` Jan Kiszka
2009-05-07 11:28 ` Avi Kivity
2009-05-07 11:28 ` [Qemu-devel] " Avi Kivity
2009-05-07 11:28 ` Avi Kivity
2009-05-07 11:38 ` Jan Kiszka
2009-05-07 11:38 ` [Qemu-devel] " Jan Kiszka
2009-05-07 11:38 ` Jan Kiszka
2009-05-07 12:34 ` Jes Sorensen
2009-05-07 12:34 ` [Qemu-devel] " Jes Sorensen
2009-05-07 12:34 ` Jes Sorensen
2009-05-07 12:59 ` Jan Kiszka
2009-05-07 12:59 ` [Qemu-devel] " Jan Kiszka
2009-05-07 12:59 ` Jan Kiszka
2009-05-07 13:03 ` Jes Sorensen
2009-05-07 13:03 ` [Qemu-devel] " Jes Sorensen
2009-05-07 13:03 ` Jes Sorensen
2009-05-07 13:07 ` Jan Kiszka
2009-05-07 13:07 ` [Qemu-devel] " Jan Kiszka
2009-05-07 13:07 ` Jan Kiszka
2009-05-07 13:31 ` Jes Sorensen
2009-05-07 13:31 ` [Qemu-devel] " Jes Sorensen
2009-05-07 13:31 ` Jes Sorensen
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=4A02B115.6010005@redhat.com \
--to=avi@redhat.com \
--cc=kvm-ia64@vger.kernel.org \
/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.