Displaying 1 result from an estimated 1 matches for "msi_target_cpu_shift".
2010 Nov 26
1
[PATCH] qemu-xen: support PV on HVM MSIX remapping
...int entry_nr)
if ( !entry->flags )
return 0;
+ if (!gvec) {
+ /* if gvec is 0, the guest is asking for a particular pirq that
+ * is passed as dest_id */
+ pirq = ((gaddr >> 32) & 0xffffff00) |
+ (((gaddr & 0xffffffff) >> MSI_TARGET_CPU_SHIFT) & 0xff);
+ PT_LOG("pt_msix_update_one requested pirq = %d\n", pirq);
+ }
+
/* Check if this entry is already mapped */
if ( entry->pirq == -1 )
{
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://l...