Mark McLoughlin ae50b2747f Don't leak VLANClientState on PCI hot remove
destroy_nic() requires that NICInfo::private by a PCIDevice pointer,
but then goes on to require that the same pointer matches
VLANClientState::opaque.

That is no longer the case for virtio-net since qdev and wasn't
previously the case for rtl8139, ne2k_pci or eepro100.

Make the situation a lot more clear by maintaining a VLANClientState
pointer in NICInfo.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-09 16:58:07 -05:00
..
2009-07-09 13:07:03 +01:00
2009-06-29 14:18:08 -05:00
2009-06-29 14:18:08 -05:00
2009-06-29 14:18:08 -05:00
2009-05-08 02:35:15 +01:00
2009-05-14 22:35:08 +01:00
2009-05-12 12:33:04 +01:00
2009-06-13 19:17:11 -05:00
2008-04-08 06:01:02 +00:00
2009-05-10 01:44:56 +01:00
2009-03-10 21:43:35 +00:00
2009-05-10 01:44:56 +01:00
2008-12-13 09:32:43 +00:00
2009-06-29 14:18:08 -05:00
2009-05-14 22:35:09 +01:00
2009-06-29 14:18:08 -05:00
2008-04-11 04:55:07 +00:00
2009-07-09 13:07:02 +01:00
2009-05-10 01:44:56 +01:00
2007-11-17 17:14:51 +00:00
2009-07-09 13:07:03 +01:00
2009-06-29 14:18:08 -05:00
2009-01-14 14:47:56 +00:00
2009-06-29 14:18:08 -05:00
2009-06-29 14:18:08 -05:00
2008-03-21 18:05:23 +00:00
2009-03-28 16:17:50 +00:00
2009-05-10 01:44:56 +01:00
2009-02-06 00:15:19 +00:00
2004-11-07 18:04:02 +00:00
2009-01-16 21:38:58 +00:00
2009-06-29 14:18:08 -05:00
2009-06-29 14:18:08 -05:00
2009-03-04 07:20:40 +00:00
2009-05-10 01:44:56 +01:00
2007-11-17 17:14:51 +00:00
2007-11-17 17:14:51 +00:00
2009-05-13 17:56:25 +01:00
2009-07-05 08:11:39 +00:00
2009-06-24 09:09:14 -05:00
2009-05-10 01:44:56 +01:00
2009-05-08 02:35:15 +01:00
2009-06-29 14:18:08 -05:00
2009-07-09 13:07:03 +01:00
2009-07-09 13:07:02 +01:00
2009-05-10 01:44:56 +01:00
2009-07-09 13:07:02 +01:00
2009-04-10 14:29:45 +00:00
2009-06-17 15:49:37 +00:00
2009-06-17 15:49:37 +00:00
2009-04-10 14:29:45 +00:00
2009-06-03 15:16:49 +01:00
2009-06-29 14:18:08 -05:00
2008-12-13 09:32:43 +00:00
2009-03-31 17:18:10 +00:00
2009-05-14 22:35:09 +01:00
2009-07-09 13:07:03 +01:00
2009-06-29 14:18:08 -05:00
2009-05-14 22:35:07 +01:00
2009-05-14 22:35:09 +01:00
2009-05-10 01:44:56 +01:00
2009-04-10 14:29:45 +00:00
2007-11-17 17:14:51 +00:00
2009-05-14 22:35:07 +01:00
2009-05-26 14:56:11 +01:00
2009-05-10 01:44:56 +01:00
2009-05-13 20:54:26 +01:00
2009-06-29 14:18:08 -05:00
2009-05-10 01:44:56 +01:00
2009-05-10 01:44:56 +01:00
2009-05-13 17:56:25 +01:00
2009-06-29 14:18:08 -05:00
2009-05-18 18:26:33 +01:00
2009-05-18 18:26:33 +01:00
2009-05-14 22:35:08 +01:00
2009-06-22 10:15:29 -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-05-21 15:54:48 +00:00
2009-04-23 18:29:47 +00:00
2009-06-13 16:18:31 +03:00
2009-04-25 07:31:43 +00:00