public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] Enable AES?
@ 2023-03-28 17:07 Marco Gaiarin
       [not found] ` <mailman.70.1680032963.355.pve-user@lists.proxmox.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Gaiarin @ 2023-03-28 17:07 UTC (permalink / raw)
  To: pve-user


We have a VM with PFSense, that can enable 'hardware crypto' by the way of
'AES-NI'; i've tried to enable it but get not loaded.

Underline phisical processor seems to support it:

 flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities

I need to eplicitly enable it in PVE processor configuration (choose '+'?)
or 'AES-NI' that pretend PFSense is a different things from 'aes' of
PVE/Qemu?


Thanks.

-- 
  The Twentieth Century was shaped largely by three trends: the growth of
  democracy, the growth of corporate power, and the growth of corporate
  propaganda as a means of protecting corporate power against democracy.
							(Alex Carey)





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PVE-User] Enable AES?
       [not found] ` <mailman.70.1680032963.355.pve-user@lists.proxmox.com>
@ 2023-03-29 14:02   ` Marco Gaiarin
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Gaiarin @ 2023-03-29 14:02 UTC (permalink / raw)
  To: Arjen via pve-user; +Cc: pve-user

Mandi! Arjen via pve-user
  In chel di` si favelave...

> Do you use the CPU type host, max or any other type that has aes already included?

No, de default, kvm64.
Where i can find info on different CPU type?!

> If you use kvm64 for example, then you need to enable it in Advanced, Extra CPU Flags.

OK.

> Whether this actually works also depends on pfSense. If it detects a very old CPU type (like 486) then it might not bother to check the aes flag.

 /root: grep -i cpu /var/run/dmesg.boot
 CPU: Common KVM processor (2095.11-MHz K8-class CPU)
 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0: <ACPI CPU> on acpi0
 CPU: Common KVM processor (2095.11-MHz K8-class CPU)
 /root: sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu'
 hw.machine: amd64
 hw.model: Common KVM processor
 hw.ncpu: 4
 hw.machine_arch: amd64

I'll try to enable it and see...

-- 
  Vendere no, non passa tra i miei rischi,
  non comprate i miei dischi e sputatemi addosso.	(F. Guccini)





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-29 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-28 17:07 [PVE-User] Enable AES? Marco Gaiarin
     [not found] ` <mailman.70.1680032963.355.pve-user@lists.proxmox.com>
2023-03-29 14:02   ` Marco Gaiarin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal