Re: [Xen-devel] rt-xen::make Done::xl :: sched-rm not shown:: how to add a command line in xl

2014-12-14 Thread Jie Shen
Hello Gurus, should be the two files : xl_cmdimpl.c xl_cmdtable.c? Best regards Jie Shen Graduate Student in Computer Science Illinois Institute of Technology Stuart Building Chicago, IL 60616 +1 312 404 0122 On Mon, Dec 15, 2014 at 12:56 AM, Jie Shen wrote: > > > Hello Gurus , >

[Xen-devel] [TESTDAY] Test report Xen 4.5.0-RC3

2014-12-14 Thread Juergen Schinker
Subject: [TESTDAY] Test report Xen 4.5.0-RC3 * Hardware: Intel(R) Xeon(R) CPU E3-1220L V2 @ 2.30GHz (4cores -1 socket) 32G Ram * Software: Debian Jessie * Guest operating systems: Debian Jessie * Functionality tested: xl pygrub * Comments: had to compile with configure --enable-gith

[Xen-devel] libxl.c::macro definition::LIBXL_SCHEDULER_SEDF

2014-12-14 Thread Jie Shen
Hello Gurus, I am working on a project to change code of xen, Unfortunately I can not find the macro def of : LIBXL_SCHEDULER_ if C compiler not finds it ,it will trigger an error " XXX not defined" But where is it ? I search all c and h files. Could you please help me to check it ? Jie S

[Xen-devel] Fwd: rt-xen::make Done::xl :: sched-rm not shown:: how to add a command line in xl

2014-12-14 Thread Jie Shen
Hello Gurus , Sorry to bother your again. Now Make is Done. Many errors are resolved ( such as some programming errors on xenbus.c ,fbfront.c) now I can use xl ,unfortunately, xl no option sched-rm. I changed the source of : libxl.c ==> output from grep: libxl.c:static int sched_rm_domain

[Xen-devel] XEN::SCHEDULER::libxl.c::make install error ::libxenlight.so: undefined reference to `xc_sched_rm_domain_set'

2014-12-14 Thread Jie Shen
Hello Gurus, I am adding a new rm scheduler to the rt-xen, unfortunately I met "undefined reference to " error ,the output is below: error output begin== ln -sf libxenlight.so.4.3.0 libxenlight.so.4.3 ln -sf libxenlight.so.4.3 libxenlight.so gcc-pthread -o xl xl.o

Re: [Xen-devel] rt-xen::make Done::xl :: sched-rm not shown:: how to add a command line in xl

2014-12-14 Thread Jie Shen
resolved thanks any way! infoGet information about Xen host sharing Get information about page sharing sched-creditGet/set credit scheduler parameters sched-credit2 Get/set credit2 scheduler parameters sched-rtglobal Get/set rtglobal schedule

[Xen-devel] [linux-3.10 test] 32359: regressions - FAIL

2014-12-14 Thread xen . org
flight 32359 linux-3.10 real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/32359/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemut-winxpsp3 7 windows-install fail REGR. vs. 26303 Tests which are failin

Re: [Xen-devel] One question about the hypercall to translate gfn to mfn.

2014-12-14 Thread Tian, Kevin
> From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Friday, December 12, 2014 6:54 PM > > >>> On 12.12.14 at 08:24, wrote: > > - is there existing _map_ call for this purpose per your knowledge, or > > a new one is required? If the latter, what's the additional logic to be > > implemented ther

Re: [Xen-devel] [PATCH 1/4] xen: build infrastructure for generating hypercall depending symbols

2014-12-14 Thread Juergen Gross
On 12/12/2014 11:48 PM, Boris Ostrovsky wrote: On 12/11/2014 01:04 PM, Juergen Gross wrote: diff --git a/scripts/xen-hypercalls.sh b/scripts/xen-hypercalls.sh new file mode 100644 index 000..e6447b7 --- /dev/null +++ b/scripts/xen-hypercalls.sh @@ -0,0 +1,11 @@ +#!/bin/sh +out="$1" +shift +i

Re: [Xen-devel] Monday is the Last Xen Project Document Day of 2014

2014-12-14 Thread Russ Pavlicek
Reminder: Today is Document Day! Give someone a present and document a new capability, or improve an older page so it is up to date. More information is below. See you in #xendocs on IRC. On Thu, Dec 11, 2014 at 2:46 PM, Russ Pavlicek wrote: > Monday, December 15, will be our last Document Day

[Xen-devel] [qemu-mainline test] 32352: trouble: broken/fail/pass

2014-12-14 Thread xen . org
flight 32352 qemu-mainline real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/32352/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-credit23 host-install(3) broken REGR. vs. 32194

Re: [Xen-devel] [RFC V8 2/3] libxl domain snapshot API design

2014-12-14 Thread Chun Yan Liu
>>> On 12/13/2014 at 12:22 AM, in message >>> <1418401323.16425.28.ca...@citrix.com>, Ian Campbell wrote: > On Tue, 2014-12-09 at 20:46 -0700, Chun Yan Liu wrote: > > > > >>> On 12/9/2014 at 07:11 PM, in message > > >>> <1418123518.14361.20.ca...@citrix.com>, > > Ian Campbell wrote: >

[Xen-devel] [linux-linus test] 32348: regressions - trouble: blocked/broken/fail/pass

2014-12-14 Thread xen . org
flight 32348 linux-linus real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/32348/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-rumpuserxen-i386 8 guest-start fail REGR. vs. 31241 test-amd64-i386-xl-mu

Re: [Xen-devel] [PATCH] Mini-OS: netfront: Fix rx ring starvation in network_rx

2014-12-14 Thread Samuel Thibault
Martin Lucina, le Thu 11 Dec 2014 13:10:00 +0100, a écrit : > I've done this in the updated patch, take a look and let me know what you > think. I like that :) > From 3880f59159bf0a05b47b6e723091b1e7e4fb6814 Mon Sep 17 00:00:00 2001 > From: Martin Lucina > Date: Thu, 4 Dec 2014 14:33:53 +0100 >

Re: [Xen-devel] [rtxen-devel] XEN::SCHEDULER::libxl.c::make install error ::libxenlight.so: undefined reference to `xc_sched_rm_domain_set'

