Skip to content

Unable to use the xpumcli vgpu with amd epyc svm #124

@Azerothian

Description

@Azerothian
root@biglarry:~# lscpu | grep vmx
root@biglarry:~# lscpu | grep svm
Flags:                                   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip rdpid overflow_recov succor smca sev sev_es
root@biglarry:~# xpumcli vgpu -d 0000:83:00.0 -c -n 1 --lmem 4096
+----------+---------------------------------------------------------------------------------------+
| VMX Flag | Result: Fail                                                                          |
|          | Message: No VMX flag, Please ensure Intel VT enabled in BIOS                          |
+----------+---------------------------------------------------------------------------------------+
| SR-IOV   | Result: Pass                                                                          |
|          | Message: N/A                                                                          |
+----------+---------------------------------------------------------------------------------------+
| IOMMU    | Result: Pass                                                                          |
|          | Message: N/A                                                                          |
+----------+---------------------------------------------------------------------------------------+

yet

root@biglarry:/sys/bus/pci/devices/0000:03:00.0# cat sriov_totalvfs
7
root@biglarry:/sys/bus/pci/devices/0000:03:00.0# cat sriov_numvfs
0
root@biglarry:/sys/bus/pci/devices/0000:03:00.0# echo 3 > sriov_numvfs
root@biglarry:/sys/bus/pci/devices/0000:03:00.0# lspci -D | grep "Battlemage"
0000:03:00.0 VGA compatible controller: Intel Corporation Battlemage G21 [Intel Graphics]
0000:03:00.1 VGA compatible controller: Intel Corporation Battlemage G21 [Intel Graphics]
0000:03:00.2 VGA compatible controller: Intel Corporation Battlemage G21 [Intel Graphics]
0000:03:00.3 VGA compatible controller: Intel Corporation Battlemage G21 [Intel Graphics]
0000:83:00.0 VGA compatible controller: Intel Corporation Battlemage G21 [Intel Graphics]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions