Re: [Xen-devel] [RFC 01/29] build: import Kbuild/Kconfig from Linux 4.2

2015-10-07 Thread Ian Campbell
On Wed, 2015-10-07 at 00:32 -0600, Jan Beulich wrote: > > > > On 06.10.15 at 18:47, wrote: > > On 10/6/15 7:45 AM, Jan Beulich wrote: > > > Also, btw - I don't think we should name the thing Kconfig in Xen; > > > Xconfig would be odd too (to be confused with X), so maybe > > > XenConfig? > > > >

Re: [Xen-devel] [RFC 01/29] build: import Kbuild/Kconfig from Linux 4.2

2015-10-07 Thread Andrew Cooper
On 07/10/2015 09:19, Ian Campbell wrote: > On Wed, 2015-10-07 at 00:32 -0600, Jan Beulich wrote: > On 06.10.15 at 18:47, wrote: >>> On 10/6/15 7:45 AM, Jan Beulich wrote: Also, btw - I don't think we should name the thing Kconfig in Xen; Xconfig would be odd too (to be confused with

[Xen-devel] [PATCH OSSTEST] standalone: do not rotate empty log files.

2015-10-07 Thread Ian Campbell
By passing -n to savelog. In particular this prevents the creation of an empty $log.0 on first use when $log doesn't exist. Signed-off-by: Ian Campbell --- standalone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/standalone b/standalone index 27e2e7d..d9c927f 100755 --- a/

Re: [Xen-devel] [PATCH for-4.6] xen/public: arm: Use __typeof__ rather than typeof

2015-10-07 Thread Ian Campbell
On Wed, 2015-10-07 at 00:31 -0600, Jan Beulich wrote: > > > > On 06.10.15 at 19:25, wrote: > > On 05/10/15 11:31, Jan Beulich wrote: > > > > > > On 04.10.15 at 21:24, wrote: > > > > The keyword typeof is not portable: > > > > > > > > /usr/src/freebsd/sys/xen/hypervisor.h:93:2: error: implicit >

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Ian Campbell
On Tue, 2015-10-06 at 17:55 +0100, George Dunlap wrote: > On 25/09/15 03:11, Chunyan Liu wrote: > > Add xl usb-assignable-list command to list assignable USB devices. > > Assignable USB device means the USB device type is assignable and > > it's not assigned to any guest yet. > > > > Signed-off-by

[Xen-devel] [PATCH OSSTEST] stubdom: Arrange for guest serial to go to a host logfile

2015-10-07 Thread Ian Campbell
By pointing the serial port at 'file:/var/log/dm-serial.log' it will end up on mini-os's console and therefore in /var/log/xen/qemu-dm-$guest.log. Signed-off-by: Ian Campbell --- Osstest/TestSupport.pm | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Osstest/TestSupport.pm

Re: [Xen-devel] [PATCH] x86/p2m: fix typo "populete"

2015-10-07 Thread George Dunlap
On 06/10/15 20:10, Wei Liu wrote: > Signed-off-by: Wei Liu Reviewed-by: George Dunlap > --- > xen/arch/x86/mm/p2m.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/xen/arch/x86/mm/p2m.c b/xen/arch/x86/mm/p2m.c > index 09144e0..1178832 100644 > --- a/xen/arch/x86/mm/p2

Re: [Xen-devel] [RFC 01/29] build: import Kbuild/Kconfig from Linux 4.2

2015-10-07 Thread Jan Beulich
>>> On 07.10.15 at 10:23, wrote: > On 07/10/2015 09:19, Ian Campbell wrote: >> On Wed, 2015-10-07 at 00:32 -0600, Jan Beulich wrote: >> On 06.10.15 at 18:47, wrote: On 10/6/15 7:45 AM, Jan Beulich wrote: > Also, btw - I don't think we should name the thing Kconfig in Xen; > Xconf

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Juergen Gross
On 10/07/2015 10:40 AM, Ian Campbell wrote: On Tue, 2015-10-06 at 17:55 +0100, George Dunlap wrote: On 25/09/15 03:11, Chunyan Liu wrote: Add xl usb-assignable-list command to list assignable USB devices. Assignable USB device means the USB device type is assignable and it's not assigned to any

Re: [Xen-devel] [PATCH OSSTEST] standalone: do not rotate empty log files.

2015-10-07 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST] standalone: do not rotate empty log files."): > By passing -n to savelog. > > In particular this prevents the creation of an empty $log.0 on first > use when $log doesn't exist. Acked-by: Ian Jackson ___ Xen-deve

Re: [Xen-devel] [PATCH OSSTEST] stubdom: Arrange for guest serial to go to a host logfile

2015-10-07 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST] stubdom: Arrange for guest serial to go to a host logfile"): > By pointing the serial port at 'file:/var/log/dm-serial.log' it will > end up on mini-os's console and therefore in > /var/log/xen/qemu-dm-$guest.log. ... > - $cfg .= "serial='pty'\n"; > +

Re: [Xen-devel] [RFC 01/29] build: import Kbuild/Kconfig from Linux 4.2

