guest=w2kr2 mkdir -p /data/guests/$guest/ cd /data/guests/$guest/ rm -f $guest.disk dd if=/dev/zero of=$guest.disk bs=1G count=0 seek=25
cat > $guest <<EOF builder = "hvm" vnc = 1 vnclisten = "0.0.0.0" vncpasswd = "PASSWORD" #spice = 1 #spiceport = XXXX #spicepasswd = "PASSWORD" name = "$guest" memory = 4096 vcups = 4 disk = ['tap:tapdisk:aio:/data/guests/$guest/$guest.disk,xvda,w', 'tap:tapdisk:aio:/data/ISO-IMAGES/microsoft/7601.17514.101119-1850_x64fre_server_en-us_VL-GRMSXVOL_EN_DVD.iso,x vdb:cdrom,r'] vif = [ 'vifname=$guest.0' ] EOF
xl create $guest netstat -lntup | grep 5900
and remotely
vncviewer XEN-HOST:5900
grab the latest xen pv drivers and
tar xf xenbus.tar tar xf xeniface.tar tar xf xennet.tar tar xf xenvbd.tar tar xf xenvif.tar ... tar czf xenpvdrivers822.tar.gz xenpvdrivers822/
then upload with winprep and rdesktop w/ file sharing client enabled.
WINDOWS PV DRIVERS https://xenproject.org/developers/teams/windows-pv-drivers/
Installing the XenBus Package http://xenbits.xen.org/gitweb/?p=pvdrivers/win/xenbus.git;a=blob_plain;f=INSTALL.md;hb=refs/heads/master
PV on HVM https://wiki.xen.org/wiki/PV_on_HVM
Xen FAQ Drivers, Windows https://wiki.xen.org/wiki/Xen_FAQ_Drivers,_Windows (out of date)