|
From: | Vlad Yasevich |
Subject: | Re: [Qemu-devel] [PATCH 03/12] migration: Switch to using announcement timer |
Date: | Tue, 30 May 2017 09:46:10 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 05/30/2017 06:10 AM, Juan Quintela wrote: > Vladislav Yasevich <address@hidden> wrote: >> Switch qemu_announce_self and virtio annoucements to use >> the announcement timer framework. This makes sure that both >> timers use the same timeouts and number of annoucement attempts >> >> Based on work by Dr. David Alan Gilbert <address@hidden> >> >> Signed-off-by: Vladislav Yasevich <address@hidden> > >> static void qemu_announce_self_once(void *opaque) >> { >> - static int count = SELF_ANNOUNCE_ROUNDS; >> - QEMUTimer *timer = *(QEMUTimer **)opaque; >> + AnnounceTimer *timer = (AnnounceTimer *)opaque; > > Cast from void * is never needed. > OK Thanks -vlad
[Prev in Thread] | Current Thread | [Next in Thread] |