2015-10-07 Thread Ian Campbell
On Wed, 2015-10-07 at 03:54 -0600, Jan Beulich wrote: > > > > On 07.10.15 at 10:23, wrote: > > On 07/10/2015 09:19, Ian Campbell wrote: > > > On Wed, 2015-10-07 at 00:32 -0600, Jan Beulich wrote: > > > > > > > On 06.10.15 at 18:47, wrote: > > > > > On 10/6/15 7:45 AM, Jan Beulich wrote: > > > > >

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Ian Campbell
On Wed, 2015-10-07 at 11:55 +0200, Juergen Gross wrote: > On 10/07/2015 10:40 AM, Ian Campbell wrote: > > On Tue, 2015-10-06 at 17:55 +0100, George Dunlap wrote: > > > On 25/09/15 03:11, Chunyan Liu wrote: > > > > Add xl usb-assignable-list command to list assignable USB devices. > > > > Assignable

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread George Dunlap
On Wed, Oct 7, 2015 at 9:40 AM, Ian Campbell wrote: > On Tue, 2015-10-06 at 17:55 +0100, George Dunlap wrote: >> On 25/09/15 03:11, Chunyan Liu wrote: >> > Add xl usb-assignable-list command to list assignable USB devices. >> > Assignable USB device means the USB device type is assignable and >> >

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread George Dunlap
On 07/10/15 11:10, George Dunlap wrote: > The reason I left the two-stage thing for pci devices was that I was > afraid that setting "seize=1" by default would be too dangerous: it > would be to easy for a missed keystroke or a typo to bring down the > system. And as I've said before, "present me"

Re: [Xen-devel] [PATCH] Add Libc multiarch package as build prerequisites on 64-bit platforms to the README

2015-10-07 Thread Wei Liu
CC people from ./get_maintainers.pl On Tue, Oct 06, 2015 at 06:58:25PM +0200, Sander Eikelenboom wrote: > When building on 64-bit platforms this prevents build errors for > 32-bit components which are enabled on a default build. > > Signed-off-by: Sander Eikelenboom > --- > README | 3 +++ > 1

Re: [Xen-devel] [PATCH v3 4/9] xen/blkfront: pseudo support for multi hardware queues/rings

2015-10-07 Thread Bob Liu
On 10/05/2015 06:52 PM, Roger Pau Monné wrote: > El 05/09/15 a les 14.39, Bob Liu ha escrit: >> Prepare patch for multi hardware queues/rings, the ring number was set to 1 >> by >> force. >> >> * Use 'nr_rings' in per dev_info to identify how many hw queues/rings are >> supported, and a pointer

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

2015-10-07 Thread osstest service owner
flight 62682 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/62682/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-pvops 3 host-install(3) broken REGR. vs. 62646

Re: [Xen-devel] how to trace scheduling overheads using xentrace/xenalyze

2015-10-07 Thread Dario Faggioli
On Tue, 2015-10-06 at 20:46 -0700, Yu-An(Victor) Chen wrote: > Hi, > Hi, > I am new to xen environment > Welcome :-) > and I am wondering how to trace scheduling overhead of guest vm using > xentrace/xenalyze ? > Have you had a look at this blog entry? It's from some time ago, but the basic co

Re: [Xen-devel] [PATCH v3 5/9] xen/blkfront: convert per device io_lock to per ring ring_lock

2015-10-07 Thread Bob Liu
On 10/05/2015 10:13 PM, Roger Pau Monné wrote: > El 05/09/15 a les 14.39, Bob Liu ha escrit: >> The per device io_lock became a coarser grained lock after multi-queues/rings >> was introduced, this patch converts it to a fine-grained per ring lock. >> >> NOTE: The per dev_info structure was no mor

Re: [Xen-devel] [PATCH v3 6/9] xen/blkfront: negotiate the number of hw queues/rings with backend

2015-10-07 Thread Bob Liu
On 10/05/2015 10:40 PM, Roger Pau Monné wrote: > El 05/09/15 a les 14.39, Bob Liu ha escrit: >> The max number of hardware queues for xen/blkfront is set by parameter >> 'max_queues', while the number xen/blkback supported is notified through >> xenstore("multi-queue-max-queues"). >> >> The negoti

Re: [Xen-devel] [PATCH v3 7/9] xen/blkback: separate ring information out of struct xen_blkif

2015-10-07 Thread Bob Liu
On 10/05/2015 10:55 PM, Roger Pau Monné wrote: > El 05/09/15 a les 14.39, Bob Liu ha escrit: >> Split per ring information to an new structure:xen_blkif_ring, so that one >> vbd >> device can associate with one or more rings/hardware queues. >> >> This patch is a preparation for supporting multi

Re: [Xen-devel] [PATCH 0/2] Bulk mem-share identical domains

2015-10-07 Thread Wei Liu
On Tue, Oct 06, 2015 at 10:05:12AM -0600, Tamas K Lengyel wrote: > On Tue, Oct 6, 2015 at 8:26 AM, Ian Campbell > wrote: > > > On Sun, 2015-10-04 at 14:25 -0600, Tamas K Lengyel wrote: > > > The following patches add a convenience memop to the mem_sharing system, > > > allowing for the rapid dedu

Re: [Xen-devel] [PATCH v3 8/9] xen/blkback: pseudo support for multi hardware queues/rings

2015-10-07 Thread Bob Liu
On 10/05/2015 11:08 PM, Roger Pau Monné wrote: > El 05/09/15 a les 14.39, Bob Liu ha escrit: >> Prepare patch for multi hardware queues/rings, the ring number was set to 1 >> by >> force. > > This should be: > > Preparatory patch for multiple hardware queues (rings). The number of > rings is un

Re: [Xen-devel] [PATCH v3 9/9] xen/blkback: get number of hardware queues/rings from blkfront

