Current version
Git/Latestdiff: 1.5.6
Latest Snapshots
Produced after each commit or rebase to new upstream version
GIT
RSBAC source code, can be unstable sometimes
No events planned
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
wiki:experiences:igraltist:kvm [2011/02/14 13:21] 127.0.0.1 (old revision restored) |
wiki:experiences:igraltist:kvm [2011/02/14 13:23] 127.0.0.1 (old revision restored) |
||
---|---|---|---|
Line 202: | Line 202: | ||
It can be found here http://hg.kasten-edv.de/kvm-tools/ | It can be found here http://hg.kasten-edv.de/kvm-tools/ | ||
+ | |||
Line 217: | Line 218: | ||
<code python> | <code python> | ||
- | name = example # the name [optional, if not set, its take from filename] | + | ############################ |
- | + | # sample option for a disk # | |
- | hda = /var/lib/kvm/test.img | + | ############################ |
- | cdrom = debian-netinst.iso | + | drive = file=/dev/mapper/VG-example,if=virtio,index=0,media=disk,boot=off,cache=none |
- | boot = c,d | + | # sample option for a cdrom, can also be a second disk |
- | + | drive = file=/path/to/my_cd_img.iso,if=virtio,index=1,media=cdrom,boot=on | |
- | ## if use the virtio driver or scsi use the file syntax | + | |
- | #file = file=/var/lib/kvm/test.img,if=virtio,media=disk,boot=off | + | |
- | #file = file=debian-netinst.iso,if=virtio,media=cdrom,boot=on | + | |
- | + | ||
- | m = 265 # default 128 MB => size in MB | + | |
- | net = nic,macaddr=00:50:00:00:00:10,model=virtio | + | ######################## |
- | net = tap,ifname=example,bridge=br0,script=/etc/kvm/scripts/kvm-ifup,downscript/etc/kvm/scripts/kvm-ifdown | + | # settings for network # |
+ | ######################## | ||
+ | net = nic | ||
+ | # use tap device for briding | ||
+ | net = tap,bridge=br0 | ||
- | usb = enabled # turn on usb support | + | ############################################################################ |
- | usbdevice = tablet # is good if you used vnc with dektop on guest | + | # use monitor option other the default unix socket or override the default # |
+ | ############################################################################ | ||
+ | # example for overridding the default | ||
+ | # monitor = unix,path_to_your_own_socketfile,server,nowait | ||
+ | # use tcp socket, every guest have to use a different port | ||
+ | monitor = tcp,localhost,4444,server,nowait | ||
- | language = de | ||
- | smp = 2 # default is no smp enabled | ||
- | k = de | ||
- | localtime = enabled # default is False | ||
- | daemonize = enabled # default is enabled | ||
- | parallel = /dev/parport0 # enable parallel support | ||
- | vnc = :1 # vncviewr hostip:5901 | ||
</code> | </code> | ||