Re: [Xen-devel] [PATCH v4 08/34] vmap: Make the while loop less fishy.

2016-03-19 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("[PATCH v4 08/34] vmap: Make the while loop less fishy."): > error: > -while ( i-- ) > -free_domheap_page(mfn_to_page(mfn_x(mfn[i]))); > +while ( i ) > +free_domheap_page(mfn_to_page(mfn_x(mfn[--i]))); I quite strongly dislike this. It is g

[Xen-devel] [OSSTEST PATCH 4/6] mg-debian-installer-update: Print a TftpDiVersion_$suite setting too

2016-03-19 Thread Ian Jackson
The human running this script might want to update a suite-specific value, or the global value. Print an example of the suite-specific value too. No functional change other than to example config output. Signed-off-by: Ian Jackson --- mg-debian-installer-update |1 + 1 file changed, 1

Re: [Xen-devel] [RFC Design Doc] Add vNVDIMM support for Xen

2016-03-19 Thread Ian Jackson
Jan Beulich writes ("Re: [Xen-devel] [RFC Design Doc] Add vNVDIMM support for Xen"): > So that again leaves unaddressed the question of what you > imply to do when a guest elects to use such a page as page > table. I'm afraid any attempt of yours to invent something that > is not struct page_info

Re: [Xen-devel] [PATCH 2/8] libxl: Remove redundant setting of phyical-device

2016-03-19 Thread Ian Jackson
t > silently exits. > > Remove this, and let the block script perform its duplicate checking > function. > > Signed-off-by: George Dunlap > --- > NOTE: It's likely that the duplicate checking for physical devices has > never been run under libxl (at least since t

Re: [Xen-devel] [RFC PATCH] blkif.h: document scsi/0x12/0x83 node

2016-03-20 Thread Ian Jackson
David Vrabel writes ("Re: [Xen-devel] [RFC PATCH] blkif.h: document scsi/0x12/0x83 node"): > On 17/03/16 11:12, Ian Jackson wrote: > > David Vrabel writes ("Re: [Xen-devel] [RFC PATCH] blkif.h: document > > scsi/0x12/0x83 node"): > >> On 16/03/16 13:5

Re: [Xen-devel] [PATCH v11 20/27] Support colo mode for qemu disk

2016-03-20 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("Re: [PATCH v11 20/27] Support colo mode for qemu disk"): > On Fri, Mar 04, 2016 at 05:52:09PM +, Ian Jackson wrote: > > How can this be made to work with PV guests ? > > QEMU can also serve PV guests (qdisk). Yes. > I think you

Re: [Xen-devel] [linux-3.4 test] 86823: regressions - FAIL

2016-03-22 Thread Ian Jackson
osstest service owner writes ("[linux-3.4 test] 86823: regressions - FAIL"): > flight 86823 linux-3.4 real [real] > http://logs.test-lab.xenproject.org/osstest/logs/86823/ > > Regressions :-( > > Tests which did not succeed and are blocking, > including tests which could not be run: > build-amd6

Re: [Xen-devel] [RFC PATCH] blkif.h: document scsi/0x12/0x83 node

2016-03-22 Thread Ian Jackson
Paul Durrant writes ("RE: [Xen-devel] [RFC PATCH] blkif.h: document scsi/0x12/0x83 node"): > AFAIK XenServer still very much makes use of it. Can you answer, for XenServer's use case, some of the questions that David and I have asked ? Ian. ___ Xen-de

Re: [Xen-devel] [RFC PATCH] blkif.h: document scsi/0x12/0x83 node

2016-03-22 Thread Ian Jackson
David Vrabel writes ("Re: [Xen-devel] [RFC PATCH] blkif.h: document scsi/0x12/0x83 node"): > On 22/03/16 14:10, Konrad Rzeszutek Wilk wrote: > > Just think of it as a black box. > > This isn't sufficient. > > You are presenting a solution but have not properly described the > problem so no one c

Re: [Xen-devel] [RFC PATCH] blkif.h: document scsi/0x12/0x83 node

2016-03-22 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("Re: [Xen-devel] [RFC PATCH] blkif.h: document scsi/0x12/0x83 node"): > > I don't think this is a sterile academic conversation which would (if > > satisfactorily answered) have no real implications. Rather, if we > > understood the use case properly, there would pro

Re: [Xen-devel] [RFC PATCH] blkif.h: document scsi/0x12/0x83 node

2016-03-22 Thread Ian Jackson
Paul Durrant writes ("RE: [Xen-devel] [RFC PATCH] blkif.h: document scsi/0x12/0x83 node"): > It's getting hard to parse the thread at this point but, as I've > mentioned in a previous response in the thread, Windows basically > assumes disks are SCSI and it's up to the controller driver to make >

[Xen-devel] [OSSTEST PATCH 1/2] cri-getprevxenbranch: Only ever return xen-X.Y-testing

2016-03-23 Thread Ian Jackson
created, so that cr-daily-branch would crash for most branches because the (largely irrelevant) invocation of `./ap-fetch-version-old xen-unstable-coverity' would fail. Signed-off-by: Ian Jackson --- cri-getprevxenbranch |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Xen-devel] [OSSTEST PATCH 2/2] coverity: Rename branch names to `smoke', not `smoked'

2016-03-23 Thread Ian Jackson
;. After this patch `git-grep smoked' produces no output, as it did in d94637b6~. Signed-off-by: Ian Jackson --- ap-fetch-version |2 +- ap-fetch-version-old |2 +- ap-push |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ap-fetch-version b/ap-f

Re: [Xen-devel] [PATCH] blkif.h: document scsi/0x12/0x node

2016-03-23 Thread Ian Jackson
Paul Durrant writes ("RE: [PATCH] blkif.h: document scsi/0x12/0x node"): > > From: Bob Liu [mailto:bob@oracle.com] > > Sent: 23 March 2016 11:48 > > To: xen-devel@lists.xen.org > > Cc: Paul Durrant; Ian Jackson; konrad.w...@oracle.com; jgr...@suse.com; > &

Re: [Xen-devel] [PATCH] tools: Restrict configuration of qemu processes

2016-03-24 Thread Ian Jackson
Jim Fehlig writes ("[Xen-devel] [PATCH] tools: Restrict configuration of qemu processes"): > Commit 6ef823fd added '-nodefaults' to the qemu args created by > libxl, which is a good step in restricting qemu's default > configuration. This change takes another step by adding > -no-user-config, whic

Re: [Xen-devel] [PATCH v12 11/26] tools/libxl: add back channel support to read stream

2016-03-24 Thread Ian Jackson
Changlong Xie writes ("[PATCH v12 11/26] tools/libxl: add back channel support to read stream"): > From: Wen Congyang > > This is used by primay to read records sent by secondary. Acked-by: Ian Jackson ___ Xen-devel mai

Re: [Xen-devel] [PATCH v12 08/26] libxc/migration: Specification update for DIRTY_PFN_LIST records

2016-03-24 Thread Ian Jackson
I think this will want a review from Andrew Coooper. etc. I don't see any contributions from Andrew in this thread. In the absence of a review from Andrew, I don't want to stall this any further. Acked-by: Ian Jackson Thanks, Ian. __

Re: [Xen-devel] [PATCH v12 07/26] docs/libxl: Introduce CHECKPOINT_CONTEXT to support migration v2 colo streams

2016-03-24 Thread Ian Jackson
Changlong Xie writes ("[PATCH v12 07/26] docs/libxl: Introduce CHECKPOINT_CONTEXT to support migration v2 colo streams"): > From: Wen Congyang Thanks for the additional information in the comments. Acked-by: Ian Jackson ___ Xen-devel

[Xen-devel] [PATCH v12 15/26] libxc/restore: support COLO restore

2016-03-24 Thread Ian Jackson
ith the interleaving of the colo-specific functionality in the middle of the restore code, as you have done it. Personally I think it seems like it's probably the best way, but it may merit questioning, at least. Andrew has not replied to object. So I am content that we can go fo

Re: [Xen-devel] [PATCH v12 16/26] libxc/save: support COLO save

2016-03-24 Thread Ian Jackson
Changlong Xie writes ("[PATCH v12 16/26] libxc/save: support COLO save"): > From: Wen Congyang > > After suspend primary vm, get dirty bitmap on secondary vm, > and send pages both dirty on primary/secondary to secondary.

Re: [Xen-devel] [PATCH v12 12/26] secondary vm suspend/resume/checkpoint code

2016-03-24 Thread Ian Jackson
Changlong Xie writes ("[PATCH v12 12/26] secondary vm suspend/resume/checkpoint code"): > From: Wen Congyang Thanks. This is all fine except for one small thing: > > +/* COLO only supports HVM now because it does not work very > + * well with pv drivers: > + * 1. We need to resume

Re: [Xen-devel] [PATCH v12 13/26] libxl_internal: move stream read manipulations to right place

2016-03-24 Thread Ian Jackson
Changlong Xie writes ("[PATCH v12 13/26] libxl_internal: move stream read manipulations to right place"): > No functional changes and this cleanup will make the later > patch called "primary vm suspend/resume/checkpoint code" not > too complicated. Thanks for split

Re: [Xen-devel] [PATCH v12 17/26] implement the cmdline for COLO

2016-03-24 Thread Ian Jackson
ddition of a new option to > 'xl remus' command. Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v12 14/26] primary vm suspend/resume/checkpoint code

2016-03-24 Thread Ian Jackson
Changlong Xie writes ("[PATCH v12 14/26] primary vm suspend/resume/checkpoint code"): > From: Wen Congyang ... Thanks. Most of this seems plausible (although I have done a review of rather limited depth): However, there are several instances like this: > +out: > +libxl__ao_complete(egc, a

Re: [Xen-devel] [PATCH v12 26/26] cmdline switches and config vars to control colo-proxy

2016-03-24 Thread Ian Jackson
Changlong Xie writes ("[PATCH v12 26/26] cmdline switches and config vars to control colo-proxy"): > From: Wen Congyang > > Add cmdline switches to 'xl migrate-receive' command to specify > a domain-specific hotplug script to setup COLO proxy. > +if (nic->forwarddev) { > +flexarray_

Re: [Xen-devel] [PATCH v12 21/26] COLO: use qemu block replication

2016-03-24 Thread Ian Jackson
between primary and secondary. > > Signed-off-by: Wen Congyang > Signed-off-by: Yang Hongyang > Signed-off-by: Changlong Xie Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v12 24/26] setup and control colo proxy on primary side

2016-03-24 Thread Ian Jackson
Changlong Xie writes ("[PATCH v12 24/26] setup and control colo proxy on primary side"): > From: Wen Congyang Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v12 00/26] COarse-grain LOck-stepping Virtual Machines for Non-stop Service

2016-03-24 Thread Ian Jackson
Changlong Xie writes ("[PATCH v12 00/26] COarse-grain LOck-stepping Virtual Machines for Non-stop Service"): > This patchset implemented the COLO feature for Xen. > For detail/install/use of COLO feature, refer to: > http://wiki.xen.org/wiki/COLO_-_Coarse_Grain_Lock_Stepping Thanks for this resen

Re: [Xen-devel] [PATCH v12 22/26] COLO proxy: implement setup/teardown/preresume/postresume/checkpoint

2016-03-24 Thread Ian Jackson
colo-proxy module: > http://www.spinics.net/lists/netdev/msg333520.html > https://github.com/wencongyang/colo-proxy > How to use: > http://wiki.xen.org/wiki/COLO_-_Coarse_Grain_Lock_Stepping Thanks for the references. Acked-by: Ian Jackson ___

Re: [Xen-devel] [PATCH v12 25/26] setup and control colo proxy on secondary side

2016-03-24 Thread Ian Jackson
Changlong Xie writes ("[PATCH v12 25/26] setup and control colo proxy on secondary side"): > From: Wen Congyang Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v12 20/26] Support colo mode for qemu disk

2016-03-24 Thread Ian Jackson
Wen Congyang writes ("Re: [PATCH v11 20/27] Support colo mode for qemu disk"): > On 03/18/2016 01:18 AM, Ian Jackson wrote: > > If so, what software, where, arranges for the management of the > > different qcow2 `layers' ? Ie, what creates the layers; what resynch

Re: [Xen-devel] [PATCH v12 19/26] Introduce COLO mode and refactor relevant function

2016-03-24 Thread Ian Jackson
ree is identical. However, the style problems are abolished by the next patch, and the next patch is now readable, so this is a relatively minor complaint. Accordingly, even if you do not improve it as I suggeest: Acked-by: Ian Jackson If you do impr

Re: [Xen-devel] [PATCH v12 23/26] COLO nic: implement COLO nic subkind

2016-03-24 Thread Ian Jackson
Changlong Xie writes ("[PATCH v12 23/26] COLO nic: implement COLO nic subkind"): > From: Wen Congyang > > implement COLO nic subkind. ... > diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl > index a206d68..a8be078 100644 > --- a/tools/libxl/libxl_types.idl > +++ b/tools/libx

Re: [Xen-devel] [PATCH v12 10/26] tools/libxl: add back channel support to write stream

2016-03-24 Thread Ian Jackson
to send some records back. Sorry, missed this one. Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v12 00/26] COarse-grain LOck-stepping Virtual Machines for Non-stop Service

2016-03-24 Thread Ian Jackson
Wei Liu writes ("Re: [PATCH v12 00/26] COarse-grain LOck-stepping Virtual Machines for Non-stop Service"): > On Thu, Mar 24, 2016 at 04:21:36PM +, Ian Jackson wrote: > > Fixing this will involve some code rearrangement and new code. I am > > worried that this might

Re: [Xen-devel] [PATCH] tools/build: remove usage of sed -i

2016-03-24 Thread Ian Jackson
rary intermediate file. > > > > [0] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sed.html > > > > Signed-off-by: Roger Pau Monné > > Cc: Ian Jackson > > Cc: Wei Liu > > Sorry for breaking this. > > Reviewed-by: Andrew Cooper Committed-by: Ian J

Re: [Xen-devel] [xen-unstable-coverity test] 87991: trouble: broken

2016-03-30 Thread Ian Jackson
e if it (a) works and (b) helps. Ian. From 162b04ac0dc05e18509caa143c9cb00690193afd Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 30 Mar 2016 11:33:01 +0100 Subject: [OSSTEST PATCH] TestSupport: Move cfg_tftp_di_version from Debian.pm Strictly speaking this is a Debian-specific function. But i

Re: [Xen-devel] [PATCH v13 12/26] secondary vm suspend/resume/checkpoint code

2016-03-30 Thread Ian Jackson
OINT_END > > Signed-off-by: Wen Congyang > Signed-off-by: Yang Hongyang > Signed-off-by: Changlong Xie Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v13 14/26] primary vm suspend/resume/checkpoint code

2016-03-30 Thread Ian Jackson
but the general pattern looks plausible AFAICT. Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v13.1 20/26] Support colo mode for qemu disk

2016-03-30 Thread Ian Jackson
Changlong Xie writes ("[PATCH v13.1 20/26] Support colo mode for qemu disk"): > From 468ff9fb2f6699314c28f30a7d7d09eac9aa6756 Mon Sep 17 00:00:00 2001 > From: Wen Congyang > Date: Mon, 21 Mar 2016 15:38:30 +0800 > Subject: [PATCH v13.1 20/26] Support colo mode for qemu disk > > Usage: disk = >

Re: [Xen-devel] [PATCH v13.1 23/26] COLO nic: implement COLO nic subkind

2016-03-30 Thread Ian Jackson
Changlong Xie writes ("[PATCH v13.1 23/26] COLO nic: implement COLO nic subkind"): > From 699f20d46fcce0bcce8fd7f7063551088a425254 Mon Sep 17 00:00:00 2001 > From: Wen Congyang > Date: Wed, 15 Jul 2015 17:18:53 +0800 > Subject: [PATCH v13.1 23/26] COLO nic: implement COLO nic subkind > > implem

Re: [Xen-devel] [PATCH v13 25/26] setup and control colo proxy on secondary side

2016-03-30 Thread Ian Jackson
Changlong Xie writes ("[PATCH v13 25/26] setup and control colo proxy on secondary side"): > From: Wen Congyang > > Signed-off-by: Yang Hongyang > Signed-off-by: Wen Congyang > Signed-off-by: Changlong Xie I think I acked this in v12. I guess you probably overlooked that, but your v13 00/25

Re: [Xen-devel] [PATCH v13.1 26/26] cmdline switches and config vars to control colo-proxy

2016-03-30 Thread Ian Jackson
Changlong Xie writes ("[PATCH v13.1 26/26] cmdline switches and config vars to control colo-proxy"): > From 1bfd14622455635c6cae6130396250996e49facc Mon Sep 17 00:00:00 2001 > From: Wen Congyang > Date: Wed, 15 Jul 2015 17:18:56 +0800 > Subject: [PATCH v13.1 26/26] cmdline switches and config va

Re: [Xen-devel] [PATCH v13.1 23/26] COLO nic: implement COLO nic subkind

2016-03-30 Thread Ian Jackson
PATCH v13.1 20/26] Support colo mode for qemu disk I found a proper copy of this in: https://github.com/Pating/xen.git#c8284df4eb79 That commit is Acked-by: Ian Jackson Ian. From c8284df4eb79e2f0e2bc82a7f784b4c3d4464f05 Mon Sep 17 00:00:00 2001 From: Wen Congyang Date: Wed, 15 Jul 2

Re: [Xen-devel] [PATCH v13.1 26/26] cmdline switches and config vars to control colo-proxy

2016-03-30 Thread Ian Jackson
ne switches and config vars to control > colo-proxy I found a proper copy of this in: https://github.com/Pating/xen.git#27e64fe8a495 That commit is Acked-by: Ian Jackson Ian. From 27e64fe8a4954b5a5628696160471f89a9e6ae6e Mon Sep 17 00:00:00 2001 From: Wen Congyang Date: Wed, 15 Jul 20

Re: [Xen-devel] [PATCH v13.1 20/26] Support colo mode for qemu disk

2016-03-30 Thread Ian Jackson
disk I found a proper copy of this in: https://github.com/Pating/xen.git#b226be1b0751 That commit is Acked-by: Ian Jackson Ian. From b226be1b0751d675dcd604c4a1dbeec5757bb051 Mon Sep 17 00:00:00 2001 From: Wen Congyang Date: Mon, 21 Mar 2016 15:38:30 +0800 Subject: [PATCH 21/28] Support colo mod

Re: [Xen-devel] [PATCH v13.1 23/26] COLO nic: implement COLO nic subkind

2016-03-30 Thread Ian Jackson
Ian Jackson writes ("Re: [PATCH v13.1 23/26] COLO nic: implement COLO nic subkind"): Sorry, this mail was unclear. I meant to refer to this: > Changlong Xie writes ("[PATCH v13.1 23/26] COLO nic: implement COLO nic > subkind"): > > From 699f20d46fcce0bcce8fd7

Re: [Xen-devel] [PATCH v13 00/26] COarse-grain LOck-stepping Virtual Machines for Non-stop Service

2016-03-30 Thread Ian Jackson
Changlong Xie writes ("[PATCH v13 00/26] COarse-grain LOck-stepping Virtual Machines for Non-stop Service"): > This patchset implemented the COLO feature for Xen. > For detail/install/use of COLO feature, refer to: > http://wiki.xen.org/wiki/COLO_-_Coarse_Grain_Lock_Stepping > > You can get the c

Re: [Xen-devel] [PATCH v13 00/26] COarse-grain LOck-stepping Virtual Machines for Non-stop Service

2016-03-30 Thread Ian Jackson
Changlong Xie writes ("Re: [PATCH v13 00/26] COarse-grain LOck-stepping Virtual Machines for Non-stop Service"): > On 03/25/2016 11:51 PM, Wei Liu wrote: > > I went over those unacked patches. The major thing I found is that you > > didn't add in the warning text as Ian suggested. I've pointed out

Re: [Xen-devel] [PATCH v2 1/6] public/xen.h: add flags field to vcpu_time_info