2015-10-07 Thread Bob Liu
On 10/05/2015 11:15 PM, Roger Pau Monné wrote: > El 05/09/15 a les 14.39, Bob Liu ha escrit: >> Backend advertises "multi-queue-max-queues" to front, and then read back the >> final negotiated queues/rings from "multi-queue-num-queues" which is wrote by >> blkfront. >> >> Signed-off-by: Bob Liu >

Re: [Xen-devel] [xen-unstable test] 62646: tolerable FAIL - PUSHED

2015-10-07 Thread Ian Campbell
On Tue, 2015-10-06 at 16:31 +0100, Ian Campbell wrote: > On Mon, 2015-10-05 at 18:21 +, osstest service owner wrote: > > flight 62646 xen-unstable real [real] > > http://logs.test-lab.xenproject.org/osstest/logs/62646/ > > > > Failures :-/ but no regressions. > > > > Regressions which are reg

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Christiane Groß
On 10/07/2015 12:10 PM, George Dunlap wrote: On Wed, Oct 7, 2015 at 9:40 AM, Ian Campbell wrote: On Tue, 2015-10-06 at 17:55 +0100, George Dunlap wrote: On 25/09/15 03:11, Chunyan Liu wrote: Add xl usb-assignable-list command to list assignable USB devices. Assignable USB device means the USB

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Ian Campbell
On Wed, 2015-10-07 at 11:10 +0100, George Dunlap wrote: > > So IMHO xl usb-assignable-list should behave like pci-assignable-list by > > default. > > I don't think that's really suitable. Then I'm terribly confused because I thought that is what you were initially advocating. [...] > For USB,

Re: [Xen-devel] [PATCH v8] run QEMU as non-root

2015-10-07 Thread Ian Campbell
On Tue, 2015-10-06 at 09:29 -0600, Jim Fehlig wrote: > Currently, there is no libivrt code to using this. But surely users would like > to specify the qemu user in their xl config right? Surely. Stefano can you take care of this in a followup please. NB I went to apply this patch for now but the

[Xen-devel] [distros-debian-squeeze test] 38133: all pass

2015-10-07 Thread Platform Team regression test user
flight 38133 distros-debian-squeeze real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38133/ Perfect :-) All tests in this flight passed baseline version: flight 38109 jobs: build-amd64 pass build-armhf

[Xen-devel] Xen 4.6 released

2015-10-07 Thread Wei Liu
Hi all I'm pleased to announce that Xen 4.6 is released. As release manager I would like to thank everyone who involved in the making of 4.6 release (either in the form of patch, bug report or packaging effort). This release wouldn't have happened without all your contributions. You can check out

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread George Dunlap
On 07/10/15 12:09, Ian Campbell wrote: > On Wed, 2015-10-07 at 11:10 +0100, George Dunlap wrote: > >>> So IMHO xl usb-assignable-list should behave like pci-assignable-list by >>> default. >> >> I don't think that's really suitable. > > Then I'm terribly confused because I thought that is what yo

[Xen-devel] [APPLIED] MINIOS_UPSTREAM_REVISION Update

2015-10-07 Thread Ian Campbell
I committed a change to mini-os some time ago and failed to reflect it in Xen's Config.mk. I intend to push this along with my next batch of patches (in around an hour). commit 3f9dfe68084a5e15cf8e5ea71e67e73f896e1101 Author: Ian Campbell Date: Wed Oct 7 12:18:10 2015 +0100 MINIOS_UPSTREAM

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Juergen Gross
On 10/07/2015 01:20 PM, George Dunlap wrote: On 07/10/15 12:09, Ian Campbell wrote: On Wed, 2015-10-07 at 11:10 +0100, George Dunlap wrote: So IMHO xl usb-assignable-list should behave like pci-assignable-list by default. I don't think that's really suitable. Then I'm terribly confused bec

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread George Dunlap
On 07/10/15 12:25, Juergen Gross wrote: > On 10/07/2015 01:20 PM, George Dunlap wrote: >> On 07/10/15 12:09, Ian Campbell wrote: >>> On Wed, 2015-10-07 at 11:10 +0100, George Dunlap wrote: >>> > So IMHO xl usb-assignable-list should behave like > pci-assignable-list by > default. >

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Ian Campbell
On Wed, 2015-10-07 at 13:25 +0200, Juergen Gross wrote: > BTW: I've explained that in another reply, but my mail client has chosen > to send it via another account - I've no idea how that happened. So now > my wife has some xen-devel history as well. ;-) It's stuck in moderation (I suppose) and I

[Xen-devel] [qemu-mainline baseline-only test] 38128: regressions - FAIL

2015-10-07 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 38128 qemu-mainline real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38128/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-multivcpu 21 guest-start/d

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Ian Campbell
On Wed, 2015-10-07 at 13:25 +0200, Juergen Gross wrote: > > The "usb-assignable-list" that Chunyan has submitted will give you a > > list of all dom0 USB devices that have not yet been assigned to a guest. > > It should be basically equivalent to "lsusb", except that it filters > > out devices wh

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Juergen Gross
On 10/07/2015 01:37 PM, Ian Campbell wrote: On Wed, 2015-10-07 at 13:25 +0200, Juergen Gross wrote: BTW: I've explained that in another reply, but my mail client has chosen to send it via another account - I've no idea how that happened. So now my wife has some xen-devel history as well. ;-)

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Ian Campbell
On Wed, 2015-10-07 at 12:37 +0100, Ian Campbell wrote: > On Wed, 2015-10-07 at 13:25 +0200, Juergen Gross wrote: > > > BTW: I've explained that in another reply, but my mail client has > > chosen > > to send it via another account - I've no idea how that happened. So now > > my wife has some xen-d

