I tried following this link: http://www.virtualmin.com/documentation/cloudmin/windows without any real success. The VM seems to startup. When I use a VNC client on my laptop to connect, I get a solid black screen. I resize the window, I get all sorts of weird remnants but never the desktop.
My host is CentOS 6. plenty of RAM and HDD.
I changed the vnc=0 as it said but no matter what I did, VNC was always on for the other guests. I eventually shut them down just to be safe.
Following the rest of the guide, I merged their instructions with my existing files. This is what I came up with.
memory = 8192
maxmem = 8192
shadow_memory = 8
name = 'win-server-2008-dev-com'
address = '65.39.x.x'
netmask = '255.255.255.224'
kernel = "/usr/lib/xen/boot/hvmloader"
builder = 'hvm'
vif = [ 'type=ioemu,ip=65.39.x.x,mac=00:16:3e:01:80:33' ]
cdrom = 'file:/images/en_windows_server_2012_r2_vl_x64_dvd_3319595.iso'
disk = ['phy:/dev/vg_hosting1/fms,hdc,w', 'file:/images/en_windows_server_2012_r2_vl_x64_dvd_3319595.iso,hdb:cdrom,r' ]
device_model = '/usr/lib/xen/bin/qemu-dm'
# boot on floppy (a), hard disk (c) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
#### boot must be dc to install windows after that you change it to c or cd
boot = "dc"
#boot = "c"
#vfb = ['type=vnc,vncunused=1,vncpasswd=mypass,vnclisten=0.0.0.0']
vnc = 1
vnclisten = "0.0.0.0"
vncunused = 1
vncpasswd = "mypass"
#vncconsole = 0
#vncviewer = 1
vcpus = 2 # number of cpu's to assign
stdvga = 0
serial = 'pty'
usbdevice = 'tablet' # Required for USB mouse
on_reboot = 'restart'
on_crash = 'restart'
What’s the best way to really understand what’s going on?
I get the following error:
Creating virtual system with Xen …
… creation failed : The CPU or BIOS on host system hosting2.hldns.xen does not support Xen HVM