Re: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-26 Thread lixianglai
Apfelbaum ; Philippe Mathieu-Daudé ; wangyanan (Y) ; Daniel P. Berrangé ; Peter Xu ; Bibo Mao Subject: RE: [PATCH v2 04/10] Introduce the CPU address space destruction function Hi David, From: David Hildenbrand Sent: Friday, September 15, 2023 9:07 AM To: lixianglai ; qemu-devel@nongnu.org

Re: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-26 Thread David Hildenbrand
Habkost ; Marcel Apfelbaum ; Philippe Mathieu-Daudé ; wangyanan (Y) ; Daniel P. Berrangé ; Peter Xu ; Bibo Mao Subject: Re: [PATCH v2 04/10] Introduce the CPU address space destruction function On 26.09.23 14:32, Salil Mehta wrote: From: David Hildenbrand Sent: Tuesday, September 26, 2023 1:24

RE: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-26 Thread Salil Mehta via
Eduardo Habkost > ; Marcel Apfelbaum ; > Philippe Mathieu-Daudé ; wangyanan (Y) > ; Daniel P. Berrangé ; Peter > Xu ; Bibo Mao > Subject: Re: [PATCH v2 04/10] Introduce the CPU address space destruction > function > > On 26.09.23 14:32, Salil Mehta wrote: > >> From:

Re: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-26 Thread David Hildenbrand
Apfelbaum ; Philippe Mathieu-Daudé ; wangyanan (Y) ; Daniel P. Berrangé ; Peter Xu ; Bibo Mao Subject: Re: [PATCH v2 04/10] Introduce the CPU address space destruction function On 15.09.23 04:53, lixianglai wrote: Hi David Hildenbrand: Hi David Hildenbrand: On 14.09.23 15:00, lixianglai

RE: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-26 Thread Salil Mehta via
enbrand > >>> Sent: Friday, September 15, 2023 9:07 AM > >>> To: lixianglai ; qemu-devel@nongnu.org; Salil > >> Mehta > >>> > >>> Cc: Salil Mehta ; Xiaojuan Yang > >>> ; Song Gao ; Michael S. > >>> Tsirkin ; Igor Mammedov ; An

RE: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-26 Thread Salil Mehta via
Eduardo Habkost > ; Marcel Apfelbaum ; > Philippe Mathieu-Daudé ; wangyanan (Y) > ; Daniel P. Berrangé ; Peter > Xu ; Bibo Mao > Subject: RE: [PATCH v2 04/10] Introduce the CPU address space destruction > function > > Hi David, > > > From: David Hildenbrand >

Re: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-26 Thread David Hildenbrand
; Eduardo Habkost ; Marcel Apfelbaum ; Philippe Mathieu-Daudé ; wangyanan (Y) ; Daniel P. Berrangé ; Peter Xu ; Bibo Mao Subject: RE: [PATCH v2 04/10] Introduce the CPU address space destruction function Hi David, From: David Hildenbrand Sent: Friday, September 15, 2023 9:07 AM To: lixianglai ; qemu

RE: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-26 Thread Salil Mehta via
nzini ; Richard > Henderson ; Eduardo Habkost > ; Marcel Apfelbaum ; > wangyanan (Y) ; Daniel P. Berrangé > ; Peter Xu ; Bibo Mao > > Subject: Re: [PATCH v2 04/10] Introduce the CPU address space destruction > function > > On 15.09.23 16:19, Philippe Mathieu-Daud

RE: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-26 Thread Salil Mehta via
Henderson ; Eduardo Habkost > ; Marcel Apfelbaum ; > Philippe Mathieu-Daudé ; wangyanan (Y) > ; Daniel P. Berrangé ; Peter > Xu ; Bibo Mao > Subject: Re: [PATCH v2 04/10] Introduce the CPU address space destruction > function > > On 15.09.23 04:53, lixianglai wrote: > >

RE: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-26 Thread Salil Mehta via
Henderson ; Eduardo Habkost > ; Marcel Apfelbaum ; > Philippe Mathieu-Daudé ; wangyanan (Y) > ; Daniel P. Berrangé ; Peter > Xu ; Bibo Mao > Subject: Re: [PATCH v2 04/10] Introduce the CPU address space destruction > function > > > Hi David Hildenbrand: > > On