2016-03-30 Thread Ian Jackson
Joao Martins writes ("[PATCH v2 1/6] public/xen.h: add flags field to vcpu_time_info"): > This field has two possible flags (as of latest pvclock ABI > shared with KVM). > > flags: bits in this field indicate extended capabilities > coordinated between the guest and the hypervisor. Specifically

Re: [Xen-devel] [PATCH 2/2] tools: detect appropriate debug optimization level

2016-03-30 Thread Ian Jackson
Doug Goldstein writes ("Re: [PATCH 2/2] tools: detect appropriate debug optimization level"): > On 3/8/16 9:38 AM, Wei Liu wrote: > > On Mon, Mar 07, 2016 at 08:23:40PM -0600, Doug Goldstein wrote: > >> The build should not use -O0 as that results in miscompilations. There > > > > This needs some

Re: [Xen-devel] [PATCH 2/2] tools: detect appropriate debug optimization level

2016-03-30 Thread Ian Jackson
Ian Jackson writes ("Re: [PATCH 2/2] tools: detect appropriate debug optimization level"): > My initial reaction is that I any actual problems are bugs either in > the compiler or in Xen, which should be fixed. > > There should be nothing wrong with lack of inlining or d

Re: [Xen-devel] [xen-unstable test] 88047: regressions - FAIL

2016-04-01 Thread Ian Jackson
Jan Beulich writes ("Re: [Xen-devel] [xen-unstable test] 88047: regressions - FAIL"): > On 01.04.16 at 08:12, wrote: > > Tests which did not succeed and are blocking, > > including tests which could not be run: > > test-amd64-i386-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. > > v

Re: [Xen-devel] [Xen-users] DomU fails to reboot with storage driver domain

2016-04-01 Thread Ian Jackson
Wei Liu writes ("Re: [Xen-users] DomU fails to reboot with storage driver domain"): > On Fri, Apr 01, 2016 at 01:04:42PM +0200, Roger Pau Monné wrote: > > TBH, I don't see an easy way to solve this, I've thought about fetching > > the "backend" node from the xenstore frontend path of each device,

Re: [Xen-devel] [PATCH 0/2] Remaining prerequisite patches for COLO

2016-04-01 Thread Ian Jackson
Wei Liu writes ("[PATCH 0/2] Remaining prerequisite patches for COLO"): > Konrad Rzeszutek Wilk (1): > libxc: Document xc_domain_resume > > Wen Congyang (1): > libxc: support to resume uncooperative HVM guests Committed-by: Ian Jackson __

Re: [Xen-devel] [PATCH v13 00/26] COarse-grain LOck-stepping Virtual Machines for Non-stop Service

2016-04-01 Thread Ian Jackson
Changlong Xie writes ("Re: [PATCH v13 00/26] COarse-grain LOck-stepping Virtual Machines for Non-stop Service"): > https://github.com/Pating/xen/tree/changlox/colo_v14 > > Just add A-B for p12,p14,20,p23,p25,p26 in this version, no other changes. > > *Note*, dont merge > https://github.com/Pati

Re: [Xen-devel] [PATCH v2] tools/libxc: Fix build error when using xc_version_len [and 2 more messages]

2016-04-01 Thread Ian Jackson
t but not include relevant header, > it will cause compile errors just like below: Thanks for this. I have applied Olaf's version of this patch. Acked-by: Ian Jackson Ian. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

[Xen-devel] git branch for checking-in leftover patches [was: Re: [PATCH 1/3] xenalyze: handle DOM0 operaions events]

2016-04-01 Thread Ian Jackson
Dario Faggioli writes ("git branch for checking-in leftover patches [was: Re: [Xen-devel] [PATCH 1/3] xenalyze: handle DOM0 operaions events]"): > git://xenbits.xen.org/people/dariof/xen.git  > tracing/sched-events-improvements-leftover > http://xenbits.xen.org/gitweb/?p=people/dariof/xen.git;a=

Re: [Xen-devel] [PATCH v6] libelf: rewrite symtab/strtab loading

2016-04-01 Thread Ian Jackson
. > > This patch also removes the duplication of code found in the libxc ELF > loader, since the libelf symtab/strtab loading code will also handle this > case without having to duplicate it. > > Signed-off-by: Roger Pau Monné > Acked-by: Ian Jackson Queued, thanks. Ia

Re: [Xen-devel] [PATCH v7] libxl: allow 'phy' backend to use empty files

