Re: [PATCH] virtio_console: Use virtio device index to generate port name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On (Mon) 11 Feb 2013 [14:12:52], Sjur Brændeland wrote:
> On Fri, Jan 25, 2013 at 10:20 AM, Amit Shah <amit.shah@xxxxxxxxxx> wrote:
> 
> > On (Thu) 17 Jan 2013 [13:23:17], sjur.brandeland@xxxxxxxxxxxxxx wrote:
> > > From: Sjur Brændeland <sjur.brandeland@xxxxxxxxxxxxxx>
> > >
> > > 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.
> >
> > This should be fine.  I'm wondering, though, if there's something else
> > you need from the naming scheme (esp. considering the next patch)?
> 
> This current patch solves the most critical issue - that the device name
> changes for every modem reboot. This is a show-stopper for me. So it would
> be
> great if this patch could go upstream. The other problem that device name
> is non-deterministic is currently only a theoretical problem as we have
> only one
> remoteproc device.

OK - I've no problem with the patch.

		Amit
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization



[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux