40 | | * 上面設定檔的 IM 是 Information Manager,VM 是 Virtualization Managers |
41 | | |
| 39 | * 上面設定檔的 IM 是 Information Manager,VM 是 Virtualization Managers |
| 40 | * name:driver 名稱,當加入 host 時會使用到 |
| 41 | * executable:driver 的執行檔 (位於 $ONE_LOCATION/lib/mads) |
| 42 | * default:driver 的設定檔 (位於 $ONE_LOCATION/etc) |
| 43 | * type:視為 xen 的 driver |
| 44 | * default file ($ONE_LOCATION/etc/vmm_xen/vmm_xen.conf),所有 domU 預設都會使用這些 attribute,也可視為 Template |
| 45 | * CPU=0.6 |
| 46 | * CERDIT |
| 47 | * RAW = [ type="xen", data="on_crash=destroy" ] |
| 48 | * Test |
| 49 | {{{ |
| 50 | CPU = 1 |
| 51 | MEMORY = 128 |
| 52 | OS = [kernel="/path-to-kernel",initrd= "/path-to-initrd",root="sda1" ] |
| 53 | DISK = [source="/path-to-image-file",target="sda",readonly="no"] |
| 54 | NIC = [mac="xx.xx.xx.xx.xx.xx", bridg="eth0"] |
| 55 | GRAPHICS = [type="vnc",listen="127.0.0.1",port="5900"] |
| 56 | }}} |
| 57 | * Run command file ($ONE_LOCATION/etc/vmm_xen/vmm_xenrc),包含了一些 Xen 指令路徑 (xm, xentop) |