Re: [Xen-devel] [PATCH] xen-netfront: remove warning when unloading module

2017-11-20 Thread Wei Liu
CC netfront maintainers. On Mon, Nov 20, 2017 at 11:41:09AM +0100, Eduardo Otubo wrote: > When unloading module xen_netfront from guest, dmesg would output > warning messages like below: > > [ 105.236836] xen:grant_table: WARNING: g.e. 0x903 still in use! > [ 105.236839] deferring g.e. 0x90

Re: [Xen-devel] [PATCH for-4.10] tools/libxl: mark hvm mmio area as reserved in e820 map

2017-11-17 Thread Wei Liu
uest. > > Signed-off-by: Juergen Gross Acked-by: Wei Liu > --- > This is a bugfix for PVH and HVM guests. Please consider for 4.10. I agree this is 4.10 material. ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH for-4.10] x86/hvm: Don't corrupt the HVM context stream when writing the MSR record

2017-11-17 Thread Wei Liu
restore: failed to load entry 20/0 > > Signed-off-by: Andrew Cooper Reviewed-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH for-4.10] tools/libxc: Fix restoration of PV MSRs after migrate

2017-11-17 Thread Wei Liu
contemporary PV guests. > > Signed-off-by: Andrew Cooper Reviewed-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH for-4.10] x86/hvm: Don't ignore unknown MSRs in the migration stream

2017-11-17 Thread Wei Liu
On Thu, Nov 16, 2017 at 07:15:32PM +, Andrew Cooper wrote: > Doing so amounts to silent state corruption, and must be avoided. > > Signed-off-by: Andrew Cooper Reviewed-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xen.

Re: [Xen-devel] [PATCH] tools: xentoolcore_restrict_all: Do deregistration before close

2017-11-14 Thread Wei Liu
); > which would be terribly tedious. > > Signed-off-by: Ian Jackson Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 1/4 v3 for-4.10] libxl: Fix the bug introduced in commit "libxl: use correct type modifier for vuart_gfn"

2017-11-14 Thread Wei Liu
On Tue, Nov 14, 2017 at 05:12:26PM +0530, Bhupinder Thakur wrote: > Hi, > > On 14 Nov 2017 3:35 pm, "Wei Liu" wrote: > > > On Mon, Nov 13, 2017 at 03:56:23PM +, Julien Grall wrote: > > > Hi Wei, > > > > > > Sorry I missed that e-

Re: [Xen-devel] [PATCH for-4.10] libs/evtchn: Remove active handler on clean-up or failure

2017-11-14 Thread Wei Liu
On Tue, Nov 14, 2017 at 12:14:14PM +, Julien Grall wrote: > Hi, > > On 14/11/17 11:51, Ian Jackson wrote: > > Ross Lagerwall writes ("Re: [PATCH for-4.10] libs/evtchn: Remove active > > handler on clean-up or failure"): > > > On 11/10/2017 05:10 PM, Julien Grall wrote: > > > > Commit 89d55473

Re: [Xen-devel] [PATCH 1/4 v3 for-4.10] libxl: Fix the bug introduced in commit "libxl: use correct type modifier for vuart_gfn"

2017-11-14 Thread Wei Liu
On Mon, Nov 13, 2017 at 03:56:23PM +, Julien Grall wrote: > Hi Wei, > > Sorry I missed that e-mail. > > On 10/31/2017 10:07 AM, Wei Liu wrote: > > Change the tag to for-4.10. > > > > Julien, this is needed to fix vuart emulation. > > To confirm,

Re: [Xen-devel] [PATCH] Config.mk: Update QEMU changeset

2017-11-13 Thread Wei Liu
On Mon, Nov 13, 2017 at 12:27:32PM +, Anthony PERARD wrote: > New commits: > - xen/pt: allow QEMU to request MSI unmasking at bind time > To fix a passthrough bug. > - ui/gtk: Fix deprecation of vte_terminal_copy_clipboard > A build fix. > > Signed-off-by: Anthony PERARD > --- > Should alread

Re: [Xen-devel] [qemu-upstream-unstable test] 116118: FAIL

2017-11-13 Thread Wei Liu
On Mon, Nov 13, 2017 at 11:52:12AM +, Julien Grall wrote: > Hi, > > On 11/13/2017 06:44 AM, osstest service owner wrote: > > flight 116118 qemu-upstream-unstable real [real] > > http://logs.test-lab.xenproject.org/osstest/logs/116118/ > > > > Failures and problems with tests :-( > > > > Test

Re: [Xen-devel] [PATCH for-4.10] docs: update hvmlite.markdown

2017-11-13 Thread Wei Liu
On Mon, Nov 13, 2017 at 03:26:13AM -0700, Jan Beulich wrote: > >>> On 12.11.17 at 12:03, wrote: > > --- a/docs/misc/hvmlite.markdown > > +++ b/docs/misc/hvmlite.markdown > > @@ -1,6 +1,3 @@ > > -**NOTE**: this document will be merged into `pvh.markdown` once PVH is > > replaced > > -with the HVMl

Re: [Xen-devel] 答复: Re: Help:Can xen restore several snapshots more faster at same time?

2017-11-13 Thread Wei Liu
..@huawei.com> > 产品与解决方案-交换机与企业网关解决方案架构与设计部 > Products & Solutions-Switch & Enterprise Gateway Solution Architecture & > Design Dept > From:Wei Liu > To:HUANG SHENGQIANG, > Cc:xen-de...@lists.xenproject.org,Wangjianbing,Wei Liu, > Date:2017-11-06 18:28:58 > Subjec

