Amit Shah 160600fd13 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.

Example:

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

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

    /dev/virtio-ports/org.qemu.port.0

which can be a symlink to

    /dev/vport0p3

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

    /sys/kernel/virtio-ports/vport0p3/name

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

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2010-01-20 08:25:23 -06:00
2009-12-21 16:03:03 +01:00
2010-01-13 17:14:16 -06:00
2010-01-19 16:31:04 -06:00
2010-01-11 13:41:00 -06:00
2010-01-08 09:58:40 -06:00
2009-12-23 23:47:12 +01:00
…
2009-09-12 07:36:22 +00:00
2009-09-12 07:36:22 +00:00
…
…
2009-10-27 12:28:59 -05:00
2009-09-25 19:53:21 +00:00
2009-10-05 09:32:44 -05:00
2009-10-01 16:12:16 -05:00
…
2009-11-17 08:49:30 -06:00
2009-12-18 11:26:27 -06:00
2009-11-17 08:49:38 -06:00
2009-10-08 21:17:18 -05:00
2009-11-21 09:06:46 +00:00
2009-10-01 16:12:16 -05:00
…
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-09-20 06:56:26 +00:00
…
…
2009-10-05 09:32:44 -05:00
2009-11-14 01:19:12 +01:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-05 17:36:00 +01:00
2009-09-12 07:36:22 +00:00
…
2009-12-17 18:12:04 +01:00
…
…
2010-01-13 17:14:14 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
…
2009-10-27 12:28:59 -05:00
2009-10-01 16:12:16 -05:00
2009-12-23 16:35:01 +02:00
2010-01-08 09:58:40 -06:00
2010-01-08 09:58:40 -06:00
2009-12-03 11:45:50 -06:00
2009-09-12 07:36:22 +00:00
…
2010-01-19 16:31:04 -06:00
2009-12-12 07:59:43 -06:00
2010-01-08 09:58:40 -06:00
2010-01-13 17:14:15 -06:00
2009-12-03 09:41:29 -06:00
2009-12-25 18:19:15 +00:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2009-12-18 11:26:27 -06:00
2009-12-12 07:59:46 -06:00
2009-12-03 11:45:50 -06:00
2009-10-27 12:28:59 -05:00
2010-01-19 16:31:04 -06:00
2009-12-18 11:26:27 -06:00
2009-12-21 20:19:12 +00:00
2010-01-13 17:14:15 -06:00
2009-10-01 16:12:16 -05:00
2009-12-03 11:45:50 -06:00
2009-07-22 10:58:49 -05:00
2009-10-05 09:32:45 -05:00
…
2009-12-12 07:59:39 -06:00
2009-11-17 08:49:38 -06:00
2009-11-17 08:49:38 -06:00
2009-09-04 09:37:29 -05:00
2009-12-03 09:41:20 -06:00
2009-12-03 09:41:18 -06:00
2009-12-03 09:41:20 -06:00
…
2010-01-08 16:55:03 -06:00
2009-10-01 16:12:16 -05:00
2009-11-14 01:19:12 +01:00
2009-09-13 19:38:43 +00:00
2009-10-01 16:12:16 -05:00
…
2009-10-01 16:12:16 -05:00
2010-01-19 16:31:04 -06:00
…
2009-10-01 16:12:16 -05:00
…
…
2010-01-19 16:31:04 -06:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
S
Description
A QEMU emulator for legacy Apple devices
Readme GPL-2.0
557 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.9%
C++ 6.4%
Python 3.3%
Dylan 2.9%
Shell 1.6%
Other 2.7%