[PATCH] SUPPORT: Add linux device model stubdom to Toolstack

Jason Andryuk posted 1 patch 3 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/20200525025506.225959-1-jandryuk@gmail.com
Maintainers: Andrew Cooper <andrew.cooper3@citrix.com>, Stefano Stabellini <sstabellini@kernel.org>, Wei Liu <wl@xen.org>, Julien Grall <julien@xen.org>, Ian Jackson <ian.jackson@eu.citrix.com>, George Dunlap <george.dunlap@citrix.com>, Jan Beulich <jbeulich@suse.com>
SUPPORT.md | 6 ++++++
1 file changed, 6 insertions(+)
[PATCH] SUPPORT: Add linux device model stubdom to Toolstack
Posted by Jason Andryuk 3 years, 11 months ago
Add qemu-xen linux device model stubdomain to the Toolstack section as a
Tech Preview.

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
---
 SUPPORT.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/SUPPORT.md b/SUPPORT.md
index e3a366fd56..25becc9192 100644
--- a/SUPPORT.md
+++ b/SUPPORT.md
@@ -153,6 +153,12 @@ Go (golang) bindings for libxl
 
     Status: Experimental
 
+### Linux device model stubdomains
+
+Support for running qemu-xen device model in a linux stubdomain.
+
+    Status: Tech Preview
+
 ## Toolstack/3rd party
 
 ### libvirt driver for xl
-- 
2.25.1


Re: [PATCH] SUPPORT: Add linux device model stubdom to Toolstack
Posted by Wei Liu 3 years, 11 months ago
On Sun, May 24, 2020 at 10:55:06PM -0400, Jason Andryuk wrote:
> Add qemu-xen linux device model stubdomain to the Toolstack section as a
> Tech Preview.
> 
> Signed-off-by: Jason Andryuk <jandryuk@gmail.com>

Not really related to this patch: Could you please also send a patch to
CHANGELOG.md?

Wei.

> ---
>  SUPPORT.md | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/SUPPORT.md b/SUPPORT.md
> index e3a366fd56..25becc9192 100644
> --- a/SUPPORT.md
> +++ b/SUPPORT.md
> @@ -153,6 +153,12 @@ Go (golang) bindings for libxl
>  
>      Status: Experimental
>  
> +### Linux device model stubdomains
> +
> +Support for running qemu-xen device model in a linux stubdomain.
> +
> +    Status: Tech Preview
> +
>  ## Toolstack/3rd party
>  
>  ### libvirt driver for xl
> -- 
> 2.25.1
> 

Re: [PATCH] SUPPORT: Add linux device model stubdom to Toolstack
Posted by Ian Jackson 3 years, 11 months ago
Jason Andryuk writes ("[PATCH] SUPPORT: Add linux device model stubdom to Toolstack"):
> Add qemu-xen linux device model stubdomain to the Toolstack section as a
> Tech Preview.

Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>

Re: [PATCH] SUPPORT: Add linux device model stubdom to Toolstack
Posted by Jason Andryuk 3 years, 6 months ago
On Tue, May 26, 2020 at 10:13 AM Ian Jackson <ian.jackson@citrix.com> wrote:
>
> Jason Andryuk writes ("[PATCH] SUPPORT: Add linux device model stubdom to Toolstack"):
> > Add qemu-xen linux device model stubdomain to the Toolstack section as a
> > Tech Preview.
>
> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>

Hi, this never got applied.  It should go to staging and 4.14.

Regards,
Jason

Re: [PATCH] SUPPORT: Add linux device model stubdom to Toolstack
Posted by Julien Grall 3 years, 6 months ago
Hi Jason,

On 20/10/2020 14:27, Jason Andryuk wrote:
> On Tue, May 26, 2020 at 10:13 AM Ian Jackson <ian.jackson@citrix.com> wrote:
>>
>> Jason Andryuk writes ("[PATCH] SUPPORT: Add linux device model stubdom to Toolstack"):
>>> Add qemu-xen linux device model stubdomain to the Toolstack section as a
>>> Tech Preview.
>>
>> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
> 
> Hi, this never got applied.  It should go to staging and 4.14.

Sorry this fell through the cracks. I have committed it with the 
existing Acks.

Regarding 4.14, this would need to go through a backport request.

Cheers,

-- 
Julien Grall

Re: [PATCH] SUPPORT: Add linux device model stubdom to Toolstack
Posted by George Dunlap 3 years, 11 months ago

> On May 25, 2020, at 3:55 AM, Jason Andryuk <jandryuk@gmail.com> wrote:
> 
> Add qemu-xen linux device model stubdomain to the Toolstack section as a
> Tech Preview.
> 
> Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
> ---
> SUPPORT.md | 6 ++++++
> 1 file changed, 6 insertions(+)
> 
> diff --git a/SUPPORT.md b/SUPPORT.md
> index e3a366fd56..25becc9192 100644
> --- a/SUPPORT.md
> +++ b/SUPPORT.md
> @@ -153,6 +153,12 @@ Go (golang) bindings for libxl
> 
>     Status: Experimental
> 
> +### Linux device model stubdomains
> +
> +Support for running qemu-xen device model in a linux stubdomain.
> +
> +    Status: Tech Preview

Acked-by: George Dunlap <george.dunlap@citrix.com>

Out of curiosity, what do you think is missing to be able to declare this ‘Supported’?  Are there any features missing, or do we just  need to add a test to osstest?

 -George
Re: [PATCH] SUPPORT: Add linux device model stubdom to Toolstack
Posted by Ian Jackson 3 years, 11 months ago
George Dunlap writes ("Re: [PATCH] SUPPORT: Add linux device model stubdom to Toolstack"):
> Acked-by: George Dunlap <george.dunlap@citrix.com>
> 
> Out of curiosity, what do you think is missing to be able to declare this ‘Supported’?  Are there any features missing, or do we just  need to add a test to osstest?

I think from my point of view that is all that would be sufficient but
others may have other concerns.

Ian.

Re: [PATCH] SUPPORT: Add linux device model stubdom to Toolstack
Posted by Jason Andryuk 3 years, 11 months ago
On Tue, May 26, 2020 at 6:50 AM George Dunlap <George.Dunlap@citrix.com> wrote:
>
>
>
> > On May 25, 2020, at 3:55 AM, Jason Andryuk <jandryuk@gmail.com> wrote:
> >
> > Add qemu-xen linux device model stubdomain to the Toolstack section as a
> > Tech Preview.
> >
> > Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
> > ---
> > SUPPORT.md | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/SUPPORT.md b/SUPPORT.md
> > index e3a366fd56..25becc9192 100644
> > --- a/SUPPORT.md
> > +++ b/SUPPORT.md
> > @@ -153,6 +153,12 @@ Go (golang) bindings for libxl
> >
> >     Status: Experimental
> >
> > +### Linux device model stubdomains
> > +
> > +Support for running qemu-xen device model in a linux stubdomain.
> > +
> > +    Status: Tech Preview
>
> Acked-by: George Dunlap <george.dunlap@citrix.com>
>
> Out of curiosity, what do you think is missing to be able to declare this ‘Supported’?  Are there any features missing, or do we just  need to add a test to osstest?

Yeah, adding testing would be good.  From this list of limitations:
 - PCI passthrough require permissive mode
 - at most 26 emulated disks are supported (more are still available
as PV disks)
 - only one nic is supported
 - graphics output (VNC/SDL/Spice) not supported

PCI passthrough requiring permissive mode is fine for now.  26
emulated disks is probably fine forever.  We should have support for
multiple nics, and I have a idea for that.

The lack of graphics output is probably the biggest limitation at this time.

Regards,
Jason