[Xen-devel] [PATCH for-4.10] docs: update hvmlite.markdown

2017-11-12 Thread Wei Liu
Remove stale paragraph and escape underscore. Signed-off-by: Wei Liu --- Cc: Jan Beulich Cc: Andrew Cooper Cc: Roger Pau Monne --- docs/misc/hvmlite.markdown | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/docs/misc/hvmlite.markdown b/docs/misc

Re: [Xen-devel] [RFC PATCH 07/31] xenpm: Clarify xenpm usage

2017-11-09 Thread Wei Liu
On Thu, Nov 09, 2017 at 07:09:57PM +0200, Oleksandr Tyshchenko wrote: > From: Oleksandr Tyshchenko > > CPU frequencies are in kHz. So, correct displayed text. > > Signed-off-by: Oleksandr Tyshchenko > CC: Ian Jackson > CC: Wei Liu > CC: Stefano Stabellini > CC: J

Re: [Xen-devel] [PATCH] mini-os: add a coding style file

2017-11-09 Thread Wei Liu
On Thu, Nov 09, 2017 at 01:35:49PM +0100, Juergen Gross wrote: > On 09/11/17 13:31, Wei Liu wrote: > > On Thu, Nov 09, 2017 at 01:10:12PM +0100, Juergen Gross wrote: > >> Since carving out Mini-OS from the Xen repository there hasn't been a > >> description of the

Re: [Xen-devel] [PATCH] mini-os: add a coding style file

2017-11-09 Thread Wei Liu
On Thu, Nov 09, 2017 at 01:10:12PM +0100, Juergen Gross wrote: > Since carving out Mini-OS from the Xen repository there hasn't been a > description of the preferred coding style. Copy the Xen CODING_STYLE > file. > I welcome such addition. I have no opinion in actual style used though. I just wa

Re: [Xen-devel] [PATCH v1] tools/hotplug: convert proc-xen.mount to proc-xen.service

2017-11-08 Thread Wei Liu
On Wed, Nov 08, 2017 at 05:24:14PM +0100, Olaf Hering wrote: > On Thu, Oct 26, Olaf Hering wrote: > > > > If not, then out-of-tree packages are going to have compatibility > > > problems with this change. > > Only if they use Requires=proc-xen.mount. > > Any other objections to this change? > >

Re: [Xen-devel] [PATCH for-4.10] libevtchn: fix build on non-Linux hosts

2017-11-08 Thread Wei Liu
On Wed, Nov 08, 2017 at 12:52:57PM +, Roger Pau Monne wrote: > Non-Linux hosts (where osdep_evtchn_restrict is not yet supported) > made use of errno without including errno.h, fix this by including the > header. > > Signed-off-by: Roger Pau Monné Ac

Re: [Xen-devel] [xen-unstable bisection] complete test-amd64-amd64-i386-pvgrub

2017-11-08 Thread Wei Liu
On Tue, Nov 07, 2017 at 05:24:32PM +, Julien Grall wrote: > Hi Wei, > > On 07/11/17 15:13, Wei Liu wrote: > > On Tue, Nov 07, 2017 at 03:09:07PM +, Julien Grall wrote: > >> Hi Wei, > >> > >> On 06/11/17 14:55, Wei Liu wrote: > >>> On

Re: [Xen-devel] [PATCH for-next 6/9] kconfig: add llvm coverage option

2017-11-08 Thread Wei Liu
0, Roger Pau Monné wrote: > >> >> On Thu, Oct 26, 2017 at 11:03:13AM +0100, Wei Liu wrote: > >> >> > On Thu, Oct 26, 2017 at 10:19:35AM +0100, Roger Pau Monne wrote: > >> >> > > config GCOV > >> >> > > bool "Gcov Su

Re: [Xen-devel] [xen-unstable bisection] complete test-amd64-amd64-i386-pvgrub

2017-11-07 Thread Wei Liu
On Tue, Nov 07, 2017 at 03:09:07PM +, Julien Grall wrote: > Hi Wei, > > On 06/11/17 14:55, Wei Liu wrote: > > On Mon, Nov 06, 2017 at 01:47:56PM +, osstest service owner wrote: > > > branch xen-unstable > > > xenbranch xen-unstable > > > job test-

Re: [Xen-devel] Libvirt config converter can't handle file not ending with new line

2017-11-07 Thread Wei Liu
On Mon, Nov 06, 2017 at 09:41:01PM -0700, Jim Fehlig wrote: > On 10/30/2017 06:17 AM, Wei Liu wrote: > > Hi Jim > > > > I discover a problem when using xen_xl converter. When the file in > > question doesn't end with a new line, I get the following error: >

Re: [Xen-devel] [PATCH for-next 1/9] gcov: return ENOSYS for unimplemented gcov domctl

2017-11-07 Thread Wei Liu
On Tue, Nov 07, 2017 at 09:41:58AM +, Roger Pau Monné wrote: > > Okay, so EOPNOTSUPP is it then, which is also my preference > > (due to there being so many uses of EINVAL elsewhere). I've > > merely mentioned that EINVAL would be suitable since, > > technically speaking, the value in a "sub-op

Re: [Xen-devel] [xen-unstable bisection] complete test-amd64-amd64-i386-pvgrub

