virtio_console: Use virtio device index to generate port name
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Tue, 12 Feb 2013 05:54:59 +0000 (16:24 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 12 Feb 2013 05:56:39 +0000 (16:26 +1030)
Use virtio device index for creating unique device port names.
Current index allocation in virtio is based on a monotonically
increasing variable "index". A better handling of this is to
use device index which is allocated by ida.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found