Re: [Xen-devel] [Bug] Intel RMRR support with upstream Qemu

2017-07-25 Thread Andrew Cooper
On 25/07/17 17:40, Alexey G wrote: > On Mon, 24 Jul 2017 21:39:08 +0100 > Igor Druzhinin wrote: >>> But, the problem is that overall MMIO hole(s) requirements are not known >>> exactly at the time the HVM domain being created. Some PCI devices will >>> be emulated, some will be merely passed throu

Re: [Xen-devel] [Bug] Intel RMRR support with upstream Qemu

2017-07-25 Thread Igor Druzhinin
On 25/07/17 17:40, Alexey G wrote: > On Mon, 24 Jul 2017 21:39:08 +0100 > Igor Druzhinin wrote: >>> But, the problem is that overall MMIO hole(s) requirements are not known >>> exactly at the time the HVM domain being created. Some PCI devices will >>> be emulated, some will be merely passed throu

Re: [Xen-devel] [Bug] Intel RMRR support with upstream Qemu

2017-07-25 Thread Alexey G
On Tue, 25 Jul 2017 15:13:17 +0100 Igor Druzhinin wrote: > >> The algorithm implemented in hvmloader for that is not complicated and > >> can be moved to libxl easily. What we can do is to provision a hole big > >> enough to include all the initially assigned PCI devices. We can also > >> account

Re: [Xen-devel] [Bug] Intel RMRR support with upstream Qemu

2017-07-25 Thread Alexey G
On Mon, 24 Jul 2017 21:39:08 +0100 Igor Druzhinin wrote: > > But, the problem is that overall MMIO hole(s) requirements are not known > > exactly at the time the HVM domain being created. Some PCI devices will > > be emulated, some will be merely passed through and yet there will be > > some RMRR

Re: [Xen-devel] [Bug] Intel RMRR support with upstream Qemu

2017-07-25 Thread Igor Druzhinin
On 25/07/17 08:03, Zhang, Xiong Y wrote: >> On 24/07/17 17:42, Alexey G wrote: >>> Hi, >>> >>> On Mon, 24 Jul 2017 10:53:16 +0100 >>> Igor Druzhinin wrote: > [Zhang, Xiong Y] Thanks for your suggestion. > Indeed, if I set mmi_hole >= 4G - RMRR_Base, this could fix my issue. > For this

Re: [Xen-devel] [Bug] Intel RMRR support with upstream Qemu

2017-07-25 Thread Zhang, Xiong Y
> On 24/07/17 17:42, Alexey G wrote: > > Hi, > > > > On Mon, 24 Jul 2017 10:53:16 +0100 > > Igor Druzhinin wrote: > >>> [Zhang, Xiong Y] Thanks for your suggestion. > >>> Indeed, if I set mmi_hole >= 4G - RMRR_Base, this could fix my issue. > >>> For this I still have two questions, could you help

Re: [Xen-devel] [Bug] Intel RMRR support with upstream Qemu

2017-07-24 Thread Zhang, Xiong Y
> On Mon, 24 Jul 2017 08:07:02 + > "Zhang, Xiong Y" wrote: > > > [Zhang, Xiong Y] Thanks for your suggestion. > > Indeed, if I set mmi_hole >= 4G - RMRR_Base, this could fix my issue. > > For this I still have two questions, could you help me ? > > 1) If hvmloader do low memory relocation, hv

Re: [Xen-devel] [Bug] Intel RMRR support with upstream Qemu

2017-07-24 Thread Igor Druzhinin
On 24/07/17 17:42, Alexey G wrote: > Hi, > > On Mon, 24 Jul 2017 10:53:16 +0100 > Igor Druzhinin wrote: >>> [Zhang, Xiong Y] Thanks for your suggestion. >>> Indeed, if I set mmi_hole >= 4G - RMRR_Base, this could fix my issue. >>> For this I still have two questions, could you help me ? >>> 1) If

Re: [Xen-devel] [Bug] Intel RMRR support with upstream Qemu

2017-07-24 Thread Alexey G
On Mon, 24 Jul 2017 18:01:39 +0100 Andrew Cooper wrote: > On 24/07/17 17:42, Alexey G wrote: > > Hi, > > > > On Mon, 24 Jul 2017 10:53:16 +0100 > > Igor Druzhinin wrote: > >>> [Zhang, Xiong Y] Thanks for your suggestion. > >>> Indeed, if I set mmi_hole >= 4G - RMRR_Base, this could fix my issue