Re: [Xen-devel] [PATCH v3 6/9] xen/blkfront: negotiate the number of hw queues/rings with backend

2015-10-07 Thread Roger Pau Monné
El 07/10/15 a les 12.39, Bob Liu ha escrit: > On 10/05/2015 10:40 PM, Roger Pau Monné wrote: >> El 05/09/15 a les 14.39, Bob Liu ha escrit: >>> @@ -2267,6 +2335,12 @@ static int __init xlblk_init(void) >>> xen_blkif_max_ring_order = 0; >>> } >>> >>> + if (xen_blkif_max_queues >

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Juergen Gross
On 10/07/2015 01:39 PM, Ian Campbell wrote: On Wed, 2015-10-07 at 13:25 +0200, Juergen Gross wrote: The "usb-assignable-list" that Chunyan has submitted will give you a list of all dom0 USB devices that have not yet been assigned to a guest. It should be basically equivalent to "lsusb", excep

Re: [Xen-devel] [PATCH v3 8/9] xen/blkback: pseudo support for multi hardware queues/rings

2015-10-07 Thread Roger Pau Monné
El 07/10/15 a les 12.50, Bob Liu ha escrit: > > On 10/05/2015 11:08 PM, Roger Pau Monné wrote: >> El 05/09/15 a les 14.39, Bob Liu ha escrit: >>> Prepare patch for multi hardware queues/rings, the ring number was set to 1 >>> by >>> force. >> >> This should be: >> >> Preparatory patch for multipl

Re: [Xen-devel] [PATCH v3] xen/arm: psci: use SMC64 function ID when available on ARM64

2015-10-07 Thread Ian Campbell
On Tue, 2015-10-06 at 14:42 +0100, Ian Campbell wrote: > On Mon, 2015-10-05 at 18:09 +0100, Julien Grall wrote: > > Hi, > > > > On 05/10/15 17:38, Brijesh Singh wrote: > > > As per PSCI 0.2 spec, if CPU_ON entry_point_address is 64-bit then > > > SMC > > > call function ID parameter should be set

Re: [Xen-devel] [PATCH] gitingore: ignore extras/mini-os*

2015-10-07 Thread Ian Campbell
On Tue, 2015-10-06 at 17:44 +0100, Wei Liu wrote: > The original pattern doesn't handle mini-os-dir-remote. > > Signed-off-by: Wei Liu Acked + applied, fixing your typo in the subject. > --- > .gitignore | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/.gitignore b/.

Re: [Xen-devel] [PATCH] Add Libc multiarch package as build prerequisites on 64-bit platforms to the README

2015-10-07 Thread Ian Campbell
On Tue, 2015-10-06 at 18:58 +0200, Sander Eikelenboom wrote: > When building on 64-bit platforms this prevents build errors for > 32-bit components which are enabled on a default build. > > Signed-off-by: Sander Eikelenboom Acked + applied, thanks.

Re: [Xen-devel] [PATCH] docs: xl.cfg: permissive option is not PV only.

2015-10-07 Thread Ian Campbell
On Tue, 2015-10-06 at 09:52 +0100, Wei Liu wrote: > On Tue, Oct 06, 2015 at 09:42:35AM +0100, Ian Campbell wrote: > > Since XSA-131 qemu-xen has defaulted to non-permissive mode and the > > option was extended to cover that case in 015a373351e5 "tools: libxl: > > allow permissive qemu-upstream pci

Re: [Xen-devel] [PATCH v2 0/4] libxl: use LOG() macro where appropriate

2015-10-07 Thread Ian Campbell
On Fri, 2015-10-02 at 15:56 +0100, Wei Liu wrote: > There are mixed usage of different logging macros. Ideally we only use > one > style to avoid confusion. > > Rebased on top of staging. Applied, thanks. ___ Xen-devel mailing list Xen-devel@lists.xen

Re: [Xen-devel] [PATCH v3 1/1] tools/hotplug: Scan xenstore once when attaching shared images files

2015-10-07 Thread Ian Campbell
On Mon, 2015-10-05 at 17:41 +0100, Ian Jackson wrote: > Mike Latimer writes ("[PATCH v3 1/1] tools/hotplug: Scan xenstore once > when attaching shared images files"): > > During the attachment of a loopback mounted image file, the mode of all > > curent instances of this device already attached to

Re: [Xen-devel] [PATCH] tools/libxc: Improve efficiency of xc_cpuid_apply_policy()

2015-10-07 Thread Ian Campbell
On Tue, 2015-10-06 at 10:14 +0100, Wei Liu wrote: > On Mon, Oct 05, 2015 at 02:12:17PM +0100, Andrew Cooper wrote: > > Having the internals of xc_cpuid_policy() make hypercalls to collect > > domain > > information causes xc_cpuid_apply_policy() to be very inefficient. > > > > Re-order operations

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Ian Campbell
On Wed, 2015-10-07 at 13:49 +0200, Juergen Gross wrote: > On 10/07/2015 01:39 PM, Ian Campbell wrote: > > On Wed, 2015-10-07 at 13:25 +0200, Juergen Gross wrote: > > > > The "usb-assignable-list" that Chunyan has submitted will give you > > > > a > > > > list of all dom0 USB devices that have not y

Re: [Xen-devel] [PATCH v7 12/32] xen/x86: add bitmap of enabled emulated devices

2015-10-07 Thread Roger Pau Monné
El 06/10/15 a les 13.05, George Dunlap ha escrit: > On 05/10/15 10:34, Andrew Cooper wrote: >> On 02/10/15 16:48, Roger Pau Monne wrote: >>> Introduce a bitmap in x86 xen_arch_domainconfig that allows enabling or >>> disabling specific devices emulated inside of Xen for HVM guests. >>> >>> Signed-o

Re: [Xen-devel] [PATCH] tools/libxc: Improve efficiency of xc_cpuid_apply_policy()

2015-10-07 Thread Andrew Cooper
On 07/10/15 12:52, Ian Campbell wrote: > On Tue, 2015-10-06 at 10:14 +0100, Wei Liu wrote: >> On Mon, Oct 05, 2015 at 02:12:17PM +0100, Andrew Cooper wrote: >>> Having the internals of xc_cpuid_policy() make hypercalls to collect >>> domain >>> information causes xc_cpuid_apply_policy() to be very

[Xen-devel] [distros-debian-snapshot test] 38129: regressions - FAIL

2015-10-07 Thread Platform Team regression test user
flight 38129 distros-debian-snapshot real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38129/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-armhf-daily-netboot-pygrub 9 debian-di-install fail REGR. vs. 38096

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Juergen Gross
On 10/07/2015 01:55 PM, Ian Campbell wrote: On Wed, 2015-10-07 at 13:49 +0200, Juergen Gross wrote: On 10/07/2015 01:39 PM, Ian Campbell wrote: On Wed, 2015-10-07 at 13:25 +0200, Juergen Gross wrote: The "usb-assignable-list" that Chunyan has submitted will give you a list of all dom0 USB devi

Re: [Xen-devel] [PATCH v7 12/32] xen/x86: add bitmap of enabled emulated devices

2015-10-07 Thread Jan Beulich
>>> On 07.10.15 at 13:55, wrote: > El 06/10/15 a les 13.05, George Dunlap ha escrit: >> On 05/10/15 10:34, Andrew Cooper wrote: >>> On 02/10/15 16:48, Roger Pau Monne wrote: --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -1428,6 +1428,9 @@ static struct notifier_block cp

Re: [Xen-devel] [PATCH v3 6/9] xen/blkfront: negotiate the number of hw queues/rings with backend

2015-10-07 Thread Bob Liu
On 10/07/2015 07:46 PM, Roger Pau Monné wrote: > El 07/10/15 a les 12.39, Bob Liu ha escrit: >> On 10/05/2015 10:40 PM, Roger Pau Monné wrote: >>> El 05/09/15 a les 14.39, Bob Liu ha escrit: @@ -2267,6 +2335,12 @@ static int __init xlblk_init(void) xen_blkif_max_ring_order = 0

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Ian Campbell
On Wed, 2015-10-07 at 14:05 +0200, Juergen Gross wrote: > On 10/07/2015 01:55 PM, Ian Campbell wrote: > > On Wed, 2015-10-07 at 13:49 +0200, Juergen Gross wrote: > > > BTW: In case you don't have the --host option it would be nice to > > > omit > > > --all as well and just assume --all when no doma

Re: [Xen-devel] Xen 4.6 released

2015-10-07 Thread Konrad Rzeszutek Wilk
On Wed, Oct 07, 2015 at 12:16:10PM +0100, Wei Liu wrote: > Hi all > > I'm pleased to announce that Xen 4.6 is released. As release manager I > would like to thank everyone who involved in the making of 4.6 release > (either in the form of patch, bug report or packaging effort). This > release woul

[Xen-devel] [PATCH] xen/balloon: Use the correct sizeof when declaring frame_list

2015-10-07 Thread Julien Grall
The type of the item in frame_list is xen_pfn_t which is not an unsigned long on ARM but an uint64_t. With the current computation, the size of frame_list will be 2 * PAGE_SIZE rather than PAGE_SIZE. I bet it's just mistake when the type has been switched from "unsigned long" to "xen_pfn_t" in co

Re: [Xen-devel] [PATCH] Add Libc multiarch package as build prerequisites on 64-bit platforms to the README

2015-10-07 Thread Sander Eikelenboom
On 2015-10-07 13:52, Ian Campbell wrote: On Tue, 2015-10-06 at 18:58 +0200, Sander Eikelenboom wrote: When building on 64-bit platforms this prevents build errors for 32-bit components which are enabled on a default build. Signed-off-by: Sander Eikelenboom Acked + applied, thanks. Thanks.

Re: [Xen-devel] [PATCH] Add Libc multiarch package as build prerequisites on 64-bit platforms to the README

2015-10-07 Thread Wei Liu
On Wed, Oct 07, 2015 at 03:06:07PM +0200, Sander Eikelenboom wrote: > On 2015-10-07 13:52, Ian Campbell wrote: > >On Tue, 2015-10-06 at 18:58 +0200, Sander Eikelenboom wrote: > >>When building on 64-bit platforms this prevents build errors for > >>32-bit components which are enabled on a default b

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread George Dunlap
On 07/10/15 13:05, Juergen Gross wrote: > On 10/07/2015 01:55 PM, Ian Campbell wrote: >> On Wed, 2015-10-07 at 13:49 +0200, Juergen Gross wrote: >>> On 10/07/2015 01:39 PM, Ian Campbell wrote: On Wed, 2015-10-07 at 13:25 +0200, Juergen Gross wrote: >> The "usb-assignable-list" that Chunyan

Re: [Xen-devel] [PATCH] Add Libc multiarch package as build prerequisites on 64-bit platforms to the README

2015-10-07 Thread Ian Campbell
On Tue, 2015-10-06 at 18:58 +0200, Sander Eikelenboom wrote: > When building on 64-bit platforms this prevents build errors for > 32-bit components which are enabled on a default build. > > Signed-off-by: Sander Eikelenboom > --- > README | 3 +++ > 1 file changed, 3 insertions(+) > > diff --g

Re: [Xen-devel] [PATCH v7 12/32] xen/x86: add bitmap of enabled emulated devices

2015-10-07 Thread George Dunlap
On 07/10/15 12:55, Roger Pau Monné wrote: > El 06/10/15 a les 13.05, George Dunlap ha escrit: >> On 05/10/15 10:34, Andrew Cooper wrote: >>> On 02/10/15 16:48, Roger Pau Monne wrote: Introduce a bitmap in x86 xen_arch_domainconfig that allows enabling or disabling specific devices emulate

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Juergen Gross
On 10/07/2015 03:21 PM, George Dunlap wrote: On 07/10/15 13:05, Juergen Gross wrote: On 10/07/2015 01:55 PM, Ian Campbell wrote: On Wed, 2015-10-07 at 13:49 +0200, Juergen Gross wrote: On 10/07/2015 01:39 PM, Ian Campbell wrote: On Wed, 2015-10-07 at 13:25 +0200, Juergen Gross wrote: The "us

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread Ian Campbell
On Wed, 2015-10-07 at 15:54 +0200, Juergen Gross wrote: > Hmm, technically all unassigned USB-devices are usable from Dom0. So why > not list them there. I think you'd at least want to distinguish USB devices available to dom0 as via a PCI host controller from those which are available via pvusb.

Re: [Xen-devel] [PATCH v7 12/32] xen/x86: add bitmap of enabled emulated devices

2015-10-07 Thread Andrew Cooper
On 07/10/15 14:32, George Dunlap wrote: > On 07/10/15 12:55, Roger Pau Monné wrote: >> El 06/10/15 a les 13.05, George Dunlap ha escrit: >>> On 05/10/15 10:34, Andrew Cooper wrote: On 02/10/15 16:48, Roger Pau Monne wrote: > Introduce a bitmap in x86 xen_arch_domainconfig that allows enabl

[Xen-devel] [PATCH v3 0/] Begin to disentangle libxenctrl and provide some stable libraries

2015-10-07 Thread Ian Campbell
In <1431963008.4944.80.ca...@citrix.com> I proposed stabilising some parts of the libxenctrl API/ABI by disaggregating into separate libraries. This is v3 of that set of series against: xen qemu-xen (new this time) qemu-xen-traditional mini-os NB: minios-devel will only get the mi

[Xen-devel] [xen-4.4-testing baseline-only test] 38130: regressions - FAIL

2015-10-07 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 38130 xen-4.4-testing real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38130/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-multivcpu 21 guest-start

Re: [Xen-devel] [PATCH V7 6/7] xl: add usb-assignable-list command

2015-10-07 Thread George Dunlap
On 07/10/15 14:54, Juergen Gross wrote: > On 10/07/2015 03:21 PM, George Dunlap wrote: >> On 07/10/15 13:05, Juergen Gross wrote: >>> On 10/07/2015 01:55 PM, Ian Campbell wrote: On Wed, 2015-10-07 at 13:49 +0200, Juergen Gross wrote: > On 10/07/2015 01:39 PM, Ian Campbell wrote: >> On

Re: [Xen-devel] [PATCH v3 0/] Begin to disentangle libxenctrl and provide some stable libraries

2015-10-07 Thread Ian Jackson
Ian Campbell writes ("[PATCH v3 0/] Begin to disentangle libxenctrl and provide some stable libraries"): > The tip of the xen.git branch contains an extra patch adding a .config > into the tree which should get the correct things for the HEAD of the > branch, but not further back. Wait, what ? .

[Xen-devel] [PATCH XEN v3 22/22] HACK: Add a .config to pull all the right bits from my xenbits trees

2015-10-07 Thread Ian Campbell
--- .config | 9 + 1 file changed, 9 insertions(+) create mode 100644 .config diff --git a/.config b/.config new file mode 100644 index 000..d197a0a --- /dev/null +++ b/.config @@ -0,0 +1,9 @@ +MINIOS_UPSTREAM_URL := git://xenbits.xen.org/people/ianc/libxenctrl-split/mini-os.git +MI

[Xen-devel] [PATCH XEN v3 09/22] tools: Refactor hypercall calling wrappers into libxencall.

2015-10-07 Thread Ian Campbell
libxencall will provide a stable API and ABI for calling hypercalls (although those hypercalls themselves may not have a stable API). As well as the hypercall buffer infrastructure needed in order to safely provide pointer arguments to hypercalls. libxenctrl encapsulates a instance of this interfa

[Xen-devel] [PATCH XEN v3 10/22] tools/libxc: drop xc_map_foreign_bulk_compat wrappers

2015-10-07 Thread Ian Campbell
On Solaris and NetBSD xc_map_foreign_bulk is implemented by calling xc_map_foreign_bulk_compat and xc_map_foreign_bulk_compat is exposed as a symbol by libxenctrl.so. Remove these wrappers and turn the compat function into the real thing surrounded by the appropriate ifdef. As this is a compat fu

[Xen-devel] [PATCH XEN v3 14/22] tools: foreignmemory: provide xenforeignmemory_unmap.

2015-10-07 Thread Ian Campbell
And require it be used instead of direct munmap. This will allow e.g. Valgrind hooks to help track incorrect use of foreign mappings. Switch all uses of xenforeignmemory_map to use xenforeignmemory_unmap, not that foreign mappings via the libxc compat xc_map_foreign_* interface will not take adva

[Xen-devel] [PATCH QEMU-XEN v3 6/8] xen: Use stable library interfaces when they are available.

2015-10-07 Thread Ian Campbell
In Xen 4.7 we are refactoring parts libxenctrl into a number of separate libraries which will provide backward and forward API and ABI compatiblity. Specifically libxenevtchn, libxengnttab and libxenforeignmemory. Previous patches have already laid the groundwork for using these by switching the

[Xen-devel] [PATCH QEMU-XEN v3 7/8] xen: domainbuild: reopen libxenctrl interface after forking for domain watcher.

2015-10-07 Thread Ian Campbell
Using an existing libxenctrl handle after a fork was never particularly safe (especially if foreign mappings existed at the time of the fork) and the xc fd has been unavailable for many releases. Reopen the handle after fork and therefore do away with xc_fd(). Signed-off-by: Ian Campbell --- The

[Xen-devel] [PATCH XEN v3 08/22] tools/libxc: Remove osdep indirection for privcmd

2015-10-07 Thread Ian Campbell
The alternative backend (a xen-api/xapi shim) is no longer around and so this stuff is now just baggage which is getting in the way of refactoring libxenctrl. Nested virt probably suffices for this use case now. This was the last component of the osdep infrastructure, so all the dynamic loading e

[Xen-devel] [PATCH XEN v3 06/22] tools/libxc: Remove osdep indirection for xc_gnt{shr, tab}

2015-10-07 Thread Ian Campbell
The alternative backend (a xen-api/xapi shim) is no longer around and so this stuff is now just baggage which is getting in the way of refactoring libxenctrl. Nested virt probably suffices for this use case now. It is now necessary to provide explicit versions of things for platforms which do not

[Xen-devel] [PATCH XEN v3 13/22] tools: Refactor foreign memory mapping into libxenforeignmemory

2015-10-07 Thread Ian Campbell
libxenforeignmemory will provide a stable API and ABI for mapping foreign domain memory (subject to appropriate privileges). The new library exposes an interface equivalent to xc_map_foreign_memory_bulk, which all the other xc_map_foreign_memory_* functions (which remain in libxc) are implemented

[Xen-devel] [PATCH XEN v3 16/22] tools/libs: Clean up hard tabs.

2015-10-07 Thread Ian Campbell
These were wrong in the context of libxc before this code was extracted, clean them up. Also add some emacs magic blocks Signed-off-by: Ian Campbell --- tools/libs/call/buffer.c | 4 ++-- tools/libs/call/core.c| 2 +- tools/libs/call/minios.c | 4 ++-

[Xen-devel] [PATCH QEMU-XEN v3 5/8] xen: Switch uses of xc_map_foreign_bulk to use libxenforeignmemory API.

2015-10-07 Thread Ian Campbell
In Xen 4.7 we are refactoring parts libxenctrl into a number of separate libraries which will provide backward and forward API and ABI compatiblity. One such library will be libxenforeignmemory which provides access to privileged foreign mappings and which will provide an interface equivalent to x

[Xen-devel] [PATCH XEN v3 02/22] tools: Refactor "xentoollog" into its own library

2015-10-07 Thread Ian Campbell
In attempting to disaggregate libxenctrl I found that many of the pieces were going to want access to this library, so split it out (as it probably should always have been). Various build adjustments are needed. In particular things which use xtl_* themselves now need to explicity link against the

[Xen-devel] [PATCH XEN v3 18/22] tools/libs/call: Update some log messages to not refer to xc.

2015-10-07 Thread Ian Campbell
Signed-off-by: Ian Campbell --- tools/libs/call/linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libs/call/linux.c b/tools/libs/call/linux.c index 906ca7e..80b505c 100644 --- a/tools/libs/call/linux.c +++ b/tools/libs/call/linux.c @@ -88,7 +88,7 @@ void *osdep

[Xen-devel] [PATCH QEMU-XEN-TRADITIONAL v3 3/5] qemu-xen-traditional: Use libxengnttab

2015-10-07 Thread Ian Campbell
/dev/xen/gntdev related wrappers have been moved out of libxenctrl into their own library. Signed-off-by: Ian Campbell --- v3: Library moved to tools/libs/ --- hw/xen_backend.c | 4 ++-- hw/xen_backend.h | 2 +- hw/xen_common.h | 1 + hw/xen_console.c | 4 ++-- hw/xen_disk.c| 24 +++

[Xen-devel] [PATCH MINI-OS v3 2/5] mini-os: Include libxenevtchn with libxc

2015-10-07 Thread Ian Campbell
libxenevtchn has just been split out from libxc. From mini-os's point of view we don't care about the distinction, so keep things simple by just including libxenevtchn if libxc is enabled. Signed-off-by: Ian Campbell --- v2: Adjust for libs/$lib layout. --- Makefile | 1 + 1 file changed, 1 inse

[Xen-devel] [PATCH QEMU-XEN-TRADITIONAL v3 5/5] qemu-xen-traditional: Add libxenforeignmemory to rpath-link

2015-10-07 Thread Ian Campbell
libxenctrl links against this library. Also, request the compat xc_map_foreign API from libxc. Signed-off-by: Ian Campbell --- v3: Library moved to tools/libs/ --- xen-hooks.mak | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen-hooks.mak b/xen-hooks.mak index 229d642..c1ea4be 100644 ---

[Xen-devel] [PATCH QEMU-XEN-TRADITIONAL v3 2/5] qemu-xen-traditional: Use libxenevtchn

2015-10-07 Thread Ian Campbell
/dev/xen/evtchn related wrappers have been moved out of libxenctrl into their own library. Note that i386-dm/helper2.c's xc_interface * was always really an xc_evtchn *, it's just they used to be typedefs to the same thing... Signed-off-by: Ian Campbell --- v3: Library moved to tools/libs/ ---

[Xen-devel] [PATCH XEN v3 15/22] tools/libs/evtchn: Review and update doc comments.

2015-10-07 Thread Ian Campbell
Remove the reference to pre-4.1, since this is now a new library. Fixup references to xc. Signed-off-by: Ian Campbell --- tools/libs/evtchn/include/xenevtchn.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/libs/evtchn/include/xenevtchn.h b/tools/libs/evtchn/in

[Xen-devel] [PATCH XEN v3 21/22] tools: Update CFLAGS for qemu-xen to allow it to use new libraries

2015-10-07 Thread Ian Campbell
This means adding -L for libxen{evtchn,gnttab,foreignmemory} so that it can link them directly (rather than using the libxenctrl compat layer exposed via -rpath-link). Also add -I for libxenforeignmemory. Signed-off-by: Ian Campbell --- tools/Makefile | 4 1 file changed, 4 insertions(+) d

[Xen-devel] [PATCH XEN v3 17/22] tools/libs/gnttab: Review and update doc comments.

2015-10-07 Thread Ian Campbell
Remove some stray xc references. While I'm not convinced by javadoc/doxygen cause the existing comments which appear to use that syntax to have the appropriate /** marker. Also fix a typo in a code comment. Signed-off-by: Ian Campbell --- tools/libs/gnttab/include/xengnttab.h | 21 +++-

[Xen-devel] [PATCH XEN v3 12/22] tools: Implement xc_map_foreign_range(s) in terms of common helper

2015-10-07 Thread Ian Campbell
Both Linux and FreeBSD already implemented these functions using identical helpers based on xc_map_foreign_pages. Make one copy of these common helpers and switch all OSes to use them, even those which previously had a specific lower level implementation of this functionality. This is makes two fe

[Xen-devel] [PATCH XEN v3 11/22] tools: Remove xc_map_foreign_batch

2015-10-07 Thread Ian Campbell
It can trivially be replaced by xc_map_foreign_bulk which is the interface I want to move to going forward. All in tree users are trivially converted by supplying the appropriate error array and adjusting the what error handling exists (which in many cases is not much). This reduces the twist maze

[Xen-devel] [PATCH QEMU-XEN v3 2/8] xen: Switch to libxengnttab interface for compat shims.

2015-10-07 Thread Ian Campbell
In Xen 4.7 we are refactoring parts libxenctrl into a number of separate libraries which will provide backward and forward API and ABI compatiblity. One such library will be libxengnttab which provides access to grant tables. In preparation for this switch the compatibility layer in xen_common.h

[Xen-devel] [PATCH XEN v3 05/22] tools: Arrange to check public headers for ANSI compatiblity

2015-10-07 Thread Ian Campbell
Using the same rune as we use for the Xen public headers, except we do not need stdint.h here and we use -pedantic too. Signed-off-by: Ian Campbell --- .gitignore | 2 ++ tools/Rules.mk | 8 tools/libs/evtchn/Makefile | 4 +++- tools/libs/toollog/Makefile

[Xen-devel] [PATCH QEMU-XEN v3 1/8] xen: Switch to libxenevtchn interface for compat shims.

2015-10-07 Thread Ian Campbell
In Xen 4.7 we are refactoring parts libxenctrl into a number of separate libraries which will provide backward and forward API and ABI compatiblity. One such library will be libxenevtchn which provides access to event channels. In preparation for this switch the compatibility layer in xen_common.

[Xen-devel] [PATCH XEN v3 01/22] tools/Rules.mk: Properly handle libraries with recursive dependencies.

2015-10-07 Thread Ian Campbell
In tree libraries which link against other in tree libraries in a way which is opaque to their callers need special handling, specifically correct use of -Wl,-rpath-link for the recusively used libraries. Currently this is rather simple, but up coming changes are going to introduce transitive depe

[Xen-devel] [PATCH XEN v3 03/22] tools/libxc: Remove osdep indirection for xc_evtchn

2015-10-07 Thread Ian Campbell
The alternative backend (a xen-api/xapi shim) is no longer around and so this stuff is now just baggage which is getting in the way of refactoring libxenctrl. Note that the intention is to move this into a separate library shortly. Nested virt probably suffices for this use case now. One incorre

[Xen-devel] [PATCH XEN v3 19/22] tools/libs/call: Avoid xc_memalign in netbsd and solaris backends

2015-10-07 Thread Ian Campbell
These are already arch specific, so just use the appropriate interfaces (as determined by looking at the xc_memalign backend). Signed-off-by: Ian Campbell --- tools/libs/call/netbsd.c | 4 ++-- tools/libs/call/solaris.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tool

  1   2   >