Hi,
I'm trying to start a VM that will use a preconfigured disk image (img format) and will start Raspberry PI4 hardware emulation.
I've used the following VM config:
----
arch: aarch64
bios: ovmf
bootdisk: scsi0
cores: 1
efidisk0: local-lvm:vm-120-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hotplug: 0
memory: 2048
#meta: creation-qemu=7.1.0,ctime=1692715010
name: rooExtend2
net0: virtio=BA:90:0E:3B:F9:E9,bridge=vmbr0
numa: 0
ostype: l26
scsi0: local:iso/rooExtend_v3.1.4_PI.img,media=cdrom,size=3913M
scsihw: virtio-scsi-pci
serial0: socket
smbios1: uuid=b39e809e-2ec3-4ed8-85bd-a4ab07f801c3
sockets: 1
vga: serial0
----
The system won't boot, yielding: "TASK ERROR: Can't use an undefined value as an ARRAY reference at /usr/share/perl5/PVE/QemuServer.pm line 3374."
I'm trying to use pre-built image as boot device -> should be similar to booting from RASP PI4 SD card.
Can someone comment on the configuration? what wrong? missing? other?
Thanks,
Lior
I'm trying to start a VM that will use a preconfigured disk image (img format) and will start Raspberry PI4 hardware emulation.
I've used the following VM config:
----
arch: aarch64
bios: ovmf
bootdisk: scsi0
cores: 1
efidisk0: local-lvm:vm-120-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hotplug: 0
memory: 2048
#meta: creation-qemu=7.1.0,ctime=1692715010
name: rooExtend2
net0: virtio=BA:90:0E:3B:F9:E9,bridge=vmbr0
numa: 0
ostype: l26
scsi0: local:iso/rooExtend_v3.1.4_PI.img,media=cdrom,size=3913M
scsihw: virtio-scsi-pci
serial0: socket
smbios1: uuid=b39e809e-2ec3-4ed8-85bd-a4ab07f801c3
sockets: 1
vga: serial0
----
The system won't boot, yielding: "TASK ERROR: Can't use an undefined value as an ARRAY reference at /usr/share/perl5/PVE/QemuServer.pm line 3374."
I'm trying to use pre-built image as boot device -> should be similar to booting from RASP PI4 SD card.
Can someone comment on the configuration? what wrong? missing? other?
Thanks,
Lior