Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 3160499aacb81f6735941eb4c372d87a > files > 307

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

From ccff14008a0667d8b88678ee5ff86316b0c6e165 Mon Sep 17 00:00:00 2001
From: Eduardo Habkost <ehabkost@redhat.com>
Date: Thu, 17 Sep 2009 14:06:02 -0300
Subject: [PATCH 14/38] hp_reset() should have type QEMUResetHandler

RH-Author: Juan Quintela <quintela@redhat.com>
Message-id: <74d8ca93a45733612c7aaac1e302308983723c46.1249487147.git.quintela@redhat.com>
Patchwork-id: 3182
O-Subject: [PATCH 16/38] hp_reset() should have type QEMUResetHandler
Bugzilla: 515749
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
RH-Acked-by: Kevin Wolf <kwolf@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, 3 insertions(+), 1 deletions(-)

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

diff --git a/qemu/hw/hypercall.c b/qemu/hw/hypercall.c
index 6a82a23..70db438 100644
--- a/qemu/hw/hypercall.c
+++ b/qemu/hw/hypercall.c
@@ -64,8 +64,10 @@ static HypercallState *pHypercallStates[MAX_VMCHANNEL_DEVICES] = {NULL};
 
 static void hypercall_update_irq(HypercallState *s);
 
-static void hp_reset(HypercallState *s)
+static void hp_reset(void *opaque)
 {
+    HypercallState *s = opaque;
+
     s->hcr = 0;
     s->hsr = 0;
     s->txsize = 0;
-- 
1.6.3.rc4.29.g8146