# ========================================= # Windows 7 domU # ========================================= # Configure an HVM rather than PV guest builder = "hvm" # Guest name name = "windows7" # Enable Microsoft Hyper-V compatible PV #viridian = 1 # Initial memory allocation (MB) memory = 8192 # Number of VCPUs vcpus=4 # Network devices # docs/misc/xl-network-configuration.markdown vif=[ '' ] # Disk devices # docs/misc/xl-disk-configuration.txt disk=[ '/domu-w7.img,,xvda','/w7-inst.iso,,xvdc,devtype=cdrom' ] # Boot Device order # c - hard disk # d - cd-rom # n - network/PXE boot="dc" #boot="c" # Enable graphics device PCI passthrough #gfx_passthru=1 # PCI devices to passthrough to windows # 0000:04:00.0 - USB 3.0 above USB BIOS Flashback button # 0000:06:00.* - secondary graphics card #pci=[ '0000:01:00.0', '0000:01:00.1', '0000:04:00.0' ] pci=[ '0000:06:00.0', '0000:06:00.1', '0000:04:00.0' ] # Disable emulated USB # -- we passthrough USB devices usb=0 vnclisten="192.168.1.198" # Specify device model for VGA passthrough # Use device model qemu-xen (upstream default) #device_model_version="qemu-xen" #device_model_override="/usr/bin/qemu-system-x86_64" # Use device model qemu-xen-traditional # -- supposedly supports VGA passthrough device_model_version="qemu-xen-traditional" #device_model_override="/usr/bin/qemu-system-x86_64"