qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Ryan Harper <ryanh@us.ibm.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: kvm-devel@lists.sourceforge.net, Ryan Harper <ryanh@us.ibm.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: [kvm-devel] [PATCH 1 of 3] export SMBIOS/DMI tables to PC machines
Date: Fri, 7 Dec 2007 15:13:18 -0600	[thread overview]
Message-ID: <20071207211318.GG23913@us.ibm.com> (raw)
In-Reply-To: <4759B559.1070405@codemonkey.ws>

* 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;


-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@us.ibm.com

  reply	other threads:[~2007-12-07 21:13 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 [this message]
2007-12-07 21:24         ` Anthony Liguori

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=20071207211318.GG23913@us.ibm.com \
    --to=ryanh@us.ibm.com \
    --cc=anthony@codemonkey.ws \
    --cc=kvm-devel@lists.sourceforge.net \
    --cc=qemu-devel@nongnu.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 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).