[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] CPUID DomU configuration not working


  • To: xen-users@xxxxxxxxxxxxx
  • From: Fanny Dwargee <fdwargee6@xxxxxxxxx>
  • Date: Fri, 18 Mar 2016 12:37:00 +0100
  • Delivery-date: Fri, 18 Mar 2016 11:38:22 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi,

I'm trying to remove the VMX feature from the CPUID responses (bit 5 returned on ecx register) setting the cpuid DomU configuration for a HVM Windows7.

Unfortunately using the CPUID instruction from inside the guest does still shows the VMX bit as enabled.

No error is visible on logs nor xl dmesg. Xen is v4.6.1 compiled from source.

DomU configuration follows:
name = "win7-sp1-x64-2"

firmware_override = "/usr/local/lib/xen/boot/hvmloader"

builder='hvm'
vcpus = 1
maxcpus = 1

cpuid = [ '0x1:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxx0xxxxx' ]

hap  = 1
acpi = 1

_on_poweroff_ = 'destroy'
on_reboot   = 'restart'
on_crash    = 'destroy'

vif = [ 'type=ioemu,model=e1000 ]
disk = [ 'phy:/dev/vms/win7-sp1-x64-2,hda,w', 'file:/opt/iso/win7.iso,hdc:cdrom,r' ]

boot="cd"

serial = 'pty'
usb = 1
usbdevice = 'tablet'
#altp2mhvm = 1
keymap = 'es'
vga = 'stdvga'
videoram = 16



XL info follows:

host                   : vmi-test
release                : 3.16.0-4-amd64
version                : #1 SMP Debian 3.16.7-ckt20-1+deb8u2 (2016-01-02)
machine                : x86_64
nr_cpus                : 4
max_cpu_id             : 7
nr_nodes               : 1
cores_per_socket       : 2
threads_per_core       : 2
cpu_mhz                : 2790
hw_caps                : bfebfbff:28100800:00000000:00003f00:17bae3ff:00000000:00000001:00000000
virt_caps              : hvm hvm_directio
total_memory           : 3983
free_memory            : 2896
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 6
xen_extra              : .1
xen_version            : 4.6.1
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          :
xen_commandline        : placeholder dom0_mem=1024M,max:1024M dom0_max_vcpus=2 dom0_vcpus_pin=true hap_1gb=false hap_2mb=false altp2m=1 consoleblank=0 vga=normal nofb
cc_compiler            : gcc (Debian 4.9.2-10) 4.9.2
cc_compile_by          : root
cc_compile_domain      :
cc_compile_date        : Wed Mar  2 16:02:45 CET 2016
xend_config_format     : 4


Could anyone help? Perhaps do I need to enable some configure option for compiling?

Regards,

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.