QEMU Guest hat das Display (noch) nicht initialisiert | Ubuntu 21.10 arm64

QEMU Guest hat das Display (noch) nicht initialisiert | Ubuntu 21.10 arm64

Tatsächlich habe ich ein Problem, wenn ich QEMU auf meinem Windows 10 verwende, um ein Ubuntu-ARM64-Image zu erstellen. Ich erstelle die QEMU-VM mit Packer, es funktioniert einwandfrei, aber es bleibt immer noch hängen, nachdem ich die Startparameter eingegeben habe.

Nach dem Starten meines Packers erhalte ich eine QEMU-Popup-Anzeige mit folgendem Fehler:

-> Guest has not initialied the display (yet) <-

Ich habe einige Quemu-Argumente für die Anzeigeeinstellungen ausprobiert, aber es funktioniert immer noch nicht. Ich hoffe, ich suche weiter nach Hilfe.

My Packer Version : 1.7.8
Ubuntu Version : 21.10 live server arm64 | 20.04 live server arm64 (test both)
qemu version : 6.2

Meine Packer-Konfiguration:

source "qemu" "ubuntu-server" {
  boot_command           = ["<esc><wait>", "<esc><wait>", "<enter><wait>", "/install/vmlinuz<wait>", " initrd=/install/initrd.gz", " auto-install/enable=true", " debconf/priority=critical", " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg<wait>", " -- <wait>", "<enter><wait>"]
  http_directory         = "../config/http"
  iso_checksum           = "${UBUNTU_ISO_CHECKSUM}"
  iso_urls               = ["${UBUNTU_ISO_NAME}"]
  output_directory       = "output/live-server"
  shutdown_command       = "sudo shutdown -P now"
  disk_size              = "60000"
  format                 = "qcow2"
  ssh_handshake_attempts = "20"
  ssh_password           = "XXXX"
  ssh_pty                = "true"
  ssh_timeout            = "245m"
  ssh_username           = "XXXXX"
  vm_name                = "${VM_NAME}"
  net_device             = "virtio-net"
  disk_interface         = "virtio"
  boot_wait              = "15s"
  headless               = "false"
  cpus                   = 4
  memory                 = 8192
  qemu_binary            = "qemu-system-arm.exe"
  qemuargs = [
    [ "-machine", "virt" ],
    [ "-device", "virtio-gpu-pci" ],
    [ "-boot", "strict=off" ],
    [ "-cpu", "max" ],
    [ "-m", "8192M" ],    
    [ "-smp", "4" ],
    [ "-device", "qemu-xhci" ],
    [ "-display", "sdl" ],
    [ "-vga", "std" ]
  ]
}

verwandte Informationen