Hi valdis,Thank you for treating the patch prudentially. I do compile the patch and tested it before submitted.But I really didn't see the warnings or errors , please forgive me for my fault. Patch has been modifyed and verified again this time.Thank you again! --------------------------------
Best Regards! Journey ----- 原始邮件 ----- 发件人:[email protected] 收件人:[email protected] 抄送人:"vbox-dev" <[email protected]>, "journeyren" <[email protected]> 主题:Re: [vbox-dev] update the patch--patch for " Shanghai " cpu can't use virtualbox 日期:2018年12月24日 12点27分 On Mon, 24 Dec 2018 11:34:55 +0800, [email protected] said: > Hi, Recently, when we install win7(32bit) on virtualbox on Ubuntu, we have > a problem. To solve the problem,Update the patch I uploaded before. diff -uprN origin/VirtualBox-5.2.22/src/VBox/HostDrivers/Support/SUPDrv.cpp journey/VirtualBox-5.2.22/src/VBox/HostDrivers/Support/SUPDrv.cpp --- origin/VirtualBox-5.2.22/src/VBox/HostDrivers/Support/SUPDrv.cpp 2018-11-09 03:41:49.000000000 +0800 +++ journey/VirtualBox-5.2.22/src/VBox/HostDrivers/Support/SUPDrv.cpp 2018-12-21 15:21:05.752759032 +0800 @@ -4171,7 +4171,8 @@ SUPR0DECL(int) SUPR0GetVmxUsability(bool ASMCpuId(0, &uMaxId, &uVendorEBX, &uVendorECX, &uVendorEDX); Assert(ASMIsValidStdRange(uMaxId)); Assert( ASMIsIntelCpuEx( uVendorEBX, uVendorECX, uVendorEDX) - || ASMIsViaCentaurCpuEx(uVendorEBX, uVendorECX, uVendorEDX)); + || ASMIsViaCentaurCpuEx(uVendorEBX, uVendorECX, uVendorEDX); + || ASMIsZxCpuEx(uVendorEBX, uVendorECX, uVendorEDX)); //add by Journey This patch was obviously not compile tested - you have an extra ';' on the frst added line.
VBox5.2.22_patch_on_ZX_base_Ubuntu14.04.5
Description: Binary data
_______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
