canonical / tdx

Intel confidential computing - TDX
GNU General Public License v3.0
81 stars 32 forks source link

No output form Qemu console on 6.8 #185

Open YurkoWasHere opened 1 month ago

YurkoWasHere commented 1 month ago

I do no have any early output on console, and the os does not boot. This is after switching to the newer kernel.

My qemu boot:

qemu-system-x86_64                  \
    -initrd initramfs.cpio.gz \
    -kernel vmlinuz \
    -enable-kvm                     \
    -drive file=rootfs.img,if=virtio,format=raw,readonly=on \
    -smp cpus=4,cores=2,threads=2   \
    -m 4G                           \
    -cpu host                       \
    -netdev user,id=n1,ipv6=off,hostfwd=tcp::2022-:22 \
    -device virtio-net-pci,netdev=n1\
    -append "console=ttyS0"         \
    -object tdx-guest,id=tdx        \
    -object memory-backend-ram,id=mem0,size=4G \
    -machine q35,kernel-irqchip=split,confidential-guest-support=tdx,memory-backend=mem0 \
    -bios OVMF_CODE.fd  \
    -serial stdio                   \
    -nodefaults                     \
    -vga none                       \
    -nographic                      

It seems i loose all output when i add

-object memory-backend-ram,id=mem0,size=4G \
-machine q35,kernel-irqchip=split,confidential-guest-support=tdx,memory-backend=mem0 \

The only output i get is "EFI Stub: Loaded initrd from LINUX_EFI_INITRD_MGDIA_GUID device path"

syncronize-issues-to-jira[bot] commented 1 month ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/PEK-985.

This message was autogenerated