Mailing List Archive

Windows as HVM on Ubuntu 14.04
Hi,
I write to describe my lesson about running Windows 7 Pro x64 as HVM guest
on Ubuntu 14.04 (Dom0) on HP ProLiant DL165 G7.
I have found also email by Steffan A. Cline (12th March) about his problems
with Windows:
http://xen.markmail.org/thread/i2atkpcqkjiazv7y
http://lists.xenproject.org/archives/html/xen-users/2015-03/msg00059.html

When I started a few days ago I was using hvm file (and I had the same logs
as he reported):
///
builder="hvm"
memory=4096
vcpus=4
name="windows_7_pro_x64"
boot="dc"
# boot="cd"
vif=['bridge=virbr0']
disk=['/dev/my-vg/windows1,,hda','/root/en_windows_7_professional_with_sp1_x64_dvd_u_676939.iso,,hdc,cdrom']
acpi=1
device_model_version='qemu-xen-traditional'
sdl=0
vnc=1
vncdisplay=0
vncpasswd=""
vnclisten="0.0.0.0"
keymap="pl"
usb=0
////

After some tests my final, working properly, hvm is:

////
builder="hvm"
memory=4096
vcpus=4
name="windows_7_pro_x64"
#boot="dc"
boot="c"
vif=['mac=00:16:3e:12:34:56,bridge=virbr0']
disk=['/dev/my-vg/windows1,raw,hda,rw']
#disk=['/dev/my-vg/windows1,raw,hda,rw','/root/en_windows_7_professional_with_sp1_x64_dvd']
acpi=1
apic=1
device_model_version='qemu-xen'
sdl=0
vnc=1
serial="pty"
vga="stdvga"
stdvga=1
videoram=16
viridian=1
localtime=1
vnclisten="0.0.0.0"
vncdisplay=0
vncpasswd=""
keymap="pl"
usb=1
usbdevice="tablet"
shadow_memory=8
////

I don't know exactly which change make difference but I think that it is
"device_model_version" or "viridian".

What I would like to add is:

-a lot of tutorials in net is out-of-date I recommend xen wiki pages but
look at Xen version which you use - because options change - eg. virdiant
as bool (ver 4.4) vs array (ver 4.5)
-Intel VT or AMD-V should be checked using "xl dmesg" not "dmesg" - I lost a
few hours to find out this
(http://wiki.xenproject.org/wiki/Xen_Common_Problems#How_can_I_check_if_I.27m_able_to_run_Xen_HVM_.28fully_virtualized.29_guests.3F)
-not every vnc client is working (I use TightVNC but RealVNC dont't work for
me)
-I have some problem with my bios (I check AMD erratum 28 but workaround
described there is not possible in my bios)
(XEN) AMD-Vi: SP5100 erratum 28 detected, disabling IOMMU.
(XEN) If possible, disable SATA Combined mode in BIOS or contact your vendor
for BIOS update.
(XEN) AMD-Vi: Error initialization
(XEN) I/O virtualisation disabled
-but HAP is working,
(XEN) HVM: SVM enabled
(XEN) HVM: Hardware Assisted Paging (HAP) detected
(XEN) HVM: HAP page sizes: 4kB, 2MB, 1GB

Regards,
Mariusz Wasak


_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users