summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorOleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>2020-11-30 12:31:38 +0200
committerAlex Bennée <alex.bennee@linaro.org>2020-11-30 15:12:54 +0000
commitea23cf5d96cd6953aeeedc8d6f813fae90fe99d1 (patch)
tree0305edc50df2ff2ef760735e1c360199a24711c0 /README
parent809baaf62553587d354de7cff5f96768c13b4772 (diff)
libxl: Add support for virtio-disk configurationreview/ioreq-v3
This patch adds basic support for configuring and assisting virtio-disk backend (emualator) which is intended to run out of Qemu and could be run in any domain. Xenstore was chosen as a communication interface for the emulator running in non-toolstack domain to be able to get configuration either by reading Xenstore directly or by receiving command line parameters (an updated 'xl devd' running in the same domain would read Xenstore beforehand and call backend executable with the required arguments). An example of domain configuration (two disks are assigned to the guest, the latter is in readonly mode): vdisk = [ 'backend=DomD, disks=rw:/dev/mmcblk0p3;ro:/dev/mmcblk1p3' ] Where per-disk Xenstore entries are: - filename and readonly flag (configured via "vdisk" property) - base and irq (allocated dynamically) Besides handling 'visible' params described in configuration file, patch also allocates virtio-mmio specific ones for each device and writes them into Xenstore. virtio-mmio params (irq and base) are unique per guest domain, they allocated at the domain creation time and passed through to the emulator. Each VirtIO device has at least one pair of these params. TODO: 1. An extra "virtio" property could be removed. 2. Update documentation. Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> Message-Id: <1606732298-22107-24-git-send-email-olekstysh@gmail.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions