| # ===================================================================== | |
| # Example HVM guest configuration | |
| # ===================================================================== | |
| # | |
| # This is a fairly minimal example of what is required for an | |
| # HVM guest. For a more complete guide see xl.cfg(5) | |
| # This configures an HVM rather than PV guest | |
| builder = "hvm" | |
| # Guest name | |
| name = "pcitest" | |
| # 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 = "1baf29fd-b81b-473c-8633-b4c9a73e3ed0" | |
| # 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 = 512 | |
| # 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 = 4 | |
| # Network devices | |
| # A list of 'vifspec' entries as described in | |
| # docs/misc/xl-network-configuration.markdown | |
| vif = [ 'ip=10.137.1.57, mac=00:16:3e:5e:6c:37, backend=firewallvm, script=vif-route-qubes' ] | |
| # Disk Devices | |
| # A list of `diskspec' entries as described in | |
| # docs/misc/xl-disk-configuration.txt | |
| disk = [ | |
| 'format=raw, vdev=xvda, access=rw, backendtype=phy, target=/var/lib/qubes/appvms/pcitest/root.img', | |
| 'format=raw, vdev=xvdb, access=rw, backendtype=phy, target=/var/lib/qubes/appvms/pcitest/private.img', | |
| 'format=raw, vdev=xvdd, access=ro, devtype=cdrom, backendtype=phy, target=/dev/xvdi' ] | |
| # Guest VGA console configuration, either SDL or VNC | |
| sdl = 1 | |
| vnc = 0 | |
| usb = 1 | |
| usbdevice = 'tablet' | |
| pci = [ '00:16.0' ] | |
| device_model_stubdomain_override = 0 | |
| xen_platform_pci=0 | |
| device_model_version="qemu-xen-traditional" | |
| # ===================================================================== | |
| # Example HVM guest configuration | |
| # ===================================================================== | |
| # | |
| # This is a fairly minimal example of what is required for an | |
| # HVM guest. For a more complete guide see xl.cfg(5) | |
| # This configures an HVM rather than PV guest | |
| builder = "hvm" | |
| # Guest name | |
| name = "pcitest" | |
| # 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 = "1baf29fd-b81b-473c-8633-b4c9a73e3ed0" | |
| # 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 = 512 | |
| # 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 = 4 | |
| # Network devices | |
| # A list of 'vifspec' entries as described in | |
| # docs/misc/xl-network-configuration.markdown | |
| vif = [ 'ip=10.137.1.57, mac=00:16:3e:5e:6c:37, backend=sys-firewall, script=vif-route-qubes' ] | |
| # Disk Devices | |
| # A list of `diskspec' entries as described in | |
| # docs/misc/xl-disk-configuration.txt | |
| # 'format=raw, vdev=xvda, access=rw, backendtype=phy, target=/var/lib/qubes/appvms/pcitest/root.img', | |
| # 'format=raw, vdev=xvdb, access=rw, backendtype=phy, target=/var/lib/qubes/appvms/pcitest/private.img', | |
| disk = [ | |
| 'format=raw, vdev=xvdd, access=ro, devtype=cdrom, backendtype=phy, target=/home/user/iso/grml64-small_2014.11.iso' ] | |
| # Guest VGA console configuration, either SDL or VNC | |
| sdl = 0 | |
| vnc = 0 | |
| usb = 1 | |
| usbdevice = 'tablet' | |
| pci = [ '00:16.0' ] | |
| device_model_stubdomain_override = 1 | |
| xen_platform_pci=0 | |
| device_model_version="qemu-xen-traditional" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment