[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 0/3] hw/riscv/virt: pflash improvements
From: |
Andrea Bolognani |
Subject: |
Re: [PATCH v5 0/3] hw/riscv/virt: pflash improvements |
Date: |
Wed, 31 May 2023 04:34:58 -0700 |
On Wed, May 31, 2023 at 10:46:17AM +0530, Anup Patel wrote:
> On Fri, May 26, 2023 at 5:41 PM Sunil V L <sunilvl@ventanamicro.com> wrote:
> > hw/riscv: virt: Assume M-mode FW in pflash0 only when "-bios none"
> > riscv/virt: Support using pflash via -blockdev option
> > docs/system: riscv: Add pflash usage details
>
> In case of KVM guests, there is no M-mode so pflash0 will always
> contain S-mode FW.
>
> I suggest improving this series to consider KVM guests as well
> such that the same EDK2 S-mode works for KVM and TCG guests.
After these patches are applied, pflash0 is assumed to contain S-mode
code *unless* you go out of your way and add -bios none to the
command line.
It seems to me that this default behavior will work fine for KVM
guests too, based on what you wrote above. Isn't that the case?
--
Andrea Bolognani / Red Hat / Virtualization
- [PATCH v5 0/3] hw/riscv/virt: pflash improvements, Sunil V L, 2023/05/26
- [PATCH v5 1/3] hw/riscv: virt: Assume M-mode FW in pflash0 only when "-bios none", Sunil V L, 2023/05/26
- [PATCH v5 2/3] riscv/virt: Support using pflash via -blockdev option, Sunil V L, 2023/05/26
- [PATCH v5 3/3] docs/system: riscv: Add pflash usage details, Sunil V L, 2023/05/26
- Re: [PATCH v5 0/3] hw/riscv/virt: pflash improvements, Andrea Bolognani, 2023/05/26
- Re: [PATCH v5 0/3] hw/riscv/virt: pflash improvements, Anup Patel, 2023/05/31
- Re: [PATCH v5 0/3] hw/riscv/virt: pflash improvements,
Andrea Bolognani <=