|
From: | Gerd Hoffmann |
Subject: | Re: [Qemu-devel] [PATCH 16/23] Port PCI Bus to VMState design |
Date: | Fri, 21 Aug 2009 10:32:43 +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:
This uses VARRAY and INT32_EQUAL values
This is one place where I would change the code to reduce load/save complexity.
Quick grep shows that the max value for bus->nirqs is 32. s/*irq_count/irq_count[32]/ for PCIBus, drop dynamic allocation and allways save/load 32 values. INT32_EQUAL + VARRAY isn't needed then.
cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |