Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Fixed cluster/fixed dst_fmt usage in apic.c; revised default.xml for new APIC change
Patrick G. Bridges [Mon, 1 Nov 2010 17:46:34 +0000 (11:46 -0600)]
palacios/src/devices/apic.c
utils/guest_creator/default.xml

index 234c2fc..c051bc8 100644 (file)
@@ -135,10 +135,6 @@ typedef enum { APIC_TMR_INT, APIC_THERM_INT, APIC_PERF_INT,
 #define EXT_INT_LOC_VEC_TBL_OFFSET2       0x520   // 0x500 - 0x530
 #define EXT_INT_LOC_VEC_TBL_OFFSET3       0x530   // 0x500 - 0x530
 
-
-
-
-
 struct apic_msr {
     union {
        uint64_t value;
@@ -560,7 +556,7 @@ static int should_deliver_ipi(struct guest_info * dst_core,
            return 1;
        }
 
-       return should_deliver_cluster_ipi(dst_core, dst_apic, mda);
+       return should_deliver_flat_ipi(dst_core, dst_apic, mda);
     } else if (dst_apic->dst_fmt.model == 0x0) {
 
        if (mda == 0xff) {
@@ -568,7 +564,7 @@ static int should_deliver_ipi(struct guest_info * dst_core,
            return 1;
        }
 
-       return should_deliver_flat_ipi(dst_core, dst_apic, mda);
+       return should_deliver_cluster_ipi(dst_core, dst_apic, mda);
     } else {
        PrintError("apic %u core %u: invalid destination format register value 0x%x for logical mode delivery.\n", 
                   dst_apic->lapic_id.val, dst_core->cpu_id, dst_apic->dst_fmt.model);
index 4327985..fe5e67b 100644 (file)
 
 
 <!--
-               <device class="ICC_BUS" id="icc"/>
-               <device class="LAPIC" id="apic">
-                       <bus>icc</bus>
-               </device>
+               <device class="LAPIC" id="apic"/>
                <device class="IOAPIC" id="ioapic">
-                       <bus>icc</bus>
+                       <apic>apic</apic>
                </device>
 -->
 <!--