1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-01-14 23:24:23 +03:00
Peter Krempa fa16c80f52 doc: schema: Add basic documentation for the virtual RNG device support
This patch documents XML elements used for (basic) support of virtual
RNG devices.

In the devices section in the domain XML users may specify:

For the default 'random' backend:
  <devices>
    <rng model='virtio'>
      <backend model='random'>/dev/urandom</backend>
    </rng>
  </devices>

For the slightly more advanced EGD backend:
  <devices>
    <rng model='virtio'>
      <backend model='egd' type='udp'>
        <!-- this is a definition of a character device -->
        <source mode='bind' service='1234'/>
        <source mode='connect' host='1.2.3.4' service='1234'/>
        <!-- or other valid character device configuration -->
      </backend>
    </rng>
  </devices>

For the planned random daemon/pool:
  <devices>
    <rng model='virtio'>
      <backend model='pool' pool='poolname'>class</backend>
    </rng>
  </devices>

to enable the RNG device for guests.
2013-02-25 10:17:35 +01:00
..
2012-10-12 00:03:43 +02:00
2012-10-12 00:03:43 +02:00
2012-10-12 00:03:43 +02:00
2011-04-01 16:03:11 -06:00
2009-11-06 16:05:18 +01:00
2011-10-29 19:50:48 +02:00
2012-12-06 16:15:54 -07:00
2009-09-22 12:55:39 +02:00
2013-01-30 09:37:03 +01:00
2011-03-28 10:40:24 +08:00
2012-06-13 18:23:00 +01:00
2011-08-26 17:52:55 +02:00
2011-04-01 16:03:11 -06:00
2009-07-16 15:06:42 +02:00
2013-02-11 15:20:53 -07:00
2009-07-29 09:04:21 +01:00
2012-10-12 00:03:43 +02:00
2012-08-10 10:58:38 +02:00
2011-05-11 08:18:04 -06:00
2011-04-01 16:03:11 -06:00