On Thu, Nov 23, 2017 at 05:16:51PM +, Jonathan Davies wrote:
> Signed-off-by: Jonathan Davies
Acked-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
On Mon, Nov 27, 2017 at 12:35:26PM +, Chenjia (C) wrote:
> when we use the Xen4.8.7(we compile from the source and install on SUSE 12 ),
> if we create the VM, we got the error information:
>
> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
> /etc/xen/scripts/vif-bridge online
On Thu, Nov 30, 2017 at 01:35:45AM -0700, Jan Beulich wrote:
> >>> On 30.11.17 at 09:23, wrote:
> > On Wed, Nov 29, Jan Beulich wrote:
> >
> >> Ah, I see. But then still I don't see why at least on half way
> >> recent Xen /sys/hypervisor/properties/features wouldn't have
> >> the information you
On Fri, Dec 01, 2017 at 04:39:30AM -0700, Jan Beulich wrote:
> >>> On 01.12.17 at 11:21, wrote:
> > On Thu, Nov 30, 2017 at 01:35:45AM -0700, Jan Beulich wrote:
> >> >>> On 30.11.17 at 09:23, wrote:
> >> > On Wed, Nov 29, Jan Beulich wrote:
> >> >
> >> >> Ah, I see. But then still I don't see wh
On Thu, Nov 09, 2017 at 11:13:41AM +, Roger Pau Monne wrote:
> Use autodetect only.
>
> Signed-off-by: Roger Pau Monné
Acked-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/lis
On Fri, Dec 01, 2017 at 05:11:45AM -0700, Jan Beulich wrote:
> >>> On 01.12.17 at 12:48, wrote:
> > Suppose at one point we split hardware domain and control domain, which
> > one will you call Dom0? Which one will get the flag?
>
> There can only be one hardware domain, which will continue to
>
On Fri, Dec 01, 2017 at 05:23:16AM -0700, Jan Beulich wrote:
> >>> On 01.12.17 at 13:15, wrote:
> > On Fri, Dec 01, 2017 at 05:11:45AM -0700, Jan Beulich wrote:
> >> >>> On 01.12.17 at 12:48, wrote:
> >> > Suppose at one point we split hardware domain and control domain, which
> >> > one will you
On Fri, Dec 01, 2017 at 01:38:48PM +0100, Olaf Hering wrote:
> Am Fri, 1 Dec 2017 12:29:24 +
> schrieb Wei Liu :
>
> > But Olaf needs to know if some of the services like xenconsoled or
> > xenstored should be started, and if some of the special file systems
> &g
: Juergen Gross
With Jan's comment addressed:
Acked-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
On Fri, Dec 01, 2017 at 03:20:06PM +, Ian Jackson wrote:
> The old instructions were obsolete. Here are the details I used when
> branching for 4.10.
>
> CC: Julien Grall
> CC: Wei Liu
> Signed-off-by: Ian Jackson
Acked-by: Wei Liu
_
On Fri, Dec 01, 2017 at 04:49:01PM +0100, Olaf Hering wrote:
> On Fri, Dec 01, Wei Liu wrote:
>
> > What information do you need? For a moment let's skip using the fuzzy
> > "Dom0" term and try to be precise. Like "I would like to know if that
> > dom
On Fri, 13 Sep 2019 at 13:47, Paul Durrant wrote:
>
> My Citrix email address will expire shortly.
>
> Signed-off-by: Paul Durrant
Acked-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject
On Fri, 13 Sep 2019 at 16:28, Wei Liu wrote:
>
> On Fri, 13 Sep 2019 at 13:47, Paul Durrant wrote:
> >
> > My Citrix email address will expire shortly.
> >
> > Signed-off-by: Paul Durrant
>
> Acked-by: Wei Liu
Or rather:
Acked-by: Wei Liu
___
ul Durrant
> Acked-by: Christian Lindig
> ---
> Cc: Ian Jackson
> Cc: Wei Liu
> Cc: Anthony PERARD
> Cc: Andrew Cooper
> Cc: George Dunlap
> Cc: Jan Beulich
> Cc: Julien Grall
> Cc: Konrad Rzeszutek Wilk
> Cc: Stefano Stabellini
> Cc: Tim Deegan
> Cc: Chr
On Tue, Sep 03, 2019 at 09:20:23AM +0200, Juergen Gross wrote:
> The Makefile below tools/libs have a lot in common. Put those common
> parts into a new libs.mk and include that from the specific Makefiles.
>
> Signed-off-by: Juergen Gross
Acked
On Fri, Sep 06, 2019 at 02:41:03PM +0200, Juergen Gross wrote:
> The Makefile below tools/libs have a lot in common. Put those common
> parts into a new libs.mk and include that from the specific Makefiles.
>
> Signed-off-by: Juergen Gross
> ---
> V2:
> - include common Makefile via absolute path
On Fri, Sep 13, 2019 at 11:39:53AM +0100, Julien Grall wrote:
> At the moment, early printk can only be configured on the make command
> line. It is not very handy because a user has to remove the option
> everytime it is using another command other than compiling the
> hypervisor.
>
> Furthermore
Hi Julian
For the KDD related project I have CC'ed Paul.
I have gathered some ideas for cleaning up hypervisor code but they are
of lower difficulty compared to other projects. They are definitively
not as fun as the others. ;-)
Wei.
On Mon, Sep 09, 2019 at 08:58:51AM +0100, Julien Grall wrote:
On Sat, 14 Sep 2019 at 16:38, Marek Marczykowski-Górecki
wrote:
>
> Add libxc wrapper for PHYSDEVOP_interrupt_control introduced in previous
> commit.
>
> Signed-off-by: Marek Marczykowski-Górecki
Subject to acceptance of earlier patches.
Ac
On Mon, 16 Sep 2019 at 10:47, Jan Beulich wrote:
>
> For some reason the Hygon enabling series left out the insn emulator.
> Make appropriate adjustments wherever we've been special casing AMD.
>
> Signed-off-by: Jan Beulich
On Mon, 16 Sep 2019 at 14:13, Andrew Cooper wrote:
[...]
> Replace the VIRIDIAN prefix with 'reported' to reduce the confusion to
> non-xen-developers trying to interpret the message.
> >>> This is a message that is peculiar to Windows VMs, so how about "Windows
> >>> VM CRASH"?
> >> I
(((regs[0] & 0x7c00u) << 1) | 0x0400u |
> > - (regs[0] & 0x3ffu));
> > -regs[3] &= 0x3ffu;
>
> I think you want to mention that the removal of this masking is
> intentional, for it look
urrant
> Acked-by: Christian Lindig
> ---
> Cc: Ian Jackson
> Cc: Wei Liu
> Cc: Anthony PERARD
> Cc: Andrew Cooper
> Cc: George Dunlap
> Cc: Jan Beulich
> Cc: Julien Grall
> Cc: Konrad Rzeszutek Wilk
> Cc: Stefano Stabellini
> Cc: Tim Deegan
> Cc:
On Tue, 17 Sep 2019 at 17:31, Andrew Cooper wrote:
>
> On 16/09/2019 14:56, Paul Durrant wrote:
> >> -Original Message-----
> >> From: Wei Liu
> >> Sent: 16 September 2019 14:29
> >> To: Andrew Cooper
> >> Cc: Paul Durrant ; Xen-devel
ault, but does not work right now). The former is useful if you
> want python2 but your distro has foolishly made "python" refer to
> python3.
>
> CC: Doug Goldstein
> CC: Wei Liu
> CC: George Dunlap
> Signed-off-by: Ian Jackson
Acked-by: Wei Liu
_
16cc3362a missed one print statement.
Signed-off-by: Wei Liu
---
m4/python_devel.m4 | 2 +-
tools/configure| 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/m4/python_devel.m4 b/m4/python_devel.m4
index 7f26381376..e365cd658e 100644
--- a/m4/python_devel.m4
+++ b/m4
On Thu, 19 Sep 2019 at 12:17, Wei Liu wrote:
>
> 16cc3362a missed one print statement.
>
> Signed-off-by: Wei Liu
> ---
> m4/python_devel.m4 | 2 +-
> tools/configure| 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/m4/python_devel.m
On Thu, 19 Sep 2019 at 12:28, Ian Jackson wrote:
> My previous reply bounced due to header mangling in your first mail.
> Let me try again:
>
> This is good in principle but:
>
> Can you provide as a git branch ? Then I will get the unmangled
> version and be able to try it out.
>
See
https://
ASM_CALL_CONSTRAINT is defined there.
No functional change.
Signed-off-by: Wei Liu
---
xen/include/asm-x86/guest/hypercall.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/xen/include/asm-x86/guest/hypercall.h
b/xen/include/asm-x86/guest/hypercall.h
index d548816b30..c9deca6ffc 100644
The only user is Xen specific code in PV shim. We can therefore export
the variable directly.
Signed-off-by: Wei Liu
---
xen/arch/x86/guest/xen/xen.c| 7 +--
xen/arch/x86/pv/shim.c | 2 +-
xen/include/asm-x86/guest/xen.h | 2 +-
3 files changed, 3 insertions(+), 8 deletions
interfaces.
They aren't trivial, and time can be scarce on my side, so I intend to post
patches piece meal when they are ready.
Questions and comments are welcome.
Thanks,
Wei.
Cc: Jan Beulich
Cc: Andrew Cooper
Cc: Wei Liu
Cc: Roger Pau Monné
Wei Liu (8):
x86: introduce CONFIG_GUES
We need indication whether it has succeeded or not.
Signed-off-by: Wei Liu
---
xen/arch/x86/guest/hypervisor.c | 5 -
xen/arch/x86/guest/xen/xen.c| 7 ---
xen/include/asm-x86/guest/xen.h | 4 ++--
3 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/xen/arch/x86/guest
The only implementation there is Xen.
No functional change.
Signed-off-by: Wei Liu
---
xen/arch/x86/guest/Makefile| 2 +
xen/arch/x86/guest/hypervisor.c| 112 +
xen/arch/x86/guest/xen/xen.c | 81 +-
xen/include/asm-x86
We will add Hyper-V specific implementations in the future.
No functional change.
Signed-off-by: Wei Liu
---
xen/arch/x86/guest/xen/xen.c | 32 ++--
1 file changed, 26 insertions(+), 6 deletions(-)
diff --git a/xen/arch/x86/guest/xen/xen.c b/xen/arch/x86/guest/xen
We use the same code structure as we did for Xen code.
As starters, detect Hyper-V in probe_hyperv. More complex
functionality will be added later.
Signed-off-by: Wei Liu
---
xen/arch/x86/Kconfig | 9 +
xen/arch/x86/guest/Makefile| 1 +
xen/arch/x86/guest/hyperv
Signed-off-by: Wei Liu
---
xen/arch/x86/setup.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c
index dec60d0301..bbcc5a503d 100644
--- a/xen/arch/x86/setup.c
+++ b/xen/arch/x86/setup.c
@@ -789,6 +789,17 @@ void __init noreturn
Xen is able to run as a guest on Xen. We plan to make it able to run
on Hyper-V as well.
Introduce CONFIG_GUEST which is set to true if either running on Xen
or Hyper-V is desired. Restructure code hierarchy for new code to
come.
No functional change intended.
Signed-off-by: Wei Liu
---
xen
On Fri, Sep 20, 2019 at 03:54:12PM +0200, Jan Beulich wrote:
> Recent AMD processors may report up to 128 logical processors in CPUID
> leaf 1. Doubling this value produces 0 (which OSes sincerely dislike),
> as the respective field is only 8 bits wide. Suppress doubling the value
> (and its leaf 0
On Mon, Sep 23, 2019 at 10:48:45AM +, Paul Durrant wrote:
> > -Original Message-
> > From: Xen-devel On Behalf Of Wei
> > Liu
> > Sent: 23 September 2019 11:09
> > To: Xen Development List
> > Cc: Wei Liu ; Wei Liu ; Andrew Cooper
> > ;
>
On Mon, Sep 23, 2019 at 12:11:26PM +, Paul Durrant wrote:
> > -Original Message-
> > From: Wei Liu
> > Sent: 23 September 2019 12:27
> > To: Paul Durrant
> > Cc: 'Wei Liu' ; Xen Development List
> > ; Wei Liu
> > ; Andrew Cooper
And a bit more thought.
On Mon, Sep 23, 2019 at 01:54:31PM +0100, Wei Liu wrote:
[...]
> > >
> > > Per TLFS, eVMCS should be used by L1 Xen.
> >
> > Yes, I guess it only needs to be used by L1, but Windows is using an
> > increasing number of VMs for v
On Mon, Sep 23, 2019 at 02:26:52PM +0100, Anthony PERARD wrote:
> The compatibility function mistakenly called itself.
>
> Fixes: 95627b87c3159928458ee586e8c5c593bdd248d8
> Signed-off-by: Anthony PERARD
Acked-by: Wei Liu
___
Xen-devel
On Mon, Sep 23, 2019 at 01:47:14PM +, Paul Durrant wrote:
> > -Original Message-
> > From: Wei Liu
> > Sent: 23 September 2019 14:34
> > To: Paul Durrant
> > Cc: 'Wei Liu' ; Xen Development List
> > ; Wei Liu
> > ; Andrew Cooper
On Mon, Sep 23, 2019 at 02:39:10PM +, Paul Durrant wrote:
> > -Original Message-
> > From: Wei Liu
> > Sent: 23 September 2019 15:21
> > To: Paul Durrant
> > Cc: 'Wei Liu' ; Xen Development List
> > ; Wei Liu
> > ; Andrew Cooper
Cortex A-57 and Cortex A72 AT
> speculate
> docs: Replace all instance of ARM by Arm
Acked-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
nt
> Reviewed-by: Alexandru Isaila
> Acked-by: Razvan Cojocaru
> Reviewed-by: Jan Beulich
> Acked-by: Julien Grall
Acked-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
tant;
> do this now. Don't bump by too much though, as there are a number of on-
> stack arrays which are dimensioned by this constant.
>
> Signed-off-by: Jan Beulich
Reviewed-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xenproj
, Sep 25, 2019 at 03:32:46PM +0100, hongyax wrote:
> Previously, Wei Liu has created the patch series to switch to
> alloc/map/unmap/free APIs for Xen page tables so that Xen page tables
> are mapped with map_domain_page(). This is the first step towards
> removing the direct map. I
On Wed, Sep 25, 2019 at 03:33:03PM +0100, hongyax wrote:
> From: Wei Liu
>
> ---
> xen/arch/x86/mm.c | 25 +
> 1 file changed, 13 insertions(+), 12 deletions(-)
>
This patch should have been squashed into the pr
One thing I forgot to ask: can you publish a git branch for this
series?
Thanks,
Wei.
On Wed, Sep 25, 2019 at 04:13:49PM +0100, Wei Liu wrote:
> Hi Hongyan
>
> Thanks for picking up this work.
>
> Please CC relevant maintainers and reviewers in the future. I have done
> t
On Wed, Sep 25, 2019 at 01:02:50PM +0200, Roger Pau Monné wrote:
> On Mon, Sep 23, 2019 at 11:09:23AM +0100, Wei Liu wrote:
> > Hi all
> >
> > In case you're wondering, I can already run a fully fledged Xen system on
> > Hyper-V with emulated disk and network.
On Wed, Sep 25, 2019 at 08:48:41AM -0700, Tamas K Lengyel wrote:
> No functional changes.
>
> Signed-off-by: Tamas K Lengyel
Acked-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman
On Wed, Sep 25, 2019 at 08:48:44AM -0700, Tamas K Lengyel wrote:
> All callers pass 0 in.
>
> Signed-off-by: Tamas K Lengyel
Reviewed-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman
On Wed, Sep 25, 2019 at 04:36:34PM +0100, Wei Liu wrote:
> On Wed, Sep 25, 2019 at 01:02:50PM +0200, Roger Pau Monné wrote:
> > On Mon, Sep 23, 2019 at 11:09:23AM +0100, Wei Liu wrote:
> > > Hi all
> > >
> > > In case you're wondering, I can already run a
On Thu, Sep 26, 2019 at 12:41:04PM +0200, Roger Pau Monné wrote:
> On Wed, Sep 25, 2019 at 04:36:34PM +0100, Wei Liu wrote:
> > On Wed, Sep 25, 2019 at 01:02:50PM +0200, Roger Pau Monné wrote:
> > > On Mon, Sep 23, 2019 at 11:09:23AM +0100, Wei Liu wrote:
> > > > H
On Thu, Sep 26, 2019 at 10:45:40AM +0100, hong...@amazon.com wrote:
> From: Wei Liu
>
Please squash this patch to the previous patch.
Wei.
___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listin
On Thu, Sep 26, 2019 at 10:46:21AM +0100, hong...@amazon.com wrote:
> From: Hongyan Xia
>
> Not unmapping pages after map_xen_pagetable can leak the virtual address
> space over time.
I understand this part, but ...
> Also this fix makes vmap_to_mfn non-trivial to be a
> macro. There might be b
On Thu, Sep 26, 2019 at 10:46:22AM +0100, hong...@amazon.com wrote:
> From: Hongyan Xia
>
> Modify the pmap PTEs directly. Using set/clear_fixmap() may result in
> invocation loops.
>
Thanks. This is a good catch. I never got to test PMAP seriously.
This patch should be squashed into the patch
On Thu, Sep 26, 2019 at 10:46:23AM +0100, hong...@amazon.com wrote:
> From: Hongyan Xia
>
> Also fix a place where unmap_domain_page should only be conditionally
> used.
>
> Signed-off-by: Hongyan Xia
> ---
> xen/arch/x86/domain_page.c | 27 ---
> xen/arch/x86/mm.c
On Thu, Sep 26, 2019 at 10:46:26AM +0100, hong...@amazon.com wrote:
> From: Hongyan Xia
>
> Signed-off-by: Hongyan Xia
AIUI there is where we want to end up. I do wonder if this is the
correct place for this patch though. The bottom line is we need to make
sure the HVM path works before we can
On Thu, Sep 26, 2019 at 10:46:28AM +0100, hong...@amazon.com wrote:
> From: Hongyan Xia
>
> Signed-off-by: Hongyan Xia
> ---
> xen/arch/x86/domain_page.c | 8
> xen/arch/x86/x86_64/mm.c | 3 ++-
> xen/include/asm-x86/pmap.h | 4 ++--
> 3 files changed, 4 insertions(+), 11 deletions(-
On Thu, Sep 26, 2019 at 10:46:30AM +0100, hong...@amazon.com wrote:
> From: Hongyan Xia
>
> These are found in the NDEBUG build.
>
> Signed-off-by: Hongyan Xia
> ---
> xen/arch/x86/domain_page.c | 10 --
> 1 file changed, 10 deletions(-)
>
> diff --git a/xen/arch/x86/domain_page.c b/x
On Thu, Sep 26, 2019 at 10:46:34AM +0100, hong...@amazon.com wrote:
> From: Hongyan Xia
>
> Signed-off-by: Hongyan Xia
> ---
> xen/arch/x86/setup.c| 4 ++--
> xen/common/page_alloc.c | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/xen/arch/x86/setup.c b/xen/arch
On Thu, Sep 26, 2019 at 10:46:38AM +0100, hong...@amazon.com wrote:
> From: Hongyan Xia
>
> Signed-off-by: Hongyan Xia
> ---
> xen/arch/x86/mm.c | 36 ++--
> 1 file changed, 34 insertions(+), 2 deletions(-)
>
> diff --git a/xen/arch/x86/mm.c b/xen/arch/x86/mm.c
On Thu, Sep 26, 2019 at 10:46:39AM +0100, hong...@amazon.com wrote:
> From: Hongyan Xia
>
Assuming we end up keeping those calls, this patch should be squashed.
Wei.
___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.o
On Thu, Sep 26, 2019 at 10:46:40AM +0100, hong...@amazon.com wrote:
> From: Hongyan Xia
>
> Before, it assumed both cr3 could be accessed via a direct map. This is
> no longer true. Also, this means we can remove a xenheap mapping hack
> we introduced earlier when building the cr3 of dom0.
>
> S
On Thu, Sep 26, 2019 at 10:46:41AM +0100, hong...@amazon.com wrote:
> From: Hongyan Xia
>
> We have properly handled (un)mapping of pages in restore_all_guests.
> This hack is no longer required.
>
> Signed-off-by: Hongyan Xia
If you rearrange this series a bit you don't need this and the pat
On Thu, Sep 26, 2019 at 10:46:44AM +0100, hong...@amazon.com wrote:
> From: Hongyan Xia
>
> This also resolves a mapcache overflow bug.
This should be squashed into the patch that touched virt_to_mfn_walk.
Wei.
___
Xen-devel mailing list
Xen-devel@l
On Thu, Sep 26, 2019 at 10:46:43AM +0100, hong...@amazon.com wrote:
> From: Hongyan Xia
>
> This means we no longer have an always-mapped direct map now.
But why a dummy mapping is this needed at all? That's the same question
that was asked in a previous patch.
Wei.
___
On Thu, Sep 26, 2019 at 10:46:45AM +0100, hong...@amazon.com wrote:
> From: Hongyan Xia
> void unmap_domain_page(const void *ptr)
> diff --git a/xen/arch/x86/pv/dom0_build.c b/xen/arch/x86/pv/dom0_build.c
> index 1555a61b84..202edcaa17 100644
> --- a/xen/arch/x86/pv/dom0_build.c
> +++ b/xen/arch/
On Thu, Sep 26, 2019 at 10:46:46AM +0100, hong...@amazon.com wrote:
> From: Hongyan Xia
>
> Due to the limited PMAP entries, another pCPU is allowed to use PMAP
> only when the current pCPU has unmapped all mappings.
>
Under what condition would two pCPUs try to use PMAP at the same time?
Wei.
On Thu, Sep 26, 2019 at 10:46:47AM +0100, hong...@amazon.com wrote:
> From: Hongyan Xia
>
> Signed-off-by: Hongyan Xia
> ---
> xen/arch/x86/pv/dom0_build.c| 7 ---
> xen/include/asm-x86/processor.h | 2 --
> 2 files changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/xen/arch/x86
On Wed, Sep 25, 2019 at 12:48:42PM +0200, Roger Pau Monné wrote:
> On Mon, Sep 23, 2019 at 11:09:30AM +0100, Wei Liu wrote:
> > We use the same code structure as we did for Xen code.
> >
> > As starters, detect Hyper-V in probe_hyperv. More complex
> > functi
On Wed, Sep 25, 2019 at 12:39:11PM +0200, Roger Pau Monné wrote:
> On Mon, Sep 23, 2019 at 11:09:28AM +0100, Wei Liu wrote:
> > The only implementation there is Xen.
> >
> > No functional change.
> >
> > Signed-off-by: Wei Liu
> > ---
> > xen/arch/x
On Wed, Sep 25, 2019 at 12:44:27PM +0200, Roger Pau Monné wrote:
> On Mon, Sep 23, 2019 at 11:09:29AM +0100, Wei Liu wrote:
> > We need indication whether it has succeeded or not.
> >
> > Signed-off-by: Wei Liu
>
> The code LGTM, I have just a suggestion on the ap
On Wed, Sep 25, 2019 at 12:23:54PM +0200, Roger Pau Monné wrote:
> > -void __init probe_hypervisor(void)
> > +static void __init probe_xen(void)
>
> While here I would rename to xen_probe, to match with the other
> functions (ie: xen_setup below for example).
Sure. I can do that. I always thought
On Fri, Sep 27, 2019 at 01:41:59PM +0200, Roger Pau Monné wrote:
> > >
> > > I wonder, do you also require to map hypervisor data into the guest
> > > physmap when running on HyperV?
> > >
> >
> > Yes. There are a lot of comparable concepts in Hyper-V. For example,
> > there is a page called VP
On Fri, Sep 27, 2019 at 01:39:14PM +0200, Jan Beulich wrote:
> On 27.09.2019 13:30, Wei Liu wrote:
> > On Wed, Sep 25, 2019 at 12:23:54PM +0200, Roger Pau Monné wrote:
> >> Also it might be nice to introduce something like:
> >>
> >> enum guest_type {
&
On Fri, Sep 27, 2019 at 04:21:55PM +0200, Jan Beulich wrote:
> >
> > Marek Marczykowski-Górecki (4):
> > libxl: do not attach xen-pciback to HVM domain, if stubdomain is in use
> > libxl: attach PCI device to qemu only after setting pciback/pcifront
> > libxl: don't try to manipulate json co
ASM_CALL_CONSTRAINT is defined there.
No functional change.
Signed-off-by: Wei Liu
Reviewed-by: Roger Pau Monné
---
xen/include/asm-x86/guest/hypercall.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/xen/include/asm-x86/guest/hypercall.h
b/xen/include/asm-x86/guest/hypercall.h
index
The only user is Xen specific code in PV shim. We can therefore export
the variable directly.
Signed-off-by: Wei Liu
Reviewed-by: Roger Pau Monné
---
xen/arch/x86/guest/xen/xen.c| 7 +--
xen/arch/x86/pv/shim.c | 2 +-
xen/include/asm-x86/guest/xen.h | 2 +-
3 files changed, 3
We will soon implement Hyper-V support for Xen. Add a framework for
that.
This requires moving some of the hypervisor_* functions from xen.h to
hypervisor.h.
Signed-off-by: Wei Liu
---
xen/arch/x86/guest/Makefile| 2 +
xen/arch/x86/guest/hypervisor.c| 45
nd to post
patches piece meal when they are ready.
Questions and comments are welcome.
Thanks,
Wei.
---
Changes in v2:
1. Introduce and use a hypervisor framework
2. Keep memmap infra under Xen for now
Cc: Jan Beulich
Cc: Andrew Cooper
Cc: Wei Liu
Cc: Roger Pau Monné
Wei Liu (9):
x86:
We use the same code structure as we die for Xen.
As starters, detect Hyper-V in probe routine. More complex
functionalities will be added later.
Signed-off-by: Wei Liu
---
xen/arch/x86/Kconfig | 9
xen/arch/x86/guest/Makefile| 1 +
xen/arch/x86/guest/hyperv
Xen is able to run as a guest on Xen. We plan to make it able to run
on Hyper-V as well.
Introduce CONFIG_GUEST which is set to true if either running on Xen
or Hyper-V is desired. Restructure code hierarchy for new code to
come.
No functional change intended.
Signed-off-by: Wei Liu
Reviewed
We need ASSERT_UNREACHABLE.
Signed-off-by: Wei Liu
---
xen/include/asm-x86/guest/hypercall.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/xen/include/asm-x86/guest/hypercall.h
b/xen/include/asm-x86/guest/hypercall.h
index c9deca6ffc..d0d2f5022d 100644
--- a/xen/include/asm-x86/guest
interfaces.
They aren't trivial, and time can be scarce on my side, so I intend to post
patches piece meal when they are ready.
Questions and comments are welcome.
Thanks,
Wei.
Cc: Jan Beulich
Cc: Andrew Cooper
Cc: Wei Liu
Cc: Roger Pau Monné
Wei Liu (8):
x86: introduce CONFIG_GUES
They are used in Xen code only.
No functional change.
Signed-off-by: Wei Liu
---
xen/arch/x86/guest/xen/xen.c| 6 +++---
xen/arch/x86/pv/shim.c | 4 ++--
xen/include/asm-x86/guest/xen.h | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/xen/arch/x86/guest/xen
Take the chance to change probe_hypervisor to hypervisor_probe.
Signed-off-by: Wei Liu
---
xen/arch/x86/guest/hypervisor.c | 31 +--
xen/arch/x86/guest/xen/pvh-boot.c | 2 +-
xen/arch/x86/guest/xen/xen.c | 26 ++
xen/arch/x86/setup.c
Signed-off-by: Wei Liu
---
xen/arch/x86/guest/hypervisor.c| 5 +
xen/arch/x86/setup.c | 6 +-
xen/include/asm-x86/guest/hypervisor.h | 2 ++
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/xen/arch/x86/guest/hypervisor.c b/xen/arch/x86/guest
On Mon, Sep 30, 2019 at 04:00:43PM +0100, Wei Liu wrote:
> We use the same code structure as we die for Xen.
Urgh. There is a rather unfortunate typo. No software is worth dying
for. :-)
Wei.
___
Xen-devel mailing list
Xen-devel@lists.xenproject.
On Mon, Sep 30, 2019 at 11:32:53AM +0100, Hongyan Xia wrote:
> From: Wei Liu
>
> Defer the call to clear_page to the point when we're sure the page is
> going to become a page table.
>
> This is a minor optimisation. No functional change.
>
> Signed-off-by: Wei Li
On Thu, May 02, 2019 at 09:43:17PM +0100, Julien Grall wrote:
> (+ Wei)
>
> On 5/2/19 5:55 PM, Viktor Mitin wrote:
> > Hi Julien,
>
> Hi,
>
> > Please find trace log below:
> >
> > root@h3ulcb:~# xencov reset
> > (XEN) Data Abort Trap. Syndrome=0x7
> > (XEN) Walking Hypervisor VA 0x361700 on CP
On Fri, May 03, 2019 at 02:35:08PM +0100, Julien Grall wrote:
> Hi Wei,
>
> On 5/3/19 12:08 PM, Wei Liu wrote:
> > On Thu, May 02, 2019 at 09:43:17PM +0100, Julien Grall wrote:
> > > (+ Wei)
> > >
> > > On 5/2/19 5:55 PM, Viktor Mitin
On Fri, May 03, 2019 at 03:16:52PM +0100, Julien Grall wrote:
> > > diff --git a/xen/common/libfdt/Makefile b/xen/common/libfdt/Makefile
> > > index d81f54b6b8..c075bbf546 100644
> > > --- a/xen/common/libfdt/Makefile
> > > +++ b/xen/common/libfdt/Makefile
> > > @@ -3,6 +3,7 @@ include Makefile.lib
On Tue, May 07, 2019 at 10:55:51AM +0100, George Dunlap wrote:
> On 5/6/19 1:46 PM, Eslam Elnikety wrote:
> > Give the administrator further control on when to scrub domheap pages by
> > adding
> > an option to always scrub. This is a safety feature that, when enabled,
> > prevents a (buggy) domai
On Tue, May 07, 2019 at 08:35:48AM +, Eslam Elnikety wrote:
> Each HVM guest currently gets a vkbd frontend/backend pair (c/s ebbd2561b4c).
> This consumes host resources unnecessarily for guests that have no use for
> vkbd. Make this behaviour tunable to allow an administrator to choose. The
>
It broke Windows installation. More investigation is needed. Don't
enable it by default.
Signed-off-by: Wei Liu
---
Cc: Ian Jackson
Cc: Paul Durrant
Cc: Juergen Gross
---
tools/libxl/libxl_dom.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/libxl/libxl_dom.c b/tools/
072a96c4901 used `git clean -ffdx` which caused the log to be deleted.
Generate the log in the parent directory then move it back.
Signed-off-by: Wei Liu
---
automation/gitlab-ci/test.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/automation/gitlab-ci/test.yaml b
> Signed-off-by: Jan Beulich
Reviewed-by: Wei Liu
___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
1 - 100 of 3726 matches
Mail list logo