]> Git Repo - qemu.git/commit - hw/char/virtio-serial-bus.c
virtio-serial: Use control messages to notify guest of new ports
authorAmit Shah <[email protected]>
Tue, 27 Apr 2010 12:33:59 +0000 (18:03 +0530)
committerAnthony Liguori <[email protected]>
Wed, 28 Apr 2010 13:58:21 +0000 (08:58 -0500)
commit055b889f942b063bd1901a316b34017f2b699b12
treebd783b69eba3e2b24c7963bc97bb11d891033406
parent31abe21f4f026171128e6fbafb40062ae1872bd5
virtio-serial: Use control messages to notify guest of new ports

Allow the port 'id's to be set by a user on the command line. This is
needed by management apps that will want a stable port numbering scheme
for hot-plug/unplug and migration.

Since the port numbers are shared with the guest (to identify ports in
control messages), we just send a control message to the guest
indicating addition of new ports (hot-plug) or notifying the guest of
the available ports when the guest sends us a DEVICE_READY control
message.

Signed-off-by: Amit Shah <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
hw/virtio-console.c
hw/virtio-serial-bus.c
hw/virtio-serial.h
This page took 0.027037 seconds and 4 git commands to generate.