Re: [Xen-devel] Issue With Patch Compilation Fails ( xen/arm: Introduce a generic way to describe device) with HAS_PCI and HAS_PASSTHROUGH.

2015-04-07 Thread Manish Jaggi
On Wednesday 08 April 2015 11:05 AM, Manish Jaggi wrote: On Tuesday 07 April 2015 10:13 PM, Stefano Stabellini wrote: On Tue, 7 Apr 2015, Jaggi, Manish wrote: Hi Julien, Following patch generated compiler error when HAS_PCI adn HAS_PASSTHROUGH enabled. Please advice how to fix this issue,

Re: [Xen-devel] [RFC PATCH 0/7] Intel Cache Monitoring: Current Status and Future Opportunities

2015-04-07 Thread Chao Peng
> > "max_rmid" is a per-socket property. There is no requirement for it to > > be the same for each socket in a system, although it is likely, given a > > homogeneous system. > > > I know. Again this was not mentioned for document length reasons, but I > planned to ask about this (as I've done tha

Re: [Xen-devel] How to set "full update mode" in QEMU (in regards to display output)

2015-04-07 Thread mailing lists
As a shot in the dark, I went through vga.c for QEMU as distributed with Xen, located each instance of the "full_update" variable, and set it to 1. After recompiling, instead of a blank screen when the host is waiting for login, I get a flickering message "Waiting for display 1...". That doesn't s

Re: [Xen-devel] Issue With Patch Compilation Fails ( xen/arm: Introduce a generic way to describe device) with HAS_PCI and HAS_PASSTHROUGH.

2015-04-07 Thread Manish Jaggi
On Tuesday 07 April 2015 10:13 PM, Stefano Stabellini wrote: On Tue, 7 Apr 2015, Jaggi, Manish wrote: Hi Julien, Following patch generated compiler error when HAS_PCI adn HAS_PASSTHROUGH enabled. Please advice how to fix this issue, or you can revert this patch. Should I add a device structu

Re: [Xen-devel] [PATCH v6 1/3] xenbus_client: Extend interface to support multi-page ring

2015-04-07 Thread Juergen Gross
On 04/03/2015 08:44 AM, Bob Liu wrote: From: Wei Liu Originally Xen PV drivers only use single-page ring to pass along information. This might limit the throughput between frontend and backend. The patch extends Xenbus driver to support multi-page ring, which in general should improve throughp

[Xen-devel] How to set "full update mode" in QEMU (in regards to display output)

2015-04-07 Thread mailing lists
Following the guide for nested virtualization here: http://wiki.xenproject.org/wiki/Nested_Virtualization_in_Xen It states that one option for display issues is to force "full update mode" in QEMU. How is that done? I can't seem to find any documentation on it, and in the QEMU source, full_upda

Re: [Xen-devel] [PATCH 00/10] PML (Paging Modification Logging) support

2015-04-07 Thread Kai Huang
On 04/07/2015 05:24 PM, Tim Deegan wrote: Hi, At 16:30 +0800 on 07 Apr (1428424218), Kai Huang wrote: Hi Jan, Tim, other maintainers, Do you have comments? Or should I send out the v2 addressing Andrew's comments, as it's been more than a week since this patch series were sent out? I'm sorr

[Xen-devel] [PATCH] hvmloader: fix building error

2015-04-07 Thread Wen Congyang
commit b9245b75 introduces a building error: make[1]: Entering directory `/root/work/xen/tools/firmware/hvmloader' gcc -O1 -fno-omit-frame-pointer -m32 -march=i686 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -O0 -g3 -D__XEN_TOOLS__ -MMD -MF .smbi

Re: [Xen-devel] tg3 NIC driver bug in 3.14.x under Xen

2015-04-07 Thread Michael Chan
On Tue, 2015-04-07 at 19:13 +0100, Ian Jackson wrote: > root@bedbug:~# ethtool -S xenbr0 | grep -v ': 0$' > no stats available > root@bedbug:~# Please provide ethtool -S on the tg3 device. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://list

[Xen-devel] [qemu-mainline test] 50337: regressions - FAIL

2015-04-07 Thread osstest service user
flight 50337 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/50337/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-freebsd10-amd64 14 guest-localmigrate/x10 fail REGR. vs. 36709 test-amd64-i386-fre

[Xen-devel] Performance evaluation and Questions: Eliminating Xen (RTDS) scheduler overhead on dedicated CPU

2015-04-07 Thread Meng Xu
Hi George, Dario and Konrad, I finished a prototype of the RTDS scheduler with the dedicated CPU feature and did some quick evaluation on this feature. Right now, I need to refactor the code (because it is kind of messy when I was exploring different approaches :() and will send out the clean patc

[Xen-devel] [rumpuserxen test] 50341: regressions - FAIL

2015-04-07 Thread osstest service user
flight 50341 rumpuserxen real [real] http://logs.test-lab.xenproject.org/osstest/logs/50341/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-rumpuserxen5 rumpuserxen-build fail REGR. vs. 33866 build-amd64-rumpuserx

Re: [Xen-devel] Nested Virt - Xen 4.4 through 4.6 - Hyper-V; Can't boot after enabling Hyper-V

2015-04-07 Thread mailing lists
Which portion of "this" is the unicorn? Nested virtualization of Hyper-V under Xen? Or something else about my setup? I did try to go down the path of evaluating a memory dump, however while minidumps are enabled, they do not seem to be getting created on either of my test systems when the messa

[Xen-devel] [ovmf test] 50339: regressions - FAIL

2015-04-07 Thread osstest service user
flight 50339 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/50339/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i3865 xen-build fail REGR. vs. 36764 build-amd64-xsm

Re: [Xen-devel] tg3 NIC driver bug in 3.14.x under Xen

2015-04-07 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("Re: tg3 NIC driver bug in 3.14.x under Xen"): > On Tue, Apr 07, 2015 at 04:12:14PM +0100, Ian Jackson wrote: > > The symptom is a very high level of packet loss: around 25-30% (as > > seen in `ping'). There don't seem to be any untoward-looking kernel > > messages.

Re: [Xen-devel] tg3 NIC driver bug in 3.14.x under Xen

2015-04-07 Thread Ian Jackson
Ian Jackson writes ("Re: tg3 NIC driver bug in 3.14.x under Xen"): > Evidently on this particular kernel, the error counters are _not_ > increasing, contrary to what I said before. I confess that I didn't > keep a record of on which particular machine and kernel I observed the > error count increa

Re: [Xen-devel] tg3 NIC driver bug in 3.14.x under Xen

2015-04-07 Thread Ian Jackson
Michael Chan writes ("Re: tg3 NIC driver bug in 3.14.x under Xen"): > On Tue, 2015-04-07 at 16:12 +0100, Ian Jackson wrote: > > The symptom is a very high level of packet loss: around 25-30% (as > > seen in `ping'). There don't seem to be any untoward-looking kernel > > messages. The lost packets

Re: [Xen-devel] [PATCH v2 2/3] arm, arm64/xen: move Xen initialization earlier

2015-04-07 Thread Stefano Stabellini
Russell, I think that this patch should go via the Xen tree, however as it touches arch/arm/kernel/setup.c, I would like your Acked-by before adding it to the Xen queue. Thanks, Stefano On Wed, 18 Feb 2015, Julien Grall wrote: > From: Stefano Stabellini > > Currently, Xen is initialized/disc

[Xen-devel] [PATCH 4/6] x86/link: Introduce and use __bss_end

2015-04-07 Thread Andrew Cooper
No functional change. Signed-off-by: Andrew Cooper CC: Keir Fraser CC: Jan Beulich --- xen/arch/x86/boot/head.S |2 +- xen/arch/x86/setup.c |4 ++-- xen/arch/x86/tboot.c |4 ++-- xen/arch/x86/xen.lds.S |1 + 4 files changed, 6 insertions(+), 5 deletions(-) diff --git

[Xen-devel] [PATCH 1/6] x86/link: Discard the alternatives ".discard" sections

2015-04-07 Thread Andrew Cooper
This appears to have been missed when porting the alternatives framework from Linux, and saves us a section which is otherwise loaded into memory. Signed-off-by: Andrew Cooper CC: Keir Fraser CC: Jan Beulich --- xen/arch/x86/xen.lds.S |2 ++ 1 file changed, 2 insertions(+) diff --git a/xe

[Xen-devel] [PATCH 6/6] x86/boot: Ensure the BSS is aligned on an 8 byte boundary

2015-04-07 Thread Andrew Cooper
... and zero it more efficiently. A diff of the resulting binaries shows that the size of the BSS doesn't actually change from the extra ALIGN()s, but they do guarantee that it is safe to clear in an more efficient manner than 1 byte at a time. Signed-off-by: Andrew Cooper CC: Keir Fraser CC: J

[Xen-devel] [PATCH 3/6] x86/smp: Clean up use of memflags in cpu_smpboot_alloc()

2015-04-07 Thread Andrew Cooper
Hoist MEMF_node(cpu_to_node(cpu)) to the start of the function, and avoid passing (potentially bogus) memflags if node information is not available. Signed-off-by: Andrew Cooper CC: Keir Fraser CC: Jan Beulich --- xen/arch/x86/smpboot.c | 14 -- 1 file changed, 8 insertions(+), 6

[Xen-devel] [PATCH 5/6] x86/smp: Allocate pcpu stacks on their local numa node

2015-04-07 Thread Andrew Cooper
Previously, all pcpu stacks tended to be allocated on node 0. Signed-off-by: Andrew Cooper CC: Keir Fraser CC: Jan Beulich --- I have not done any performance, but this is obviously an improvement. --- xen/arch/x86/smpboot.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Xen-devel] [PATCH 2/6] x86/numa: Correct the extern of cpu_to_node

2015-04-07 Thread Andrew Cooper
This was missed by c/s 54ce2db "x86/numa: adjust datatypes for node and pxm" which changed the array definition in numa.c Signed-off-by: Andrew Cooper CC: Keir Fraser CC: Jan Beulich CC: Boris Ostrovsky --- xen/include/asm-x86/numa.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[Xen-devel] [PATCH 0/6] xen/x86: Misc x86 improvements

2015-04-07 Thread Andrew Cooper
This series is some preparity cleanup to allow the Xen text/data/bss regions to be mapped with superpages rather than small pages. There are more areas needing to be tweaked before superpages can be used (pcpu 0's stack being in the bss, .init being between .data and .bss, probably more), but thes

Re: [Xen-devel] [RFC PATCH v2 00/29] libxl: Cancelling asynchronous operations

2015-04-07 Thread Ian Jackson
Ian Campbell writes ("Re: [Xen-devel] [RFC PATCH v2 00/29] libxl: Cancelling asynchronous operations"): > On Tue, 2015-02-10 at 20:09 +, Ian Jackson wrote: > > This is v2 of my work-in-progress series to support cancellation of > > long-running libxl operations. > [...] > > I wouldn't recommen

Re: [Xen-devel] [RFC PATCH v2 00/29] libxl: Cancelling asynchronous operations

2015-04-07 Thread Ian Jackson
Euan Harris writes ("Re: [RFC PATCH v2 00/29] libxl: Cancelling asynchronous operations"): > On Wed, Feb 18, 2015 at 04:10:35PM +, Euan Harris wrote: > I think the most straightforward way to test the cancellation mechanism in > LibXL will be to adapt the way we test similar functionality in x

Re: [Xen-devel] [PATCH 2/2] vtpmmgr: execute deep quote in locality 0

2015-04-07 Thread Daniel De Graaf
On 04/07/2015 03:12 AM, Emil Condrea wrote: On Mon, Apr 6, 2015 at 6:49 PM, Daniel De Graaf wrote: On 04/05/2015 07:09 AM, Emil Condrea wrote: Enables deep quote execution for vtpmmgr which can not be started using locality 2. The VTPM_ORD_GET_QUOTE command is backwards compatible. When rece

Re: [Xen-devel] [PATCH v6 1/5] sysctl: Make XEN_SYSCTL_numainfo a little more efficient

2015-04-07 Thread Boris Ostrovsky
On 04/07/2015 01:04 PM, Andrew Cooper wrote: On 07/04/15 17:57, Boris Ostrovsky wrote: On 04/07/2015 12:04 PM, Andrew Cooper wrote: On 06/04/15 23:12, Boris Ostrovsky wrote: A number of changes to XEN_SYSCTL_numainfo interface: * Make sysctl NUMA topology query use fewer copies by combining s

Re: [Xen-devel] [PATCH v6 2/5] sysctl: Add sysctl interface for querying PCI topology

2015-04-07 Thread Daniel De Graaf
On 04/06/2015 06:12 PM, Boris Ostrovsky wrote: Signed-off-by: Boris Ostrovsky . Acked-by: Daniel De Graaf ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v4 28/33] tools/libxl: Check if fdt_{first, next}_subnode are present in libfdt

2015-04-07 Thread Julien Grall
Hi, On 31/03/15 14:18, Ian Campbell wrote: > On Tue, 2015-03-31 at 13:46 +0100, Julien Grall wrote: >> Hi Ian, >> >> On 31/03/15 12:35, Ian Campbell wrote: >>> On Thu, 2015-03-19 at 19:29 +, Julien Grall wrote: >>> The functions fdt_{fisrt,next}_subnode may not be available because: >>> >

Re: [Xen-devel] [PATCH v6 1/5] sysctl: Make XEN_SYSCTL_numainfo a little more efficient

2015-04-07 Thread Andrew Cooper
On 07/04/15 17:57, Boris Ostrovsky wrote: > On 04/07/2015 12:04 PM, Andrew Cooper wrote: >> On 06/04/15 23:12, Boris Ostrovsky wrote: >>> A number of changes to XEN_SYSCTL_numainfo interface: >>> >>> * Make sysctl NUMA topology query use fewer copies by combining some >>>fields into a single st

Re: [Xen-devel] [RFC PATCH v2 00/29] libxl: Cancelling asynchronous operations

2015-04-07 Thread Euan Harris
Hi, On Wed, Feb 18, 2015 at 04:10:35PM +, Euan Harris wrote: > We had a chat about testing these changes, and integrating them into xenopsd. > We agreed that we each had slightly different expectations of what we were > going to do, and when. I think we came to the following major conclusio

Re: [Xen-devel] [PATCH v6 2/5] sysctl: Add sysctl interface for querying PCI topology

2015-04-07 Thread Boris Ostrovsky
On 04/07/2015 12:09 PM, Andrew Cooper wrote: On 06/04/15 23:12, Boris Ostrovsky wrote: Signed-off-by: Boris Ostrovsky --- Changes in v6: * Dropped continuations, the sysctl now returns after 64 iteration if necessary Why? The caller should reasonably expect a single hypercall to complete, not

Re: [Xen-devel] [PATCH v6 1/5] sysctl: Make XEN_SYSCTL_numainfo a little more efficient

2015-04-07 Thread Boris Ostrovsky
On 04/07/2015 12:04 PM, Andrew Cooper wrote: On 06/04/15 23:12, Boris Ostrovsky wrote: A number of changes to XEN_SYSCTL_numainfo interface: * Make sysctl NUMA topology query use fewer copies by combining some fields into a single structure and copying distances for each node in a single

Re: [Xen-devel] tg3 NIC driver bug in 3.14.x under Xen

2015-04-07 Thread Michael Chan
On Tue, 2015-04-07 at 16:12 +0100, Ian Jackson wrote: > The symptom is a very high level of packet loss: around 25-30% (as > seen in `ping'). There don't seem to be any untoward-looking kernel > messages. The lost packets get added to the `errors' counter shown in > ifconfig. Please provide the

Re: [Xen-devel] Issue With Patch Compilation Fails ( xen/arm: Introduce a generic way to describe device) with HAS_PCI and HAS_PASSTHROUGH.

2015-04-07 Thread Stefano Stabellini
On Tue, 7 Apr 2015, Jaggi, Manish wrote: > Hi Julien, > > > Following patch generated compiler error when HAS_PCI adn HAS_PASSTHROUGH > enabled. > Please advice how to fix this issue, or you can revert this patch. > Should I add a device structure in pci_dev or there is another way. Hello Manis

[Xen-devel] Issue With Patch Compilation Fails ( xen/arm: Introduce a generic way to describe device) with HAS_PCI and HAS_PASSTHROUGH.

2015-04-07 Thread Jaggi, Manish
Hi Julien, Following patch generated compiler error when HAS_PCI adn HAS_PASSTHROUGH enabled. Please advice how to fix this issue, or you can revert this patch. Should I add a device structure in pci_dev or there is another way.     xen/arm: Introduce a generic way to describe device     

Re: [Xen-devel] [PATCH v6 2/5] sysctl: Add sysctl interface for querying PCI topology

2015-04-07 Thread Andrew Cooper
On 06/04/15 23:12, Boris Ostrovsky wrote: > Signed-off-by: Boris Ostrovsky > --- > > Changes in v6: > * Dropped continuations, the sysctl now returns after 64 iteration if > necessary Why? The caller should reasonably expect a single hypercall to complete, not to have to reissue repeated to get

Re: [Xen-devel] Nested Virt - Xen 4.4 through 4.6 - Hyper-V; Can't boot after enabling Hyper-V

2015-04-07 Thread Andrew Cooper
On 07/04/15 02:42, mailing lists wrote: > Hi -- > > I've been trying to get nested virtualization working with Xen so that > I could boot Windows and use Hyper-V related features, however I have > not had much success. Using Windows 8.1 or Windows 2012r2, I'm able > to install Windows, select and

Re: [Xen-devel] [PATCH v6 1/5] sysctl: Make XEN_SYSCTL_numainfo a little more efficient

2015-04-07 Thread Andrew Cooper
On 06/04/15 23:12, Boris Ostrovsky wrote: > A number of changes to XEN_SYSCTL_numainfo interface: > > * Make sysctl NUMA topology query use fewer copies by combining some > fields into a single structure and copying distances for each node > in a single copy. > * NULL meminfo and distance handl

Re: [Xen-devel] [PATCH] x86/hvm: Fix the unknown nested vmexit reason 80000021 bug

2015-04-07 Thread Andrew Cooper
On 07/04/15 14:27, Liang Li wrote: > This bug will be trigged when NMI happen in the L2 guest. The current > code handles the NMI incorrectly. According to Intel SDM 31.7.1.2 > (Resuming Guest Software after Handling an Exception), If bit 31 of the > IDT-vectoring information fields is set, and the

Re: [Xen-devel] [PATCH] tools/libxl new bitmap functions

2015-04-07 Thread Julien Grall
Hi Linda, On 07/04/15 16:45, Linda wrote: >>> +size = (bitmap1->size > bitmap2->size) ? bitmap1->size : >>> bitmap2->size; >> There might be an 'max' macro somwhere in the code that you could use >> for this? > Any guesses on where I might find the max macro. When I grep max, all I > find are

Re: [Xen-devel] [linux-next test] 50321: regressions - FAIL

2015-04-07 Thread Boris Ostrovsky
On 04/07/2015 10:14 AM, Ian Jackson wrote: osstest service user writes ("[linux-next test] 50321: regressions - FAIL"): flight 50321 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/50321/ Regressions :-( Tests which did not succeed and are blocking, including tests wh

Re: [Xen-devel] [PATCH] tools/libxl new bitmap functions

2015-04-07 Thread Linda
Hey Konrad, On 4/2/2015 1:34 PM, Konrad Rzeszutek Wilk wrote: On Thu, Apr 02, 2015 at 11:38:16AM -0600, Linda Jacobson wrote: From: Linda Added bitmap functions for union intersection and difference betweenn two bitmaps Signed-off-by: Linda --- tools/libxl/libxl_utils.c | 115 +++

Re: [Xen-devel] tg3 NIC driver bug in 3.14.x under Xen

2015-04-07 Thread Konrad Rzeszutek Wilk
On Tue, Apr 07, 2015 at 04:12:14PM +0100, Ian Jackson wrote: > I am experiencing what appears to be a bug involving the tg3 NIC > driver in (various stable branches of) Linux. > > The symptom is a very high level of packet loss: around 25-30% (as > seen in `ping'). There don't seem to be any unto

[Xen-devel] tg3 NIC driver bug in 3.14.x under Xen

2015-04-07 Thread Ian Jackson
I am experiencing what appears to be a bug involving the tg3 NIC driver in (various stable branches of) Linux. The symptom is a very high level of packet loss: around 25-30% (as seen in `ping'). There don't seem to be any untoward-looking kernel messages. The lost packets get added to the `error

Re: [Xen-devel] [ovmf test] 50324: regressions - trouble: blocked/broken/fail/pass

2015-04-07 Thread Ian Jackson
Wei Liu writes ("Re: [ovmf test] 50324: regressions - trouble: blocked/broken/fail/pass"): > On Tue, Apr 07, 2015 at 02:56:59PM +0100, Ian Jackson wrote: ... > > /home/osstest/build.50324.build-i386/xen/tools/firmware/ovmf-dir-remote/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaDeco

Re: [Xen-devel] [linux-next test] 50321: regressions - FAIL

2015-04-07 Thread Ian Jackson
osstest service user writes ("[linux-next test] 50321: regressions - FAIL"): > flight 50321 linux-next real [real] > http://logs.test-lab.xenproject.org/osstest/logs/50321/ > > Regressions :-( > > Tests which did not succeed and are blocking, > including tests which could not be run: ... > test-

Re: [Xen-devel] [ovmf test] 50324: regressions - trouble: blocked/broken/fail/pass

2015-04-07 Thread Wei Liu
On Tue, Apr 07, 2015 at 02:56:59PM +0100, Ian Jackson wrote: > osstest service user writes ("[ovmf test] 50324: regressions - trouble: > blocked/broken/fail/pass"): > > flight 50324 ovmf real [real] > > http://logs.test-lab.xenproject.org/osstest/logs/50324/ > > > > Regressions :-( > > > > Tests

Re: [Xen-devel] [xen-unstable test] 50322: regressions - trouble: broken/fail/pass

2015-04-07 Thread Ian Jackson
osstest service user writes ("[xen-unstable test] 50322: regressions - trouble: broken/fail/pass"): > flight 50322 xen-unstable real [real] > http://logs.test-lab.xenproject.org/osstest/logs/50322/ > > Regressions :-( > > Tests which did not succeed and are blocking, > including tests which coul

Re: [Xen-devel] [RFC PATCH 3/7] xen: psr: reserve an RMID for each core

2015-04-07 Thread Konrad Rzeszutek Wilk
On Tue, Apr 07, 2015 at 10:19:22AM +, Dario Faggioli wrote: > On Mon, 2015-04-06 at 09:59 -0400, Konrad Rzeszutek Wilk wrote: > > On Sat, Apr 04, 2015 at 04:14:41AM +0200, Dario Faggioli wrote: > > > > XXX Another idea I just have is to allow the user to > > > somehow specify a different '

Re: [Xen-devel] [ovmf test] 50324: regressions - trouble: blocked/broken/fail/pass

2015-04-07 Thread Ian Jackson
osstest service user writes ("[ovmf test] 50324: regressions - trouble: blocked/broken/fail/pass"): > flight 50324 ovmf real [real] > http://logs.test-lab.xenproject.org/osstest/logs/50324/ > > Regressions :-( > > Tests which did not succeed and are blocking, > including tests which could not be

Re: [Xen-devel] sudden hang on boot on AMD Notebook

2015-04-07 Thread Konrad Rzeszutek Wilk
On Tue, Apr 07, 2015 at 11:40:03AM +0200, Olaf Hering wrote: > On Mon, Mar 30, Olaf Hering wrote: > > > > > Just last week I was running staging to test pvscsi on this HP ProBook > > 6555b, since around Wednesday I think. But todays staging fails to boot. > > So I started a bisect in xen/, but ev

[Xen-devel] [PATCH] x86/hvm: Fix the unknown nested vmexit reason 80000021 bug

2015-04-07 Thread Liang Li
This bug will be trigged when NMI happen in the L2 guest. The current code handles the NMI incorrectly. According to Intel SDM 31.7.1.2 (Resuming Guest Software after Handling an Exception), If bit 31 of the IDT-vectoring information fields is set, and the virtual NMIs VM-execution control is 1, wh

[Xen-devel] [linux-3.16 test] 50336: regressions - FAIL

2015-04-07 Thread osstest service user
flight 50336 linux-3.16 real [real] http://logs.test-lab.xenproject.org/osstest/logs/50336/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-credit2 15 guest-localmigrate/x10fail REGR. vs. 34167 Tests which are failin

Re: [Xen-devel] [RFC PATCH 0/7] Intel Cache Monitoring: Current Status and Future Opportunities

2015-04-07 Thread Dario Faggioli
On Tue, 2015-04-07 at 11:27 +0100, Andrew Cooper wrote: > On 04/04/2015 03:14, Dario Faggioli wrote: > > > I'm putting here in the cover letter a markdown document I wrote to better > > describe my findings and ideas (sorry if it's a bit long! :-D). You can also > > fetch it at the following links:

[Xen-devel] [PATCH 2/2] libxl: Cope with pipes which signal POLLHUP|POLLIN on read eof

2015-04-07 Thread Ian Jackson
Some operating systems (including Linux and FreeBSD[1]) signal not (only) POLLIN when a reading pipe reaches EOF, but POLLHUP (with or without POLLIN). This is permitted[2]. The implications are that in the general case it is not possible to determine whether POLLHUP indicates an error or simply

[Xen-devel] [PATCH v2 0/2]: libxl: datacopier POLLHUP fixes

2015-04-07 Thread Ian Jackson
7e9ec50b0535 "tools/libxl: Adjust datacopiers POLLHUP handling when the fd is also readable" has been reverted by the application of what was 1/3 of v1 of this mini-series. (Sorry about the odd reference in the commit message to `later in this mail', which was a reference to `Avoid [theoretical] e

[Xen-devel] [PATCH 1/2] libxl: datacopier: Avoid eof/POLLHUP race

2015-04-07 Thread Ian Jackson
When the bootloader exits, several things change, all at once: (a) The master pty fd (held by libxl) starts to signal POLLHUP and maybe also POLLIN. (b) The child exits (so that the SIGCHLD self-pipe signals POLLIN, which will be handled by the libxl child process code. (c) reads on the

Re: [Xen-devel] Migration v2 and related work for 4.6

2015-04-07 Thread Andrew Cooper
On 07/04/15 13:00, Wei Liu wrote: > On Thu, Apr 02, 2015 at 10:34:34AM +0100, Andrew Cooper wrote: >> On 02/04/15 10:03, Ian Campbell wrote: >>> On Wed, 2015-04-01 at 12:03 +0100, Andrew Cooper wrote: I propose that the libxc series be accepted independently of the libxl series. >>> That

Re: [Xen-devel] [PATCH 3/3] libxl: datacopier: Avoid theoretical eof/POLLHUP race

2015-04-07 Thread Ian Jackson
Roger Pau Monné writes ("Re: [PATCH 3/3] libxl: datacopier: Avoid theoretical eof/POLLHUP race"): > I don't seem to be able to trigger the issue with the debug patch > applied. AFAICT pygrub is blocked (probably because the output buffer > is full) and total execution greatly exceeds 15s seconds

Re: [Xen-devel] Migration v2 and related work for 4.6

2015-04-07 Thread Wei Liu
On Thu, Apr 02, 2015 at 10:34:34AM +0100, Andrew Cooper wrote: > On 02/04/15 10:03, Ian Campbell wrote: > > On Wed, 2015-04-01 at 12:03 +0100, Andrew Cooper wrote: > >> I propose that the libxc series be accepted independently of the libxl > >> series. > > That is most likely a good idea IMHO. > >

Re: [Xen-devel] Migration v2 and related work for 4.6

2015-04-07 Thread Wei Liu
On Wed, Apr 01, 2015 at 12:03:51PM +0100, Andrew Cooper wrote: > Hello, > > I believe I have CC'd all interested parties. If I have missed anyone, > please shout. > > There are several large series: > * Cancellable async operations > * COLO > > and a wish to start experimenting with migration o

Re: [Xen-devel] [PATCH] xen/arm64: Use virtual address when setting up early_printk fixmap

2015-04-07 Thread Chen Baozi
On Tue, Apr 07, 2015 at 12:07:28PM +0100, Julien Grall wrote: > Hi Chen, > > On 07/04/2015 08:33, Chen Baozi wrote: > >From: Chen Baozi > > > >We have already had the boot pagetable when reaching the point > >of early_printk fixmap setup. Thus there is no longer necessary > >to caculate physical

Re: [Xen-devel] Nested Virt - Xen 4.4 through 4.6 - Hyper-V; Can't boot after enabling Hyper-V

2015-04-07 Thread George Dunlap
On Tue, Apr 7, 2015 at 2:42 AM, mailing lists wrote: > Hi -- > > I've been trying to get nested virtualization working with Xen so that I > could boot Windows and use Hyper-V related features, however I have not had > much success. Using Windows 8.1 or Windows 2012r2, I'm able to install > Window

[Xen-devel] [PATCH V2] xen/arm64: Use virtual address when setting up early_printk fixmap

2015-04-07 Thread Chen Baozi
We have already had the boot pagetable when reaching the point of early_printk fixmap setup. Thus there is no longer necessary to calculate physical address of xen_fixmap. Signed-off-by: Chen Baozi --- xen/arch/arm/arm64/head.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [Xen-devel] [PATCH 3/3] libxl: datacopier: Avoid theoretical eof/POLLHUP race

2015-04-07 Thread Roger Pau Monné
El 02/04/15 a les 18.29, Ian Jackson ha escrit: > Ian Jackson writes ("[PATCH 3/3] libxl: datacopier: Avoid theoretical > eof/POLLHUP race"): >> We solve the race with a poll of the reading fd, to double-check, when >> we detect eof via read. (This is only necessary if the caller has >> specified

Re: [Xen-devel] [PATCH] xen/arm64: Use virtual address when setting up early_printk fixmap

2015-04-07 Thread Julien Grall
Hi Chen, On 07/04/2015 08:33, Chen Baozi wrote: From: Chen Baozi We have already had the boot pagetable when reaching the point of early_printk fixmap setup. Thus there is no longer necessary to caculate physical address of xen_fixmap. s/caculate/calculate/ OOI, is it a bug or a clean up?

Re: [Xen-devel] [PATCH] tools/libxl new bitmap functions

2015-04-07 Thread Wei Liu
Sorry for keeping you waiting. I just get back from vacation. First I would like to thank Dario and Konrad for their reviews. Their comments are quite to the point and you should fix your code as suggested. In addition to their comments, I have a few comments. See below. On Thu, Apr 02, 2015 at

Re: [Xen-devel] [PATCH] xen: arm: X-Gene Storm check GIC DIST address for EOI quirk

2015-04-07 Thread Julien Grall
Hi Stefano, On 07/04/2015 10:40, Stefano Stabellini wrote: On Mon, 6 Apr 2015, Julien Grall wrote: Hi Pranav, Thank you for the patch. On 06/04/2015 10:54, Pranavkumar Sawargaonkar wrote: In old X-Gene Storm firmware and DT, secure mode addresses have been mentioned in GICv2 node. In this ca

Re: [Xen-devel] [PATCH RFC v3 00/28] libxl: Cancelling asynchronous operations

2015-04-07 Thread Ian Jackson
Ian Jackson writes ("[PATCH RFC v3 00/28] libxl: Cancelling asynchronous operations"): > This is v3 of my work-in-progress series to support cancellation of > long-running libxl operations. These are also here http://xenbits.xen.org/gitweb/?p=people/iwj/xen.git;a=summary git://xenbits.xen.org/

Re: [Xen-devel] [RFC PATCH 0/7] Intel Cache Monitoring: Current Status and Future Opportunities

2015-04-07 Thread Andrew Cooper
On 04/04/2015 03:14, Dario Faggioli wrote: > Hi Everyone, > > This RFC series is the outcome of an investigation I've been doing about > whether we can take better advantage of features like Intel CMT (and of PSR > features in general). By "take better advantage of" them I mean, for example, > use

Re: [Xen-devel] [RFC PATCH 3/7] xen: psr: reserve an RMID for each core

2015-04-07 Thread Dario Faggioli
On Mon, 2015-04-06 at 09:59 -0400, Konrad Rzeszutek Wilk wrote: > On Sat, Apr 04, 2015 at 04:14:41AM +0200, Dario Faggioli wrote: > > XXX Another idea I just have is to allow the user to > > somehow specify a different 'granularity'. Something > > like allowing 'percpu_cmt'|'percore_cmt'|'

Re: [Xen-devel] [RFC PATCH 2/7] Xen: x86: print max usable RMID during init

2015-04-07 Thread Dario Faggioli
On Mon, 2015-04-06 at 09:48 -0400, Konrad Rzeszutek Wilk wrote: > On Sat, Apr 04, 2015 at 04:14:33AM +0200, Dario Faggioli wrote: > > diff --git a/xen/arch/x86/psr.c b/xen/arch/x86/psr.c > > index c902625..0f2a6ce 100644 > > --- a/xen/arch/x86/psr.c > > +++ b/xen/arch/x86/psr.c > > @@ -111,7 +111,

Re: [Xen-devel] [PATCH RFC v2 3/3] xen: rework paging_log_dirty_op to work with hvm guests

2015-04-07 Thread Roger Pau Monné
Hello, El 03/04/15 a les 16.12, Tim Deegan ha escrit: > Hi, > > At 20:46 +0100 on 02 Apr (1428007593), Andrew Cooper wrote: >> On 02/04/15 11:26, Roger Pau Monne wrote: >>> When the caller of paging_log_dirty_op is a hvm guest Xen would choke when >>> trying to copy the dirty bitmap to the guest

Re: [Xen-devel] [RFC PATCH 3/7] xen: psr: reserve an RMID for each core

2015-04-07 Thread Dario Faggioli
On Tue, 2015-04-07 at 16:24 +0800, Chao Peng wrote: > On Sat, Apr 04, 2015 at 04:14:41AM +0200, Dario Faggioli wrote: > > 'persocket_cmt' would basically only allow to track the > > amount of free L3 on each socket (by subtracting the > > monitored value from the total). Again, still b

Re: [Xen-devel] [RFC PATCH 0/7] Intel Cache Monitoring: Current Status and Future Opportunities

2015-04-07 Thread Dario Faggioli
On Tue, 2015-04-07 at 16:19 +0800, Chao Peng wrote: > On Sat, Apr 04, 2015 at 04:14:15AM +0200, Dario Faggioli wrote: > > I'm putting here in the cover letter a markdown document I wrote to better > > describe my findings and ideas (sorry if it's a bit long! :-D). You can also > > fetch it at the

Re: [Xen-devel] [PATCH] xen: arm: X-Gene Storm check GIC DIST address for EOI quirk

2015-04-07 Thread Stefano Stabellini
On Mon, 6 Apr 2015, Julien Grall wrote: > Hi Pranav, > > Thank you for the patch. > > On 06/04/2015 10:54, Pranavkumar Sawargaonkar wrote: > > In old X-Gene Storm firmware and DT, secure mode addresses have been > > mentioned in GICv2 node. In this case maintenance interrupt is used > > instead o

Re: [Xen-devel] sudden hang on boot on AMD Notebook

2015-04-07 Thread Olaf Hering
On Mon, Mar 30, Olaf Hering wrote: > > Just last week I was running staging to test pvscsi on this HP ProBook > 6555b, since around Wednesday I think. But todays staging fails to boot. > So I started a bisect in xen/, but every attempt to boot xen.gz results > in a hang at the same place. Even go

Re: [Xen-devel] [PATCH 00/10] PML (Paging Modification Logging) support

2015-04-07 Thread Tim Deegan
Hi, At 16:30 +0800 on 07 Apr (1428424218), Kai Huang wrote: > Hi Jan, Tim, other maintainers, > > Do you have comments? Or should I send out the v2 addressing Andrew's > comments, as it's been more than a week since this patch series were > sent out? I'm sorry, I was away last week so I haven'

Re: [Xen-devel] [PATCH v3 8/8] tools: add tools support for Intel CAT

2015-04-07 Thread Chao Peng
On Thu, Apr 02, 2015 at 11:15:53AM +0800, Chao Peng wrote: > On Wed, Apr 01, 2015 at 10:23:01AM +0100, Ian Campbell wrote: > > On Wed, 2015-04-01 at 17:06 +0800, Chao Peng wrote: > > > > > If this one returns all sockets but not a specified socket data > > > > > (which I agreed) > > > > > and not

[Xen-devel] [xen-4.2-testing test] 50335: regressions - FAIL

2015-04-07 Thread osstest service user
flight 50335 xen-4.2-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/50335/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-qemuu-freebsd10-i386 8 guest-start fail REGR. vs. 36512 test-i386-i386-pa

Re: [Xen-devel] [PATCH 00/10] PML (Paging Modification Logging) support

2015-04-07 Thread Kai Huang
Hi Jan, Tim, other maintainers, Do you have comments? Or should I send out the v2 addressing Andrew's comments, as it's been more than a week since this patch series were sent out? Thanks, -Kai On 03/30/2015 01:50 PM, Kai Huang wrote: On 03/28/2015 05:26 AM, Andrew Cooper wrote: On 27/03

Re: [Xen-devel] [RFC PATCH 3/7] xen: psr: reserve an RMID for each core

2015-04-07 Thread Chao Peng
On Sat, Apr 04, 2015 at 04:14:41AM +0200, Dario Faggioli wrote: > This allows for a new item to be passed as part of the psr= > boot option: "percpu_cmt". If that is specified, Xen tries, > at boot time, to associate an RMID to each core. > > XXX This all looks rather straightforward, if it weren'

Re: [Xen-devel] [RFC PATCH 0/7] Intel Cache Monitoring: Current Status and Future Opportunities

2015-04-07 Thread Chao Peng
On Sat, Apr 04, 2015 at 04:14:15AM +0200, Dario Faggioli wrote: > Hi Everyone, > > This RFC series is the outcome of an investigation I've been doing about > whether we can take better advantage of features like Intel CMT (and of PSR > features in general). By "take better advantage of" them I mea

[Xen-devel] [xen-4.5-testing test] 50334: regressions - FAIL

2015-04-07 Thread osstest service user
flight 50334 xen-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/50334/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-winxpsp3 13 guest-localmigrate/x10fail REGR. vs. 50268 test-amd64-i386-f

[Xen-devel] [PATCH] xen/arm64: Avoid sending SGI when kicking secondary cpus with spin_table

2015-04-07 Thread Chen Baozi
From: Chen Baozi On arm64, either firmware or xen's smp_up_cpu gate uses WFE on secondary cpus to stand-by when booting. Thus, using SEV is enough for the boot cpu to kick other secondaries. Further more, the current implementation of cpu_up_send_sgi would pass a NULL cpumask pointer to send_SGI,

[Xen-devel] [PATCH] xen/arm64: Use virtual address when setting up early_printk fixmap

2015-04-07 Thread Chen Baozi
From: Chen Baozi We have already had the boot pagetable when reaching the point of early_printk fixmap setup. Thus there is no longer necessary to caculate physical address of xen_fixmap. Signed-off-by: Chen Baozi --- xen/arch/arm/arm64/head.S | 1 - 1 file changed, 1 deletion(-) diff --git a

Re: [Xen-devel] Crash of guest with nested vmx with Unknown nested vmexit reason 80000021.

2015-04-07 Thread Li, Liang Z
Hi All, I found a way to preproduce the bug very easy by using the apic->send_IPI_all(NMI_VECTOR) in L2 in a kernel module to trigger MNI. And I have verified that the bug can be fixed as Jan's suggestion, ' the second half of vmx_idtv_reinject() needs to be done without regard to nes

Re: [Xen-devel] [PATCH 2/2] vtpmmgr: execute deep quote in locality 0

2015-04-07 Thread Emil Condrea
On Mon, Apr 6, 2015 at 6:49 PM, Daniel De Graaf wrote: > On 04/05/2015 07:09 AM, Emil Condrea wrote: > >> Enables deep quote execution for vtpmmgr which can not be started >> using locality 2. The VTPM_ORD_GET_QUOTE command is backwards >> compatible. When receives flags=0 from vTPM it extends ad