Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > media > main-src > by-pkgid > aadbe78a25743146bb784eee19f007c5 > files > 586

kvm-83-164.el5_5.9.src.rpm

From fd3725c14f8b5f3f84788a1a82535b34e1fb04e0 Mon Sep 17 00:00:00 2001
From: Eduardo Habkost <ehabkost@redhat.com>
Date: Thu, 17 Sep 2009 14:06:02 -0300
Subject: [PATCH 12/38] txbufferaccu_offset and irq fields were save/load as unsigned int. Changed types to uint32_t

RH-Author: Juan Quintela <quintela@redhat.com>
Message-id: <76f8e634519a0a0c892e2dfd007526c76a0fb931.1249487147.git.quintela@redhat.com>
Patchwork-id: 3180
O-Subject: [PATCH 15/38] txbufferaccu_offset and irq fields were save/load as
	unsigned int. Changed types to uint32_t
Bugzilla: 515749
RH-Acked-by: Kevin Wolf <kwolf@redhat.com>
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
RH-Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
RH-Acked-by: Markus Armbruster <armbru@redhat.com>

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 qemu/hw/hypercall.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 qemu/hw/hypercall.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/qemu/hw/hypercall.c b/qemu/hw/hypercall.c
index 73b9db9..6a82a23 100644
--- a/qemu/hw/hypercall.c
+++ b/qemu/hw/hypercall.c
@@ -51,8 +51,8 @@ typedef struct HypercallState {
     uint32_t version;
     uint8_t  RxBuff[HP_MEM_SIZE];
     uint8_t  txbufferaccu[HP_MEM_SIZE];
-    int      txbufferaccu_offset;
-    int      irq;
+    uint32_t txbufferaccu_offset;
+    uint32_t irq;
     PCIDevice *pci_dev;
     uint32_t index;
     uint32_t driver_state;
-- 
1.6.3.rc4.29.g8146