]> Git Repo - qemu.git/commit
Pci nic: pci_register_device can fail
authorChris Wright <[email protected]>
Mon, 21 Apr 2008 23:02:48 +0000 (16:02 -0700)
committerAnthony Liguori <[email protected]>
Fri, 1 May 2009 14:47:14 +0000 (09:47 -0500)
commitaff427a1ca09945082a4ec21aee2960306800fb0
tree9aa24e8dbc09dc035a99e034c0347d2c7da3c919
parente6a6dfe454c6b43abf9d5df8170950c4a9f28920
Pci nic: pci_register_device can fail

The pci_register_device() call in PCI nic initialization routines can
fail.  Handle this failure and propagate a meaningful error message to
the user instead of generating a SEGV.

Cc: Marcelo Tosatti <[email protected]>
Signed-off-by: Chris Wright <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
hw/e1000.c
hw/eepro100.c
hw/ne2000.c
hw/pcnet.c
hw/rtl8139.c
This page took 0.026658 seconds and 4 git commands to generate.