qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCHv2] add "info ioapic" monitor command


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCHv2] add "info ioapic" monitor command
Date: Wed, 30 Dec 2009 17:07:14 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Thunderbird/3.0

On 12/30/2009 06:13 AM, Gleb Natapov wrote:
On Wed, Dec 30, 2009 at 02:08:27PM +0200, Izik Eidus wrote:
On Wed, 30 Dec 2009 14:05:10 +0200
Gleb Natapov<address@hidden>  wrote:

On Wed, Dec 30, 2009 at 12:01:28PM +0000, Blue Swirl wrote:
On Wed, Dec 30, 2009 at 11:50 AM, Gleb Natapov<address@hidden>  wrote:
Knowing ioapic configuration is very useful for the poor soles
how need to debug guest occasionally.

+static struct IOAPICState *ioapic;

Ugly.

Agree

And now it seems like even you dont agree with me!!!

I agree, but all other info functions in qemu do exactly same:
referencing global data. This is ugly _and_ this nothing to
do with my patch.

This goes away if you use VMState since we already have a global table that contains all of the registered VMState instances. It also maps device names/instance ids to the actual field contents.

Regards,

Anthony Liguori

--
                        Gleb.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]