2017-11-06 Thread Wei Liu
xenbits.xen.org/xen.git > Bug introduced: f48b5449dabc770acdde6d25cfbd265cfb71034d > Bug not present: 86cf189a957129ea1ad6468fe9a0887b9e2819f3 > Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/115612/ > > > commit f48b5449dabc770acdde6d25cfbd265cfb71034d >

Re: [Xen-devel] [PATCH for-4.10] x86/cpuid: Minor fixups missed from previous work

2017-11-06 Thread Wei Liu
On Mon, Nov 06, 2017 at 05:35:10AM -0700, Jan Beulich wrote: > >>> On 03.11.17 at 18:35, wrote: > > * Add more feature names to ./xen-cpuid > > * Vertically align the magic comments in cpufeatureset.h > > > > Signed-off-by: Andrew Cooper > > Acked

Re: [Xen-devel] Help:Can xen restore several snapshots more faster at same time?

2017-11-06 Thread Wei Liu
On Mon, Nov 06, 2017 at 04:38:51AM +, HUANG SHENGQIANG wrote: > Dear XEN expert, > > I find a blocker issue in my project. Would you please offer us some feedback? > > The description from my development team: > we need restore as much as xen snapshot at same times, but we found ‘xl > restor

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

2017-11-03 Thread Wei Liu
On Fri, Nov 03, 2017 at 12:46:03PM +, Wei Liu wrote: > On Fri, Nov 03, 2017 at 10:54:58AM +0000, Wei Liu wrote: > > On Fri, Nov 03, 2017 at 10:34:44AM +, Julien Grall wrote: > > > Hi, > > > > > > On 03/11/17 10:29, osstest service owner wrote: > >

[Xen-devel] [OSSTEST PATCH 1/2] ts-debian-di-install: use gho to pick d-i

2017-11-03 Thread Wei Liu
The original code used ho which gave us the host suite, but we wanted the guest suite. Signed-off-by: Wei Liu --- ts-debian-di-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts-debian-di-install b/ts-debian-di-install index 6007971..361a171 100755 --- a/ts

[Xen-devel] [OSSTEST PATCH 2/2] make-flight: guest should use jessie to test pvgrub

2017-11-03 Thread Wei Liu
Stretch has 64bit feature enabled for ext4, which pvgrub can't cope. We want to continue to test pvgrub, so specify jessie in the guest suite field. Signed-off-by: Wei Liu --- make-flight | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/make-flight b/make-flight

[Xen-devel] [OSSTEST PATCH 0/2] Keep pvgrub tests

2017-11-03 Thread Wei Liu
These are extra patches to replace make-flight: don't test pvgrub for Xen XXX so that we can keep pvgrub tests. See http://logs.test-lab.xenproject.org/osstest/logs/115518/ Wei Liu (2): ts-debian-di-install: use gho to pick d-i make-flight: guest should use jessie to test p

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

2017-11-03 Thread Wei Liu
On Fri, Nov 03, 2017 at 10:54:58AM +, Wei Liu wrote: > On Fri, Nov 03, 2017 at 10:34:44AM +, Julien Grall wrote: > > Hi, > > > > On 03/11/17 10:29, osstest service owner wrote: > > > flight 115515 xen-unstable-smoke real [real] > > > http://logs.test

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

2017-11-03 Thread Wei Liu
On Fri, Nov 03, 2017 at 10:34:44AM +, Julien Grall wrote: > Hi, > > On 03/11/17 10:29, osstest service owner wrote: > > flight 115515 xen-unstable-smoke real [real] > > http://logs.test-lab.xenproject.org/osstest/logs/115515/ > > > > Regressions :-( > > > > Tests which did not succeed and ar

Re: [Xen-devel] [PATCH for-4.10 v2 3/5] tools/dombuilder: Switch to using gfn terminology for console and xenstore rings

2017-11-02 Thread Wei Liu
ed(), which are all > using gfns despite the existing variable names. > > Signed-off-by: Andrew Cooper > Reviewed-by: Roger Pau Monné > Acked-by: Wei Liu > Tested-by: Julien Grall > --- > CC: Ian Jackson > CC: Julien Grall > > v2: > * More style fixes >

Re: [Xen-devel] [PATCH v3 4/7] libxl: support mapping static shared memory areas during domain creation

2017-11-01 Thread Wei Liu
tween VMs > from xl config file" (see [1]). > > [1] https://lists.xen.org/archives/html/xen-devel/2017-08/msg03242.html > > Signed-off-by: Zhongze Liu > > Cc: Wei Liu > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Julien Grall > Cc: xen-devel@lists.x

Re: [Xen-devel] [PATCH v3 5/7] libxl: support unmapping static shared memory areas during domain destruction

2017-11-01 Thread Wei Liu
On Thu, Oct 19, 2017 at 10:36:33AM +0800, Zhongze Liu wrote: > Add libxl__sshm_del to unmap static shared memory areas mapped by > libxl__sshm_add during domain creation. The unmapping process is: > > * For a master: decrease the refcount of the sshm region, if the refcount > reaches 0, cleanup

Re: [Xen-devel] Commit moratorium to staging

2017-11-01 Thread Wei Liu
On Tue, Oct 31, 2017 at 04:52:37PM +, Roger Pau Monné wrote: > > I have to admit I have no idea why Windows clears the STS power bit > and then completely ignores it on certain occasions. > > I'm also afraid I have no idea how to debug Windows in order to know > why this event is acknowledged

Re: [Xen-devel] [PATCH for-4.10] gdbsx: prefer privcmd character device

2017-11-01 Thread Wei Liu
Cc Julien and change tag. I think this is safe to be applied to 4.10. On Tue, Oct 31, 2017 at 01:58:07PM -0700, Elena Ufimtseva wrote: > On Tue, Oct 31, 2017 at 03:25:39PM +0000, Wei Liu wrote: > > On Tue, Oct 31, 2017 at 10:20:11AM -0500, Doug Goldstein wrote: > > > Prefer u

Re: [Xen-devel] [OSSTEST PATCH v2 00/19] Upgrade to Stretch

2017-11-01 Thread Wei Liu
On Tue, Oct 31, 2017 at 06:42:28PM +, Wei Liu wrote: > On Tue, Oct 31, 2017 at 01:51:44PM +0000, Wei Liu wrote: > > First version of this series can be found at [0]. > > > > This version contains workaround for Arndale boards. They are now > > functional. >

[Xen-devel] [PATCH RFC for-next] x86/mm: introduce and use virt_to_xen_l4e

2017-10-31 Thread Wei Liu
Avoid open-coding in a lot of places. No functional change. Signed-off-by: Wei Liu --- Is this patch useful or is open-coding preferred? --- xen/arch/x86/mm.c | 14 +++--- xen/arch/x86/x86_64/mm.c | 36 +--- xen/include/asm-x86/page.h | 5

Re: [Xen-devel] [OSSTEST PATCH v2 00/19] Upgrade to Stretch

2017-10-31 Thread Wei Liu
On Tue, Oct 31, 2017 at 01:51:44PM +, Wei Liu wrote: > First version of this series can be found at [0]. > > This version contains workaround for Arndale boards. They are now functional. > > A bunch of test cases failed: > > 1. Rumpkernel tests -- I've sent an emai

Re: [Xen-devel] [PATCH for-4.10] common/multicall: Increase debugability for bad hypercalls

2017-10-31 Thread Wei Liu
h would have hit the ASSERT_NOT_IN_ATOMIC on the return-to-guest > path, had it not hit the check_lock() first. > > Call ASSERT_NOT_IN_ATOMIC() after each operation in the multicall, to make > failures more obvious. > > Signed-off-by: Andrew Cooper Reviewed-by: Wei Liu _

Re: [Xen-devel] [PATCH] gdbsx: prefer privcmd character device

2017-10-31 Thread Wei Liu
On Tue, Oct 31, 2017 at 10:20:11AM -0500, Doug Goldstein wrote: > Prefer using the character device over the proc file if the character > device exists. > > CC: Elena Ufimtseva > CC: Ian Jackson > CC: Stefano Stabellini > CC: Wei Liu > Signed-off-by: Doug Goldst

Re: [Xen-devel] [PATCH 1/5] libxl: add PV sound device

2017-10-31 Thread Wei Liu
On Tue, Oct 31, 2017 at 04:51:48PM +0200, Oleksandr Grytsov wrote: > > > + > > > +if (params->sample_rates) { > > > +// calculate required string size; > > > > Coding style. > > > Sorry, could you specify more precisely what has to be changed in this > place? > We use /* ... */ for

[Xen-devel] [OSSTEST PATCH v2 10/19] ts-debian-fixup: use correct resume device

2017-10-31 Thread Wei Liu
See code comment for explanation. Signed-off-by: Wei Liu --- ts-debian-fixup | 12 1 file changed, 12 insertions(+) diff --git a/ts-debian-fixup b/ts-debian-fixup index 288766d..9a63c61 100755 --- a/ts-debian-fixup +++ b/ts-debian-fixup @@ -175,6 +175,18 @@ sub otherfixupcfg

[Xen-devel] [OSSTEST PATCH v2 12/19] ts-xen-build-prep: install e2fslibs-dev

2017-10-31 Thread Wei Liu
The in-tree libfsimage ext2fs implementation can't handle 64bit enabled ext4, which is the default in stretch. Installing e2fslibs-dev causes libfsimage to pick up the packaged ext2fs implementation. Signed-off-by: Wei Liu --- ts-xen-build-prep | 6 ++ 1 file changed, 6 insertions(+)

[Xen-devel] [OSSTEST PATCH v2 15/19] Add clk_ignore_unused for stretch for arm hosts

2017-10-31 Thread Wei Liu
Without that parameter we lose uart output. Signed-off-by: Wei Liu --- Osstest/Debian.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index e7fb020..2bfd5ae 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -240,7 +240,7

[Xen-devel] [OSSTEST PATCH v2 19/19] Switch to Debian Stretch

2017-10-31 Thread Wei Liu
Signed-off-by: Wei Liu --- Osstest.pm| 2 +- production-config | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Osstest.pm b/Osstest.pm index ceb62ca..f2e4dfa 100644 --- a/Osstest.pm +++ b/Osstest.pm @@ -86,7 +86,7 @@ our %c = qw( Images images

[Xen-devel] [OSSTEST PATCH v2 13/19] TestSupport: add dpkg option when installing packages

2017-10-31 Thread Wei Liu
Upgrading configuration file of nbd-client is controlled by dpkg in stretch. Add dpkg option to keep old configuration file(s). Signed-off-by: Wei Liu --- Osstest/TestSupport.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm

[Xen-devel] [OSSTEST PATCH v2 17/19] Skip bootloader installation for arm32 in Stretch

2017-10-31 Thread Wei Liu
Signed-off-by: Wei Liu --- Osstest/Debian.pm | 5 + 1 file changed, 5 insertions(+) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 2c3bcf4..b2d5007 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -1027,6 +1027,11 @@ END $preseed_file.= (<https://lists.xen.org/

[Xen-devel] [OSSTEST PATCH v2 16/19] Set mac address in interfaces(5) if force-mac-address is set

2017-10-31 Thread Wei Liu
, which means the guest (which uses host's initrd) will use the same rune to set conflicting mac address. Put the mac address in interfaces(5). We still need to keep the udev rule for the initrd overlay otherwise host installation will fail. Signed-off-by: Wei Liu --- Osstest/Debian.pm

[Xen-devel] [OSSTEST PATCH v2 18/19] make-flight: don't test pvgrub for Xen XXX

2017-10-31 Thread Wei Liu
XXX Need to pin down the version of Xen when the upgrade to stretch is complete because osstest configuration is branched for each version. Signed-off-by: Wei Liu --- make-flight | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/make-flight b/make-flight

[Xen-devel] [OSSTEST PATCH v2 11/19] ts-debian-hvm-install: disable new nic naming scheme

2017-10-31 Thread Wei Liu
This is required to fix nested hvm test. The L1 host is installed by this script. We want the L1 host to not use the new nic naming scheme. Signed-off-by: Wei Liu --- ts-debian-hvm-install | 13 + 1 file changed, 13 insertions(+) diff --git a/ts-debian-hvm-install b/ts-debian-hvm

[Xen-devel] [OSSTEST PATCH v2 14/19] ts-guests-nbd-mirror: make it work with stretch

2017-10-31 Thread Wei Liu
On the server side, only add oldstyle= and port= on Wheezy and Jessie. Stretch doesn't support or need those anymore. On the client side, generate new style configuration file. Signed-off-by: Wei Liu --- ts-guests-nbd-mirror | 47 +++ 1 file ch

[Xen-devel] [OSSTEST PATCH v2 03/19] ts-xen-build-prep: install packages for suites >jessie

2017-10-31 Thread Wei Liu
Stubdom build needs texinfo. Libvirt build needs autopoint. QEMU build needs libpciaccess-dev. Signed-off-by: Wei Liu --- ts-xen-build-prep | 4 1 file changed, 4 insertions(+) diff --git a/ts-xen-build-prep b/ts-xen-build-prep index 7718cff..80bfb30 100755 --- a/ts-xen-build-prep +++ b

[Xen-devel] [OSSTEST PATCH v2 08/19] ts-guests-nbd-mirror: use target_{get, put}file_root to transfter cfg

2017-10-31 Thread Wei Liu
The original code used target_cmd_output_root which caused a trailing new line to be deleted, which caused libvirt converter to fail. It wasn't discovered until now because we appended too many "\n". Use target_{get,put}file_root to do the job. Signed-off-by: Wei Liu --- ts-gu

[Xen-devel] [OSSTEST PATCH v2 00/19] Upgrade to Stretch

2017-10-31 Thread Wei Liu
st/logs/115404/ The armhf d-i failure is fixed with an additional patch ("Skip bootloader installaion for arm32 on Stretch) on top of the code for 15404, in: http://logs.test-lab.xenproject.org/osstest/logs/115404/ Cc: Julien Grall [0] <20171020103840.32762-1-wei.l...@citrix.com> Wei Li

[Xen-devel] [OSSTEST PATCH v2 01/19] gitignore: ignore vim swap file

2017-10-31 Thread Wei Liu
Signed-off-by: Wei Liu Acked-by: Ian Jackson --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 425506b..f7e5b77 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ *~ *.bak +*.swp tmp *.tmp bisection.ps -- 2.11.0

[Xen-devel] [OSSTEST PATCH v2 02/19] ts-xen-build-prep: only install w3c-dtd-xhtml for suites

2017-10-31 Thread Wei Liu
That package is not included in Stretch. That package was installed because libvirt build needed it. However libvirt builds fine without it in Stretch. Signed-off-by: Wei Liu --- ts-xen-build-prep | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ts-xen-build-prep b/ts

[Xen-devel] [OSSTEST PATCH v2 04/19] ts-xen-install: install some packages on stretch

2017-10-31 Thread Wei Liu
The "route" command is now in that package. libnl is needed when running xl. Signed-off-by: Wei Liu --- ts-xen-install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ts-xen-install b/ts-xen-install index ec907c5..d4c25c7 100755 --- a/ts-xen-install +++ b/ts-xen-install @@ -

[Xen-devel] [OSSTEST PATCH v2 09/19] ts-debian-fixup: merge origin extra= to our own

2017-10-31 Thread Wei Liu
igned-off-by: Wei Liu --- ts-debian-fixup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-debian-fixup b/ts-debian-fixup index f29971d..288766d 100755 --- a/ts-debian-fixup +++ b/ts-debian-fixup @@ -175,7 +175,7 @@ sub otherfixupcfg () { $extra .= "

[Xen-devel] [OSSTEST PATCH v2 05/19] Debian.pm: use sysvinit-core instead of systemd

2017-10-31 Thread Wei Liu
Install that packages for suites >wheezy, because they use systemd as the default init. Signed-off-by: Wei Liu --- Osstest/Debian.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 845027a..e7fb020 100644 --- a/Osstest/Debian

[Xen-devel] [OSSTEST PATCH v2 07/19] ts-host-install: don't use the new nic naming scheme

2017-10-31 Thread Wei Liu
Signed-off-by: Wei Liu Acked-by: Ian Jackson --- ts-host-install | 4 1 file changed, 4 insertions(+) diff --git a/ts-host-install b/ts-host-install index 11c14a7..7339858 100755 --- a/ts-host-install +++ b/ts-host-install @@ -271,6 +271,10 @@ END # why this is repeated. push

[Xen-devel] [OSSTEST PATCH v2 06/19] ts-leak-check: suppress systemd-shim, which leaks in stretch

2017-10-31 Thread Wei Liu
Signed-off-by: Wei Liu Acked-by: Ian Jackson --- ts-leak-check | 1 + 1 file changed, 1 insertion(+) diff --git a/ts-leak-check b/ts-leak-check index 678d069..41e6245 100755 --- a/ts-leak-check +++ b/ts-leak-check @@ -202,6 +202,7 @@ xenstore /vm xenstore /libxl process .* udevd +process

Re: [Xen-devel] [PATCH v3 3/7] libxl: introduce a new structure to represent static shared memory regions

2017-10-31 Thread Wei Liu
t; [1] https://lists.xen.org/archives/html/xen-devel/2017-08/msg03242.html > > Signed-off-by: Zhongze Liu > Reviewed-by: Stefano Stabellini Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v3 1/7] libxc: add xc_domain_remove_from_physmap to wrap XENMEM_remove_from_physmap

2017-10-31 Thread Wei Liu
add the wrapper to XENMEM_remove_from_physmap. > > Signed-off-by: Zhongze Liu > Reviewed-by: Stefano Stabellini > Acked-by: Wei Liu > > Cc: Ian Jackson > Cc: Wei Liu > Cc: Stefano Stabellini > Cc: Julien Grall > Cc: xen-devel@lists.xen.org > --- > tools/libxc/

Re: [Xen-devel] [PATCH] MAINTAINERS: Make Christian Lindig maintainer for ocaml tools

2017-10-31 Thread Wei Liu
im a maintainer. > > CC: Christian Lindig > CC: David Scott > Signed-off-by: Ian Jackson Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH for-4.10] common/spinlock: Improve the output from check_lock() if it trips

2017-10-31 Thread Wei Liu
On Tue, Oct 31, 2017 at 10:49:10AM +, Andrew Cooper wrote: > If check_lock() triggers, a crash will occur. Instead of simply identifying > "the irq context was different", indicate the expected and current irq > context. > > Signed-off-by: Andrew Coop

Re: [Xen-devel] [PATCH v7 for-next 02/12] pci: introduce a type to store a SBDF

2017-10-31 Thread Wei Liu
> Signed-off-by: Roger Pau Monné > Reviewed-by: Paul Durrant Reviewed-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v7 for-next 08/12] xen: introduce rangeset_consume_ranges

2017-10-31 Thread Wei Liu
ned-off-by: Roger Pau Monné Reviewed-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 4/4] libxl: move ibxl_devid_to_device_... to LIBXL_DEFINE_DEVID_TO_DEVICE

2017-10-31 Thread Wei Liu
On Thu, Oct 05, 2017 at 12:30:48PM +0300, Oleksandr Grytsov wrote: > From: Oleksandr Grytsov > > Signed-off-by: Oleksandr Grytsov Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 3/4] libxl: move libxl__device_from_ to LIBXL_DEFINE_DEVICE_FROM_TYPE

2017-10-31 Thread Wei Liu
On Thu, Oct 05, 2017 at 12:30:47PM +0300, Oleksandr Grytsov wrote: > From: Oleksandr Grytsov > > LIBXL_DEFINE_DEVICE_FROM_TYPE uses libxl__..._devtype.type to > be assigned as device and backend type. > > Signed-off-by: Oleksandr Grytsov

Re: [Xen-devel] [PATCH 2/4] libxl: use libxl__device_kind in LIBXL_DEFINE_UPDATE_DEVID

2017-10-31 Thread Wei Liu
On Thu, Oct 05, 2017 at 12:30:46PM +0300, Oleksandr Grytsov wrote: > From: Oleksandr Grytsov > > Use libxl__..._devtype.type to update device id. > > Signed-off-by: Oleksandr Grytsov Acked-by: Wei Liu ___ Xen-devel mailing

Re: [Xen-devel] [PATCH 1/4] libxl: use libxl__device_kind to get device XS entry

2017-10-31 Thread Wei Liu
The patch is using libxl__device_kind > everywere to have one source of device name. > > Signed-off-by: Oleksandr Grytsov Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 2/4 v3] libxl: Change the type of console_mfn to xen_pfn_t

2017-10-31 Thread Wei Liu
> type of console_mfn is changed to xen_pfn_t. > > Also the name console_mfn is misleading as it is actually a gfn. This > patch also modifies the name to console_gfn. > > Signed-off-by: Bhupinder Thakur Acked-by: Wei Liu ___ Xen-d

Re: [Xen-devel] [PATCH 1/4 v3 for-4.10] libxl: Fix the bug introduced in commit "libxl: use correct type modifier for vuart_gfn"

2017-10-31 Thread Wei Liu
Change the tag to for-4.10. Julien, this is needed to fix vuart emulation. ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 4/4 v3] xenconsole: Define and use a macro XEN_INVALID_PFN instead of -1

