Gerd Hoffmann d271de9f1b qdev: create default bus names.
Create a default bus name if none is passed to qbus_create().

If the parent device has DeviceState->id set it will be used to create
the bus name,. i.e. -device lsi,id=foo will give you a scsi bus named
"foo.0".

If there is no id BusInfo->name (lowercased) will be used instead, i.e.
-device lsi will give you a scsi bus named "scsi.0".

A scsi adapter with two scsi busses would have "scsi.0" and "scsi.1" or
"$id.0" and "$id.1" busses.  The numbers of the child busses are per
device, i.e. when adding two lsi adapters both will have a "*.0" child
bus.

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