Skip to content

Run the TDX guest image failed #8

@triplewz

Description

@triplewz

Hello, When I try to run the TDX guest image, It failed with the following message:
'virtio-9p-pci' is not a valid device model name

sudo /usr/libexec/qemu-kvm -accel kvm -m 4096M -smp 2 -cpu host -machine q35,kernel_irqchip=split,confidential-guest-support=tdx,hpet=off -object tdx-guest,id=tdx -nographic -nodefaults -chardev stdio,id=ser0,signal=on -serial chardev:ser0 -kernel images/dstack-nvidia-dev-0.3.3/bzImage -initrd images/dstack-nvidia-dev-0.3.3/initramfs.cpio.gz -bios images/dstack-nvidia-dev-0.3.3/ovmf.fd -cdrom images/dstack-nvidia-dev-0.3.3/rootfs.iso -drive file=my-gpu-cvm/hda.img,if=none,id=virtio-disk0 -device virtio-blk-pci,drive=virtio-disk0 -virtfs local,path=my-gpu-cvm/shared,mount_tag=host-shared,readonly=off,security_model=mapped,id=virtfs0 -device vhost-vsock-pci,guest-cid=8420 -device virtio-net-pci,netdev=nic0_td -netdev user,id=nic0_td,hostfwd=tcp:127.0.0.1:10022-:22,hostfwd=tcp:127.0.0.1:8888-:8888 -device pcie-root-port,id=pci.1,bus=pcie.0 -fw_cfg name=opt/ovmf/X-PciMmio64,string=262144 -object iommufd,id=iommufd0 -device vfio-pci,host=28:00.0,bus=pci.1,iommufd=iommufd0 -append console=ttyS0 init=/init dstack.fde=1 panic=1 systemd.unified_cgroup_hierarchy=0
qemu-kvm: -virtfs local,path=my-gpu-cvm/shared,mount_tag=host-shared,readonly=off,security_model=mapped,id=virtfs0: 'virtio-9p-pci' is not a valid device model name

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions