[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT PATCH 0/6] Enable solo5 platform support



Hi,
 
Haibo:
This is great! the patch does look surprisingly small.
 
Simon:
- Is the sub repository of solo5 needed? Maybe Ricardo can answer this: Is it natural for solo5 to build guest and monitor (e.g., solo5-hvt) together? I thought we could keep these two things separated but maybe I am wrong.
Yes, that's what other unikernels do as well (build both the guest library and monitor). Mixing a monitor and guest library (solo5.o) of different versions is not supported.
 
Thanks,
Ricardo
----- Original message -----
From: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
To: Haibo Xu <haibo.xu@xxxxxxx>, "minios-devel@xxxxxxxxxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxxxxxxxxx>
Cc: Felipe Huici <Felipe.Huici@xxxxxxxxx>, Florian Schmidt <Florian.Schmidt@xxxxxxxxx>, "kollerr@xxxxxxxxxx" <kollerr@xxxxxxxxxx>
Subject: Re: [Minios-devel] [UNIKRAFT PATCH 0/6] Enable solo5 platform support
Date: Wed, Mar 13, 2019 9:19 AM
 
Hey Haibo,

thanks a lot for providing this patch series! It doesn't seem to require much code, this looks good. ;-)

I have some questions to this port:
- Is the sub repository of solo5 needed? Maybe Ricardo can answer this: Is it natural for solo5 to build guest and monitor (e.g., solo5-hvt) together? I thought we could keep these two things separated but maybe I am wrong.

 - I would exclude block and networking for the beginning. I saw that the built image require both to be attached right now. Ideally, that should happen when you explicitly enable networking, block, etc. in the platform configuration. When enabled, Solo5 networking should be represented as libuknetdev device so that it can be utilized the same way as networking on other platforms. Block-I/O should be done similarly. As site note, we are currently working on a similar abstraction for block device drivers that will go upstream soon.

Thanks a lot,

Simon

Start without netwotking and block / add this as dep only when needed.
Add networking thorugh libuknetdev.

On 11.03.19, 02:23, "Minios-devel on behalf of Haibo Xu" <minios-devel-bounces@xxxxxxxxxxxxxxxxxxxx on behalf of haibo.xu@xxxxxxx> wrote:

    Hi,
    
    As discussed with Simon and Ricardo in the email loop,
    Solo5(formerly known as ukvm) would make most sense as
    another and new platform library for the unikraft, this
    patch set will try to enable the solo5 platform support.
    
    Currently, the implementation has been tested with the
    hello-world application on both x86-64 and arm64 machine.
    
    Regards,
    
    Haibo
    
    Haibo Xu (6):
      plat/solo5: Add solo5 source code as a submodule
      plat/solo5: Add solo5 platform Config.uk file
      plat/solo5: Add solo5 platform link files.
      plat/solo5: Add solo5 platform Makefile.uk
      plat/solo5: Add the solo5 API declaration in solo5.h
      plat/solo5: Add platform interface implementation
    
     .gitmodules                      |   3 +
     plat/Config.uk                   |   1 +
     plat/Linker.uk                   |   1 +
     plat/Makefile.uk                 |   1 +
     plat/solo5/Config.uk             |   8 +
     plat/solo5/Linker.uk             |  79 +++++++++
     plat/solo5/Makefile.uk           |  30 ++++
     plat/solo5/console.c             |  45 +++++
     plat/solo5/include/solo5/setup.h |  49 ++++++
     plat/solo5/include/solo5/solo5.h | 280 +++++++++++++++++++++++++++++++
     plat/solo5/io.c                  |  41 +++++
     plat/solo5/irq.c                 |  28 ++++
     plat/solo5/lcpu.c                |  75 +++++++++
     plat/solo5/link64.lds            |  94 +++++++++++
     plat/solo5/memory.c              |  81 +++++++++
     plat/solo5/setup.c               |  42 +++++
     plat/solo5/shutdown.c            |  37 ++++
     plat/solo5/src-solo5             |   1 +
     plat/solo5/time.c                |  56 +++++++
     19 files changed, 952 insertions(+)
     create mode 100644 .gitmodules
     create mode 100644 plat/solo5/Config.uk
     create mode 100644 plat/solo5/Linker.uk
     create mode 100644 plat/solo5/Makefile.uk
     create mode 100644 plat/solo5/console.c
     create mode 100644 plat/solo5/include/solo5/setup.h
     create mode 100644 plat/solo5/include/solo5/solo5.h
     create mode 100644 plat/solo5/io.c
     create mode 100644 plat/solo5/irq.c
     create mode 100644 plat/solo5/lcpu.c
     create mode 100644 plat/solo5/link64.lds
     create mode 100644 plat/solo5/memory.c
     create mode 100644 plat/solo5/setup.c
     create mode 100644 plat/solo5/shutdown.c
     create mode 160000 plat/solo5/src-solo5
     create mode 100644 plat/solo5/time.c
    
    --
    2.17.1
    
    
    _______________________________________________
    Minios-devel mailing list
    Minios-devel@xxxxxxxxxxxxxxxxxxxx
    https://lists.xenproject.org/mailman/listinfo/minios-devel


 
 

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.