Skip to content

Commit 67520d8

Browse files
committed
Merge pull request #84 from euanh/janitorial
VM.start walkthrough: Fix bullet lists
2 parents da98252 + b28d88a commit 67520d8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

xenopsd/walkthroughs/VM.start.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ The Xenopsd "VM.add" function has code like this:
5151
```
5252

5353
This function does 2 things:
54+
5455
- it stores the VM configuration in the "database"
5556
- it tells the "backend" that the VM exists
5657

@@ -79,6 +80,7 @@ performant Xenstore to realise.
7980

8081
Every running Xenopsd process is linked with a single backend. Currently backends
8182
exist for:
83+
8284
- Xen via libxc, libxenguest and xenstore
8385
- Xen via libxl, libxc and xenstore
8486
- Xen via libvirt
@@ -121,6 +123,7 @@ again see the [Task handling design](../design/Tasks.html) to understand how thi
121123
implemented.
122124

123125
When the Task has completed successfully, then calls to *.stat will show:
126+
124127
- the power state is Paused
125128
- exactly one valid Xen domain id
126129
- all VBDs have active = plugged = true
@@ -185,6 +188,7 @@ The "task" is a record containing Task metadata plus a "do it now" function
185188
which will be executed by a thread from the thread pool. The
186189
[module Redirector](https://github.com/xapi-project/xenopsd/blob/524d57b3c70/lib/xenops_server.ml#L396)
187190
takes care of:
191+
188192
- pushing operations to the right queue
189193
- ensuring at most one worker thread is working on a VM's operations
190194
- reducing the queue size by coalescing items together
@@ -405,13 +409,15 @@ the VM might execute without all the port locking properly configured.
405409
--------------------------
406410

407411
The `VM_create_device_model` micro-op will create a qemu device model if
412+
408413
- the VM is HVM; or
409414
- the VM uses a PV keyboard or mouse (since only qemu currently has backend
410415
support for these devices).
411416

412417
The function
413418
[VM.create_device_model_exn](https://github.com/xapi-project/xenopsd/blob/b33bab13080cea91e2fd59d5088622cd68152339/xc/xenops_server_xen.ml#L1090)
414419
will
420+
415421
- (if using a qemu stubdom) it will create and build the qemu domain
416422
- compute the necessary qemu arguments and launch it.
417423

0 commit comments

Comments
 (0)