« Previous | Next » 

Revision 160600fd


Added by Amit Shah about 14 years ago

virtio-serial-bus: Add a port 'name' property for port discovery in guests

The port 'id' or number is internal state between the guest kernel and
our bus implementation. This is invocation-dependent and isn't part of
the guest-host ABI.

To correcly enumerate and map ports between the host and the guest, the
'name' property is used.


-device virtserialport,name=org.qemu.port.0

This invocation will get us a char device in the guest at:


which can be a symlink to


This 'name' property is exposed by the guest kernel in a sysfs


A simple udev script can pick up this name and create the symlink
mentioned above.

Signed-off-by: Amit Shah <>
Signed-off-by: Anthony Liguori <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences