WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [HVM] Save/Restore: Various structures ha

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [HVM] Save/Restore: Various structures have changed
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 Jan 2007 19:05:19 -0800
Delivery-date: Thu, 18 Jan 2007 19:06:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1169138890 0
# Node ID 53a1dbb703864f0f09acd1b943ac0d247367361b
# Parent  025218cdb17dd4d57e8c60948c62b546bfef0080
[HVM] Save/Restore: Various structures have changed
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
---
 xen/arch/x86/hvm/vioapic.c |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff -r 025218cdb17d -r 53a1dbb70386 xen/arch/x86/hvm/vioapic.c
--- a/xen/arch/x86/hvm/vioapic.c        Thu Jan 18 16:48:09 2007 +0000
+++ b/xen/arch/x86/hvm/vioapic.c        Thu Jan 18 16:48:10 2007 +0000
@@ -499,7 +499,9 @@ static void hvmirq_info(struct hvm_irq *
     for (i = 0; i < BITS_TO_LONGS(1); i++)
         printk("hvmirq callback_irq_wire[%d]:0x%lx.\n", i, 
hvm_irq->callback_irq_wire[i]);
 
-    printk("hvmirq callback_gsi:0x%x.\n", hvm_irq->callback_gsi);
+    printk("hvmirq callback_via_type:0x%x.\n", hvm_irq->callback_via_type);
+    printk("hvmirq callback_via:0x%x.\n", hvm_irq->callback_via.gsi);
+    
 
     for (i = 0; i < 4; i++)
         printk("hvmirq pci_link_route[%d]:0x%"PRIx8".\n", i, 
hvm_irq->pci_link_route[i]);
@@ -507,7 +509,7 @@ static void hvmirq_info(struct hvm_irq *
     for (i = 0; i < 4; i++)
         printk("hvmirq pci_link_assert_count[%d]:0x%"PRIx8".\n", i, 
hvm_irq->pci_link_assert_count[i]);
 
-    for (i = 0; i < 4; i++)
+    for (i = 0; i < VIOAPIC_NUM_PINS; i++)
         printk("hvmirq gsi_assert_count[%d]:0x%"PRIx8".\n", i, 
hvm_irq->gsi_assert_count[i]);
 
     printk("hvmirq round_robin_prev_vcpu:0x%"PRIx8".\n", 
hvm_irq->round_robin_prev_vcpu);
@@ -542,8 +544,9 @@ static void ioapic_save(hvm_domain_conte
     /* save hvm irq state */
     hvm_put_buffer(h, (char*)hvm_irq->pci_intx, 16);
     hvm_put_buffer(h, (char*)hvm_irq->isa_irq, 2);
-    hvm_put_buffer(h, (char*)hvm_irq->callback_irq_wire, 1);
-    hvm_put_32u(h, hvm_irq->callback_gsi);
+    hvm_put_32u(h, hvm_irq->callback_via_asserted);
+    hvm_put_32u(h, hvm_irq->callback_via_type);
+    hvm_put_32u(h, hvm_irq->callback_via.gsi);
 
     for (i = 0; i < 4; i++)
         hvm_put_8u(h, hvm_irq->pci_link_route[i]);
@@ -579,8 +582,9 @@ static int ioapic_load(hvm_domain_contex
     /* restore irq state */
     hvm_get_buffer(h, (char*)hvm_irq->pci_intx, 16);
     hvm_get_buffer(h, (char*)hvm_irq->isa_irq, 2);
-    hvm_get_buffer(h, (char*)hvm_irq->callback_irq_wire, 1);
-    hvm_irq->callback_gsi = hvm_get_32u(h);
+    hvm_irq->callback_via_asserted = hvm_get_32u(h);
+    hvm_irq->callback_via_type = hvm_get_32u(h);
+    hvm_irq->callback_via.gsi = hvm_get_32u(h);
 
     for (i = 0; i < 4; i++)
         hvm_irq->pci_link_route[i] = hvm_get_8u(h);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [HVM] Save/Restore: Various structures have changed, Xen patchbot-unstable <=