Chris Wright aff427a1ca 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 <mtosatti@redhat.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-01 09:47:14 -05:00
..
2008-12-30 19:01:19 +00:00
2009-04-08 22:56:26 +00:00
2009-04-09 17:30:32 +00:00
2009-03-05 23:01:23 +00:00
2009-04-09 17:15:18 +00:00
2009-04-10 00:26:15 +00:00
2008-06-13 10:48:22 +00:00
2009-02-06 00:49:42 +00:00
2008-04-08 06:01:02 +00:00
2009-03-10 21:43:35 +00:00
2008-12-13 09:32:43 +00:00
2009-01-18 12:16:26 +00:00
2008-04-11 04:55:07 +00:00
2009-05-01 09:47:14 -05:00
2007-11-17 17:14:51 +00:00
2007-11-17 17:14:51 +00:00
2009-01-14 14:47:56 +00:00
2009-03-05 23:01:23 +00:00
2008-03-21 18:05:23 +00:00
2009-03-28 16:17:50 +00:00
2009-02-06 00:15:19 +00:00
2004-11-07 18:04:02 +00:00
2009-04-10 02:24:36 +00:00
2009-01-16 21:38:58 +00:00
2009-04-17 17:10:59 +00:00
2007-11-17 17:14:51 +00:00
2008-10-31 17:25:56 +00:00
2009-03-04 07:20:40 +00:00
2009-02-07 10:48:26 +00:00
2008-12-13 09:32:43 +00:00
2007-11-17 17:14:51 +00:00
2007-11-17 17:14:51 +00:00
2007-11-17 17:14:51 +00:00
2009-04-15 14:57:54 +00:00
2009-01-20 04:15:47 +00:00
2009-05-01 09:47:14 -05:00
2009-03-07 21:48:00 +00:00
2009-04-10 14:29:45 +00:00
2009-04-10 14:29:45 +00:00
2009-05-01 09:44:11 -05:00
2009-04-10 02:24:36 +00:00
2009-01-08 18:52:52 +00:00
2009-03-13 16:27:31 +00:00
2009-04-10 02:24:36 +00:00
2009-03-05 23:01:23 +00:00
2009-05-01 09:47:14 -05:00
2008-12-03 22:48:44 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2009-04-11 17:41:32 +00:00
2009-04-10 14:29:45 +00:00
2009-04-10 14:29:45 +00:00
2008-12-13 09:32:43 +00:00
2009-03-31 17:18:10 +00:00
2009-04-11 17:01:42 +00:00
2009-04-19 09:15:50 +00:00
2009-04-10 21:26:55 +00:00
2008-04-14 21:05:22 +00:00
2009-02-07 15:18:47 +00:00
2009-04-09 17:48:30 +00:00
2009-04-19 09:15:50 +00:00
2008-12-13 09:32:43 +00:00
2009-04-10 14:29:45 +00:00
2007-11-17 17:14:51 +00:00
2008-12-13 09:32:43 +00:00
2009-04-10 00:26:15 +00:00
2009-04-27 18:10:37 +00:00
2009-04-19 00:26:31 +00:00
2009-03-07 20:53:18 +00:00
2009-03-05 23:01:23 +00:00
2009-04-09 17:15:18 +00:00
2008-12-04 20:33:06 +00:00
2009-05-01 09:44:11 -05:00
2009-04-10 02:24:36 +00:00
2009-05-01 09:44:11 -05:00
2009-05-01 09:44:11 -05:00
2009-05-01 09:44:11 -05:00
2009-05-01 09:44:11 -05:00
2009-04-23 18:29:47 +00:00
2009-04-25 07:31:43 +00:00
2009-04-09 17:48:30 +00:00