qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] a48da7: serial: fix multi-pci card error clea


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] a48da7: serial: fix multi-pci card error cleanup.
Date: Tue, 19 May 2015 07:30:06 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: a48da7b5bc1f0c98e7a124337140efd47049066c
      
https://github.com/qemu/qemu/commit/a48da7b5bc1f0c98e7a124337140efd47049066c
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-05-19 (Tue, 19 May 2015)

  Changed paths:
    M hw/char/serial-pci.c

  Log Message:
  -----------
  serial: fix multi-pci card error cleanup.

Put the number of serial ports into a local variable in
multi_serial_pci_realize, then increment the port count
(pci->ports) as we initialize the serial port cores.

Now pci->ports always holds the number of successfully
initialized ports and we can use multi_serial_pci_exit
to properly cleanup the already initialized bits in case
of a init failure.

https://bugzilla.redhat.com/show_bug.cgi?id=970551

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>


  Commit: eba05e922e8e7f307bc5d4104a78797e55124e97
      
https://github.com/qemu/qemu/commit/eba05e922e8e7f307bc5d4104a78797e55124e97
  Author: Peter Maydell <address@hidden>
  Date:   2015-05-19 (Tue, 19 May 2015)

  Changed paths:
    M hw/char/serial-pci.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kraxel/tags/pull-serial-20150519-1' 
into staging

serial: fix multi-pci card error cleanup.

# gpg: Signature made Tue May 19 11:47:29 2015 BST using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"

* remotes/kraxel/tags/pull-serial-20150519-1:
  serial: fix multi-pci card error cleanup.

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/fdbe454a2421...eba05e922e8e

reply via email to

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