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

Re: [Minios-devel] [UNIKRAFT PATCH] plat/kvm: Compile virtio_ring for x86 only



Hello Wei Chen,

This patch is quite old and I think it is no longer necessary. We explicitly show the VIRTIO driver only on x86 architecture. May be we could close this patch.

Thanks & Regards
Sharan

On 9/14/18 12:10 PM, Wei Chen wrote:
As currently, only x86 support PCI, so we enable virtio_ring
for x86 only.

Signed-off-by: Wei Chen <wei.chen@xxxxxxx>
---
  plat/kvm/Makefile.uk | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/plat/kvm/Makefile.uk b/plat/kvm/Makefile.uk
index b493bba..2c0311f 100644
--- a/plat/kvm/Makefile.uk
+++ b/plat/kvm/Makefile.uk
@@ -84,6 +84,6 @@ LIBKVMPCI_SRCS-$(CONFIG_ARCH_X86_64)        += 
$(UK_PLAT_COMMON_BASE)/pci_bus.c|
  ##
  ## Virtio library definitions
  ##
-LIBKVMPCIVIRTIO_ASINCLUDES-y   += -I$(UK_PLAT_COMMON_BASE)/include
-LIBKVMPCIVIRTIO_CINCLUDES-y    += -I$(UK_PLAT_COMMON_BASE)/include
-LIBKVMPCIVIRTIO_SRCS-y         += $(UK_PLAT_DRIVERS_BASE)/virtio/virtio_ring.c
+LIBKVMPCIVIRTIO_ASINCLUDES-$(CONFIG_ARCH_X86_64)   += 
-I$(UK_PLAT_COMMON_BASE)/include
+LIBKVMPCIVIRTIO_CINCLUDES-$(CONFIG_ARCH_X86_64)    += 
-I$(UK_PLAT_COMMON_BASE)/include
+LIBKVMPCIVIRTIO_SRCS-$(CONFIG_ARCH_X86_64)         += 
$(UK_PLAT_DRIVERS_BASE)/virtio/virtio_ring.c


_______________________________________________
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®.