qemu-devel
[Top][All Lists]
Advanced

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

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


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 00/23] New VMState table based load/save infrastructure
Date: Fri, 21 Aug 2009 10:58:57 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

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.

cheers,
  Gerd





reply via email to

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