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

Re: [External] [UNIKRAFT PATCH 0/2] Fixes to the virtio library


  • To: Sharan Santhanam <sharan.santhanam@xxxxxxxxx>, "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: "Jung, Alexander (Student)" <a.jung@xxxxxxxxxxxxxxx>
  • Date: Fri, 8 Jan 2021 10:30:28 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=lancaster.ac.uk; dmarc=pass action=none header.from=lancaster.ac.uk; dkim=pass header.d=lancaster.ac.uk; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=F4x9piWrX4YZC+j4BNZFSIhmZ4IrkLACziugJ35iSKE=; b=SWE2SoZBULfBcrk+jvgm6zD1WdrvkMqPRa2gwyn4SRuGcdmVNB930yVRWEBfZDY2YLamH1dMS0gPFu/nrOLh/wzQErCz2lmxLxNCBdlgMAfqmj8OhJxbgimGyCqyS7y3lldjVBvBRbF6FqtclxJGMb1oAxV+nEV7IPor+s3jqU/ToUtSdmF4i0umvNRPLFfYHO25Q+PiqIUcwe1L1rAtpzoc3TF0c2Ym2qORDixOmk7ic7Jr43ezFxgdsL0Ay46XiS6ErUmaw5ovcNmBSRS3AUJsNQI3aiJa89t7YbXCk/55cqioN3T7Jg8iXjfOIWm3jVnwHxXqnQXK78u6yEEyrA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=obmF7xiQe4ceYJGE9/RCDsA7nzmVhZrqEmLPj1/dy6kA4F1vJybtO934sZdYsav/QaHW/q8hJQZoyCtCfnOTWIoSoIs1LRuOsZPa0pmctmI4lYTW6H3GDQIStNPsOZ4wqb0AxFl09NE5EQS3lHuWb/b1z2SkQ+2e1eKGByi+TWUDskc5qkBwWc1qNWDSlL0zJEs/pD0xYvXmzrKFmm5h7LyoNjVbi9DuMDHWI7jhAAo6PfxSgD5+Xg6qytnSV9cxG/y8Ysk3MGI6xk1MXfr4wlzb/ox7NwgppHLLch36ejjaXR2+nZwV3r8Wsg/lv3l3lJdEAAMMp/Xw8m70FY/qwg==
  • Authentication-results: neclab.eu; dkim=none (message not signed) header.d=none;neclab.eu; dmarc=none action=none header.from=lancaster.ac.uk;
  • Delivery-date: Fri, 08 Jan 2021 10:30:36 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHW5aUpyHJ6iuKTF0iqpvnEnj5wzaodh0KA
  • Thread-topic: [External] [UNIKRAFT PATCH 0/2] Fixes to the virtio library

Hi Sharan,

Thanks for this series.  Applying this to staging branch has resulted in a fix 
for
what is currently a broken mount to 9pfs.

Without this series, running (for example):

 qemu-guest -k ./build/nginx_kvm-x86_64 -m 64 -e ./fs0 -a "vfs.rootdev=fs0 --"

Would result in the following error:

[    0.100652] ERR:  [libkvmvirtio9p] <virtio_9p.c @  386> virtio-9p: Failed to 
negotiate the device feature -11
[    0.105531] ERR:  [libkvmvirtio] <virtio_bus.c @  162> Failed to add the 
virtio device 0x2db010: -22
[    0.109986] ERR:  [libkvmvirtio] <virtio_pci.c @  417> Failed to register 
the virtio device: -22
[    0.114250] ERR:  [libkvmpci] <pci_bus.c @  228> PCI 00:02.00: Failed to 
initialize device driver
[    0.119161] CRIT: [libvfscore] <rootfs.c @   85> Failed to mount /: 0
[    0.122318] ERR:  [libukboot] <boot.c @  100> Init function at 0x122a60 
returned error -1

I will mark each patch as reviewed.

Thanks,

Alexander Jung,

Ph.D Student,
Networking & Systems Research Group, 
Lancaster University
net.scc.lancs.ac.uk

F4D5 C6B6 9139 4942 9407  7F54 ED30 1A8A 1763 1B62

> On 8. Jan 2021, at 10:00, Sharan Santhanam <sharan.santhanam@xxxxxxxxx> wrote:
> 
> This email originated outside the University. Check before clicking links or 
> attachments.
> 
> The patch series fixes two bugs in the 9p driver and the virtio bus.
> The first one causes the virtio-9p driver to fail to mount a file system
> and the other adds an error check which was missed on the previous patch.
> 
> Sharan Santhanam (2):
> plat/virtio: virtio_config_get returns >= 0
> plat/virtio: Add error check for tag name
> 
> plat/drivers/include/virtio/virtio_bus.h |  2 +-
> plat/drivers/virtio/virtio_9p.c          | 15 ++++++++++++---
> 2 files changed, 13 insertions(+), 4 deletions(-)
> 
> --
> 2.20.1
> 
> 




 


Rackspace

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