tech-kern archive

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

Re: bounty for virtio 1.0 (now with instructions!)



On Wed, Nov 04, 2020 at 10:55:12AM +0100, Reinoud Zandijk wrote:
> qemu-system-x86_64 -accel nvmm \
>   -device virtio-net-pci \
>   -device virtio-rng \
>   -drive id=mydrive,file=./dummy.fs,format=raw,if=nonea\
>   -device virtio-blk-pci,drive=mydrive 
>   -cdrom boot-com.iso -nographic
> 
> But no luck.
> 
> The disc stuff is working fine, the rng I don't know, the virtio network is
> detected fine but dhcp is not working on it.

it works fine now; the network device had no connection duh.

qemu-system-x86_64 -accel nvmm \
  -netdev tap,id=n1,ifname=tap0,script=no \
  -drive  id=mydrive,file=./dummy2.fs,format=raw,if=none \
  -cdrom  boot.iso \
  -device virtio-net-pci,netdev=n1 \
  -device virtio-rng \
  -device virtio-blk-pci,drive=mydrive \
  -serial stdio -boot once=d

And now vioif0 is working fine.

Reinoud



Home | Main Index | Thread Index | Old Index