From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Re: Bug Xen-4.4.0-RC6 with Hyper-V on Server 2012 R2. Date: Mon, 3 Mar 2014 02:31:30 +0100 Message-ID: <5CDE3BAC5834416E86CE39A6BFE631BE@ValPC> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8732905011024558165==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Zhang, Yang Z" , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ce message est composé et au format MIME. --===============8732905011024558165== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0019_01CF3688.AFC09600" Ce message est composé et au format MIME. ------=_NextPart_000_0019_01CF3688.AFC09600 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Ok thank you. I'll try tomorrow, but there is no mention of Hyper-V in the wiki for = these patch, only VMware. From: Zhang, Yang Z=20 Sent: Monday, March 03, 2014 2:12 AM To: Valentin Meriel ; xen-devel@lists.xen.org=20 Subject: RE: [Xen-devel] Bug Xen-4.4.0-RC6 with Hyper-V on Server 2012 = R2. Please refer the following link: http://wiki.xenproject.org/wiki/Xen_nested =20 Also the following patch is missing if you want to boot VMware, Hyper-v = on top of Xen: http://www.gossamer-threads.com/lists/xen/devel/316994 http://www.gossamer-threads.com/lists/xen/devel/316993 =20 =20 NB: the screen flush has issue with hyper-v: screen stuck but the VM = still was running just like you mentioned that =E2=80=9CVm stuck on the = first screen=E2=80=9D. =20 Best regards, Yang =20 From: xen-devel-bounces@lists.xen.org = [mailto:xen-devel-bounces@lists.xen.org] On Behalf Of Valentin Meriel Sent: Monday, March 03, 2014 5:48 AM To: xen-devel@lists.xen.org Subject: [Xen-devel] Bug Xen-4.4.0-RC6 with Hyper-V on Server 2012 R2. =20 Hello, I have a probleme with Xen-4.4.0-rc6. I try to use Hyper-V on Xen 4.4.0, because of none sucess with KVM and = Qemu. I want to because i want to passthrough one (or more) VGA card to = Hyper-V to test remoteFX (just for test if it work). So on KVM-Qemu i can not install Hyper-V on Windows Server 2012 R2 = because of an allready runnig Hypervisor. On Xen i have the same "error" but if i add :=20 hap =3D 1 nestedhvm =3D 1 cpuid =3D ['0x1:ecx=3D0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'] to my config file, i can install Hyper-V role, but when the VM restart = it does not work, the Vm stuck on the first screen with the Windows = logo. To make the VM start again i have to comment out cpuid =3D = ['0x1:ecx=3D0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'] and after the VM can = start, but when i whant to start the L2 VM (the Hyper-V's VM) Hyper-V cant because one of this = service is not started (or something like that). Have you an idea ? Because in the wiki it's say it's work. This is xl dmesg : Xen 4.4-rc (XEN) Xen version 4.4-rc (root@) (gcc (Ubuntu/Linaro 4.8.1-10ubuntu9) = 4.8.1) debug=3Dn Sun Mar 2 19:43:21 CET 2014 (XEN) Latest ChangeSet: Mon Feb 24 12:57:53 2014 +0000 git:5be1e95 (XEN) Bootloader: GRUB 2.00-19ubuntu2.1 (XEN) Command line: placeholder (XEN) Video information: (XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds (XEN) Disc information: (XEN) Found 2 MBR signatures (XEN) Found 2 EDD information structures (XEN) Xen-e820 RAM map: (XEN) 0000000000000000 - 000000000009dc00 (usable) (XEN) 000000000009f800 - 00000000000a0000 (reserved) (XEN) 00000000000f0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 00000000dfeb0000 (usable) (XEN) 00000000dfeb0000 - 00000000dfee1000 (ACPI NVS) (XEN) 00000000dfee1000 - 00000000dfef0000 (ACPI data) (XEN) 00000000dfef0000 - 00000000dff00000 (reserved) (XEN) 00000000f4000000 - 00000000f8000000 (reserved) (XEN) 00000000fec00000 - 0000000100000000 (reserved) (XEN) 0000000100000000 - 0000000320000000 (usable) (XEN) ACPI: RSDP 000F7660, 0014 (r0 GBT ) (XEN) ACPI: RSDT DFEE1040, 0048 (r1 GBT GBTUACPI 42302E31 GBTU = 1010101) (XEN) ACPI: FACP DFEE1100, 0074 (r1 GBT GBTUACPI 42302E31 GBTU = 1010101) (XEN) ACPI: DSDT DFEE11C0, 4F50 (r1 GBT GBTUACPI 1000 MSFT = 100000C) (XEN) ACPI: FACS DFEB0000, 0040 (XEN) ACPI: MSDM DFEE6300, 0055 (r3 GBT GBTUACPI 42302E31 GBTU = 1010101) (XEN) ACPI: HPET DFEE63C0, 0038 (r1 GBT GBTUACPI 42302E31 GBTU = 98) (XEN) ACPI: MCFG DFEE6440, 003C (r1 GBT GBTUACPI 42302E31 GBTU = 1010101) (XEN) ACPI: EUDS DFEE6500, 0470 (r1 GBT 0 = 0) (XEN) ACPI: TAMG DFEE6970, 0B3A (r1 GBT GBT B0 5455312E BG = 53450101) (XEN) ACPI: APIC DFEE6180, 012C (r1 GBT GBTUACPI 42302E31 GBTU = 1010101) (XEN) ACPI: SSDT DFEE74C0, 2FD4 (r1 INTEL PPM RCM 80000001 INTL = 20061109) (XEN) ACPI: DMAR DFEEA4C0, 00B0 (r1 IntelR AWRDACPI 322E3030 DRWA = 2) (XEN) System RAM: 12286MB (12581172kB) (XEN) Domain heap initialised (XEN) Processor #0 7:10 APIC version 21 (XEN) Processor #2 7:10 APIC version 21 (XEN) Processor #4 7:10 APIC version 21 (XEN) Processor #6 7:10 APIC version 21 (XEN) Processor #1 7:10 APIC version 21 (XEN) Processor #3 7:10 APIC version 21 (XEN) Processor #5 7:10 APIC version 21 (XEN) Processor #7 7:10 APIC version 21 (XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23 (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 2664.876 MHz processor. (XEN) Initing memory sharing. (XEN) Intel VT-d iommu 0 supported page sizes: 4kB. (XEN) Intel VT-d iommu 1 supported page sizes: 4kB. (XEN) Intel VT-d Snoop Control not enabled. (XEN) Intel VT-d Dom0 DMA Passthrough not enabled. (XEN) Intel VT-d Queued Invalidation enabled. (XEN) Intel VT-d Interrupt Remapping enabled. (XEN) Intel VT-d Shared EPT tables not enabled. (XEN) [VT-D]iommu.c:2069: ioapic_to_iommu: ioapic 0 (id: 0x2) is NULL! = Will not try to enable Interrupt Remapping. (XEN) I/O virtualisation enabled (XEN) - Dom0 mode: Relaxed (XEN) Interrupt remapping disabled (XEN) ENABLING IO-APIC IRQs (XEN) -> Using new ACK method (XEN) Platform timer is 14.318MHz HPET (XEN) Allocated console ring of 16 KiB. (XEN) VMX: Supported advanced features: (XEN) - APIC MMIO access virtualisation (XEN) - APIC TPR shadow (XEN) - Extended Page Tables (EPT) (XEN) - Virtual-Processor Identifiers (VPID) (XEN) - Virtual NMI (XEN) - MSR direct-access bitmap (XEN) HVM: ASIDs enabled. (XEN) HVM: VMX enabled (XEN) HVM: Hardware Assisted Paging (HAP) detected (XEN) HVM: HAP page sizes: 4kB, 2MB (XEN) Brought up 8 CPUs (XEN) *** LOADING DOMAIN 0 *** (XEN) Xen kernel: 64-bit, lsb, compat32 (XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x23fa000 (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 000000030c000000->0000000310000000 (3041946 pages = to be allocated) (XEN) Init. ramdisk: 000000031d13c000->000000031ffff800 (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: ffffffff81000000->ffffffff823fa000 (XEN) Init. ramdisk: ffffffff823fa000->ffffffff852bd800 (XEN) Phys-Mach map: ffffffff852be000->ffffffff86a2aaf0 (XEN) Start info: ffffffff86a2b000->ffffffff86a2b4b4 (XEN) Page tables: ffffffff86a2c000->ffffffff86a65000 (XEN) Boot stack: ffffffff86a65000->ffffffff86a66000 (XEN) TOTAL: ffffffff80000000->ffffffff86c00000 (XEN) ENTRY ADDRESS: ffffffff81d341e0 (XEN) Dom0 has maximum 8 VCPUs (XEN) Scrubbing Free RAM: .done. (XEN) Initial low memory virq threshold set at 0x4000 pages. (XEN) Std. Loglevel: Errors and warnings (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) (XEN) Xen is relinquishing VGA console. (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch = input to Xen) (XEN) Freed 280kB init memory. This is xl info : host : val-host-test release : 3.13.3-with-acs version : #1 SMP Mon Feb 17 23:02:44 CET 2014 machine : x86_64 nr_cpus : 8 max_cpu_id : 15 nr_nodes : 1 cores_per_socket : 4 threads_per_core : 2 cpu_mhz : 2664 hw_caps : = bfebfbff:28100800:00000000:00003b00:0098e3bd:00000000:00000001:00000000 virt_caps : hvm hvm_directio total_memory : 12286 free_memory : 128 sharing_freed_memory : 0 sharing_used_memory : 0 outstanding_claims : 0 free_cpus : 0 xen_major : 4 xen_minor : 4 xen_extra : -rc xen_version : 4.4-rc 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=3D0xffff800000000000 xen_changeset : Mon Feb 24 12:57:53 2014 +0000 git:5be1e95 xen_commandline : placeholder cc_compiler : gcc (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1 cc_compile_by : root cc_compile_domain : cc_compile_date : Sun Mar 2 19:43:21 CET 2014 xend_config_format : 4 And this is my config file :=20 #kernel =3D 'hvmloader' builder =3D 'hvm' # Memory reserved for Windows domU, in this case 4GB (adjust to your = needs): memory =3D 4096 # Name of the domU: name =3D 'Windows-Server-2012-R2' # Most CPUs have 4 cores / 8 threads (=3D8 vcpus). Check your CPU and = change as needed!: vcpus =3D 1 # Only for 32 bit guests - don't use for 64 bit: #pae =3D 1 acpi =3D 1 apic =3D 1 hap =3D 1 nestedhvm =3D 1 cpuid =3D ['0x1:ecx=3D0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'] nx =3D 1 on_xend_stop =3D 'shutdown' # Here my virtual network interfaces - see /etc/network/interfaces = below: vif =3D [ 'mac=3D00:16:3e:68:e1:01,bridge=3Dbr0,model=3De1000' ] # I assigned a static MAC address, else it will be changed each time = Windows # boots. The address should start with 00:16:3e., the rest is up to you. # Specifying the disks and Windows ISO for installation, adjust to your = needs: disk =3D [ 'file:/home/val/Windows-Server-2012-r2-test-vm-xen.img,hda,w' #,'file:/home/val/Partage/Windows-server-2012-R2-RTM-64 = bits/fr_windows_server_2012_r2_x64_dvd.iso,hdc:cdrom,r' ] # More disks can be added later using this same method. The path to the # device or a file can be added. After the first comma is how the device = will # appear. "hda" is the first, "hdb" the second etc. "hda" will appear as = IDE, # sda will appear as SCSI or SATA. After the second comma "r" means read # only and "w" is for write. device_model_version =3D "qemu-xen-traditional" boot =3D 'c' # The above should be changed once Windows is installed: boot=3D'c' to = only # show the Windows file system, else it may try to boot from the ISO = image. sdl =3D 0 vnc =3D 1 vnclisten =3D '0.0.0.0' vncpasswd =3D '' keymap =3D 'fr' stdvga =3D 0 # nographic=3D1 #!!! only uncomment this if you are using win8 or are = trying # to get a Nvidia card to work. In my case - Nvidia Quadro 2000 - this = was not # needed. serial =3D 'pty' tsc_mode =3D "default" viridian =3D 1 #soundhw =3D 'all' # This allows sharing the USB mouse/keyboard: usb =3D 1 usbdevice =3D 'tablet' # gfx_passthru=3D0 is how it works for most AMD cards and my Quadro 2000 = card. # gfx_passthru=3D1 would pass through the graphics card as primary = display adapter. # You can change this later for iGPUs or nVidia if needed. # Try it with 0 first! #gfx_passthru =3D 0 #Enter the PCI IDs you wish to passthru: #pci =3D [ '02:00.0', '02:00.1' , '00:1a.0' ] # The following lets Windows take the local time from the dom0: localtime =3D 1 #To turn on pci power management globally, use (see remarks under = pci=3D... below): #pci_power_mgmt =3D 1 Thanks, and sorry for the my bad english, i'm french ^^. Valentin Meriel. ------=_NextPart_000_0019_01CF3688.AFC09600 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Ok=20 thank you.
 
I'll try tomorrow, but there is no mention of Hyper-V in the wiki = for these patch, only=20 VMware.
 
 
 
Sent: Monday, March 03, 2014 2:12 AM
To: Valentin Meriel ; xen-devel@lists.xen.org =
Subject: RE: [Xen-devel] Bug Xen-4.4.0-RC6 with Hyper-V on = Server=20 2012 R2.
 

Please=20 refer the following link:

http://wiki.xenproject.org/wiki/Xen_nested=

 

Also=20 the following patch is missing if you want to boot VMware, Hyper-v on = top of=20 Xen:

http://www.gossamer-threads.com/lists/xen/devel/316994

http://www.gossamer-threads.com/lists/xen/devel/316993

 

 

NB:=20 the screen flush has issue with hyper-v:  screen stuck but the VM = still was=20 running just like you mentioned that =E2=80=9CVm stuck on the=20 first screen=E2=80=9D.

 

Best=20 regards,

Yang

 

From:=20 xen-devel-bounces@lists.xen.org [mailto:xen-devel-bounces@lists.xen.org] = On=20 Behalf Of Valentin Meriel
Sent: Monday, March 03, 2014 = 5:48=20 AM
To: xen-devel@lists.xen.org
Subject: [Xen-devel] = Bug=20 Xen-4.4.0-RC6 with Hyper-V on Server 2012 = R2.

 

Hello,

I=20 have a probleme with Xen-4.4.0-rc6.

I try to use Hyper-V on Xen = 4.4.0,=20 because of none sucess with KVM and Qemu.
I want to because i want to = passthrough one (or more) VGA card to Hyper-V to test remoteFX (just for = test if=20 it work).

So on KVM-Qemu i can not install Hyper-V on Windows = Server 2012=20 R2 because of an allready runnig Hypervisor.
On Xen i have the same = "error"=20 but if i add :
    hap =3D 1
    = nestedhvm =3D=20 1
    cpuid =3D=20 ['0x1:ecx=3D0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx']
to my config file, i = can install=20 Hyper-V role, but when the VM restart it does not work, the Vm stuck on = the=20 first screen with the Windows logo.

To make the VM start again i = have to=20 comment out cpuid =3D ['0x1:ecx=3D0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'] and = after the=20 VM can start, but when i whant
to start the L2 VM (the Hyper-V's VM) = Hyper-V=20 cant because one of this service is not started (or something like=20 that).

Have you an idea ? Because in the wiki it's say it's=20 work.


This is xl dmesg :

Xen 4.4-rc
(XEN) Xen = version=20 4.4-rc (root@) (gcc (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1) debug=3Dn Sun = Mar =20 2 19:43:21 CET 2014
(XEN) Latest ChangeSet: Mon Feb 24 12:57:53 2014 = +0000=20 git:5be1e95
(XEN) Bootloader: GRUB 2.00-19ubuntu2.1
(XEN) Command = line:=20 placeholder
(XEN) Video information:
(XEN)  VGA is text mode = 80x25,=20 font 8x16
(XEN)  VBE/DDC methods: V2; EDID transfer time: 1=20 seconds
(XEN) Disc information:
(XEN)  Found 2 MBR=20 signatures
(XEN)  Found 2 EDD information structures
(XEN) = Xen-e820=20 RAM map:
(XEN)  0000000000000000 - 000000000009dc00=20 (usable)
(XEN)  000000000009f800 - 00000000000a0000=20 (reserved)
(XEN)  00000000000f0000 - 0000000000100000=20 (reserved)
(XEN)  0000000000100000 - 00000000dfeb0000=20 (usable)
(XEN)  00000000dfeb0000 - 00000000dfee1000 (ACPI=20 NVS)
(XEN)  00000000dfee1000 - 00000000dfef0000 (ACPI=20 data)
(XEN)  00000000dfef0000 - 00000000dff00000=20 (reserved)
(XEN)  00000000f4000000 - 00000000f8000000=20 (reserved)
(XEN)  00000000fec00000 - 0000000100000000=20 (reserved)
(XEN)  0000000100000000 - 0000000320000000 = (usable)
(XEN)=20 ACPI: RSDP 000F7660, 0014 (r0 GBT   )
(XEN) ACPI: RSDT = DFEE1040,=20 0048 (r1 GBT    GBTUACPI 42302E31 GBTU  = 1010101)
(XEN)=20 ACPI: FACP DFEE1100, 0074 (r1 GBT    GBTUACPI 42302E31 = GBTU =20 1010101)
(XEN) ACPI: DSDT DFEE11C0, 4F50 (r1 GBT   =20 GBTUACPI     1000 MSFT  100000C)
(XEN) ACPI: = FACS=20 DFEB0000, 0040
(XEN) ACPI: MSDM DFEE6300, 0055 (r3 = GBT   =20 GBTUACPI 42302E31 GBTU  1010101)
(XEN) ACPI: HPET DFEE63C0, 0038 = (r1=20 GBT    GBTUACPI 42302E31 = GBTU      =20 98)
(XEN) ACPI: MCFG DFEE6440, 003C (r1 GBT    = GBTUACPI=20 42302E31 GBTU  1010101)
(XEN) ACPI: EUDS DFEE6500, 0470 (r1=20 GBT           &nbs= p;       =20 0            = =20 0)
(XEN) ACPI: TAMG DFEE6970, 0B3A (r1 GBT    = GBT  =20 B0 5455312E BG 53450101)
(XEN) ACPI: APIC DFEE6180, 012C (r1=20 GBT    GBTUACPI 42302E31 GBTU  1010101)
(XEN) = ACPI: SSDT=20 DFEE74C0, 2FD4 (r1  INTEL PPM RCM  80000001 INTL = 20061109)
(XEN)=20 ACPI: DMAR DFEEA4C0, 00B0 (r1 IntelR AWRDACPI 322E3030=20 DRWA        2)
(XEN) System RAM: = 12286MB=20 (12581172kB)
(XEN) Domain heap initialised
(XEN) Processor #0 7:10 = APIC=20 version 21
(XEN) Processor #2 7:10 APIC version 21
(XEN) Processor = #4 7:10=20 APIC version 21
(XEN) Processor #6 7:10 APIC version 21
(XEN) = Processor #1=20 7:10 APIC version 21
(XEN) Processor #3 7:10 APIC version 21
(XEN) = Processor #5 7:10 APIC version 21
(XEN) Processor #7 7:10 APIC = version=20 21
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI=20 0-23
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O = APICs
(XEN)=20 Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected = 2664.876 MHz=20 processor.
(XEN) Initing memory sharing.
(XEN) Intel VT-d iommu 0=20 supported page sizes: 4kB.
(XEN) Intel VT-d iommu 1 supported page = sizes:=20 4kB.
(XEN) Intel VT-d Snoop Control not enabled.
(XEN) Intel VT-d = Dom0 DMA=20 Passthrough not enabled.
(XEN) Intel VT-d Queued Invalidation=20 enabled.
(XEN) Intel VT-d Interrupt Remapping enabled.
(XEN) Intel = VT-d=20 Shared EPT tables not enabled.
(XEN) [VT-D]iommu.c:2069: = ioapic_to_iommu:=20 ioapic 0 (id: 0x2) is NULL! Will not try to enable Interrupt = Remapping.
(XEN)=20 I/O virtualisation enabled
(XEN)  - Dom0 mode: Relaxed
(XEN)=20 Interrupt remapping disabled
(XEN) ENABLING IO-APIC = IRQs
(XEN)  ->=20 Using new ACK method
(XEN) Platform timer is 14.318MHz HPET
(XEN)=20 Allocated console ring of 16 KiB.
(XEN) VMX: Supported advanced=20 features:
(XEN)  - APIC MMIO access = virtualisation
(XEN)  - APIC=20 TPR shadow
(XEN)  - Extended Page Tables (EPT)
(XEN)  -=20 Virtual-Processor Identifiers (VPID)
(XEN)  - Virtual = NMI
(XEN) =20 - MSR direct-access bitmap
(XEN) HVM: ASIDs enabled.
(XEN) HVM: = VMX=20 enabled
(XEN) HVM: Hardware Assisted Paging (HAP) detected
(XEN) = HVM: HAP=20 page sizes: 4kB, 2MB
(XEN) Brought up 8 CPUs
(XEN) *** LOADING = DOMAIN 0=20 ***
(XEN)  Xen  kernel: 64-bit, lsb, = compat32
(XEN)  Dom0=20 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x23fa000
(XEN) = PHYSICAL=20 MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:  =20 000000030c000000->0000000310000000 (3041946 pages to be=20 allocated)
(XEN)  Init. ramdisk:=20 000000031d13c000->000000031ffff800
(XEN) VIRTUAL MEMORY=20 ARRANGEMENT:
(XEN)  Loaded kernel:=20 ffffffff81000000->ffffffff823fa000
(XEN)  Init. ramdisk:=20 ffffffff823fa000->ffffffff852bd800
(XEN)  Phys-Mach map:=20 ffffffff852be000->ffffffff86a2aaf0
(XEN)  Start=20 info:    = ffffffff86a2b000->ffffffff86a2b4b4
(XEN) =20 Page tables:   = ffffffff86a2c000->ffffffff86a65000
(XEN) =20 Boot stack:   =20 ffffffff86a65000->ffffffff86a66000
(XEN) =20 TOTAL:        =20 ffffffff80000000->ffffffff86c00000
(XEN)  ENTRY ADDRESS:=20 ffffffff81d341e0
(XEN) Dom0 has maximum 8 VCPUs
(XEN) Scrubbing = Free RAM:=20 .done.
(XEN) Initial low memory virq threshold set at 0x4000 = pages.
(XEN)=20 Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing=20 (Rate-limited: Errors and warnings)
(XEN) Xen is relinquishing VGA=20 console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times = to=20 switch input to Xen)
(XEN) Freed 280kB init memory.


This = is xl=20 info=20 :

host          =         =20 :=20 val-host-test
release        &= nbsp;      =20 :=20 3.13.3-with-acs
version        = ;       =20 : #1 SMP Mon Feb 17 23:02:44 CET=20 2014
machine         &nbs= p;     =20 :=20 x86_64
nr_cpus         &n= bsp;     =20 :=20 8
max_cpu_id         &nbs= p;  =20 :=20 15
nr_nodes          = ;    =20 : 1
cores_per_socket       :=20 4
threads_per_core       :=20 2
cpu_mhz          &= nbsp;    =20 :=20 2664
hw_caps         &nbs= p;     =20 :=20 bfebfbff:28100800:00000000:00003b00:0098e3bd:00000000:00000001:00000000virt_caps          &n= bsp;  =20 : hvm=20 hvm_directio
total_memory       &nb= sp;  =20 :=20 12286
free_memory         = ;  =20 : 128
sharing_freed_memory   :=20 0
sharing_used_memory    :=20 0
outstanding_claims     :=20 0
free_cpus          = ;   =20 :=20 0
xen_major          = ;   =20 :=20 4
xen_minor          = ;   =20 :=20 4
xen_extra          = ;   =20 :=20 -rc
xen_version         &= nbsp; =20 :=20 4.4-rc
xen_caps         &= nbsp;    =20 : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p=20 hvm-3.0-x86_64
xen_scheduler       =   =20 :=20 credit
xen_pagesize        &nb= sp; =20 : 4096
platform_params        :=20 virt_start=3D0xffff800000000000
xen_changeset    &= nbsp;    =20 : Mon Feb 24 12:57:53 2014 +0000=20 git:5be1e95
xen_commandline        = :=20 placeholder
cc_compiler        = ;   =20 : gcc (Ubuntu/Linaro 4.8.1-10ubuntu9)=20 4.8.1
cc_compile_by        &nb= sp; :=20 root
cc_compile_domain     =20 :
cc_compile_date        : Sun = Mar  2=20 19:43:21 CET 2014
xend_config_format     :=20 4


And this is my config file :

#kernel =3D=20 'hvmloader'
builder =3D 'hvm'
# Memory reserved for Windows domU, = in this=20 case 4GB (adjust to your needs):
memory =3D 4096
# Name of the = domU:
name=20 =3D 'Windows-Server-2012-R2'
# Most CPUs have 4 cores / 8 threads = (=3D8 vcpus).=20 Check your CPU and change as needed!:
vcpus =3D 1
# Only for 32 = bit guests -=20 don't use for 64 bit:
#pae =3D 1
acpi =3D 1
apic =3D 1
hap = =3D=20 1
nestedhvm =3D 1
cpuid =3D = ['0x1:ecx=3D0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx']
nx=20 =3D 1
on_xend_stop =3D 'shutdown'
# Here my virtual network = interfaces - see=20 /etc/network/interfaces below:
vif =3D [=20 'mac=3D00:16:3e:68:e1:01,bridge=3Dbr0,model=3De1000' ]
# I assigned a = static MAC=20 address, else it will be changed each time Windows
# boots. The = address=20 should start with 00:16:3e., the rest is up to you.
# Specifying the = disks=20 and Windows ISO for installation, adjust to your needs:
disk =3D=20 [
       =20 'file:/home/val/Windows-Server-2012-r2-test-vm-xen.img,hda,w'
 &n= bsp;     =20 #,'file:/home/val/Partage/Windows-server-2012-R2-RTM-64=20 bits/fr_windows_server_2012_r2_x64_dvd.iso,hdc:cdrom,r'
]
# More = disks can=20 be added later using this same method. The path to the
# device or a = file can=20 be added. After the first comma is how the device will
# appear. = "hda" is the=20 first, "hdb" the second etc. "hda" will appear as IDE,
# sda will = appear as=20 SCSI or SATA. After the second comma "r" means read
# only and "w" is = for=20 write.
device_model_version =3D "qemu-xen-traditional"
boot =3D = 'c'
# The=20 above should be changed once Windows is installed: boot=3D'c' to = only
# show=20 the Windows file system, else it may try to boot from the ISO = image.
sdl =3D=20 0
vnc =3D 1
vnclisten =3D '0.0.0.0'
vncpasswd =3D ''
keymap = =3D=20 'fr'
stdvga =3D 0
# nographic=3D1 #!!! only uncomment this if you = are using=20 win8 or are trying
# to get a Nvidia card to work. In my case - = Nvidia Quadro=20 2000 - this was not
# needed.
serial =3D 'pty'
tsc_mode =3D=20 "default"
viridian =3D 1
#soundhw =3D 'all'
# This allows = sharing the USB=20 mouse/keyboard:
usb =3D 1
usbdevice =3D 'tablet'
# = gfx_passthru=3D0 is how it=20 works for most AMD cards and my Quadro 2000 card.
# gfx_passthru=3D1 = would pass=20 through the graphics card as primary display adapter.
# You can = change this=20 later for iGPUs or nVidia if needed.
# Try it with 0 = first!
#gfx_passthru=20 =3D 0
#Enter the PCI IDs you wish to passthru:
#pci =3D [ = '02:00.0', '02:00.1'=20 , '00:1a.0' ]
# The following lets Windows take the local time from = the=20 dom0:
localtime =3D 1
#To turn on pci power management globally, = use (see=20 remarks under pci=3D... below):
#pci_power_mgmt =3D = 1


Thanks, and=20 sorry for the my bad english, i'm french ^^.

Valentin=20 Meriel.

<= /HTML> ------=_NextPart_000_0019_01CF3688.AFC09600-- --===============8732905011024558165== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============8732905011024558165==--