On 11 April 2013 13:38, Paolo Bonzini <pbonz...@redhat.com> wrote: > Il 11/04/2013 14:14, Benoīt Canet ha scritto: >> int open_fd_hw; >> int total_open_fd; >> static int open_fd_rc; >> >> +typedef struct MigrationHelper { >> + int32_t pending_requests; >> + QemuCond complete; >> + QemuMutex mutex; >> +} MigrationHelper; >> + >> +MigrationHelper *migration; > > I say, just use three variables instead of a struct.
They could all be marked 'static' for file local scoping as well, right? -- PMM