Jiang Jiacheng <jiangjiach...@huawei.com> wrote: > On 2023/1/30 22:03, Juan Quintela wrote: >> Jiang Jiacheng <jiangjiach...@huawei.com> wrote: >>> On 2023/1/30 12:27, Juan Quintela wrote:
>>>> >>>> 1st, it is an int enough for all architectures? I know that for linux >>>> and friends it is, but not sure about windows and other weird systems. >>>> >>> >>> It is only enough for migration pin which I want to implement. But I >>> think this struct can be easily expand if we need other information >>> about migration thread. >> >> I mean that pthread_t (what you are passing here) is an int on linux. >> Not sure on other OS's. >> > > I'm sorry about my misunderstanding. I use 'int' for thread-id just like > cpu or iothread's thread-id, and it is get from 'qemu_get_thread_id'. So > I think it is enough. Ok, fine enough. Thanks. Later, Juan.