2014-12-14 Thread Meng Xu
Not sure if you have solved it or not. if you look througth the code patch I sent to you last week, you should find it in the xc_rtpatition.c file under the tools folder. 2014-12-13 0:26 GMT-08:00 Jie Shen : > > > Hello Gurus, > I am adding a new rm scheduler to the rt-xen, > unfortunately I met "

[Xen-devel] [libvirt test] 32351: tolerable FAIL - PUSHED

2014-12-14 Thread xen . org
flight 32351 libvirt real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/32351/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-i386-libvirt 9 guest-start fail never pass test-amd64-amd64-libvirt 9 guest-start

Re: [Xen-devel] WARNING: at drivers/xen/gntdev.c:426 unmap_if_in_range+0x5d/0x60 [xen_gntdev]()

2014-12-14 Thread Christopher S. Aker
> On Dec 11, 2014, at 10:12 AM, Christopher S. Aker wrote: > > Xen: 4.4.2-pre (28573:f6f6236af933) + xsa111, xsa112, xsa114 > Dom0: 3.17.4 > > Things go badly after a day or four. We've hit this on a number of > previously healthy hosts, since moving from 3.10.x dom0 to 3.17.4: > > printk: 5

[Xen-devel] [xen-unstable test] 32337: trouble: blocked/broken/fail/pass

2014-12-14 Thread xen . org
flight 32337 xen-unstable real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/32337/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-pvops 3 host-install(3) broken REGR. vs. 32245

[Xen-devel] [PATCH 12/12] vTPM/TPM2: Unind group keys and sectors data on disk

2014-12-14 Thread Quan Xu
Signed-off-by: Quan Xu --- stubdom/vtpmmgr/disk_read.c | 28 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/stubdom/vtpmmgr/disk_read.c b/stubdom/vtpmmgr/disk_read.c index 33aacdd..57573e4 100644 --- a/stubdom/vtpmmgr/disk_read.c +++ b/stubdom/vtpmmgr/

[Xen-devel] [PATCH 01/12] vTPM/TPM2: Add TPM 2.0 data structures and commands definition

2014-12-14 Thread Quan Xu
Add TPM 2.0 data structures on Trusted Platform Module Library Part 2: Structures and Trust Platform Module Library Part 3: Commands. Signed-off-by: Quan Xu --- stubdom/vtpmmgr/tpm2_types.h | 978 +++ 1 file changed, 978 insertions(+) create mode 100644 s

[Xen-devel] [PATCH 08/12] vTPM/TPM2: Add main entrance vtpmmgr2_init()

2014-12-14 Thread Quan Xu
Accept commands from the vtpm-stubdom domains via the mini-os TPM backend driver. The vTPM manager communicates directly with hardware TPM 2.0 using the mini-os tpm2_tis driver. Signed-off-by: Quan Xu --- stubdom/vtpmmgr/init.c| 110 ++ stubdom/vtp

[Xen-devel] [PATCH 07/12] vTPM/TPM2: TPM2.0 TIS initialization and self test.

2014-12-14 Thread Quan Xu
call the TPM 2.0 various registers that allow communication between the TPM 2.0 and platform hardware and software. TPM2_SelfTest causes the TPM 2.0 to perform a test of its capabilities. Signed-off-by: Quan Xu --- extras/mini-os/include/tpm_tis.h | 1 + extras/mini-os/tpm_tis.c | 156

[Xen-devel] [PATCH 11/12] vTPM/TPM2: Bind group keys and sectors data on disk

2014-12-14 Thread Quan Xu
Signed-off-by: Quan Xu --- stubdom/vtpmmgr/disk_write.c | 29 - 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/stubdom/vtpmmgr/disk_write.c b/stubdom/vtpmmgr/disk_write.c index 4c825c5..73018ef 100644 --- a/stubdom/vtpmmgr/disk_write.c +++ b/stubdom/vtp

[Xen-devel] [PATCH 06/12] vTPM/TPM2: Create and load SK on TPM 2.0

2014-12-14 Thread Quan Xu
TPM2_Create is used to create an object that can be loaded into a TPM using TPM2_Load(). If the command completes successfully, the TPM will create the new object and return the object’s creation. data (creationData), its public area (outPublic), and its encrypted sensitive area (outPrivate). Prese

[Xen-devel] [PATCH 10/12] vTPM/TPM2: Support TPM 2.0 bind and unbind data

2014-12-14 Thread Quan Xu
Bind data with TPM2_RSA_Encrypt, which performs RSA encryption using the indicated padding scheme according to PKCS#1v2.1(PKCS#1). If the scheme of keyHandle is TPM_ALG_NULL, then the caller may use inScheme to specify the padding scheme. Unbind data with TPM2_RSA_Decrypt, which performs RSA decryp

[Xen-devel] [PATCH 00/12] Enable vTPM subsystem on TPM 2.0

2014-12-14 Thread Quan Xu
This series of patch enable the virtual Trusted Platform Module (vTPM) subsystem for Xen on TPM 2.0. Noted, functionality for a virtual guest operating system (a DomU) is still TPM 1.2. The main modifcation is on vtpmmgr-stubdom. The challenge is that TPM 2.0 is not backward compatibility with TPM

[Xen-devel] [PATCH 02/12] vTPM/TPM2: TPM 2.0 data structures marshal

2014-12-14 Thread Quan Xu
Add TPM 2.0 data structure marshal for packing and unpacking TPM 2.0 data structures. Signed-off-by: Quan Xu --- stubdom/vtpmmgr/tpm2_marshal.h | 673 + 1 file changed, 673 insertions(+) create mode 100644 stubdom/vtpmmgr/tpm2_marshal.h diff --git a/stub

[Xen-devel] [PATCH 09/12] vTPM/TPM2: Support '--tpm2' extra command line.