RE: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-26 Thread Salil Mehta via
chael S. > Tsirkin ; Igor Mammedov ; Ani Sinha > ; Paolo Bonzini ; Richard > Henderson ; Eduardo Habkost > ; Marcel Apfelbaum ; > Philippe Mathieu-Daudé ; wangyanan (Y) > ; Daniel P. Berrangé ; Peter > Xu ; Bibo Mao > Subject: Re: [PATCH v2 04/10] Introduce the CPU address

RE: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-26 Thread Salil Mehta via
ng Gao ; Michael S. > Tsirkin ; Igor Mammedov ; Ani Sinha > ; Paolo Bonzini ; Richard > Henderson ; Eduardo Habkost > ; Marcel Apfelbaum ; > Philippe Mathieu-Daudé ; wangyanan (Y) > ; Daniel P. Berrangé ; Peter > Xu ; Bibo Mao > Subject: Re: [PATCH v2 04/10] Introduce th

Re: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-15 Thread David Hildenbrand
On 15.09.23 16:19, Philippe Mathieu-Daudé wrote: On 15/9/23 10:07, David Hildenbrand wrote: The CPU implementation end up call qemu_init_vcpu() in their realize function; there should be something like qemu_destroy_vcpu() on the unrealize path that takes care of undoing any

Re: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-15 Thread Philippe Mathieu-Daudé
On 15/9/23 10:07, David Hildenbrand wrote: The CPU implementation end up call qemu_init_vcpu() in their realize function; there should be something like qemu_destroy_vcpu() on the unrealize path that takes care of undoing any cpu_address_space_init(). We seem to have

Re: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-15 Thread lixianglai
Hi David : On 15.09.23 04:53, lixianglai wrote: Hi David Hildenbrand: Hi David Hildenbrand: On 14.09.23 15:00, lixianglai wrote: Hi David: Hi! On 12.09.23 04:11, xianglai li wrote: Introduce new function to destroy CPU address space resources for cpu hot-(un)plug. How do other

Re: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-15 Thread David Hildenbrand
On 15.09.23 04:53, lixianglai wrote: Hi David Hildenbrand: Hi David Hildenbrand: On 14.09.23 15:00, lixianglai wrote: Hi David: Hi! On 12.09.23 04:11, xianglai li wrote: Introduce new function to destroy CPU address space resources for cpu hot-(un)plug. How do other archs handle

Re: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-14 Thread lixianglai
Hi David Hildenbrand: Hi David Hildenbrand: On 14.09.23 15:00, lixianglai wrote: Hi David: Hi! On 12.09.23 04:11, xianglai li wrote: Introduce new function to destroy CPU address space resources for cpu hot-(un)plug. How do other archs handle that? Or how are they able to get away

Re: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-14 Thread lixianglai
Hi David Hildenbrand: On 14.09.23 15:00, lixianglai wrote: Hi David: Hi! On 12.09.23 04:11, xianglai li wrote: Introduce new function to destroy CPU address space resources for cpu hot-(un)plug. How do other archs handle that? Or how are they able to get away without destroying?

Re: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-14 Thread David Hildenbrand
On 14.09.23 15:00, lixianglai wrote: Hi David: Hi! On 12.09.23 04:11, xianglai li wrote: Introduce new function to destroy CPU address space resources for cpu hot-(un)plug. How do other archs handle that? Or how are they able to get away without destroying? They do not remove the cpu

Re: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-14 Thread lixianglai
Hi David: On 12.09.23 04:11, xianglai li wrote: Introduce new function to destroy CPU address space resources for cpu hot-(un)plug. How do other archs handle that? Or how are they able to get away without destroying? They do not remove the cpu address space, taking the X86 architecture as

Re: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-12 Thread David Hildenbrand
On 12.09.23 04:11, xianglai li wrote: Introduce new function to destroy CPU address space resources for cpu hot-(un)plug. How do other archs handle that? Or how are they able to get away without destroying? -- Cheers, David / dhildenb

[PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-11 Thread xianglai li
Introduce new function to destroy CPU address space resources for cpu hot-(un)plug. Co-authored-by: "Salil Mehta" Cc: "Salil Mehta" Cc: Xiaojuan Yang Cc: Song Gao Cc: "Michael S. Tsirkin" Cc: Igor Mammedov Cc: Ani Sinha Cc: Paolo Bonzini Cc: Richard Henderson Cc: Eduardo Habkost Cc: