[Pkg-xen-devel] HVM config for Windows

Sally-Anne Edwards sallyanne.edwards at googlemail.com
Sun Aug 31 10:38:46 UTC 2008


I found that the example HVM config doesn't work at all on amd64

I used the following, based on various postings I found through Google.

Could you include a working example in the package?

I think that specifying the full kernel and device_model paths makes a
difference on amd64

# Enable hardware virtualisation using HVM
kernel = '/usr/lib64/xen-3.2-1/boot/hvmloader'
device_model = '/usr/lib64/xen-3.2-1/bin/qemu-dm'
builder = 'hvm'

# VM/domain name
name = 'hvmwinxp'

# Memory and CPU settings
vcpus = '1'
memory = '512'

# Disk settings
disk = [ 'phy:/dev/mapper/VolGroup00_winxp,hda,w',
'file:/tmp/winxp.iso,hdc:cdrom,r' ]
boot = 'dc'

vif = [ 'bridge=eth0' ]

sdl = '0'

vfb = [ 'type=vnc,vnclisten=0.0.0.0,vncdisplay=2,vncpasswd=windows' ]

usbdevice="tablet"

# Other settings
pae = '0' # Whether to enable PAE for 32-bit VMs
acpi = '0' # Whether to enable ACPI for guests
localtime = '1' # Whether system clock is set to localtime or UTC

# Start/stop settings
on_poweroff = 'restart'
on_reboot = 'restart'
on_crash = 'restart'



More information about the Pkg-xen-devel mailing list