intel / intel/MigTD

QEMU dependency question

Open
#361 3 comments 0 reactions 0 assignees View on GitHub
qemu question
Dominant language
Rust
Stars
58
Forks
43
Avg merge
1d 19h
Merged PRs (30d)
22

Description

Hi folks,

Checking out what is available in this current repo with existing instructions, have run into an issue when loading migtd.bin in qemu.
The migtd.bin built successfully (including via docker build) - have tried main as well as v0.4.7.
Note that the working TDX stack I am using is the latest available at: https://github.com/canonical/tdx

I have modified the QEMU command line to comply with the QEMU version available in this distro.
(i.e. mainly replacing quote-generation-service with quote-generation-socket etc)

`intel-1:~/work/intel-MigTD/MigTD/sh_script/test$ sudo ./run-mig-src.sh
running: /usr/bin/qemu-system-x86_64 -accel kvm -M q35 -cpu host,host-phys-bits,-kvm-steal-time,pmu=off -smp 1,threads=1,sockets=1 -m 32M -object '{"qom-type":"tdx-guest","id":"tdx0","quote-generation-socket":{"type":"vsock","cid":"1","port":"4050"}}' -machine q35,kernel_irqchip=split,confidential-guest-support=tdx0,hpet=off -bios ../../../MigTD/target/release/migtd.bin -device vhost-vsock-pci,id=vhost-vsock-pci1,guest-cid=18,disable-legacy=on -name migtd-src,process=migtd-src,debug-threads=on -nographic -vga none -nic none -serial mon:stdio

qemu-system-x86_64: TDVF contains unsupported section type 5
qemu-system-x86_64: failed to parse TDVF for TDX VM
intel-1:~/work/intel-MigTD/MigTD/sh_script/test$`

The current qemu_kvm_configuration.md file refers to old MVP versions of kernels/qemu etc that no longer exist.

What version of QEMU is required or is there a latest BKC that I can use ?

Many thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.