2016-04-01 Thread Ian Jackson
Roger Pau Monné writes ("Re: [PATCH v7] libxl: allow 'phy' backend to use empty files"): > This check is done inside of a switch branch that's only used by > LIBXL_DISK_BACKEND_PHY, so it doesn't assume that every backend can handle > empty files. ... > I can move the check to a lower place (aft

Re: [Xen-devel] [PATCH v3 4/8] libxl: add support for disk hotplug scripts on FreeBSD

2016-04-01 Thread Ian Jackson
Roger Pau Monne writes ("[PATCH v3 4/8] libxl: add support for disk hotplug scripts on FreeBSD"): > Allow FreeBSD to execute hotplug scripts when attaching disk devices. I am going to commit the FreeBSD-only patches without detailed review, on the basis that you're the expert. Thanks, Ian.

Re: [Xen-devel] [PATCH] libxl: introduce LIBXL_VGA_INTERFACE_TYPE_UNKNOWN

2016-04-01 Thread Ian Jackson
the domain type is known. For HVM > > guests the default value is LIBXL_VGA_INTERFACE_TYPE_CIRRUS while for > > HVMlite the default value is LIBXL_VGA_INTERFACE_TYPE_NONE. > > > > Signed-off-by: Roger Pau Monné > > --- > > Cc: Ian Jackson > > Cc: Ian Campb

Re: [Xen-devel] [PATCH 5/8] libxl: Share logic for finding path between qemuu and pygrub

2016-04-01 Thread Ian Jackson
t;. > Pygrub will call this function with "qdisk_direct" set to "false", > since it can't interpret QDISK backends; this will result in it doing > a local attach instead. Thanks for the explanation. Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v3 3/9] tools/hotplug: Write physical-device-path in addition to physical-device

2016-04-01 Thread Ian Jackson
h (modifying it so that it's accurate at that point in time) > and then have this patch update it. > > CC: Ian Jackson > CC: Roger Pau Monne > CC: Wei Liu Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v3 6/9] libxl: Share logic for finding path between qemuu and pygrub

2016-04-01 Thread Ian Jackson
> whether to check for qdisk direct access. Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v3 7/9] libxl: Allow local access for block devices with hotplug scripts

2016-04-01 Thread Ian Jackson
is can be done either by accessing the local > disk directly, or by plugging the target disk into dom0 to allow > access. Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v3 4/9] libxl: Move check for local access to a funciton

2016-04-01 Thread Ian Jackson
x27;t initialize dls->disk unless we actually end up doing a local > attach. > > Signed-off-by: George Dunlap Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v3 8/9] docs: Document block-script protocol

2016-04-01 Thread Ian Jackson
n custom hotplug scripts > and the script called for raw physical devices and files Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v3 5/9] libxl: Rearrange qemu upstream disk argument code

2016-04-01 Thread Ian Jackson
follow-up patches. > > Signed-off-by: George Dunlap > --- > Changes since v1: > - Move qemuu disk argument refactoring into a separate patch Acked-by: Ian Jackson However, I think that this is going to have a conflict with the colo series... Ian. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v3 5/9] libxl: Rearrange qemu upstream disk argument code

2016-04-01 Thread Ian Jackson
ed in to qemu, most likely resulting in qemu exiting with an error. This will be fixed in follow-up patches. Signed-off-by: George Dunlap Signed-off-by: Ian Jackson --- Changes since v1: - Move qemuu disk argument refactoring into a separate patch CC: Ian Jackson CC: Wei Liu CC: Stefano Stab

Re: [Xen-devel] [PATCH v3 0/9] tools: Allow HVM domains emulated access to disks provided by hotplug scripts

2016-04-01 Thread Ian Jackson
(Firstly, did you not intend to CC tools maintainers on your 0/9 ?) George Dunlap writes ("[Xen-devel] [PATCH v3 0/9] tools: Allow HVM domains emulated access to disks provided by hotplug scripts"): > In order for HVM domains to provide emulated access to disks provided > by hotplug scripts, qemu

Re: [Xen-devel] [PATCH 0/2] doc: Update docs/misc/xenstore-paths.markdown

2016-04-01 Thread Ian Jackson
Juergen Gross writes ("[PATCH 0/2] doc: Update docs/misc/xenstore-paths.markdown"): > Update some Xenstore path related stuff. Thanks, pushed. Ian. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 2/2] libxc: use PRIx64 to print out pfn

2016-04-01 Thread Ian Jackson
Wei Liu writes ("[PATCH 2/2] libxc: use PRIx64 to print out pfn"): > Pfn is always 64 bit long. Use PRIx64 to avoid truncation. .. > { > -PERROR("Invalid pfn 0x%" PRIpfn "", (unsigned long)pfn ); > +PERROR("Invalid pfn 0x%" PRIx64, pfn); Err, sorry. Applied both o

Re: [Xen-devel] [xen-unstable test] 88047: regressions - FAIL

2016-04-01 Thread Ian Jackson
Dario Faggioli writes ("Re: [Xen-devel] [xen-unstable test] 88047: regressions - FAIL"): > On Fri, 2016-04-01 at 07:44 -0600, Jan Beulich wrote: > > Might it be worth trying whether that's a deep C-state issue (by > > temporarily limiting their use of deep C states)? I'm happy to try this. > IIR

Re: [Xen-devel] [PATCH 1/2] libxc: xc_domain_resume_hvm is used by x86 only

2016-04-01 Thread Ian Jackson
Wei Liu writes ("[PATCH 1/2] libxc: xc_domain_resume_hvm is used by x86 only"): > The call site is enclosed by x86 define guards. > > Without this patch: > > [ 334s] xc_resume.c:112:12: error: 'xc_domain_resume_hvm' defined but not > used [-Werror=unused-function] > [ 334s] static int xc_doma

Re: [Xen-devel] [PATCH v10 4/5] libxl: add support for vscsi

2016-04-01 Thread Ian Jackson
Olaf Hering writes ("[PATCH v10 4/5] libxl: add support for vscsi"): > Port pvscsi support from xend to libxl: > > vscsi=['pdev,vdev{,options}'] > xl scsi-attach > xl scsi-detach > xl scsi-list Thanks for this contribution. I have tried to review it, although I don't fully understand the und

Re: [Xen-devel] [PATCH v10 4/5] libxl: add support for vscsi

2016-04-01 Thread Ian Jackson
Olaf Hering writes ("Re: [PATCH v10 4/5] libxl: add support for vscsi"): > On Fri, Apr 01, Ian Jackson wrote: > > I'm not sure that this sysfs parsing ought to be in xl rather than > > libxl. Also, this is Linux-specific code. So it needs to be made > > condit

Re: [Xen-devel] [PATCH] libxl: fix compilation on ARM

2016-04-04 Thread Ian Jackson
libxl_save_helper.c - both of which already have xenctrl.h) I think I prefer to perhpas-duplicate some #include lines to adding a new facility to the Perl script (which I would like to keep no more complex than necessary). * Better patch title. Thanks, Ian. From ca9654206863224cbf2cc998d8f6a

