Re: [Xen-devel] [PATCH 2/2] xen/x86: hap: Clean-up and harden hap_enable()

2020-02-04 Thread Roger Pau Monné
On Tue, Feb 04, 2020 at 09:34:11AM +, Julien Grall wrote: > From: Julien Grall > > Unlike shadow_enable(), hap_enable() can only be called once during > domain creation and with the mode equal to mode equal to ^ equals to > PG_external | PG_translate |

Re: [Xen-devel] [PATCH v3 4/9] xen: add basic hypervisor filesystem support

2020-02-04 Thread Jürgen Groß
On 04.02.20 10:58, Jan Beulich wrote: On 04.02.2020 10:21, Jürgen Groß wrote: On 04.02.20 09:48, Jan Beulich wrote: On 04.02.2020 07:43, Jürgen Groß wrote: On 03.02.20 16:07, Jan Beulich wrote: On 21.01.2020 09:43, Juergen Gross wrote: +static int hypfs_read(const struct hypfs_entry *entry,

Re: [Xen-devel] [PATCH 1/2] xen/x86: hap: Fix coding style in hap_enable()

2020-02-04 Thread Roger Pau Monné
On Tue, Feb 04, 2020 at 09:34:10AM +, Julien Grall wrote: > From: Julien Grall > > Signed-off-by: Julien Grall Reviewed-by: Roger Pau Monné Thanks, Roger. ___ Xen-devel mailing list Xen-devel@lists.xenproject.org

Re: [Xen-devel] [PATCH v2 1/4] x86/vvmx: fix virtual interrupt injection when Ack on exit control is used

2020-02-04 Thread Tian, Kevin
> From: Jan Beulich > Sent: Tuesday, February 4, 2020 5:50 PM > > On 04.02.2020 10:23, Roger Pau Monné wrote: > > On Tue, Feb 04, 2020 at 01:35:05AM +, Tian, Kevin wrote: > >>> From: Roger Pau Monne > >>> Sent: Monday, February 3, 2020 8:19 PM > >>> > >>> When doing a virtual vmexit (ie: a

Re: [Xen-devel] [PATCH v3 4/9] xen: add basic hypervisor filesystem support

2020-02-04 Thread Jan Beulich
On 04.02.2020 10:21, Jürgen Groß wrote: > On 04.02.20 09:48, Jan Beulich wrote: >> On 04.02.2020 07:43, Jürgen Groß wrote: >>> On 03.02.20 16:07, Jan Beulich wrote: On 21.01.2020 09:43, Juergen Gross wrote: > +static int hypfs_read(const struct hypfs_entry *entry, > +

Re: [Xen-devel] [PATCH v2 1/4] x86/vvmx: fix virtual interrupt injection when Ack on exit control is used

2020-02-04 Thread Jan Beulich
On 04.02.2020 10:23, Roger Pau Monné wrote: > On Tue, Feb 04, 2020 at 01:35:05AM +, Tian, Kevin wrote: >>> From: Roger Pau Monne >>> Sent: Monday, February 3, 2020 8:19 PM >>> >>> When doing a virtual vmexit (ie: a vmexit handled by the L1 VMM) >>> interrupts shouldn't be injected using the

Re: [Xen-devel] [PATCH v3 2/2] INSTALL: Mention kconfig

2020-02-04 Thread Jan Beulich
On 04.02.2020 10:34, Ian Jackson wrote: > From: Ian Jackson > > Firstly, add a reference to the documentation for the kconfig system. > > Secondly, warn the user about the XEN_CONFIG_EXPERT problem. > > Signed-off-by: Ian Jackson > Reviewed-by: Doug Goldstein Just in case it helps:

Re: [Xen-devel] [PATCH v3 2/2] nvmx: always trap accesses to x2APIC MSRs

2020-02-04 Thread Jan Beulich
On 03.02.2020 18:37, Roger Pau Monne wrote: > @@ -587,6 +588,16 @@ static void update_msrbitmap(struct vcpu *v, uint32_t > shadow_ctrl) >v->arch.hvm.vmx.msr_bitmap->write_high, >sizeof(msr_bitmap->write_high) * 8); > > +/* > + * Nested VMX doesn't support

[Xen-devel] [PATCH v3 2/2] INSTALL: Mention kconfig

2020-02-04 Thread Ian Jackson
From: Ian Jackson Firstly, add a reference to the documentation for the kconfig system. Secondly, warn the user about the XEN_CONFIG_EXPERT problem. Signed-off-by: Ian Jackson Reviewed-by: Doug Goldstein --- v2: Fix typos --- INSTALL | 20 1 file changed, 20

[Xen-devel] [PATCH v3 0/2] Two upstream fixes from Debian

2020-02-04 Thread Ian Jackson
These were posted before in October 2018 but never made it upstream for some reason. They seem to have been sufficiently reviewed, and I intend to commit them soon. I'm reposting now, with no changes, in case anyone wants to object. Ian Jackson (1): INSTALL: Mention kconfig Stefan Bader (1):

[Xen-devel] [PATCH v3 1/2] tools/xenstore: Re-introduce (fake) xs_restrict call to preserve ABI

2020-02-04 Thread Ian Jackson
From: Stefan Bader libxenstore3.0 in Xen 4.8 had this function. We don't really want to bump the ABI version (soname) just for this, since we don't think there are actual callers anywhere. But tools complain about the symbol going away. So, provide a function xs_restrict which conforms to the

[Xen-devel] [PATCH 2/2] xen/x86: hap: Clean-up and harden hap_enable()

2020-02-04 Thread Julien Grall
From: Julien Grall Unlike shadow_enable(), hap_enable() can only be called once during domain creation and with the mode equal to mode equal to PG_external | PG_translate | PG_refcounts. If it were called twice, then we might have something interesting problem as the p2m tables would be

[Xen-devel] [PATCH 1/2] xen/x86: hap: Fix coding style in hap_enable()

2020-02-04 Thread Julien Grall
From: Julien Grall Signed-off-by: Julien Grall --- xen/arch/x86/mm/hap/hap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/mm/hap/hap.c b/xen/arch/x86/mm/hap/hap.c index 3d93f3451c..31362a31b6 100644 --- a/xen/arch/x86/mm/hap/hap.c +++

[Xen-devel] [PATCH 0/2] xen/x86: hap: Small clean-up/hardening in hap_enable()

2020-02-04 Thread Julien Grall
From: Julien Grall Hi all, This series contain a couple of clean-up/hardening for the function hap_enable(). Cheers, Julien Grall (2): xen/x86: hap: Fix coding style in hap_enable() xen/x86: hap: Clean-up and harden hap_enable() xen/arch/x86/mm/hap/hap.c | 21 + 1

Re: [Xen-devel] [PATCH v3 1/2] nvmx: implement support for MSR bitmaps

2020-02-04 Thread Jan Beulich
On 03.02.2020 18:37, Roger Pau Monne wrote: > @@ -182,6 +192,11 @@ void nvmx_vcpu_destroy(struct vcpu *v) > free_domheap_page(v->arch.hvm.vmx.vmwrite_bitmap); > v->arch.hvm.vmx.vmwrite_bitmap = NULL; > } > +if ( nvmx->msr_merged ) > +{ > +

Re: [Xen-devel] [PATCH v2 2/4] x86/vvmx: fix VM_EXIT_ACK_INTR_ON_EXIT handling

2020-02-04 Thread Roger Pau Monné
On Tue, Feb 04, 2020 at 01:39:44AM +, Tian, Kevin wrote: > > From: Roger Pau Monne > > Sent: Monday, February 3, 2020 8:19 PM > > > > When VM_EXIT_ACK_INTR_ON_EXIT is set in the vmexit control vmcs > > set->cleared > > > register the bit 31 of VM_EXIT_INTR_INFO must be 0, in order to

Re: [Xen-devel] [PATCH v2 1/4] x86/vvmx: fix virtual interrupt injection when Ack on exit control is used

2020-02-04 Thread Roger Pau Monné
On Tue, Feb 04, 2020 at 01:35:05AM +, Tian, Kevin wrote: > > From: Roger Pau Monne > > Sent: Monday, February 3, 2020 8:19 PM > > > > When doing a virtual vmexit (ie: a vmexit handled by the L1 VMM) > > interrupts shouldn't be injected using the virtual interrupt delivery > > mechanism

Re: [Xen-devel] [PATCH v3 4/9] xen: add basic hypervisor filesystem support

2020-02-04 Thread Jürgen Groß
On 04.02.20 09:48, Jan Beulich wrote: On 04.02.2020 07:43, Jürgen Groß wrote: On 03.02.20 16:07, Jan Beulich wrote: On 21.01.2020 09:43, Juergen Gross wrote: +static int hypfs_read(const struct hypfs_entry *entry, + XEN_GUEST_HANDLE_PARAM(void) uaddr, unsigned long ulen)

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

2020-02-04 Thread osstest service owner
flight 146717 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/146717/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64 6 xen-buildfail REGR. vs. 144861 build-arm64-xsm

Re: [Xen-devel] XEN Qdisk Ceph rbd support broken?

2020-02-04 Thread Durrant, Paul
De-htmling... --- From: Xen-devel On Behalf Of Jules Sent: 03 February 2020 17:35 To: xen-devel@lists.xenproject.org Cc: oleksandr_gryt...@epam.com; w...@xen.org Subject: [Xen-devel] XEN Qdisk Ceph rbd support broken? Hey, I don’t know if it was this or a previous change in qdisk driver, but

Re: [Xen-devel] [PATCH v3 4/9] xen: add basic hypervisor filesystem support

2020-02-04 Thread Jan Beulich
On 04.02.2020 07:43, Jürgen Groß wrote: > On 03.02.20 16:07, Jan Beulich wrote: >> On 21.01.2020 09:43, Juergen Gross wrote: >>> +static int hypfs_read(const struct hypfs_entry *entry, >>> + XEN_GUEST_HANDLE_PARAM(void) uaddr, unsigned long >>> ulen) >>> +{ >>> +struct

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

2020-02-04 Thread osstest service owner
flight 146716 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/146716/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 145767 Tests which did not

Re: [Xen-devel] PV DRM doesn't work without auto_translated_physmap feature in Dom0

2020-02-04 Thread Santucco
Hello,   displ_be was compiled without zero-copy support early. I have tried with the recompiled dom0 kernel, a result is the same.   Logs and configs (+displ_be’s CMakeCache.txt ) are attached.     Best regards, Alexander     >Понедельник, 3 февраля 2020, 10:36 +03:00 от Oleksandr Andrushchenko

<    1   2