2014-12-14 Thread Quan Xu
Make vtpm-stubdom domain compatible to launch on TPM 1.x / TPM 2.0. Add: .. extra="--tpm2" .. to launch vtpm-stubdom domain on TPM 2.0, ignore it on TPM 1.x. for example, vtpm-stubdom domain configuration on TPM 2.0: kernel="/usr/lib/xen/boot/vtpmmgr-stubdom.gz" memory=16 disk=["file:/var/sca

[Xen-devel] [PATCH 03/12] vTPM/TPM2: Add global data in vtpm_globals{}

2014-12-14 Thread Quan Xu
These data is for the Mini-os to access TPM 2.0 hardware. Signed-off-by: Quan Xu --- stubdom/vtpmmgr/vtpmmgr.h | 9 + 1 file changed, 9 insertions(+) diff --git a/stubdom/vtpmmgr/vtpmmgr.h b/stubdom/vtpmmgr/vtpmmgr.h index 2d9d153..0d0c604 100644 --- a/stubdom/vtpmmgr/vtpmmgr.h +++ b/st

[Xen-devel] [PATCH 04/12] vTPM/TPM2: Add TPM 2.0 Exposed APIs

2014-12-14 Thread Quan Xu
These TPM 2.0 Exposed APIs for the Mini-os to access TPM 2.0 hardware. Signed-off-by: Quan Xu --- stubdom/vtpmmgr/Makefile | 2 +- stubdom/vtpmmgr/tpm2.c | 455 +++ stubdom/vtpmmgr/tpm2.h | 104 +++ 3 files changed, 560 insertions(+), 1 d

[Xen-devel] [PATCH 05/12] vTPM/TPM2: TPM 2.0 takes ownership and create SRK

2014-12-14 Thread Quan Xu
TPM2_CreatePrimary is used to create a Primary Object under one of the Primary Seeds or a Temporary Object under TPM_RH_NULL. The command uses a TPM2B_PUBLIC as a template for the object to be created. The command will create and load a Primary Object. The sensitive area is not returned. Any type o

Re: [Xen-devel] SRIOV on a NIC card

2014-12-14 Thread Galla Rao
True it is not on Xen, it is on solaris platform As SRIOV (PCIe) spec is same on all platforms, the feature implementation should not change May be not an appropriate group for posting this query. On Sun, Dec 14, 2014 at 8:04 PM, Pasi Kärkkäinen wrote: > > On Sun, Dec 14, 2014 at 07:05:18PM

[Xen-devel] [PATCH] xenconfig: fix boot device parsing

2014-12-14 Thread Wei Liu
The original code always checked *boot which was in effect boot[0]. It should use boot[i]. Signed-off-by: Wei Liu --- src/xenconfig/xen_common.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenconfig/xen_common.c b/src/xenconfig/xen_common.c index 7f4ec89..48431a7 1

Re: [Xen-devel] SRIOV on a NIC card

2014-12-14 Thread Pasi Kärkkäinen
On Sun, Dec 14, 2014 at 07:05:18PM +0530, Galla Rao wrote: >Am trying to boot a guest OS on a Virtual Function, It hangs in preboot >The server is not a x86, it is on SUN SPARC > Afaik Xen has never been ported to SPARC.. Are you sure you're using Xen hypervisor? -- Pasi >What BI

[Xen-devel] [linux-3.10 test] 32332: regressions - trouble: broken/fail/pass

2014-12-14 Thread xen . org
flight 32332 linux-3.10 real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/32332/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemut-winxpsp3 7 windows-install fail REGR. vs. 26303 Tests which are failin

[Xen-devel] SRIOV on a NIC card

2014-12-14 Thread Galla Rao
Am trying to boot a guest OS on a Virtual Function, It hangs in preboot The server is not a x86, it is on SUN SPARC What BIOS/pre-boot has to enable to make Guest OS boot on VF The PF& VF driver in OS are working well VF Enable is set VF MSE is set What could be the possible failure? Any though

[Xen-devel] [xen-4.4-testing test] 32329: tolerable trouble: blocked/broken/fail/pass - PUSHED

2014-12-14 Thread xen . org
flight 32329 xen-4.4-testing real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/32329/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-xl 3 host-install(3) broken pass in 32298 test-amd64-amd64-pv 3