Hello Xen users, i''m using Xen 4.1.2 on Gentoo Hardened and i''m stucked with one thing. After starting my domUs, i would like to have them pinned to specified CPU cores. I''m using this config file: kernel = "hvmloader" builder=''hvm'' memory = 2048 name = "VirusfreeDB" vcpus=4 cpus="16-19" acpi=1 apic=0 vif = [ ''bridge=xenbr0, script=vif-bridge, type=ioemu, model=e1000, mac=00:16:3e:63:90:aa'' ] disk = [ ''phy:/dev/vg/VirusfreeDB,hda,w'', '',hdc:cdrom,r'' ] on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' device_model = ''qemu-dm'' boot="dc" sdl=0 opengl=0 vnc=1 vnclisten="127.0.0.1" vncpasswd='''' stdvga=0 serial=''pty'' tsc_mode=0 xen_platform_pci=0 so I suppose that it should be pinned to CPUs 16 to 19. But in ''xl vcpu-list'' is ''Any CPU'', thus i have to do this manually with ''xl vcpu-pin'' command. Is there any way to do this automaticaly? Or am I doing something wrong? Let me know if you need any other information, I''m new here. Thank you Jan Hejl _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Tue, 2012-09-25 at 14:42 +0100, Jan Hejl wrote:> so I suppose that it should be pinned to CPUs 16 to 19. But in ''xl > vcpu-list'' is ''Any CPU'', thus i have to do this manually with ''xl > vcpu-pin'' command. Is there any way to do this automaticaly? Or am I > doing something wrong?IIRC the cpus syntax isn''t supported by xl until 4.2.0. Ian.
Thank you so much Ian. I''ll wait for 4.2.0 to be released on Gentoo. Have a nice day Jan Dne 25.9.2012 15:49, Ian Campbell napsal(a):> On Tue, 2012-09-25 at 14:42 +0100, Jan Hejl wrote: >> so I suppose that it should be pinned to CPUs 16 to 19. But in ''xl >> vcpu-list'' is ''Any CPU'', thus i have to do this manually with ''xl >> vcpu-pin'' command. Is there any way to do this automaticaly? Or am I >> doing something wrong? > IIRC the cpus syntax isn''t supported by xl until 4.2.0. > > Ian. > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hello I''m currently using Xen-4.1.2 and Linux-2.6.32.57 while looking in my dmesg output, i''m always having those errors: [VT-D]iommu.c:856: iommu_fault_status: Primary Pending Fault (XEN) [VT-D]iommu.c:831: DMAR:[DMA Read] Request device [02:00.5] fault addr 425541000, iommu reg = ffff82c3fff57000 (XEN) DMAR:[fault reason 02h] Present bit in context entry is clear (XEN) print_vtd_entries: iommu = ffff83043d6875b0 bdf = 2:0.5 gmfn = 425541 (XEN) root_entry = ffff83043d633000 (XEN) root_entry[2] = 275aa6001 (XEN) context = ffff830275aa6000 (XEN) context[5] = 0_0 (XEN) ctxt_entry[5] not present I don''t need VT-D. Is there a way to solve this problems! Cheers -- MAYAP Christine IRIT/ENSEEIHT 2 rue Charles Camichel - BP 7122 31071 Toulouse cedex 7