Re: [PATCH] hyperv: Add CONFIG_MSHV_ROOT to gate hv_root_partition checks

2025-02-19 Thread Nuno Das Neves
On 2/19/2025 6:07 PM, Michael Kelley wrote: > From: Nuno Das Neves Sent: Wednesday, > February 19, 2025 3:53 PM >> >> On 2/19/2025 11:46 AM, Michael Kelley wrote: >>> From: Nuno Das Neves Sent: Tuesday, >> February 11, 2025 2:22 PM Introduce CONFIG_MSHV_ROOT as a tristate to enable roo

RE: [PATCH] hyperv: Add CONFIG_MSHV_ROOT to gate hv_root_partition checks

2025-02-19 Thread Michael Kelley
From: Nuno Das Neves Sent: Wednesday, February 19, 2025 3:53 PM > > On 2/19/2025 11:46 AM, Michael Kelley wrote: > > From: Nuno Das Neves Sent: Tuesday, > February 11, 2025 2:22 PM > >> > >> Introduce CONFIG_MSHV_ROOT as a tristate to enable root partition > >> booting and future mshv driver fu

Re: [PATCH] hyperv: Add CONFIG_MSHV_ROOT to gate hv_root_partition checks

2025-02-19 Thread Nuno Das Neves
On 2/19/2025 11:46 AM, Michael Kelley wrote: > From: Nuno Das Neves Sent: Tuesday, > February 11, 2025 2:22 PM >> >> Introduce CONFIG_MSHV_ROOT as a tristate to enable root partition >> booting and future mshv driver functionality. > > This statement could use a bit more explanation as to "why".

RE: [PATCH] hyperv: Add CONFIG_MSHV_ROOT to gate hv_root_partition checks

2025-02-19 Thread Michael Kelley
From: Nuno Das Neves Sent: Tuesday, February 11, 2025 2:22 PM > > Introduce CONFIG_MSHV_ROOT as a tristate to enable root partition > booting and future mshv driver functionality. This statement could use a bit more explanation as to "why". Something like: Running in the root partition is a u

Re: [PATCH] hyperv: Add CONFIG_MSHV_ROOT to gate hv_root_partition checks

2025-02-12 Thread Nuno Das Neves
On 2/12/2025 3:25 PM, Easwar Hariharan wrote: > On 2/12/2025 3:01 PM, Nuno Das Neves wrote: >> On 2/11/2025 9:47 PM, Easwar Hariharan wrote: >>> On 2/11/2025 2:21 PM, Nuno Das Neves wrote: Introduce CONFIG_MSHV_ROOT as a tristate to enable root partition booting and future mshv driver fun

Re: [PATCH] hyperv: Add CONFIG_MSHV_ROOT to gate hv_root_partition checks

2025-02-12 Thread Easwar Hariharan
On 2/12/2025 3:01 PM, Nuno Das Neves wrote: > On 2/11/2025 9:47 PM, Easwar Hariharan wrote: >> On 2/11/2025 2:21 PM, Nuno Das Neves wrote: >>> Introduce CONFIG_MSHV_ROOT as a tristate to enable root partition >>> booting and future mshv driver functionality. >>> >>> Change hv_root_partition into a

Re: [PATCH] hyperv: Add CONFIG_MSHV_ROOT to gate hv_root_partition checks

2025-02-12 Thread Nuno Das Neves
On 2/11/2025 9:47 PM, Easwar Hariharan wrote: > On 2/11/2025 2:21 PM, Nuno Das Neves wrote: >> Introduce CONFIG_MSHV_ROOT as a tristate to enable root partition >> booting and future mshv driver functionality. >> >> Change hv_root_partition into a function which always returns false >> if CONFIG_MS

Re: [PATCH] hyperv: Add CONFIG_MSHV_ROOT to gate hv_root_partition checks

2025-02-11 Thread Easwar Hariharan
On 2/11/2025 2:21 PM, Nuno Das Neves wrote: > Introduce CONFIG_MSHV_ROOT as a tristate to enable root partition > booting and future mshv driver functionality. > > Change hv_root_partition into a function which always returns false > if CONFIG_MSHV_ROOT=n. > > Introduce hv_current_partition_type

[PATCH] hyperv: Add CONFIG_MSHV_ROOT to gate hv_root_partition checks

2025-02-11 Thread Nuno Das Neves
Introduce CONFIG_MSHV_ROOT as a tristate to enable root partition booting and future mshv driver functionality. Change hv_root_partition into a function which always returns false if CONFIG_MSHV_ROOT=n. Introduce hv_current_partition_type to store the type of partition (guest, root, or other kind