Re: [Xen-devel] [PATCH] libxl: fix compilation on ARM

2016-04-04 Thread Ian Jackson
Ian Jackson writes ("Re: [PATCH] libxl: fix compilation on ARM"): > Following discussion on irc, here is a v2: I forgot to update the commit message. Ian. From 4cbc583020642d6c333d07e297c52594bb88b542 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 4 Apr 2016 11:41:19

Re: [Xen-devel] [PATCH] libxl: fix compilation on ARM

2016-04-04 Thread Ian Jackson
Wei Liu writes ("Re: [PATCH] libxl: fix compilation on ARM"): > Acked-by: Wei Liu Thanks, pushed. Hopefully this will unblock the smoke test. Ian. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

[Xen-devel] Policy for force pushing smoke branch Was: Re: [xen-unstable-smoke test] 88656: regressions - FAIL

2016-04-04 Thread Ian Jackson
Wei Liu writes ("Policy for force pushing smoke branch Was: Re: [Xen-devel] [xen-unstable-smoke test] 88656: regressions - FAIL"): > On Mon, Apr 04, 2016 at 01:15:53PM +, osstest service owner wrote: > > flight 88656 xen-unstable-smoke real [real] > > http://logs.test-lab.xenproject.org/osstes

[Xen-devel] libxl gentypes.pl "saved_FOO" oddity

