Configuration file (hvm)
Windows under Xen is a problem. One thing I found with installing Windows 7 is that it can not find the default driver for the network. Following is a possible xen configuration
# This configures an HVM rather than PV guest builder = "hvm" device_model_version='qemu-xen' # Guest name name = "qbserver" # 128-bit UUID for the domain as a hexadecimal number. # Use "uuidgen" to generate one if required. # The default behavior is to generate a new UUID each time the guest is started. uuid = "PUT SOMETHING HERE, USE UUIDGEN" # Enable Microsoft Hyper-V compatibile paravirtualisation / # enlightenment interfaces. Turning this on can improve Windows guest # performance and is therefore recommended #viridian = 1 # Initial memory allocation (MB) memory=4096 # Maximum memory (MB) # If this is greater than `memory' then the slack will start ballooned # (this assumes guest kernel support for ballooning) #maxmem = 512 # Number of VCPUS vcpus = 8 # Network devices # A list of 'vifspec' entries as described in # docs/misc/xl-network-configuration.markdown vif = [ 'mac=00:16:3e:69:53:6a,bridge=xenbr0,vifname=qbserver0' ] # Disk Devices # A list of `diskspec' entries as described in # docs/misc/xl-disk-configuration.txt disk = [ 'phy:/dev/vg-md0/qbserver,hda,w', 'file:/media/xen-store/Windows_7_Pro_64.iso,ioemu:hdc:cdrom,r', ] # Guest VGA console configuration, either SDL or VNC boot='cd' vnc = 1 vncdisplay = 5 usbdevice='tablet'
These are just some notes I made. Don't really mean anything to anyone but me, probably.
vga=“cirrus|stdvga” vendor_device=“xenserver” # use later
/usr/lib/virtualbox/VBoxManage clonehd centos6.vdi centos6.img -format RAW