From: Anthony Liguori <anthony@codemonkey.ws>
To: Ryan Harper <ryanh@us.ibm.com>
Cc: kvm-devel@lists.sourceforge.net, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: [kvm-devel] [PATCH 1 of 3] export SMBIOS/DMI tables to PC machines
Date: Fri, 07 Dec 2007 15:24:38 -0600 [thread overview]
Message-ID: <4759BA16.2020007@codemonkey.ws> (raw)
In-Reply-To: <20071207211318.GG23913@us.ibm.com>
Ryan Harper wrote:
> * Anthony Liguori <anthony@codemonkey.ws> [2007-12-07 15:07]:
>
>> Ryan Harper wrote:
>>
>>> * Anthony Liguori <anthony@codemonkey.ws> [2007-12-07 14:49]:
>>>
>>>
>>>>> +
>>>>> +CPUState *first_cpu;
>>>>>
>>>>>
>>>>>
>>>> This should probably be static.
>>>>
>>>>
>>> doh, should be extern actually since it's defined elsewhere.
>>>
>>>
>> Perhaps you want cpu_single_env instead of first_cpu?
>>
>
> I wasn't quite sure given the comments surrounding its declaration:
>
> from exec.c:
>
> CPUState *first_cpu;
> /* current CPU in the current thread. It is only valid inside
> cpu_exec() */
> CPUState *cpu_single_env;
>
Yeah, I guess since you build this at init time, first_cpu is more
appropriate.
Regards,
Anthony Liguori
prev parent reply other threads:[~2007-12-07 21:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <37bf559ffcf74bfe62ec.1197059815@localhost.localdomain>
2007-12-07 20:48 ` [Qemu-devel] Re: [kvm-devel] [PATCH 1 of 3] export SMBIOS/DMI tables to PC machines Anthony Liguori
2007-12-07 20:52 ` Ryan Harper
2007-12-07 21:04 ` Anthony Liguori
2007-12-07 21:13 ` Ryan Harper
2007-12-07 21:24 ` Anthony Liguori [this message]
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=4759BA16.2020007@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=kvm-devel@lists.sourceforge.net \
--cc=qemu-devel@nongnu.org \
--cc=ryanh@us.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).