QEMU 게스트 모자가 디스플레이를 초기화하지 않았습니다(아직) | 우분투 21.10 arm64

QEMU 게스트 모자가 디스플레이를 초기화하지 않았습니다(아직) | 우분투 21.10 arm64

실제로 Windows 10에서 qemu를 사용하여 Ubuntu arm64 이미지를 만드는 데 문제가 있습니다. packer를 사용하여 qemu VM을 생성했는데 제대로 작동하지만 부팅 매개변수를 입력한 후에도 여전히 멈춥니다.

Packer를 시작한 후 다음 오류와 함께 Popup qemu Display가 나타납니다.

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

디스플레이 설정에 대해 몇 가지 Quemu 인수를 시도했지만 도움을 검색해도 여전히 작동하지 않습니다.

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

내 패커 구성:

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" ]
  ]
}

관련 정보