On Tue, Jan 14, 2020 at 06:10:43PM +0100, Laszlo Ersek wrote:
> On 01/14/20 10:25, Gerd Hoffmann wrote:
> > Call find_prio("HALT") only once, on first is_bootprio_strict() call.
> > Store the result in a variable and reuse it on subsequent calls.
> >
> > Signed-off-by: Gerd Hoffmann
> > ---
> >
On 01/14/20 10:25, Gerd Hoffmann wrote:
> Call find_prio("HALT") only once, on first is_bootprio_strict() call.
> Store the result in a variable and reuse it on subsequent calls.
>
> Signed-off-by: Gerd Hoffmann
> ---
> src/boot.c | 6 +-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
On 1/14/20 10:25 AM, Gerd Hoffmann wrote:
Check NVMe devices whenever they are bootable,
skip initialization in case they are not.
Signed-off-by: Gerd Hoffmann
---
src/hw/nvme.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/src/hw/nvme.c b/src/hw/nvme.c
index
On 1/14/20 10:25 AM, Gerd Hoffmann wrote:
Check each disk attached to a virtio-scsi device whenever
it is bootable and skip initialization in case it isn't.
Signed-off-by: Gerd Hoffmann
Reviewed-by: Philippe Mathieu-Daudé
---
src/hw/virtio-scsi.c | 11 ++-
1 file changed, 10
On 1/14/20 10:25 AM, Gerd Hoffmann wrote:
Call find_prio("HALT") only once, on first is_bootprio_strict() call.
Store the result in a variable and reuse it on subsequent calls.
Signed-off-by: Gerd Hoffmann
Reviewed-by: Philippe Mathieu-Daudé
---
src/boot.c | 6 +-
1 file changed, 5
Hi,
14.01.2020, 12:25, "Gerd Hoffmann" :
> Check NVMe devices whenever they are bootable,
> skip initialization in case they are not.
>
> Signed-off-by: Gerd Hoffmann
Reviewed-by: Alexey Kirillov
> ---
> src/hw/nvme.c | 7 +++
> 1 file changed, 7 insertions(+)
>
> diff --git
Hi,
14.01.2020, 12:25, "Gerd Hoffmann" :
> Check each disk attached to a virtio-scsi device whenever
> it is bootable and skip initialization in case it isn't.
>
> Signed-off-by: Gerd Hoffmann
Reviewed-by: Alexey Kirillov
> ---
> src/hw/virtio-scsi.c | 11 ++-
> 1 file changed, 10
Hi,
14.01.2020, 12:25, "Gerd Hoffmann" :
> Call find_prio("HALT") only once, on first is_bootprio_strict() call.
> Store the result in a variable and reuse it on subsequent calls.
>
> Signed-off-by: Gerd Hoffmann
Reviewed-by: Alexey Kirillov
> ---
> src/boot.c | 6 +-
> 1 file changed, 5
Call find_prio("HALT") only once, on first is_bootprio_strict() call.
Store the result in a variable and reuse it on subsequent calls.
Signed-off-by: Gerd Hoffmann
---
src/boot.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/boot.c b/src/boot.c
index
Check NVMe devices whenever they are bootable,
skip initialization in case they are not.
Signed-off-by: Gerd Hoffmann
---
src/hw/nvme.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/src/hw/nvme.c b/src/hw/nvme.c
index 2e3aa38682c4..41f3b768528e 100644
--- a/src/hw/nvme.c
+++
Check each disk attached to a virtio-scsi device whenever
it is bootable and skip initialization in case it isn't.
Signed-off-by: Gerd Hoffmann
---
src/hw/virtio-scsi.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/hw/virtio-scsi.c b/src/hw/virtio-scsi.c
On Tue, Jan 07, 2020 at 08:19:15PM +0300, Alexey Kirillov wrote:
> This patch aimed to avoid problem with uninitialized virtio-blk and
> virtio-scsi boot devices.
> Currently, 12 KiB of memory is allocated for each virtio-blk/scsi, so
> no more than about 10 devices can be initialized. If the
12 matches
Mail list logo