From mboxrd@z Thu Jan 1 00:00:00 1970 From: Big Strong Subject: Re: handle virtualization exception Date: Sat, 4 Jun 2016 20:35:30 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3089754753721324377==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: xen-devel List-Id: xen-devel@lists.xenproject.org --===============3089754753721324377== Content-Type: multipart/alternative; boundary=001a1142100a2b54d70534731372 --001a1142100a2b54d70534731372 Content-Type: text/plain; charset=UTF-8 To handle this system reserved exception, should I modify the linux kernel instead of using loadable kernel module? Is there any suggestions? 2016-06-01 11:08 GMT+08:00 Big Strong : > Virtualization exception is a fault exception caused by specific type of > EPT violations. The vector is 20, which is not defined in linux kernel > (traps.h), also no exception handling function is defined (traps.c). So is > there any way to implement it as a LKM? As it is needed to > set virtualization-exception information area and virtualization exception > handler ((for example, by executing the EPTP-switching VM function), it is > inflexible to implement it in linux kernel directly. > --001a1142100a2b54d70534731372 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
To handle this system reserved exception, should I modify = the linux kernel instead of using loadable kernel module? Is there any sugg= estions?

201= 6-06-01 11:08 GMT+08:00 Big Strong <fangtuo90@gmail.com>:<= br>
Virtualization exception= is a fault exception caused by specific type of EPT violations. The vector= is 20, which is not defined in linux kernel (traps.h), also no exception h= andling function is defined (traps.c). So is there any way to implement it = as a LKM? As it is needed to set=C2=A0virtualization-exception information = area and=C2=A0virtualization exception handler ((for example, by executing = the EPTP-switching VM function), it is inflexible to implement it in linux = kernel directly.

--001a1142100a2b54d70534731372-- --===============3089754753721324377== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwOi8vbGlzdHMueGVuLm9y Zy94ZW4tZGV2ZWwK --===============3089754753721324377==--