Skip to content

Commit 84979a1

Browse files
author
David Scott
committed
Split out Xenstore access and delete the 'extensions' page
Signed-off-by: David Scott <[email protected]>
1 parent 5659289 commit 84979a1

File tree

3 files changed

+27
-26
lines changed

3 files changed

+27
-26
lines changed

_data/navbar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
- xen-api/overview.md
1818
- xen-api/usage.md
1919
- xen-api/http.md
20-
- xen-api/extensions.md
2120
- xen-api/wire-protocol.md
2221
- xen-api/evolution.md
2322
- xen-api/vm-lifecycle.md
2423
- xen-api/snapshots.md
2524
- xen-api/consoles.md
2625
- xen-api/install-vms.md
2726
- xen-api/networking.md
27+
- xen-api/guest-agents.md
2828
- xen-api/xencenter.md
2929
- xen-api/udhcp.md
3030
- xen-api/index.html

xen-api/extensions.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

xen-api/guest-agents.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: Guest agents
3+
layout: default
4+
---
5+
6+
"Guest agents" are special programs which run inside VMs which can be controlled
7+
via the XenAPI.
8+
9+
One communication method between XenAPI clients is via Xenstore.
10+
11+
Adding Xenstore entries to VMs
12+
------------------------------
13+
14+
Developers may wish to install guest agents into VMs which take special action based on the type of the VM. In order to communicate this information into the guest, a special Xenstore name-space known as `vm-data` is available which is populated at VM creation time. It is populated from the `xenstore-data` map in the VM record.
15+
16+
Set the `xenstore-data` parameter in the VM record:
17+
18+
xe vm-param-set uuid= xenstore-data:vm-data/foo=bar
19+
20+
Start the VM.
21+
22+
If it is a Linux-based VM, install the COMPANY\_TOOLS and use the `xenstore-read` to verify that the node exists in Xenstore.
23+
24+
> **Note**
25+
>
26+
> Only prefixes beginning with `vm-data` are permitted, and anything not in this name-space will be silently ignored when starting the VM.

0 commit comments

Comments
 (0)