Quantcast

Intel VT-x for HVM

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Intel VT-x for HVM

席康杰

Hi,

    I am using HyperPlatform(https://github.com/tandasat/HyperPlatform), which needs Intel VT-x and EPT technology, so I create a Windows 7 virtual machine on Xen with following configurations(see https://wiki.xenproject.org/wiki/Nested_Virtualization_in_Xen):

 

    hap = 1

   nestedhvm = 1

 

And use Coreinfo(https://technet.microsoft.com/en-us/sysinternals/cc835722.aspx) to check VT-x and EPT, it shows the system supports Intel VT-x and EPT:

 

   

 

However, when I install HyperPlatform (https://github.com/tandasat/HyperPlatform#installation-and-uninstallation) and finally run the command:

   

sc start HyperPlatform

 

The virtual machine hangs and screen is broken:

 

   

 

The guest is “Windows 7 x64 SP1”, host is CentOS-6.5, kernel-4.4.43, Xen-4.8.0.

 

Anyone can help? How to support Intel VT-x for HVM?

 

Thanks

-Kangjie


_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Intel VT-x for HVM

WebDawg


On Tue, May 2, 2017 at 4:24 AM, 席康杰 <[hidden email]> wrote:

Hi,

    I am using HyperPlatform(https://github.com/tandasat/HyperPlatform), which needs Intel VT-x and EPT technology, so I create a Windows 7 virtual machine on Xen with following configurations(see https://wiki.xenproject.org/wiki/Nested_Virtualization_in_Xen):

 

    hap = 1

   nestedhvm = 1

 

And use Coreinfo(https://technet.microsoft.com/en-us/sysinternals/cc835722.aspx) to check VT-x and EPT, it shows the system supports Intel VT-x and EPT:

 

   

 

However, when I install HyperPlatform (https://github.com/tandasat/HyperPlatform#installation-and-uninstallation) and finally run the command:

   

sc start HyperPlatform

 

The virtual machine hangs and screen is broken:

 

   

 

The guest is “Windows 7 x64 SP1”, host is CentOS-6.5, kernel-4.4.43, Xen-4.8.0.

 

Anyone can help? How to support Intel VT-x for HVM?

 

Thanks

-Kangjie


_______________________________________________



_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

答复: Intel VT-x for HVM

席康杰

Maybe not because of screen refresh issue, I create a Windows 10 HVM, when run command “sc start HyperPlatform”, the system also hangs but the screen is not broken.

 

And “xl dmesg” keep on outputing “(XEN) L0 PIO b001” :

 

(XEN) L0 PIO b001

(XEN) L0 PIO b001

(XEN) L0 PIO b001

(XEN) L0 PIO b001

(XEN) L0 PIO b001

(XEN) L0 PIO b001

(XEN) L0 PIO b001

(XEN) L0 PIO b001

(XEN) L0 PIO b001

(XEN) L0 PIO b001

(XEN) L0 PIO b001

(XEN) L0 PIO b001

(XEN) L0 PIO b001

(XEN) L0 PIO b001

(XEN) L0 PIO b001

(XEN) L0 PIO b001

(XEN) L0 PIO b001

 

Do you have any idea to debug this problem?

 

发件人: WebDawg [mailto:[hidden email]]
发送时间: 201753 10:00
收件人: 席康杰
抄送: [hidden email]
主题: Re: [Xen-users] Intel VT-x for HVM

 

 

 

On Tue, May 2, 2017 at 4:24 AM, 席康杰 <[hidden email]> wrote:

Hi,

    I am using HyperPlatform(https://github.com/tandasat/HyperPlatform), which needs Intel VT-x and EPT technology, so I create a Windows 7 virtual machine on Xen with following configurations(see https://wiki.xenproject.org/wiki/Nested_Virtualization_in_Xen):

 

    hap = 1

   nestedhvm = 1

 

And use Coreinfo(https://technet.microsoft.com/en-us/sysinternals/cc835722.aspx) to check VT-x and EPT, it shows the system supports Intel VT-x and EPT:

 

   

 

However, when I install HyperPlatform (https://github.com/tandasat/HyperPlatform#installation-and-uninstallation) and finally run the command:

   

sc start HyperPlatform

 

The virtual machine hangs and screen is broken:

 

   

 

The guest is “Windows 7 x64 SP1”, host is CentOS-6.5, kernel-4.4.43, Xen-4.8.0.

 

Anyone can help? How to support Intel VT-x for HVM?

 

Thanks

-Kangjie


_______________________________________________

 


_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

答复: Intel VT-x for HVM

席康杰
In reply to this post by 席康杰

I use xentrace to capture trace buffer data when the VM hangs

 

1. 0x00081002         TRC_HVM_VMEXIT

 

# xentrace -D -T 1 -e 0x00081002 xentrace.bin

# cat xentrace.bin | xentrace_format xen-4.8.0/tools/xentrace/formats

 

CPU19  603428264584918 (+    3724)  VMEXIT      [ exitcode = 0x00000030, rIP  = 0xfffff80004810b41 ]

CPU19  603428264605226 (+   20308)  VMENTRY

CPU19  603428264608986 (+    3760)  VMEXIT      [ exitcode = 0x00000030, rIP  = 0xfffff80004810b41 ]

CPU19  603428264629294 (+   20308)  VMENTRY

CPU19  603428264633154 (+    3860)  VMEXIT      [ exitcode = 0x00000030, rIP  = 0xfffff80004810b41 ]

CPU19  603428264654290 (+   21136)  VMENTRY

CPU19  603428264658006 (+    3716)  VMEXIT      [ exitcode = 0x00000030, rIP  = 0xfffff80004810b41 ]

 

The 0x00000030 is EXIT_REASON_EPT_VIOLATION (http://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=xen/include/asm-x86/hvm/vmx/vmx.h;h=4889a64255d412d380bb4544c8892b3600e3cbe2;hb=HEAD#l202)

 

2. 0x0008200F         TRC_HVM_INTR

 

CPU19  0 (+       0)  PF_INJECT   [ errorcode = 0x03, virt = 0xfffff88000962000 ]

CPU19  0 (+       0)  INTR_WINDOW [ value = 0x000000d2 ]

CPU19  0 (+       0)  NPF         [ gpa = 0x00000000000a0000 mfn = 0xffffffffffffffff qual = 0x0182 p2mt = 0x0004 ]

CPU19  0 (+       0)  PF_INJECT   [ errorcode = 0x03, virt = 0xfffff88000962000 ]

CPU19  0 (+       0)  INTR_WINDOW [ value = 0x000000d2 ]

CPU19  0 (+       0)  NPF         [ gpa = 0x00000000000a0000 mfn = 0xffffffffffffffff qual = 0x0182 p2mt = 0x0004 ]

CPU19  0 (+       0)  PF_INJECT   [ errorcode = 0x03, virt = 0xfffff88000962000 ]

CPU19  0 (+       0)  INTR_WINDOW [ value = 0x000000d2 ]

CPU19  0 (+       0)  NPF         [ gpa = 0x00000000000a0000 mfn = 0xffffffffffffffff qual = 0x0182 p2mt = 0x0004 ]

 

Anyone have idea to the problem?

 

发件人: Xen-users [mailto:[hidden email]] 代表 席康杰
发送时间: 201752 16:25
收件人: [hidden email]
主题: [Xen-users] Intel VT-x for HVM

 

Hi,

    I am using HyperPlatform(https://github.com/tandasat/HyperPlatform), which needs Intel VT-x and EPT technology, so I create a Windows 7 virtual machine on Xen with following configurations(see https://wiki.xenproject.org/wiki/Nested_Virtualization_in_Xen):

 

    hap = 1

   nestedhvm = 1

 

And use Coreinfo(https://technet.microsoft.com/en-us/sysinternals/cc835722.aspx) to check VT-x and EPT, it shows the system supports Intel VT-x and EPT:

 

   

 

However, when I install HyperPlatform (https://github.com/tandasat/HyperPlatform#installation-and-uninstallation) and finally run the command:

   

sc start HyperPlatform

 

The virtual machine hangs and screen is broken:

 

   

 

The guest is “Windows 7 x64 SP1”, host is CentOS-6.5, kernel-4.4.43, Xen-4.8.0.

 

Anyone can help? How to support Intel VT-x for HVM?

 

Thanks

-Kangjie


_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

答复: Intel VT-x for HVM

席康杰
In reply to this post by 席康杰

I upgrade kernel to 4.12-rc2, and when load the HyperPlatform.sys, the screen doesn’t break, but the system still hangs.

 

 

And xl dmesg:

 

(XEN) traps.c:3457: GPF (0000): ffff82d0802ffa50 [vmx.c#vmx_msr_read_intercept+0x3a0/0x409] -> ffff82d0803538a4

(XEN) traps.c:3457: GPF (0000): ffff82d0802ffa50 [vmx.c#vmx_msr_read_intercept+0x3a0/0x409] -> ffff82d0803538a4

(XEN) traps.c:3457: GPF (0000): ffff82d0802ffa50 [vmx.c#vmx_msr_read_intercept+0x3a0/0x409] -> ffff82d0803538a4

 

And xentrace with event TRC_HVM_VMEXIT(0x00081002):

 

# xentrace -D -T 1 -e 0x00081002 xentrace.bin

# cat xentrace.bin | xentrace_format xen-4.9.0-rc5/tools/xentrace/formats

 

CPU11  180208001901370 (+    2388)  VMEXIT      [ exitcode = 0x00000017, rIP  = 0xfffff8800324a695 ]

CPU11  180208001907894 (+    6524)  VMENTRY

CPU11  180208001909446 (+    1552)  VMEXIT      [ exitcode = 0x00000017, rIP  = 0xfffff8800324a695 ]

CPU11  180208001914922 (+    5476)  VMENTRY

CPU11  180208001916498 (+    1576)  VMEXIT      [ exitcode = 0x00000017, rIP  = 0xfffff8800324a695 ]

CPU11  180208001921870 (+    5372)  VMENTRY

CPU11  180208001924198 (+    2328)  VMEXIT      [ exitcode = 0x00000030, rIP  = 0xfffff80004228eea ]

CPU11  180208001934694 (+   10496)  VMENTRY

CPU11  180208001936510 (+    1816)  VMEXIT      [ exitcode = 0x00000017, rIP  = 0xfffff8800324a695 ]

CPU11  180208001942514 (+    6004)  VMENTRY

CPU11  180208001952070 (+    9556)  VMEXIT      [ exitcode = 0x00000030, rIP  = 0xfffff80004228eea ]

CPU11  180208001962366 (+   10296)  VMENTRY

CPU11  180208001964494 (+    2128)  VMEXIT      [ exitcode = 0x00000018, rIP  = 0xfffff8800324747d ]

CPU11  180208001971894 (+    7400)  VMENTRY

CPU11  180208001973938 (+    2044)  VMEXIT      [ exitcode = 0x00000030, rIP  = 0xfffff80004236249 ]

CPU11  180208001984106 (+   10168)  VMENTRY

CPU11  180208001986730 (+    2624)  VMEXIT      [ exitcode = 0x00000017, rIP  = 0xfffff8800324a695 ]

CPU11  180208001994434 (+    7704)  VMENTRY

CPU11  180208001995986 (+    1552)  VMEXIT      [ exitcode = 0x00000017, rIP  = 0xfffff8800324a695 ]

CPU11  180208002001522 (+    5536)  VMENTRY

CPU11  180208002003102 (+    1580)  VMEXIT      [ exitcode = 0x00000017, rIP  = 0xfffff8800324a695 ]

CPU11  180208002008402 (+    5300)  VMENTRY

CPU11  180208002010746 (+    2344)  VMEXIT      [ exitcode = 0x00000030, rIP  = 0xfffff80004228eea ]

CPU11  180208002021274 (+   10528)  VMENTRY

CPU11  180208002023090 (+    1816)  VMEXIT      [ exitcode = 0x00000017, rIP  = 0xfffff8800324a695 ]

CPU11  180208002029090 (+    6000)  VMENTRY

CPU11  180208002038610 (+    9520)  VMEXIT      [ exitcode = 0x00000030, rIP  = 0xfffff80004228eea ]

CPU11  180208002048918 (+   10308)  VMENTRY

CPU11  180208002051042 (+    2124)  VMEXIT      [ exitcode = 0x00000018, rIP  = 0xfffff8800324747d ]

CPU11  180208002058794 (+    7752)  VMENTRY

CPU11  180208002060834 (+    2040)  VMEXIT      [ exitcode = 0x00000030, rIP  = 0xfffff80004236249 ]

 

Anyone has idea to this problem or how to debug it?

 

Thanks

-Kangjie

 


_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users
Loading...