the architecture failed to build the vm
Caused by: failed to set tss addr: File exists (os error 17)
Azure machine is of type Standard_D2s_v3 running Ubuntu2004. In more detail:
# uname -a
Linux myVM 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
....
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti tpr_shadow vnmi ept vpid fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f avx512dq rdseed adx smap clflushopt avx512cd avx512bw avx512vl xsaveopt xsavec xsaves md_clear
vmx flags : vnmi invvpid tsc_offset vtpr ept vpid
What's wrong?
--
You received this message because you are subscribed to the Google Groups "crosvm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to crosvm-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/crosvm-dev/9ce51ce5-6fa5-4e82-8092-a4f35aa52bf9n%40chromium.org.
ioctl(7, KVM_SET_TSS_ADDR, 0xfffbd000) = 0
When bootloader file size is 64kB
ioctl(7, KVM_SET_TSS_ADDR, 0xfffbd000) = -1 EEXIST (File exists)
When bootloader file size is 1MB (the default u-boot in cuttlefish)
The bootloader size does not cause problems if enable_unrestricted_guest has been set since that makes vmx_set_tss_addr return 0 right away. That explains differences on different host setups (i.e. Azure vs GCP for example)
So the fix would be either to decrease Cuttlefish boot loader size or give more room for bios in crosvm.