2017-10-31 Thread Wei Liu
ng. For clarity, XEN_INVALID_PFN is introduced. > > Signed-off-by: Bhupinder Thakur Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 3/6] libxl: add backend type to vkb

2017-10-30 Thread Wei Liu
On Thu, Oct 05, 2017 at 12:07:08PM +0300, Oleksandr Grytsov wrote: > From: Oleksandr Grytsov > > New field backend_type is added to vkb device > in order to have QEMU and user space backend > simultaneously. Each vkb backend shall read > appropriate XS entry and service only own > frontends. > >

Re: [Xen-devel] [PATCH 1/6] libxl: move vkb device to libxl_vkb.c

2017-10-30 Thread Wei Liu
On Thu, Oct 05, 2017 at 12:07:06PM +0300, Oleksandr Grytsov wrote: > From: Oleksandr Grytsov > > Logically it is better to move vkb to > separate file as vkb device used not only by vfb > and console. > > Signed-off-by: Oleksandr Grytso

Re: [Xen-devel] [PATCH 2/6] libxl: fix vkb XS entry and type

2017-10-30 Thread Wei Liu
On Thu, Oct 05, 2017 at 12:07:07PM +0300, Oleksandr Grytsov wrote: > From: Oleksandr Grytsov > > vkb has vkbd name in XS. > > Signed-off-by: Oleksandr Grytsov Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@list

Re: [Xen-devel] [PATCH 4/5] xl: add vsnd CLI commands

2017-10-30 Thread Wei Liu
On Mon, Oct 02, 2017 at 12:49:23PM +0300, Oleksandr Grytsov wrote: > From: Oleksandr Grytsov > > Add CLI commands to attach, detach and list virtual sound devices > > Signed-off-by: Oleksandr Grytsov Acked-by: Wei Liu ___ Xen-dev

Re: [Xen-devel] [PATCH 3/5] xl: add PV sound condif parser

2017-10-30 Thread Wei Liu
On Mon, Oct 02, 2017 at 12:49:22PM +0300, Oleksandr Grytsov wrote: > +static void parse_vsnd_card_config(const XLU_Config *config, > + XLU_ConfigValue *card_value, > + libxl_domain_config *d_config) > +{ > +int ret; > + > +

Re: [Xen-devel] [PATCH 2/5] libxl: add vsnd list and info

2017-10-30 Thread Wei Liu
On Mon, Oct 02, 2017 at 12:49:21PM +0300, Oleksandr Grytsov wrote: > From: Oleksandr Grytsov > > Add getting vsnd list amd info API > > Signed-off-by: Oleksandr Grytsov Same comments for previous patch apply here, too. > --- > tools/libxl/libxl.h | 10 ++ > tools/libxl/libxl_types.i

Re: [Xen-devel] [PATCH 1/5] libxl: add PV sound device

2017-10-30 Thread Wei Liu
On Mon, Oct 02, 2017 at 12:49:20PM +0300, Oleksandr Grytsov wrote: > From: Oleksandr Grytsov > > Add PV sound device described in sndif.h > > Signed-off-by: Oleksandr Grytsov [...] > > libxl__console_backend = Enumeration("console_backend", [ > diff --git a/tools/libxl/libxl_vsnd.c b/tools/

Re: [Xen-devel] [PATCH RFC v2 0/8] Live migration for VMs with QEMU backed local storage

2017-10-30 Thread Wei Liu
Also CC QEMU maintainers. Is there any new QEMU patch required? On Wed, Oct 18, 2017 at 10:26:27AM -0700, Bruno Alvisio wrote: > I am reviving this thread about the migration of VMs with local storage. I > have worked on a solution to be able to migrate VMs that use QEMU as the > backend disk d

Re: [Xen-devel] [PATCH for-next 7/9] coverage: introduce support for llvm profiling

2017-10-30 Thread Wei Liu
: Jan Beulich > Cc: Konrad Rzeszutek Wilk > Cc: Stefano Stabellini > Cc: Tim Deegan > Cc: Wei Liu > Cc: llvm-...@lists.llvm.org > --- > Note that the file that contains the helpers is under a BSD 2-clause > license. This is done so it can be shared with other OSes that use the

Re: [Xen-devel] [PATCH for-next 5/9] coverage: introduce generic file

2017-10-30 Thread Wei Liu
On Thu, Oct 26, 2017 at 10:19:34AM +0100, Roger Pau Monne wrote: > > diff --git a/xen/common/coverage/Makefile b/xen/common/coverage/Makefile > index f68d050eca..0e0510679e 100644 > --- a/xen/common/coverage/Makefile > +++ b/xen/common/coverage/Makefile > @@ -1,4 +1,4 @@ > -obj-y += gcov_base.o gc

Re: [Xen-devel] [PATCH for-next 3/9] gcov: rename sysctl and functions

2017-10-30 Thread Wei Liu
On Thu, Oct 26, 2017 at 10:19:32AM +0100, Roger Pau Monne wrote: > Change gcov to cov. > > Signed-off-by: Roger Pau Monné Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH for-next 2/9] gcov: rename folder and header to coverage

2017-10-30 Thread Wei Liu
> diff --git a/xen/include/xen/gcov.h b/xen/include/xen/coverage.h > similarity index 100% > rename from xen/include/xen/gcov.h > rename to xen/include/xen/coverage.h Please also rename the define guard in this file. ___ Xen-devel mailing list Xen-devel

Re: [Xen-devel] [PATCH for-next 9/9] coverage: add documentation for LLVM coverage

2017-10-30 Thread Wei Liu
On Thu, Oct 26, 2017 at 10:19:38AM +0100, Roger Pau Monne wrote: > Signed-off-by: Roger Pau Monné > --- > Cc: Andrew Cooper > Cc: George Dunlap > Cc: Ian Jackson > Cc: Jan Beulich > Cc: Konrad Rzeszutek Wilk > Cc: Stefano Stabellini > Cc: Tim Deegan > C

Re: [Xen-devel] [PATCH] tools/xenstored: Check number of strings passed to do_control()

2017-10-30 Thread Wei Liu
k in do_control() rejecting all non-dom0 requests with > an EACCES). > > Testing: reproduced with the following command: > python -c 'print 16*"\x00"' | nc -U $XENSTORED_RUNDIR/socket > > Signed-off-by: Pawel Wieczorkiewicz > Reviewed-by: Martin Pohlack A

[Xen-devel] [PATCH v4 for-4.10] scripts: introduce a script for build test

2017-10-30 Thread Wei Liu
Signed-off-by: Ian Jackson Signed-off-by: Wei Liu --- Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: Konrad Rzeszutek Wilk Cc: Stefano Stabellini Cc: Tim Deegan Cc: Wei Liu Cc: Julien Grall Cc: Anthony PERARD v4: 1. Check, save/restore $?. 2. Don't use

Re: [Xen-devel] [PATCH v3 for-4.10] scripts: introduce a script for build test

2017-10-30 Thread Wei Liu
On Mon, Oct 30, 2017 at 03:14:04PM +, Ian Jackson wrote: > Wei Liu writes ("[PATCH v3 for-4.10] scripts: introduce a script for build > test"): > > Signed-off-by: Ian Jackson > > Signed-off-by: Wei Liu > ... > ... > > +trap "echo Restoring or

Re: [Xen-devel] [PATCH v3 for-4.10] scripts: introduce a script for build test

2017-10-30 Thread Wei Liu
On Wed, Oct 25, 2017 at 05:00:21PM +0100, Wei Liu wrote: > Signed-off-by: Ian Jackson > Signed-off-by: Wei Liu > --- > Cc: Andrew Cooper > Cc: George Dunlap > Cc: Ian Jackson > Cc: Jan Beulich > Cc: Konrad Rzeszutek Wilk > Cc: Stefano Stabellini > Cc: T

[Xen-devel] Libvirt config converter can't handle file not ending with new line

2017-10-30 Thread Wei Liu
Hi Jim I discover a problem when using xen_xl converter. When the file in question doesn't end with a new line, I get the following error: error: configuration file syntax error: memory conf:53: expecting a value After digging a bit (but haven't read libvirt code), it appears that the file di

