Sophie

Sophie

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

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

From f18070abe9a8d079ccbc5b73d61bf1fe43809b60 Mon Sep 17 00:00:00 2001
From: Eduardo Habkost <ehabkost@redhat.com>
Date: Thu, 17 Sep 2009 14:06:02 -0300
Subject: [PATCH 13/38] mp_state is treated as unsigned int (uint32_t) for save and load, but it is declared as int.

RH-Author: Juan Quintela <quintela@redhat.com>
Message-id: <dc9b48713084bbab01a2c4299d50d6917c0d45c7.1249487147.git.quintela@redhat.com>
Patchwork-id: 3181
O-Subject: [PATCH 13/38] mp_state is treated as unsigned int (uint32_t) for save
	and load, but it is declared as int.
Bugzilla: 515749
RH-Acked-by: Kevin Wolf <kwolf@redhat.com>
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
RH-Acked-by: Markus Armbruster <armbru@redhat.com>

Upstream also has it as uint32_t

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 qemu/target-i386/cpu.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 qemu/target-i386/cpu.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/qemu/target-i386/cpu.h b/qemu/target-i386/cpu.h
index 944e386..400a7e5 100644
--- a/qemu/target-i386/cpu.h
+++ b/qemu/target-i386/cpu.h
@@ -640,7 +640,7 @@ typedef struct CPUX86State {
     /* in order to simplify APIC support, we leave this pointer to the
        user */
     struct APICState *apic_state;
-    int mp_state;
+    uint32_t mp_state;
 } CPUX86State;
 
 CPUX86State *cpu_x86_init(const char *cpu_model);
-- 
1.6.3.rc4.29.g8146