Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In case of xenmgr the boilerplate is generated from its BB recipe, in the configure step:

TODO why the ` marks?

Code Block
languagebash
# generate rpc stubs
mkdir -p Rpc/Autogen
# Server objects
xc-rpcgen --haskell -s -o Rpc/Autogen --module-prefix=Rpc.Autogen ${STAGING_DATADIR}/idl/xenmgr.xml
xc-rpcgen --haskell -s -o Rpc/Autogen --module-prefix=Rpc.Autogen ${STAGING_DATADIR}/idl/xenmgr_vm.xml

...

Apptool is an OVF (open virtualization format) import tool. More info at httpathttps://wikien.cam.xci-test.com/index.php/Ovf  <<< TODO that is a bad link - maybe make the page public?wikipedia.org/wiki/Open_Virtualization_Format and https://github.com/OpenXT/manager/tree/master/apptool.

XenVM cont.

There is some more documentation buried in the toolstack repository. I added it - for convenience purposes - here.

...

Code Block
languagetext
uuid = 00000000-0000-0000-0000-000000000001000000000001 
hvm = falsefalse 
kernel =  /boot/vmlinuz-2.6.18-xenUxenU 
cmdline = root=/dev/sda1 roro 
memory = 6464 
disk = /dev/vg/test:phy:sda:w:diskdisk 
vif =

HVM config for installing a windows 2k3 from iso on a LVM disk called 'testhvm':

Code Block
languagetext
uuid = 00000000-0000-0000-0000-000000000002000000000002 
hvm = truetrue 
memory = 256256 
disk = /dev/vg/testhvm:phy:hda:w:diskdisk 
disk = /var/opt/xen/iso_import/w2k3eesp2.iso:file:hdd:r:cdromcdrom 
boot = dcdc 
pae = true
trueacpiacpi = truetrue 
apic = true 

...