qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 03/22] migration: Fold MigrationState into FdMig


From: Juan Quintela
Subject: [Qemu-devel] Re: [PATCH 03/22] migration: Fold MigrationState into FdMigrationState
Date: Wed, 23 Feb 2011 10:13:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Yoshiaki Tamura <address@hidden> wrote:
> 2011/2/23 Juan Quintela <address@hidden>:

>>  struct FdMigrationState
>>  {
>> -    MigrationState mig_state;
>>     int64_t bandwidth_limit;
>>     QEMUFile *file;
>>     int fd;
>> @@ -48,7 +35,12 @@ struct FdMigrationState
>>     int (*get_error)(struct FdMigrationState*);
>>     int (*close)(struct FdMigrationState*);
>>     int (*write)(struct FdMigrationState*, const void *, size_t);
>> +    void (*cancel)(FdMigrationState *s);
>> +    int (*get_status)(FdMigrationState *s);
>> +    void (*release)(FdMigrationState *s);
>>     void *opaque;
>> +    int blk;
>> +    int shared;
>>  };
>
> Although I don't have objections for folding MigrationState into
> FdMigrationState, it would be good to ask why the original author
> split it intentionally.

I asked, Anthony answer was that it is a "historical" artifact.

Later, Juan.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]