[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 4/4] Add the NVMM acceleration enlightenments
From: |
Markus Armbruster |
Subject: |
Re: [PATCH v2 4/4] Add the NVMM acceleration enlightenments |
Date: |
Thu, 06 Feb 2020 14:06:08 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Kamil Rytarowski <address@hidden> writes:
> On 03.02.2020 12:54, Philippe Mathieu-Daudé wrote:
>>> @@ -2029,6 +2072,19 @@ static void qemu_whpx_start_vcpu(CPUState *cpu)
>>> #endif
>>> }
>>>
>>> +static void qemu_nvmm_start_vcpu(CPUState *cpu)
>>> +{
>>> + char thread_name[VCPU_THREAD_NAME_SIZE];
>>> +
>>> + cpu->thread = g_malloc0(sizeof(QemuThread));
>>> + cpu->halt_cond = g_malloc0(sizeof(QemuCond));
>>
>> Nitpick, we prefer g_new0().
>
> In this file other qemu_*_start_vcpu() use g_malloc0().
>
> I will leave this part unchanged and defer tor future style fixups if
> someone is interested.
Time to re-run Coccinelle with the semantic patch from commit
b45c03f585e.
- Re: [PATCH v2 4/4] Add the NVMM acceleration enlightenments, Philippe Mathieu-Daudé, 2020/02/03
- Re: [PATCH v2 4/4] Add the NVMM acceleration enlightenments, Kamil Rytarowski, 2020/02/06
- Re: [PATCH v2 4/4] Add the NVMM acceleration enlightenments, Philippe Mathieu-Daudé, 2020/02/06
- Re: [PATCH v2 4/4] Add the NVMM acceleration enlightenments,
Markus Armbruster <=
- Re: [PATCH v2 4/4] Add the NVMM acceleration enlightenments, Philippe Mathieu-Daudé, 2020/02/06
- Re: [PATCH v2 4/4] Add the NVMM acceleration enlightenments, Kamil Rytarowski, 2020/02/06
- Re: [PATCH v2 4/4] Add the NVMM acceleration enlightenments, Markus Armbruster, 2020/02/06
- Re: [PATCH v2 4/4] Add the NVMM acceleration enlightenments, Kamil Rytarowski, 2020/02/06
- Re: [PATCH v2 4/4] Add the NVMM acceleration enlightenments, Philippe Mathieu-Daudé, 2020/02/06
- Re: [PATCH v2 4/4] Add the NVMM acceleration enlightenments, Kamil Rytarowski, 2020/02/06