|
NAMExen-pv-channel - Xen PV ChannelsDESCRIPTIONA channel is a low-bandwidth private byte stream similar to a serial link. Typical uses of channels are
Channels are similar to virtio-serial devices and emulated serial links. Channels are intended to be used in the implementation of libvirt s when running on Xen. Note: if an application requires a high-bandwidth link then it should use vchan instead. How to use channels: an exampleConsider a cloud deployment where VMs are cloned from pre-made templates, and customised on first boot by an in-guest agent which sets the IP address, hostname, ssh keys etc. To install the system the cloud administrator would first:
At runtime, when a cloud tenant requests that a VM is created from the template, the sequence of events would be: (assuming a Linux domU)
Using channels avoids having to use a temporary disk device or network connection. Design recommendations and pitfallsIt's necessary to install channel-specific software (an "agent") into the guest before you can use a channel. By default a channel will appear as a device which could be mistaken for a serial port or regular console. It is known that some software will proactively seek out serial ports and issue AT commands at them; make sure such software is disabled!Since channels are identified by names, application authors must ensure their channel names are unique to avoid clashes. We recommend that channel names include parts unique to the application such as a domain names. To assist prevent clashes we recommend authors add their names to our global channel registry at the end of this document. LimitationsHotplug and unplug of channels is not currently implemented.Channel name registryIt is important that channel names are globally unique. To help ensure that no-one's name clashes with yours, please add yours to this list.Key: N: Name C: Contact D: Short description of use, possibly including a URL to your software or API N: org.xenproject.guest.clipboard.0.1 C: David Scott <dave.scott@citrix.com> D: Share clipboard data via an in-guest agent. See: https://wiki.xenproject.org/wiki/Clipboard_sharing_protocol
Visit the GSP FreeBSD Man Page Interface. |