[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 05/10] x86: disable rng seeding via setup_data
From: |
Jason A. Donenfeld |
Subject: |
Re: [PULL 05/10] x86: disable rng seeding via setup_data |
Date: |
Thu, 18 Aug 2022 17:39:26 +0200 |
Hi Gerd, Michael, Paolo,
On Thu, Aug 18, 2022 at 01:56:14PM +0200, Gerd Hoffmann wrote:
> Hi,
>
> > > diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
> > > index 3a35193ff7..2e5dae9a89 100644
> > > --- a/hw/i386/pc_q35.c
> > > +++ b/hw/i386/pc_q35.c
> > > @@ -376,6 +376,7 @@ static void pc_q35_7_1_machine_options(MachineClass
> > > *m)
> > > pc_q35_machine_options(m);
> > > m->alias = "q35";
> > > pcmc->default_cpu_version = 1;
> > > + pcmc->legacy_no_rng_seed = true;
> > > }
> > > DEFINE_Q35_MACHINE(v7_1, "pc-q35-7.1", NULL,
> > > @@ -386,7 +387,6 @@ static void pc_q35_7_0_machine_options(MachineClass
> > > *m)
> > > PCMachineClass *pcmc = PC_MACHINE_CLASS(m);
> > > pc_q35_7_1_machine_options(m);
> > > m->alias = NULL;
> > > - pcmc->legacy_no_rng_seed = true;
> > > pcmc->enforce_amd_1tb_hole = false;
> > > compat_props_add(m->compat_props, hw_compat_7_0, hw_compat_7_0_len);
> > > compat_props_add(m->compat_props, pc_compat_7_0, pc_compat_7_0_len);
> >
> > Why not just revert the whole patch?
>
> Tried that first. Plain revert not working, there are conflicts.
> So just disabling the code looked simpler and safer to me.
Yea, this is fine with me. This commit will be easy enough to revert in
7.2 when things are hopefully working properly in all circumstances.
Jason
- [PULL 01/10] virtio-scsi: fix race in virtio_scsi_dataplane_start(), (continued)
- [PULL 01/10] virtio-scsi: fix race in virtio_scsi_dataplane_start(), Michael S. Tsirkin, 2022/08/17
- [PULL 03/10] hw/virtio: handle un-configured shutdown in virtio-pci, Michael S. Tsirkin, 2022/08/17
- [PULL 02/10] hw/virtio: gracefully handle unset vhost_dev vdev, Michael S. Tsirkin, 2022/08/17
- [PULL 04/10] hw/virtio: fix vhost_user_read tracepoint, Michael S. Tsirkin, 2022/08/17
- [PULL 10/10] virtio-pci: don't touch pci on virtio reset, Michael S. Tsirkin, 2022/08/17
- [PULL 06/10] hw/cxl: Add stub write function for RO MemoryRegionOps entries., Michael S. Tsirkin, 2022/08/17
- [PULL 05/10] x86: disable rng seeding via setup_data, Michael S. Tsirkin, 2022/08/17
- [PULL 07/10] hw/cxl: Fix Get LSA input payload size which should be 8 bytes., Michael S. Tsirkin, 2022/08/17
- [PULL 08/10] hw/cxl: Correctly handle variable sized mailbox input payloads., Michael S. Tsirkin, 2022/08/17
- [PULL 09/10] tests: acpi: silence applesmc warning about invalid key, Michael S. Tsirkin, 2022/08/17