[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/3] migration: implement query migration threadinfo by name
From: |
Juan Quintela |
Subject: |
Re: [PATCH 2/3] migration: implement query migration threadinfo by name |
Date: |
Tue, 31 Jan 2023 17:33:16 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Jiang Jiacheng <jiangjiacheng@huawei.com> wrote:
> On 2023/1/30 22:03, Juan Quintela wrote:
>> Jiang Jiacheng <jiangjiacheng@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.
- [PATCH 3/3] migration: save/delete migration thread info, (continued)
[PATCH 2/3] migration: implement query migration threadinfo by name, Jiang Jiacheng, 2023/01/20
[PATCH 1/3] migration: report migration thread name to libvirt, Jiang Jiacheng, 2023/01/20