# -*- mode: python; -*- #============================================================================ # Python configuration setup for 'xm create'. # This script sets the parameters used when a domain is created using 'xm create'. # You use a separate script for each domain you want to create, or # you can set the parameters for the domain on the xm command line. #============================================================================ #---------------------------------------------------------------------------- # Kernel image file. kernel = "hvmloader" # The domain build function. HVM domain uses 'hvm'. builder='hvm' memory = 1024 name = "win7" vcpus=2 vif = [ 'type=ioemu, bridge=xenbr0' ] disk = [ 'file:/home/thomas/vmimg/win7.bin,hda,w','file:/mnt/Setups/en_windows_7_ultimate_n_x64_dvd_x16-13641.iso,hdc:cdrom,r' ] device_model = 'qemu-dm' boot="dc" sdl=0 opengl=1 vnc=1 vncpasswd='' stdvga=0 serial='pty' tsc_mode=0 gfx_passthru=2 pci=[ '01:00.0','00:1a.0' ]