Browse Source

Adjust vsock device type in aarch64/MMIO example

Alice Wang 2 years ago
parent
commit
76594cf2be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/aarch64/Makefile

+ 1 - 1
examples/aarch64/Makefile

@@ -56,7 +56,7 @@ qemu: $(kernel_qemu_bin) $(img)
 		-global virtio-mmio.force-legacy=false \
 		-nic none \
 		-drive file=$(img),if=none,format=raw,id=x0 \
-		-device vhost-vsock-pci,id=virtiosocket0,guest-cid=102 \
+		-device vhost-vsock-device,id=virtiosocket0,guest-cid=102 \
 		-device virtio-blk-device,drive=x0 \
 		-device virtio-gpu-device \
 		-device virtio-serial,id=virtio-serial0 \