Re: [Xen-devel] [Bug] Intel RMRR support with upstream Qemu

2017-07-24 Thread Andrew Cooper
On 24/07/17 17:42, Alexey G wrote: > Hi, > > On Mon, 24 Jul 2017 10:53:16 +0100 > Igor Druzhinin wrote: >>> [Zhang, Xiong Y] Thanks for your suggestion. >>> Indeed, if I set mmi_hole >= 4G - RMRR_Base, this could fix my issue. >>> For this I still have two questions, could you help me ? >>> 1) If

Re: [Xen-devel] [Bug] Intel RMRR support with upstream Qemu

2017-07-24 Thread Alexey G
Hi, On Mon, 24 Jul 2017 10:53:16 +0100 Igor Druzhinin wrote: > > [Zhang, Xiong Y] Thanks for your suggestion. > > Indeed, if I set mmi_hole >= 4G - RMRR_Base, this could fix my issue. > > For this I still have two questions, could you help me ? > > 1) If hvmloader do low memory relocation, hvmloa

Re: [Xen-devel] [Bug] Intel RMRR support with upstream Qemu

2017-07-24 Thread Alexey G
Hi, On Mon, 24 Jul 2017 08:07:02 + "Zhang, Xiong Y" wrote: > [Zhang, Xiong Y] Thanks for your suggestion. > Indeed, if I set mmi_hole >= 4G - RMRR_Base, this could fix my issue. > For this I still have two questions, could you help me ? > 1) If hvmloader do low memory relocation, hvmloader a

Re: [Xen-devel] [Bug] Intel RMRR support with upstream Qemu

2017-07-24 Thread Zhang, Xiong Y
> On 24/07/17 09:07, Zhang, Xiong Y wrote: > >>> On Fri, 21 Jul 2017 10:57:55 + > >>> "Zhang, Xiong Y" wrote: > >>> > On an intel skylake machine with upstream qemu, if I add > "rdm=strategy=host, policy=strict" to hvm.cfg, win 8.1 DomU couldn't > boot up and continues reboot. >

Re: [Xen-devel] [Bug] Intel RMRR support with upstream Qemu

2017-07-24 Thread Igor Druzhinin
On 24/07/17 09:07, Zhang, Xiong Y wrote: >>> On Fri, 21 Jul 2017 10:57:55 + >>> "Zhang, Xiong Y" wrote: >>> On an intel skylake machine with upstream qemu, if I add "rdm=strategy=host, policy=strict" to hvm.cfg, win 8.1 DomU couldn't boot up and continues reboot. Steps

Re: [Xen-devel] [Bug] Intel RMRR support with upstream Qemu

2017-07-24 Thread Zhang, Xiong Y
> > On Fri, 21 Jul 2017 10:57:55 + > > "Zhang, Xiong Y" wrote: > > > > > On an intel skylake machine with upstream qemu, if I add > > > "rdm=strategy=host, policy=strict" to hvm.cfg, win 8.1 DomU couldn't > > > boot up and continues reboot. > > > > > > Steps to reproduce this issue: > > > > >

Re: [Xen-devel] [Bug] Intel RMRR support with upstream Qemu

2017-07-21 Thread Alexey G
> On Fri, 21 Jul 2017 10:57:55 + > "Zhang, Xiong Y" wrote: > > > On an intel skylake machine with upstream qemu, if I add > > "rdm=strategy=host, policy=strict" to hvm.cfg, win 8.1 DomU couldn't > > boot up and continues reboot. > > > > Steps to reproduce this issue: > > > > 1) Boot x

Re: [Xen-devel] [Bug] Intel RMRR support with upstream Qemu

2017-07-21 Thread Alexey G
Hi, On Fri, 21 Jul 2017 10:57:55 + "Zhang, Xiong Y" wrote: > On an intel skylake machine with upstream qemu, if I add > "rdm=strategy=host, policy=strict" to hvm.cfg, win 8.1 DomU couldn't boot > up and continues reboot. > > Steps to reproduce this issue: > > 1) Boot xen with iommu=1

[Xen-devel] [Bug] Intel RMRR support with upstream Qemu

2017-07-21 Thread Zhang, Xiong Y
On an intel skylake machine with upstream qemu, if I add "rdm=strategy=host, policy=strict" to hvm.cfg, win 8.1 DomU couldn't boot up and continues reboot. Steps to reproduce this issue: 1) Boot xen with iommu=1 to enable iommu 2) hvm.cfg contain: builder="hvm" memory= disk=[