aboutsummaryrefslogtreecommitdiff
path: root/hw/pci.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-16 13:29:48 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:51 -0500
commitc7bde572058ab22ee166f5040a34bbb2a3c97f7a (patch)
treefaa981f463e867c217861d6a013536cfe31a767d /hw/pci.c
parentb2e15099761ea483b9b2a1d1019efb79579a8302 (diff)
downloadqemu-c7bde572058ab22ee166f5040a34bbb2a3c97f7a.zip
qemu-c7bde572058ab22ee166f5040a34bbb2a3c97f7a.tar.gz
qemu-c7bde572058ab22ee166f5040a34bbb2a3c97f7a.tar.bz2
vmstate: Unfold VMSTATE_INT32_VARRAY() only use and remove it
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pci.c')
-rw-r--r--hw/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci.c b/hw/pci.c
index 553febb..ef134f7 100644
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -79,7 +79,7 @@ static const VMStateDescription vmstate_pcibus = {
.minimum_version_id_old = 1,
.fields = (VMStateField []) {
VMSTATE_INT32_EQUAL(nirq, PCIBus),
- VMSTATE_INT32_VARRAY(irq_count, PCIBus, nirq),
+ VMSTATE_VARRAY_INT32(irq_count, PCIBus, nirq, 0, vmstate_info_int32, int32_t),
VMSTATE_END_OF_LIST()
}
};