Skip to contentSkip to conversation

please pull xen-ia64-unstable.hg

DISCUSSION Alex Williamson 3 participants 3 messages Nov 14, 2006

lore
Share & tools
lore
#0 lore raw

Hi Keir,

Please pull:

http://xenbits.xensource.com/ext/xen-ia64-unstable.hg

This fixes the ia64 build and adds some additional fixes and tuning. We're still trying to catch up with some of the changes in xen-unstable, but most of the functionality for both paravirt and fully virtualized domains is still intact. Changeset 12444:f78e499dd669 is currently merged up to xen-unstable.hg changeset 12407:f026d4091322. Thanks,

Alex

Signature · 1 line
Alex Williamson                             HP Open Source & Linux Org.
#1 lore raw

Newbie Q -- how to setup virtual IDTs ?

I am trying to port a driver that register interrupt handlers for hardware counters in processor.

As the IDT is owned by Xen, when I run this in host OS I get errors.

I want to know how can I setup virtual IDTs such that I program the counters. On overflow, Xen is notified about the overflow and the interrupt is passed to my driver.

what files do I look ? What types of hypercalls I should use ?

Thanks for all your help
Shobha

---------------------------------
Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster.

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

#2 lore raw

Re: Newbie Q -- how to setup virtual IDTs ?

Quoted 10 lines · shobha ranganathan

I am trying to port a driver that register interrupt handlers for hardware counters in processor.

As the IDT is owned by Xen, when I run this in host OS I get errors.

I want to know how can I setup virtual IDTs such that I program the counters. On overflow, Xen is notified about the overflow and the interrupt is passed to my driver.

what files do I look ? What types of hypercalls I should use ?

If you are using Linux then oprofile now has support for guests running on Xen. If you are using another OS then you will need to make use of the xenoprof hypercalls provided by Xen to register your interest in hardware counters for profiling. The Xen patches for the Linux oprofile code would be a good starting point here.

-- Keir

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