[Xen-devel] Virtual Interrupt Delivery

2017-02-27 Thread Dmitry Rockosov
Hi guys, Do you know when *recognized* Virtual Interrupt on VM-Entry will be delivered if Virtual-Interrupt Delivery is enabled and interrupt delivery is blocking by STI? Previously, VMM used Interrupt-Window, but as I see in XEN code, Interrupt-Window is not used when Virtual Interrupt Delivery

[Xen-devel] (no subject)

2017-02-27 Thread Dmitry Rockosov
Hi guys, Do you know when *recognized* Virtual Interrupt on VM-Entry will be delivered if Virtual-Interrupt Delivery is enabled and interrupt delivery is blocking by STI? Previously, VMM used Interrupt-Window, but as I see in XEN code, Interrupt-Window is not used when Virtual Interrupt Delivery

[Xen-devel] VLAPIC and Event channel relationship or how to map PIRQ to HVM guest

2017-02-22 Thread Dmitry Rockosov
Hello guys, Could someone help me with VLAPIC and Event channel relationship? I can't find any good design overview for it. Are they compatible things or not? Actually I want to map any PIRQ to HVM guest (for example keyboard), and use VLAPIC to deliver virtual interrupt to HVM guest. But seems

[Xen-devel] VLAPIC and Event channel relationship or how to map PIRQ to HVM guest?

2017-02-21 Thread Dmitry Rockosov
Hello guys, Could someone help me with VLAPIC and Event channel relationship? I can't find any good design overview for it. Are they compatible things or not? Actually I want to map any PIRQ to HVM guest (for example keyboard), and use VLAPIC to deliver virtual interrupt to HVM guest. But seems

Re: [Xen-devel] HVMOP_altp2m_vcpu_enable_notify code example usage

2016-08-22 Thread Dmitry Rockosov
:-( Best Regards, Rockosov Dmitry 2016-08-22 21:54 GMT+03:00 Tamas K Lengyel <tamas.k.leng...@gmail.com>: > On Mon, Aug 22, 2016 at 12:42 PM, Dmitry Rockosov <rocko...@gmail.com> > wrote: > > Tamas, what do you think, why the same hypercall operations (get_param) > are >

Re: [Xen-devel] HVMOP_altp2m_vcpu_enable_notify code example usage

2016-08-22 Thread Dmitry Rockosov
eng...@gmail.com>: > On Mon, Aug 22, 2016 at 12:12 PM, Dmitry Rockosov <rocko...@gmail.com> > wrote: > > The problem is in hypervisor checking definitely. I deeper debugged the > > code, I met vmcall instruction execution. This means EFAULT is coming > from > > hypervis

Re: [Xen-devel] HVMOP_altp2m_vcpu_enable_notify code example usage

2016-08-22 Thread Dmitry Rockosov
The problem is in hypervisor checking definitely. I deeper debugged the code, I met vmcall instruction execution. This means EFAULT is coming from hypervisor. Best Regards, Rockosov Dmitry 2016-08-22 18:09 GMT+03:00 Dmitry Rockosov <rocko...@gmail.com>: > Hello Tamas, >

Re: [Xen-devel] HVMOP_altp2m_vcpu_enable_notify code example usage

2016-08-22 Thread Dmitry Rockosov
d then use libxc from > within the guest to issue that hypercall via > xc_altp2m_set_vcpu_enable_notify. You will need to load a couple Xen > related kernel-modules for it to work (like xen-privcmd). Let us know > if you got it working! > > Cheers, > Tamas > > On Fri, Aug 19, 2016 at 1:19

[Xen-devel] HVMOP_altp2m_vcpu_enable_notify code example usage

2016-08-19 Thread Dmitry Rockosov
Hello Xen Team! Does anybody have any code examples of HVMOP_altp2m_vcpu_enable_notify? I want to fully test #VE, VMFUNC and EPTP Switching VM Function 0 in Xen, but doesn't have any documentations/examples for it. I tried xen-access test from tools/tests/xen-access, but looks like it doesn't