Diff for /qemu/hw/pci.c between versions 1.1.1.11 and 1.1.1.12

version 1.1.1.11, 2018/04/24 17:54:08 version 1.1.1.12, 2018/04/24 18:20:51
Line 317  static VMStateInfo vmstate_info_pci_conf Line 317  static VMStateInfo vmstate_info_pci_conf
   
 static int get_pci_irq_state(QEMUFile *f, void *pv, size_t size)  static int get_pci_irq_state(QEMUFile *f, void *pv, size_t size)
 {  {
     PCIDevice *s = container_of(pv, PCIDevice, config);      PCIDevice *s = container_of(pv, PCIDevice, irq_state);
     uint32_t irq_state[PCI_NUM_PINS];      uint32_t irq_state[PCI_NUM_PINS];
     int i;      int i;
     for (i = 0; i < PCI_NUM_PINS; ++i) {      for (i = 0; i < PCI_NUM_PINS; ++i) {
Line 339  static int get_pci_irq_state(QEMUFile *f Line 339  static int get_pci_irq_state(QEMUFile *f
 static void put_pci_irq_state(QEMUFile *f, void *pv, size_t size)  static void put_pci_irq_state(QEMUFile *f, void *pv, size_t size)
 {  {
     int i;      int i;
     PCIDevice *s = container_of(pv, PCIDevice, config);      PCIDevice *s = container_of(pv, PCIDevice, irq_state);
   
     for (i = 0; i < PCI_NUM_PINS; ++i) {      for (i = 0; i < PCI_NUM_PINS; ++i) {
         qemu_put_be32(f, pci_irq_state(s, i));          qemu_put_be32(f, pci_irq_state(s, i));

Removed from v.1.1.1.11  
changed lines
  Added in v.1.1.1.12


unix.superglobalmegacorp.com