This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
virt:xen_4.4_14.04 [2014/03/11 14:54] tschulz [Enable Network Bridging] |
virt:xen_4.4_14.04 [2014/03/11 15:27] tschulz |
||
---|---|---|---|
Line 59: | Line 59: | ||
</file> | </file> | ||
+ | ===== Spice Enabled config ===== | ||
+ | <file> | ||
+ | # ===================================================================== | ||
+ | # 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 = "win7" | ||
+ | |||
+ | device_model_version ="qemu-xen" | ||
+ | device_model_override="/usr/lib/xen/bin/qemu-system-i386" | ||
+ | |||
+ | # 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 = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" | ||
+ | |||
+ | # 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 = 1024 | ||
+ | |||
+ | # 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 = 2 | ||
+ | |||
+ | # Network devices | ||
+ | # A list of 'vifspec' entries as described in | ||
+ | # docs/misc/xl-network-configuration.markdown | ||
+ | vif = [ 'type=ioemu, mac=00:16:3E:*:*:*,bridge=br0'] | ||
+ | |||
+ | # Disk Devices | ||
+ | # A list of `diskspec' entries as described in | ||
+ | # docs/misc/xl-disk-configuration.txt | ||
+ | disk = [ '/root/win7.img,raw,hda,rw' ] | ||
+ | |||
+ | # Guest VGA console configuration, either SDL or VNC | ||
+ | sdl = 0 | ||
+ | #vnc = 1 | ||
+ | #vnclisten="0.0.0.0" | ||
+ | stdvga=0 | ||
+ | spice=1 | ||
+ | spicehost='10.10.*.*' | ||
+ | spiceport=6000 | ||
+ | spicedisable_ticketing=1 | ||
+ | stdvga=0 | ||
+ | #videoram=128 | ||
+ | #device_model_args=["-device","qxl-vga"] | ||
+ | |||
+ | #hap=1 | ||
+ | pae=1 | ||
+ | acpi=1 | ||
+ | apic=1 | ||
+ | nx=1 | ||
+ | xen_platform_pci=1 | ||
+ | usbdevice='tablet' | ||
+ | qxl=1 | ||
+ | audio=1 | ||
+ | soundhw='es1370' | ||
+ | </file> |