Re: [Xen-devel] [PATCH 2/5 v2] libxl: Change the type of console_mfn to xen_pfn_t

2017-10-30 Thread Wei Liu
On Mon, Oct 30, 2017 at 02:42:57PM +0530, Bhupinder Thakur wrote: > Hi, > > On 26 October 2017 at 16:47, Andrew Cooper wrote: > > On 26/10/17 12:13, Wei Liu wrote: > >> On Wed, Oct 25, 2017 at 02:57:05PM +0530, Bhupinder Thakur wrote: > >>> Currently the typ

Re: [Xen-devel] [PATCH v1] tools/hotplug: convert proc-xen.mount to proc-xen.service

2017-10-30 Thread Wei Liu
On Thu, Oct 26, 2017 at 04:45:38PM +0100, Andrew Cooper wrote: > On 26/10/17 16:25, Olaf Hering wrote: > > An upcoming change in systemd will mount xenfs right away, along with > > all other system mounts. This improves the detection of the > > virtualization environment, which is currently racy. S

Re: [Xen-devel] [PATCH] tools/hotplug: create XEN_LOG_DIR at runtime

2017-10-27 Thread Wei Liu
On Fri, Oct 27, 2017 at 07:52:37PM +0300, Andrii Anisov wrote: > From: Andrii Anisov > > /var/log could be a tmpfs mount point, so create xen subfolder at runtime. > > Signed-off-by: Andrii Anisov > Reviewed-by: Volodymyr Babchuk > Reviewed-by: Oleksandr Andrushchenk

Re: [Xen-devel] [PATCH v1] tools/hotplug: convert proc-xen.mount to proc-xen.service

2017-10-27 Thread Wei Liu
On Thu, Oct 26, 2017 at 05:25:36PM +0200, Olaf Hering wrote: > An upcoming change in systemd will mount xenfs right away, along with > all other system mounts. This improves the detection of the > virtualization environment, which is currently racy. Some parts of > systemd rely on the presence of /

Re: [Xen-devel] [PATCH v1 4/5] tools: libxendevicemodel: Provide xendevicemodel_add_to_physmap

2017-10-27 Thread Wei Liu
On Fri, Oct 20, 2017 at 10:22:55AM +0100, Paul Durrant wrote: > > -Original Message- > > From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of > > Ross Lagerwall > > Sent: 18 October 2017 15:04 > > To: Xen-devel > > Cc: Ross L

  1   2   3   4   5   6   7   8   9   10   >