On 2019/3/15 21:29, Jan Beulich wrote:
On 21.02.19 at 10:53, <[email protected]> wrote:
Add Hygon Dhyana support to update cpuid info for creating PV guest.

Signed-off-by: Pu Wen <[email protected]>

Acked-by: Jan Beulich <[email protected]>
with one remark:

@@ -281,8 +283,12 @@ static int update_domain_cpuid_info(struct domain *d,
              if ( cpu_has_cmp_legacy )
                  ecx |= cpufeat_mask(X86_FEATURE_CMP_LEGACY);
- /* If not emulating AMD, clear the duplicated features in e1d. */
-            if ( p->x86_vendor != X86_VENDOR_AMD )
+            /*
+             * If not emulating AMD and Hygon, clear the duplicated features
+             * in e1d.

I think this wants to be "or" instead of "and".

Yes, will change to "or".

--
Regards,
Pu Wen

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to