Skip to content

QEMU dependency question #361

@oriordain-s

Description

@oriordain-s

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    qemuLabel for QEMU related issuesquestionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions