S
S
synapse_people2019-04-24 15:18:07
KVM
synapse_people, 2019-04-24 15:18:07

Is it possible to emulate some of the instructions that are not in the host CPU, and the rest through KVM?

There is a problem, there are not enough instructions on the server PCs, the question is, is it possible to run QEMU so that the instructions that are available work through KVM, and the rest is virtualized by qemu?

$cmd .= '-qemu -enable-kvm -cpu qemu32,'
            . '+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,+nonstop_tsc,'
            #. '+extd_apicid,+aperfmperf,+pni,+pclmulqdq,+monitor,
            . '+ssse3,'
            . '+fma,+cx16,+sse4_1,+sse4_2,+popcnt,+aes,+xsave,+avx,+f16c,'
            #
            . '+lahf_lm,+cmp_legacy,'
            . '+svm,'
            . '+extapic,'
            #. '+cr8_legacy,'
            . '+abm,+sse4a,'
            . '+misalignsse,+3dnowprefetch,+osvw,+ibs,+xop,+skinit,+wdt,'
            . '+lwp,+fma4,+tce,+nodeid_msr,+tbm,+topoext,+perfctr_core,'
            #. '+perfctr_nb,+cpb,+hw_pstate,+ssbd,+vmmcall,+bmi1,+arat,'
            . '+npt,+lbrv,+svm_lock,+nrip_save,+tsc_scale,+vmcb_clean,'
            #. '+flushbyasid,+decodeassists,+pausefilter,+pfthreshold,'
            . '+ssse3,+sse4.1,+sse4.2,+x2apic '
            . '-smp 1,maxcpus=1 ';

Now, if you turn on everything, then as a result, only those instructions that are actually in the host will come to the guest system ... how to set it up?
Problem:
host doesn't support requested feature: CPUID.01H:ECX.aes

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question