[libvirt-users] [LXC] feature request - hostdev target

Piotr Bartosiewicz p.bartosiewi at partner.samsung.com
Tue May 20 15:05:38 UTC 2014


Hi,

I am trying to mount /dev/tty5 from host as /dev/tty1 inside LXC container,
but libvirt currently supports only 1-to-1 mapping:

  <hostdev mode='capabilities' type='misc'>
     <source>
       <char>/dev/tty5</char>
     </source>
   </hostdev>

What do you thing about extending this by adding target parameter?
It is easy to archive manually using mknod (mknod /dev/tty1 c 4 5),
but still I think it would be nice to add this feature to the libvirt.

Regards,
Piotrek

-- 
Piotr Bartosiewicz
Samsung R&D Institute Poland
Samsung Electronics




More information about the libvirt-users mailing list