2016-04-04 Thread Ian Jackson
Coverity is complaining (eg, CID 1358114) about this code in _libxl_types.c: *** CID 1358114: Code maintainability issues (UNUSED_VALUE) /tools/libxl/_libxl_types.c: 11035 in libxl__device_usbdev_parse_json() 11029 x = libxl__json_map_get("hostaddr", x, JSON_INTEGER); 11030 if (x) {

[Xen-devel] Wrong use of sizeof() in libxl_pvusb.c

2016-04-04 Thread Ian Jackson
Coverity complains, rightly, as follows: > *** CID 1358110: Incorrect expression (SIZEOF_MISMATCH) > /tools/libxl/libxl_pvusb.c: 1068 in bind_usbintf() > 1062 if (fd < 0) { > 1063 LOGE(ERROR, "open file failed: '%s'", path); > 1064 rc = ERROR_FAIL; > 1065

[Xen-devel] Redundant lstats in libxl_pvusb.c

2016-04-04 Thread Ian Jackson
In libxl_usb.c, usbintf_get_drvpath calls stat(2) on the driver sysfs path, and then realpath on the same path. And bind_usbintf calls stat(2) on the driver directory path, and then open(2) on a file in that directory. It seems to be that in both cases, libxl could simply directly access the targ

Re: [Xen-devel] New Defects reported by Coverity Scan for XenProject

2016-04-04 Thread Ian Jackson
scan-ad...@coverity.com writes ("New Defects reported by Coverity Scan for XenProject"): > Please find the latest report on new defect(s) introduced to XenProject found > with Coverity Scan. > > 35 new defect(s) introduced to XenProject found with Coverity Scan. > 2 defect(s), reported by Coverit

[Xen-devel] [PATCH 2/2] libxl: Do not leak data on error path from libxl__read_sysfs_file_contents

2016-04-04 Thread Ian Jackson
Bug introduced in bc023ecd "libxl_utils: add internal function to read sysfs file contents" CID: 1358108 Signed-off-by: Ian Jackson CC: cover...@xenproject.org CC: Chunyan Liu --- tools/libxl/libxl_utils.c |1 + 1 file changed, 1 insertion(+) diff --git a/tools/libxl/libxl_utils

[Xen-devel] [PATCH 1/2] libxl: Set rc on failure of usbdev_busaddr_to_busid

2016-04-04 Thread Ian Jackson
We must set rc before using `goto out'. Bug introduced in bf7628f0 "libxl: add pvusb API". CID: 1358113 Signed-off-by: Ian Jackson CC: cover...@xenproject.org CC: Simon Cao CC: George Dunlap CC: Chunyan Liu --- tools/libxl/libxl_pvusb.c |1 + 1 file changed, 1 insertion(+

[Xen-devel] Policy for force pushing smoke branch Was: Re: [xen-unstable-smoke test] 88656: regressions - FAIL [and 1 more messages]

2016-04-04 Thread Ian Jackson
Ian Jackson writes ("Policy for force pushing smoke branch Was: Re: [Xen-devel] [xen-unstable-smoke test] 88656: regressions - FAIL"): > Wei Liu writes ("Policy for force pushing smoke branch Was: Re: [Xen-devel] > [xen-unstable-smoke test] 88656: regressions - FAIL"

Re: [Xen-devel] [PATCH v3 5/9] libxl: Rearrange qemu upstream disk argument code

2016-04-04 Thread Ian Jackson
George Dunlap writes ("Re: [PATCH v3 5/9] libxl: Rearrange qemu upstream disk argument code"): > I looked through the patch in the branch provided in your reply to 0/9 > [1], and it looks correct; morever, I tested it and it and the basic > functionality (using the "dummy" block script) still work

Re: [Xen-devel] XSM permissive by default.

2016-04-04 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("Re: [Xen-devel] XSM permissive by default."): > I presume this patch would be to folks +1: > > From 3373a50f386b41eea6ecede4b430e4fa09b2fe7e Mon Sep 17 00:00:00 2001 > From: Konrad Rzeszutek Wilk > Date: Thu, 10 Mar 2016 12:05:29 -0500 > Subject: [PATCH] flask: By d

[Xen-devel] Policy for force pushing smoke branch Was: Re: [xen-unstable-smoke test] 88656: regressions - FAIL [and 1 more messages] [and 1 more messages]

2016-04-05 Thread Ian Jackson
Ian Jackson writes ("Policy for force pushing smoke branch Was: Re: [Xen-devel] [xen-unstable-smoke test] 88656: regressions - FAIL [and 1 more messages]"): > I'll do a force push to xen.git#master if this is the only blocker, > too. Also, any necessary force push of the o

Re: [Xen-devel] [PATCH] libxl: libxl_domain_create_restore has an extra argument

2016-04-05 Thread Ian Jackson
Wei Liu writes ("Re: [PATCH] libxl: libxl_domain_create_restore has an extra argument"): > CC Jim as well > > On Tue, Apr 05, 2016 at 03:20:12PM +0100, Wei Liu wrote: > > In the latest libxenlight code, libxl_domain_create_restore accepts a > > new argument. Update libvirt's libxl driver for that

Re: [Xen-devel] [PATCH 2/3] libxl: colo: move netlink related stuff to libxl_colo_proxy.c

2016-04-06 Thread Ian Jackson
tlink. > > Signed-off-by: Wei Liu Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 1/3] libxl: colo: rearrange things in header files

2016-04-06 Thread Ian Jackson
gt;libxl_internal.h. > > Signed-off-by: Wei Liu Acked-by: Ian Jackson On the basis that I believe you that this is just code motion. Ian. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH] libxl: fix POLLHUP handling

2016-04-06 Thread Ian Jackson
gt; > > The behaviour that triggers this bug has only been seen on FreeBSD so far. > > > > Signed-off-by: Roger Pau Monné > > Suggested-by: Ian Jackson > > Acked-by: Wei Liu Queued, thanks. Ian. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v2 3/4] build: rename CONFIG_REMUS_NETBUF to CONFIG_LIBNL

2016-04-06 Thread Ian Jackson
ed configure changes as well. Feel free to rerun autogen.sh. Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v2 4/4] libxl: colo: make it depend on availability of libnl

2016-04-06 Thread Ian Jackson
t; Provide necessary stub functions in case COLO is disabled. This should > fix build on FreeBSD because there is no netlink there. It would also > make libxl build properly when netlink is not present on a Linux > system. Acked-by: Ian Jackson __

Re: [Xen-devel] [PATCH 1/1] libxl: Fix uninitialized pointer when passing an empty cdrom

2016-04-06 Thread Ian Jackson
Andrew Cooper writes ("Re: [PATCH 1/1] libxl: Fix uninitialized pointer when passing an empty cdrom"): > On 06/04/16 12:34, George Dunlap wrote: > > Commit 3fec17d4bb56567d139d7806392f4d8702d3f6a7 introduced a bug where > > an empty cdrom would cause target_path to be uninitialized. Initialize >

Re: [Xen-devel] [PATCH] libxl/CODING_STYLE: Clarify the singular statement in a conditional statement explanation.

2016-04-06 Thread Ian Jackson
to make it > obvious that: Acked-by: Ian Jackson And queued, thanks. Ian. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 0/5] COLO fixes

2016-04-06 Thread Ian Jackson
ibxl: colo: fix indentation of abort() > libxl: colo: remove dead code in colo_save_setup_script_cb All five Acked-by: Ian Jackson and queued. Ian. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

  1   2   3   4   5   6   7   8   9   10   >