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

Re: [Minios-devel] [UNIKRAFT PATCH] plat/kvm: Automatically select needed drivers



Hi Simon, this patch looks good, thanks.

Felipe Huici <felipe.huici@xxxxxxxxx>

On 09.10.19, 15:31, "Minios-devel on behalf of Simon Kuenzer" 
<minios-devel-bounces@xxxxxxxxxxxxxxxxxxxx on behalf of 
simon.kuenzer@xxxxxxxxx> wrote:

    Automatically select the virtio-9p and virtio-net driver depending if
    lib/uknetdev or lib/uk9p was selected. This is for simplifying the
    base configuration. The items are not forced selected, so a user can
    still un-select them.
    
    Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
    ---
     lib/uknetdev/Config.uk | 1 -
     plat/kvm/Config.uk     | 3 +++
     2 files changed, 3 insertions(+), 1 deletion(-)
    
    diff --git a/lib/uknetdev/Config.uk b/lib/uknetdev/Config.uk
    index 2de7aca0..618e8e67 100644
    --- a/lib/uknetdev/Config.uk
    +++ b/lib/uknetdev/Config.uk
    @@ -4,7 +4,6 @@ menuconfig LIBUKNETDEV
        select LIBNOLIBC if !HAVE_LIBC
        select LIBUKDEBUG
        select LIBUKALLOC
    -   select VIRTIO_NET if PLAT_KVM
     
     if LIBUKNETDEV
        config LIBUKNETDEV_MAXNBQUEUES
    diff --git a/plat/kvm/Config.uk b/plat/kvm/Config.uk
    index be6aea00..922cb1c1 100644
    --- a/plat/kvm/Config.uk
    +++ b/plat/kvm/Config.uk
    @@ -65,6 +65,7 @@ config VIRTIO_BUS
     menu "Virtio"
     config VIRTIO_PCI
            bool "Virtio PCI device support"
    +       default y if (VIRTIO_NET || VIRTIO_9P)
            default n
            depends on KVM_PCI
            select VIRTIO_BUS
    @@ -73,6 +74,7 @@ config VIRTIO_PCI
     
     config VIRTIO_NET
            bool "Virtio Net device"
    +       default y if LIBUKNETDEV
            default n
            depends on LIBUKNETDEV
            select VIRTIO_BUS
    @@ -82,6 +84,7 @@ config VIRTIO_NET
     
     config VIRTIO_9P
            bool "Virtio 9P device"
    +       default y if LIBUK9P
            default n
            depends on LIBUK9P
            select VIRTIO_BUS
    -- 
    2.20.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®.