[SLOF] [PATCH 0/3] virtio-9p improvements
Nikunj A Dadhania
nikunj at linux.vnet.ibm.com
Tue Apr 26 20:02:31 AEST 2016
Thomas Huth <thuth at redhat.com> writes:
> Here are three small patches with some improvements for virtio-9p:
>
> 1) Give a proper name to the 9p device tree node
>
> 2) Add support for virtio 1.0
> (that was fortunately pretty easy thanks to the good virtio 1.0
> infrastructure that Nikunj already added to libvirtio)
>
> 3) Some white space clean-ups
>
> I've tested the virtio 1.0 9p code by adding the following parameters
> to the QEMU command line:
>
> -device virtio-9p-pci,fsdev=fsdev0,mount_tag=hostshare,disable-legacy=on,disable-modern=off \
> -fsdev local,security_model=passthrough,id=fsdev0,path=/path/to/bootfolder
>
> That means by using disable-legacy=on, I made sure that the 9p device
> here only supports v1.0, and not the legacy layout anymore. Then at
> the SLOF prompt, I was able to load some file a la:
>
> boot virtfs:ppc64.img
>
> Thomas Huth (3):
> virtio: Set a proper name for virtio-9p device tree nodes
> virtio: Add modern version 1.0 support to 9p driver
> virtio: White space cleanup in virtio-9p.c
Cool, for the series
Reviewed-by: Nikunj A Dadhania <nikunj at linux.vnet.ibm.com>
>
> board-qemu/slof/Makefile | 1 +
> board-qemu/slof/pci-device_1af4_1009.fs | 1 +
> board-qemu/slof/pci-device_1af4_1049.fs | 4 +++
> lib/libvirtio/virtio-9p.c | 49 +++++++++++++++++----------------
> 4 files changed, 31 insertions(+), 24 deletions(-)
> create mode 100644 board-qemu/slof/pci-device_1af4_1049.fs
>
> --
> 1.8.3.1
More information about the SLOF
mailing list