qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 00/23] New VMState table based load/save infrast


From: Juan Quintela
Subject: [Qemu-devel] Re: [PATCH 00/23] New VMState table based load/save infrastructure
Date: Fri, 21 Aug 2009 11:12:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Gerd Hoffmann <address@hidden> wrote:
> On 08/20/09 19:42, Juan Quintela wrote:
>> - i440fx_load()
>>    Can we put pci_irq_levels[] array in any struct?  This is the only driver
>>    that I have found that uses a global variable.  Gerd, can you take a look?
>>    It is not possible to have the PCIDevice struct inside a PIIXDevice or 
>> similar?
>
> Stuffing a pointer to pci_irq_levels into a struct should work without
> problems and should be good enougth to get vmstate save/load going ;)
>
> Sticking the array itself into a struct would be even better, that
> might need more cleanup work though.

Do you mean to do any of the tow approachs?
I promise to study your patch for other places that I need :)

Later, Juan.




reply via email to

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