rtoss

Subversion Repositories:
Compare Path: Rev
With Path: Rev
/qemu-pc9821/qemu/hw/pci.c @ 78  →  /qemu-pc9821/qemu/hw/pci.c @ 79
/qemu-pc9821/qemu/hw/pci.c
@@ -79,7 +79,7 @@
.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()
}
};
@@ -859,10 +859,9 @@
dev = &pci_dev->qdev;
if (nd->name)
dev->id = qemu_strdup(nd->name);
dev->nd = nd;
qdev_set_nic_properties(dev, nd);
if (qdev_init(dev) < 0)
return NULL;
nd->private = dev;
return pci_dev;
}