Skip to contentSkip to conversation

set_fast_trap() in xenlinux

DISCUSSION pallavi jk 2 participants 4 messages Oct 9, 2008 – Oct 10, 2008

lore
Share & tools
lore

pallavi jk

author
#0 lore raw

Can anyone please tell me whether HYPERVISOR_set_fast_trap() is used in linux-2.6.18.hg which runs as dom0 on xen?
I searched through the code but could not find it there... Are fast handlers used as default?...

Also, I found "fastcall" written in the prototype of many functions...does it have any relation with fastcalls??

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Normal trap handlers registered on vector 0x80 are automatically 'faster'. set_fast_trap() disappeared ages ago.

-- Keir

Quoted 11 lines · pallavi jk

Can anyone please tell me whether HYPERVISOR_set_fast_trap() is used in linux-2.6.18.hg which runs as dom0 on xen?
I searched through the code but could not find it there... Are fast handlers used as default?...

Also, I found "fastcall" written in the prototype of many functions...does it have any relation with fastcalls??

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#2 lore raw

Thanx a lot for the answer.

I am trying to use xen for a system where I need the control to be transferred to xen i.e. I need to perform some checks in xen before transferring control to the guest.

Can you please tell me how this can be done??...I think I need to disable fast handlers...How can I do this?...or should I switch to an older version of xen?

Quoted 18 lines · Keir Fraser

Normal trap handlers registered on vector 0x80 are automatically
'faster'. set_fast_trap() disappeared ages ago.

-- Keir

On 9/10/08 12:05, "pallavi jk" <[email protected]> wrote:

Can anyone please tell me whether HYPERVISOR_set_fast_trap() is used in linux-2.6.18.hg which runs as dom0 on xen?
I searched through the code but could not find it there... Are fast handlers used as default?...

Also, I found "fastcall" written in the prototype of many functions...does it have any relation with fastcalls??

Quoted 8 lines

------------------------------
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#3 lore raw

I am trying to use xen for a system where I need the control to be transferred to xen i.e. I need to perform some checks in xen before transferring control to the guest.

Can you please tell me how this can be done??...I think I need to disable fast handlers...How can I do this?...or should I switch to an older version of xen?

Quoted 1 line

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel