Привет всем! Буду очень признателен за любые советы.
Информация об окружении:
* PVE: 8.0.4
* Linux: flanker 6.2.16-15-pve #1 SMP PREEMPT_DYNAMIC PMX 6.2.16-15 (2023-09-28T13:53Z) x86_64 GNU/Linux
* qemu-efi-aarch64: 2022.11-6 (прошивка UEFI для 64-битных ARM-виртуальных машин)
* ISO для теста: [ uos-desktop-20-professional-1060-arm64-202309.iso ] (вроде бы Linux с графическим десктопом, похоже на Ubuntu/Deepin).
Проблема 1: Сейчас я успешно загружаюсь в меню GRUB (управление с помощью кнопок вверх/вниз). Однако, когда я перехожу к процессу установки (есть графический интерфейс, обычно я могу управлять мышью и клавиатурой, как я это делал с X64 версией), но теперь я не могу управлять мышью и клавиатурой.
Первая догадка: возможно, дело в низкой эффективности эмуляции с X64? Я сомневаюсь, потому что жду часами, и управление все равно не появляется. Обычно, когда мы наводим курсор на опции, они подсвечиваются, но в данном случае этого не происходит, так что я думаю, что дело не в низкой эффективности, а в том, что управление просто не работает!
Проблема 2: Каков наилучший режим для производительности? Физическая машина работает на базе I9-9900T. Когда я изменяю конфигурацию файла опций cpu, например, "cpu : cortex-a76", это просто не работает. Я проверяю командную строку (qm showcmd xxx) и вижу, что все равно используется режим по умолчанию "cortex-a57". Мне приходится вручную редактировать командную строку и загружать виртуальную машину через командную строку оболочки. ПОЧЕМУ???
Конфигурационный файл и командная строка приведены ниже. Буду очень признателен за любые советы, если какая-то часть вызовет затруднения, я с удовольствием предоставлю больше подробностей.
root@flanker:~# qemu-system-aarch64 -cpu ?
Доступные CPU:
a64fx
arm1026
arm1136
arm1136-r2
arm1176
arm11mpcore
arm926
arm946
cortex-a15
cortex-a35
cortex-a53
cortex-a55
cortex-a57
cortex-a7
cortex-a72
cortex-a76
cortex-a8
cortex-a9
cortex-m0
cortex-m3
cortex-m33
cortex-m4
cortex-m55
cortex-m7
cortex-r5
cortex-r52
cortex-r5f
max
neoverse-n1
pxa250
pxa255
pxa260
pxa261
pxa262
pxa270-a0
pxa270-a1
pxa270
pxa270-b0
pxa270-b1
pxa270-c0
pxa270-c5
sa1100
sa1110
ti925t
CONFIG FILE 1
#vmgenid%3A 8aca1e90-0dce-4282-b210-e5c13810c96b
2 #meta%3A creation-qemu=8.0.2,ctime=1699873054
3 arch: aarch64
4 bios: ovmf
5 cpu: neoverse-n1
6 cores: 8
7 efidisk0: ZFS_workspace:vm-200-disk-1,efitype=4m,pre-enrolled-keys=1,size=64M
8 hotplug: 0
9 memory: 4096
10 name: ARM
11 net0: virtio=0A:C4:33:23:AE:65,bridge=vmbr0
12 numa: 0
13 ostype: l26
14 scsi0: CoreDataBase:vm-200-disk-0,iothread=1,size=50G,ssd=1
15 scsi1: DSM_NFS_ISO:iso/uos-desktop-20-professional-1060-arm64-202309.iso,media=cdrom,size=3588150K
16 scsihw: virtio-scsi-pci
17 smbios1: uuid=8c1ea502-b56a-47e4-bc9e-4a72dc3807ac
18 sockets: 1
19 vga: virtio
root@flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
root@flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
root@flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
/root/flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
root@flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
/root/flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
/root/flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
root@flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
/root/flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
root@flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
root@flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
/root/flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
/root/flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
/root/flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
/root/flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
root@flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
root@flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
Информация об окружении:
* PVE: 8.0.4
* Linux: flanker 6.2.16-15-pve #1 SMP PREEMPT_DYNAMIC PMX 6.2.16-15 (2023-09-28T13:53Z) x86_64 GNU/Linux
* qemu-efi-aarch64: 2022.11-6 (прошивка UEFI для 64-битных ARM-виртуальных машин)
* ISO для теста: [ uos-desktop-20-professional-1060-arm64-202309.iso ] (вроде бы Linux с графическим десктопом, похоже на Ubuntu/Deepin).
Проблема 1: Сейчас я успешно загружаюсь в меню GRUB (управление с помощью кнопок вверх/вниз). Однако, когда я перехожу к процессу установки (есть графический интерфейс, обычно я могу управлять мышью и клавиатурой, как я это делал с X64 версией), но теперь я не могу управлять мышью и клавиатурой.
Первая догадка: возможно, дело в низкой эффективности эмуляции с X64? Я сомневаюсь, потому что жду часами, и управление все равно не появляется. Обычно, когда мы наводим курсор на опции, они подсвечиваются, но в данном случае этого не происходит, так что я думаю, что дело не в низкой эффективности, а в том, что управление просто не работает!
Проблема 2: Каков наилучший режим для производительности? Физическая машина работает на базе I9-9900T. Когда я изменяю конфигурацию файла опций cpu, например, "cpu : cortex-a76", это просто не работает. Я проверяю командную строку (qm showcmd xxx) и вижу, что все равно используется режим по умолчанию "cortex-a57". Мне приходится вручную редактировать командную строку и загружать виртуальную машину через командную строку оболочки. ПОЧЕМУ???
Конфигурационный файл и командная строка приведены ниже. Буду очень признателен за любые советы, если какая-то часть вызовет затруднения, я с удовольствием предоставлю больше подробностей.
root@flanker:~# qemu-system-aarch64 -cpu ?
Доступные CPU:
a64fx
arm1026
arm1136
arm1136-r2
arm1176
arm11mpcore
arm926
arm946
cortex-a15
cortex-a35
cortex-a53
cortex-a55
cortex-a57
cortex-a7
cortex-a72
cortex-a76
cortex-a8
cortex-a9
cortex-m0
cortex-m3
cortex-m33
cortex-m4
cortex-m55
cortex-m7
cortex-r5
cortex-r52
cortex-r5f
max
neoverse-n1
pxa250
pxa255
pxa260
pxa261
pxa262
pxa270-a0
pxa270-a1
pxa270
pxa270-b0
pxa270-b1
pxa270-c0
pxa270-c5
sa1100
sa1110
ti925t
CONFIG FILE 1
#vmgenid%3A 8aca1e90-0dce-4282-b210-e5c13810c96b
2 #meta%3A creation-qemu=8.0.2,ctime=1699873054
3 arch: aarch64
4 bios: ovmf
5 cpu: neoverse-n1
6 cores: 8
7 efidisk0: ZFS_workspace:vm-200-disk-1,efitype=4m,pre-enrolled-keys=1,size=64M
8 hotplug: 0
9 memory: 4096
10 name: ARM
11 net0: virtio=0A:C4:33:23:AE:65,bridge=vmbr0
12 numa: 0
13 ostype: l26
14 scsi0: CoreDataBase:vm-200-disk-0,iothread=1,size=50G,ssd=1
15 scsi1: DSM_NFS_ISO:iso/uos-desktop-20-professional-1060-arm64-202309.iso,media=cdrom,size=3588150K
16 scsihw: virtio-scsi-pci
17 smbios1: uuid=8c1ea502-b56a-47e4-bc9e-4a72dc3807ac
18 sockets: 1
19 vga: virtio
root@flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
root@flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
root@flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
/root/flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
root@flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
/root/flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
/root/flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
root@flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
/root/flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
root@flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
root@flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
/root/flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
/root/flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
/root/flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
/root/flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
root@flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
root@flanker:~# qm showcmd 200
vm 200 - unable to parse value of 'cpu' - Built-in cputype 'neoverse-n1' is invalid. Please use one of the supported types.
See the documentation for details.
