qemu-ppc
[Top][All Lists]
Advanced

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

Re: Attaching 9P VirtFS to PowerNV


From: Cédric Le Goater
Subject: Re: Attaching 9P VirtFS to PowerNV
Date: Thu, 4 Mar 2021 18:49:03 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0

On 3/4/21 11:02 AM, Greg Kurz wrote:
> The command line to start a PowerNV machine with multiple PCIe
> devices requires to specify the bus for all of them. 
> 
> This is what I do to boot a fedora guest with a virtio-scsi,
> a virtio-9p and a virtio-net device:
> 
> qemu-system-ppc64 \
>       -machine powernv9 \
>       -m 2G \
>       -kernel ${kernel} -initrd ${initrd} -bios ${skiboot_fw} \
>       -serial mon:stdio \
>       -nographic -nodefaults \
>       -drive file=${fedora_image},if=none,id=drive0 \
>       -device virtio-scsi-pci,bus=pcie.0 \
>       -device scsi-hd,drive=drive0,bootindex=1 \
>       -netdev tap,helper=/usr/libexec/qemu-bridge-helper,br=virbr0,id=netdev0 
> \
>       -device virtio-net-pci,netdev=netdev0,mac=${mac},bus=pcie.1 \
>       -fsdev local,id=fsdev0,path=${path},security_model=none \
>       -device virtio-9p-pci,fsdev=fsdev0,mount_tag=host,bus=pcie.2
> 

Nice !  

we should this command line to the new docs/system/ppc/powernv.rst file :)

Thanks,

C.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]