« Previous | Next » 

Revision aff427a1

IDaff427a1ca09945082a4ec21aee2960306800fb0

Added by Chris Wright almost 15 years ago

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 <>
Signed-off-by: Chris Wright <>
Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences